mdecrevoisier high experimental sigma

Event log clear attempt (PowerShell)

Detects scenarios where an attacker attempts to clear the event logs.

View Source

Detection Logic

{
  "selection_powershell_native": {
    "EventID": 800,
    "EventData
| contains
| all": [
      "Clear-EventLog",
      "LogName"
    ]
  },
  "selection_powershell_modern": {
    "EventID": 4103,
    "Payload
| contains
| all": [
      "Clear-EventLog",
      "LogName"
    ]
  },
  "selection_powershell_block": {
    "EventID": 4104,
    "ScriptBlockText
| contains
| all": [
      "Clear-EventLog",
      "LogName"
    ]
  },
  "condition": "selection_powershell_native or selection_powershell_modern or selection_powershell_block"
}

False Positives

  • ⚠ None

Field Validations

Loading…

Comments (0)

Loading comments...