Windows Process Creation: Command-Line Deletion of IIS Logs

Flags command-line attempts on Windows to delete IIS logs using common deletion utilities and the \inetpub\logs\ path.

FreeReviewedSigma · Medium · v2
Product
windows
Category
process_creation
Author
Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2025-09-02
Updated
2026-07-31

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Exfiltration

  14. Impact

What it detects

This rule identifies Windows processes launched via common command-line utilities that include commands to delete files or folders and reference the IIS logs directory. Deleting IIS logs can help an attacker remove evidence of web activity and reduce detection coverage. It relies on process creation telemetry with command-line content and process image/original filename fields to match the deletion intent and the target directory.

Related detections9 linkedT1070 — drag to rearrange
Suspicious Browser History Wipe via Rundll32 ClearMyTracksByProcess (via process_creation)
USN Change Journal Deletion via Fsutil (via process_creation)
Suspicious Salesforce Query History Deletion Anti-Forensics
Suspicious Browser History Clearing via RunDll32 InetCpl ClearMyTracksByProcess (via process_creation)
Suspicious Clearing of hosts.deny Access Restrictions on Linux
Kubernetes Audit: Deleted Events
Linux Package Removal via yum, apt, dpkg, or rpm Commands
Windows Tomcat Log File Deletion Indicating Possible Forensic Evidence Destruction
Windows Event Log EVTX File Deletion in winevt\Logs
Windows Process Creation: Command-Line Deletion of IIS Logs
Pivot detection · T1070 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.