Sigma rule: IIS WebServer Log Deletion via CommandLine Utilities
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-325036388de3, updated 2025-09-02T00:00:00.000Z.
Rule
- Title
- IIS WebServer Log Deletion via CommandLine Utilities
- Status
- experimental
- Level
- medium
- Author
- Swachchhanda Shrawan Poudel (Nextron Systems)
- Date
- 2025-09-02
- File
- rules/windows/process_creation/proc_creation_win_iis_logs_deletion.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects attempts to delete Internet Information Services (IIS) log files via command line utilities, which is a common defense evasion technique used by attackers to cover their tracks.
Threat actors often abuse vulnerabilities in web applications hosted on IIS servers to gain initial access and later delete IIS logs to evade detection.
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith:
- '\cmd.exe'
- '\powershell_ise.exe'
- '\powershell.exe'
- '\pwsh.exe'
- OriginalFileName:
- 'cmd.exe'
- 'powershell.exe'
- 'powershell_ise.exe'
- 'pwsh.dll'
selection_cli_del:
CommandLine|contains:
- 'del '
- 'erase '
- 'rm '
- 'remove-item '
- 'rmdir '
selection_cli_iis_dir:
CommandLine|contains: '\inetpub\logs\'
condition: all of selection_*False positives (as the rule lists them)
- Deletion of IIS logs that are older than a certain retention period as part of regular maintenance activities.
- Legitimate schedule tasks or scripts that clean up log files regularly.
Tags
- attack.stealth
- attack.t1070
MITRE ATT&CK ids this rule names
Related rules
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_iis_logs_deletion.yml
Sources and licences
SigmaHQ
"IIS WebServer Log Deletion via CommandLine Utilities" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_iis_logs_deletion.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: IIS WebServer Log Deletion via CommandLine Utilities",
entity page, dataset version ref-325036388de3, updated 2025-09-02T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/0649be4a-aeb0-45b0-b89e-7f1668f6d9c0 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 0649be4a-aeb0-45b0-b89e-7f1668f6d9c0, 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.