Skip to content

Commit 1935ff1

Browse files
authored
Merge PR #6038 from @srkyn - Fix Suspicious Eventlog Clearing or Configuration Change Activity
fix: Suspicious Eventlog Clearing or Configuration Change Activity - Fix parentheses in condition Co-authored-by: David Sarkisyan <281478990+srkyn@users.noreply.github.com>
1 parent a5bb8c7 commit 1935ff1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rules/windows/process_creation/proc_creation_win_susp_eventlog_clear.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ references:
1616
- https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.eventlog.clear
1717
author: Ecco, Daniil Yugoslavskiy, oscd.community, D3F7A5105, Swachchhanda Shrawan Poudel (Nextron Systems)
1818
date: 2019-09-26
19-
modified: 2025-03-12
19+
modified: 2026-06-01
2020
tags:
2121
- attack.defense-impairment
2222
- attack.t1685.005
@@ -33,7 +33,7 @@ detection:
3333
CommandLine|contains:
3434
- 'clear-log ' # clears specified log
3535
- ' cl ' # short version of 'clear-log'
36-
- 'set-log ' # modifies config of specified log. could be uset to set it to a tiny size
36+
- 'set-log ' # modifies config of specified log. could be used to set it to a tiny size
3737
- ' sl ' # short version of 'set-log'
3838
- 'lfn:' # change log file location and name
3939
selection_other_ps_img:
@@ -68,7 +68,7 @@ detection:
6868
- 'C:\Windows\SysWOW64\msiexec.exe'
6969
- 'C:\Windows\System32\msiexec.exe'
7070
CommandLine|contains: ' sl '
71-
condition: (all of selection_wevtutil_*) or (all of selection_other_ps_*) or (selection_other_wmi) and not 1 of filter_main_*
71+
condition: ((all of selection_wevtutil_*) or (all of selection_other_ps_*) or selection_other_wmi) and not 1 of filter_main_*
7272
falsepositives:
7373
- Admin activity
7474
- Scripts and administrative tools used in the monitored environment

0 commit comments

Comments
 (0)