mdecrevoisier high experimental sigma

Service abuse with backdoored "command failure" (Reg via PowerShell)

Detects scenarios where an attacker modify the configuration of a service to trigger an action when the service is crashed.

View Source

Detection Logic

{
  "selection_powershell_native": {
    "EventID": 800,
    "EventData
| contains
| all": [
      "-ItemProperty",
      "\\SYSTEM\\CurrentControlSet\\Services\\",
      "FailureCommand"
    ]
  },
  "selection_powershell_modern": {
    "EventID": 4103,
    "Payload
| contains
| all": [
      "-ItemProperty",
      "\\SYSTEM\\CurrentControlSet\\Services\\",
      "FailureCommand"
    ]
  },
  "selection_powershell_block": {
    "EventID": 4104,
    "ScriptBlockText
| contains
| all": [
      "-ItemProperty",
      "\\SYSTEM\\CurrentControlSet\\Services\\",
      "FailureCommand"
    ]
  },
  "condition": "1 of selection*"
}

False Positives

  • ⚠ administrator reconfiguring service

Field Validations

Loading…

Comments (0)

Loading comments...