VeriKQL by Kaushik Saha

T1489 Service Stop

Impacton attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0021 Behavioral Detection for Service Stop across Platforms

AN0061 Windows

Adversary disables or stops critical services (e.g., Exchange, SQL, AV, endpoint monitoring) using native utilities or API calls, often preceding destructive actions (T1485, T1486). Behavioral chain: Elevated execution context + stop-service or sc.exe or ChangeServiceConfigW + terminated or disabled service + possible follow-up file manipulation.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SysmonEventCode=1
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (1)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (1)

Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent.

WinEventLog:SecurityEventCode=4672
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4672)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4672)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4672)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

WinEventLog:SystemEventCode=7036
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where EventLog in ("System") | where EventID in (7036)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel in ("System") | where EventID in (7036)
WinEventLog:SysmonEventCode=4
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (4)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (4)

Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent.

AN0062 Linux

Adversary executes systemctl or service stop targeting high-value services (e.g., mysql, sshd), possibly followed by rm or shred against data stores. Behavioral chain: sudo/su usage + stop command + /var/log/messages or syslog entries + file access/delete.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLexecve of systemctl or service stopNot mapped to Sentinel yet.
auditd:SYSCALLunlink/unlinkat on service binaries or data targetsNot mapped to Sentinel yet.
linux:syslogservice stopped messagesNot mapped to Sentinel yet.

AN0063 macOS

Use of launchctl to stop services or kill critical background processes (e.g., securityd, com.apple.*), typically followed by command-line tools like rm or diskutil. Behavioral chain: Terminal or remote shell + launchctl bootout/disable + process termination + follow-on modification.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedloglaunchctl disable or bootout callsNot mapped to Sentinel yet.
auditd:SYSCALLexecve of launchctl or pkillNot mapped to Sentinel yet.

AN0064 ESXi

Attacker disables VM-related services or stops VMs forcibly to target vmdk or logs. Behavioral chain: esxcli or vim-cmd stop + audit log showing user privilege use + datastore file manipulation.

MITRE log sourceIn Microsoft Sentinel
esxi:hostdStop VM or disable service events via vim-cmdNot mapped to Sentinel yet.
esxi:hostdLog entries indicating VM powered off or forcibly terminatedNot mapped to Sentinel yet.

Content Hub rules tagged with it (16)

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

How the Content Hub rules for T1489 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

20 SigmaHQ community rules name it or one of its sub-techniques in their tags.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.