Sigma rule: Suspicious Eventlog Clearing or Configuration Change Activity

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-70ec9a256e90, updated 2026-06-01T00:00:00.000Z.

Rule

Title
Suspicious Eventlog Clearing or Configuration Change Activity
Status
stable
Level
high
Author
Ecco, Daniil Yugoslavskiy, oscd.community, D3F7A5105, Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2019-09-26
Modified
2026-06-01
File
rules/windows/process_creation/proc_creation_win_susp_eventlog_clear.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the clearing or configuration tampering of EventLog using utilities such as "wevtutil", "powershell" and "wmic".
This technique were seen used by threat actors and ransomware strains in order to evade defenses.

Log source

product
windows
category
process_creation

Detection

selection_wevtutil_img:
    - Image|endswith: '\wevtutil.exe'
    - OriginalFileName: 'wevtutil.exe'
selection_wevtutil_cmd:
    CommandLine|contains:
        - 'clear-log '          # clears specified log
        - ' cl '                # short version of 'clear-log'
        - 'set-log '            # modifies config of specified log. could be used to set it to a tiny size
        - ' sl '                # short version of 'set-log'
        - 'lfn:'                # change log file location and name
selection_other_ps_img:
    Image|endswith:
        - '\powershell.exe'
        - '\powershell_ise.exe'
        - '\pwsh.exe'
selection_other_ps_cmd:
    - CommandLine|contains:
          - 'Clear-EventLog '
          - 'Remove-EventLog '
          - 'Limit-EventLog '
          - 'Clear-WinEvent '
    - CommandLine|contains|all:
          - 'Eventing.Reader.EventLogSession' # [System.Diagnostics.Eventing.Reader.EventLogSession]::GlobalSession.ClearLog($_.LogName)
          - 'ClearLog'
    - CommandLine|contains|all:
          - 'Diagnostics.EventLog'
          - 'Clear'
selection_other_wmi:
    Image|endswith:
        - '\powershell.exe'
        - '\powershell_ise.exe'
        - '\pwsh.exe'
        - '\wmic.exe'
    CommandLine|contains: 'ClearEventLog'
filter_main_msiexec:
    # Example seen during office update/installation:
    #   ParentImage: C:\Windows\SysWOW64\msiexec.exe
    #   CommandLine: "C:\WINDOWS\system32\wevtutil.exe" sl Microsoft-RMS-MSIPC/Debug /q:true /e:true /l:4 /rt:false
    ParentImage:
        - 'C:\Windows\SysWOW64\msiexec.exe'
        - 'C:\Windows\System32\msiexec.exe'
    CommandLine|contains: ' sl '
condition: ((all of selection_wevtutil_*) or (all of selection_other_ps_*) or selection_other_wmi) and not 1 of filter_main_*

False positives (as the rule lists them)

  • Admin activity
  • Scripts and administrative tools used in the monitored environment
  • Maintenance activity

Tags

  • attack.defense-impairment
  • attack.t1685.005
  • attack.t1685.001
  • car.2016-04-002

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_eventlog_clear.yml

Sources and licences

  • SigmaHQ

    "Suspicious Eventlog Clearing or Configuration Change Activity" by Ecco, Daniil Yugoslavskiy, oscd.community, D3F7A5105, Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_eventlog_clear.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious Eventlog Clearing or Configuration Change Activity",
entity page, dataset version ref-70ec9a256e90, updated 2026-06-01T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/cc36992a-4671-4f21-a91d-6c2b72a2edf5 (accessed 2026-11-03).
Underlying source: SigmaHQ rule cc36992a-4671-4f21-a91d-6c2b72a2edf5, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.