diff --git a/atomics/Indexes/index.yaml b/atomics/Indexes/index.yaml index b0198dc3..d4272662 100644 --- a/atomics/Indexes/index.yaml +++ b/atomics/Indexes/index.yaml @@ -75039,7 +75039,7 @@ credential-access: executor: command: | findstr /si pass *.xml *.doc *.txt *.xls - ls -R | select-string -Pattern password + ls -R | select-string -ErrorAction SilentlyContinue -Pattern password name: powershell - name: Access unattend.xml auto_generated_guid: 367d4004-5fc0-446d-823f-960c74ae52c3 diff --git a/atomics/T1552.001/T1552.001.md b/atomics/T1552.001/T1552.001.md index 474f973b..913888ca 100644 --- a/atomics/T1552.001/T1552.001.md +++ b/atomics/T1552.001/T1552.001.md @@ -112,7 +112,7 @@ Extracting Credentials from Files. Upon execution, the contents of files that co ```powershell findstr /si pass *.xml *.doc *.txt *.xls -ls -R | select-string -Pattern password +ls -R | select-string -ErrorAction SilentlyContinue -Pattern password ```