Skip to content

Commit 3a4be8e

Browse files
Fixing condition
1 parent 18d6f9a commit 3a4be8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rules/windows/powershell/powershell_script/posh_ps_susp_set_alias.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ detection:
3838
- ' -Name ncim -Value New-CimInstance '
3939
- ' -Name rcim -Value Remove-cimInstance '
4040
- ' -Name icim -Value Invoke-CimMethod '
41-
condition: selection and not 1 of filter_main
41+
condition: selection and not 1 of filter_main_*
4242
falsepositives:
4343
- Unknown
4444
level: low

0 commit comments

Comments
 (0)