diff --git a/rules/windows/powershell/powershell_script/posh_ps_susp_windowstyle.yml b/rules/windows/powershell/powershell_script/posh_ps_susp_windowstyle.yml index ea8c32176..c4c13d575 100644 --- a/rules/windows/powershell/powershell_script/posh_ps_susp_windowstyle.yml +++ b/rules/windows/powershell/powershell_script/posh_ps_susp_windowstyle.yml @@ -6,9 +6,9 @@ description: | In some cases, windows that would typically be displayed when an application carries out an operation can be hidden references: - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1564.003/T1564.003.md -author: frack113 +author: frack113, Tim Shelton (fp AWS) date: 2021/10/20 -modified: 2022/12/25 +modified: 2023/01/03 tags: - attack.defense_evasion - attack.t1564.003 @@ -22,7 +22,11 @@ detection: - 'powershell' - 'WindowStyle' - 'Hidden' - condition: selection + filter: + ScriptBlockText|contains|all: + - ':\Program Files\Amazon\WorkSpacesConfig\Scripts\' + - '$PSScriptRoot\Module\WorkspaceScriptModule\WorkspaceScriptModule' + condition: selection and not filter falsepositives: - Unknown level: medium