VeriKQL by Kaushik Saha

T1098.007 Additional Local or Domain Groups

PersistencePrivilege Escalationon attack.mitre.org

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

How MITRE detects it

DET0310 Suspicious Addition to Local or Domain Groups

AN0865 Windows

Detects unauthorized additions of users or machine accounts to privileged local or domain groups (e.g., Administrators, Remote Desktop Users).

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SecurityEventCode=4728, 4729, 4732, 4733, 4756, 4757
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4728, 4729, 4732, 4733, 4756, 4757)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4728, 4729, 4732, 4733, 4756, 4757)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4728, 4729, 4732, 4733, 4756, 4757)

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

AN0866 Linux

Detects unexpected use of usermod, gpasswd, or direct modification of /etc/group to elevate user group membership.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLSYSCALL for usermod or /etc/group file modificationNot mapped to Sentinel yet.

AN0867 macOS

Detects use of `dseditgroup` or `dscl` to add users to privileged macOS groups (e.g., admin).

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogProcess execution or directory service changesNot mapped to Sentinel yet.

Content Hub rules tagged with it (1)

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 T1098.007 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

No SigmaHQ rule names it in their tags outright.

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.