Detection rules › Splunk

Member added to security-enabled global group (Windows Event Log)

Group by
_time, host
Source
github.com/anvilogic-forge/armory

In Active Directory Users and Computers "Security Enabled" groups are simply referred to as Security groups. This use case looks for when a member has been added to a security enabled global group.

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1098 Account Manipulation
Privilege EscalationT1098 Account Manipulation

References

Event coverage

Rule body yaml

id: '15211.22728'
title: Member added to security-enabled global group
description: In Active Directory Users and Computers "Security Enabled" groups are
  simply referred to as Security groups. This use case looks for when a member has
  been added to a security enabled global group.
logic_format: Splunk
logic: '`get_endpoint_data` `get_endpoint_data_winevent` (TERM(EventCode=632) OR "<EventID>632<"
  OR signature_id=632 OR TERM(EventCode=4728) OR "<EventID>4728<" OR signature_id=4728)
  | table _time, host, user dest_*, parent_*, process_*, process, signature_id, src_*
  | bin span=1s | stats values(*) as * by _time, host '
techniques:
- persistence:account manipulation
technique_id: 
- T1098
data_category:
- Windows event logs
references:
- https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4728

Stages and Predicates

Stage 1: search

`get_endpoint_data` `get_endpoint_data_winevent` (TERM(EventCode=632) OR "<EventID>632<" OR signature_id=632 OR TERM(EventCode=4728) OR "<EventID>4728<" OR signature_id=4728)

Stage 2: table

| table _time, host, user dest_*, parent_*, process_*, process, signature_id, src_*

Stage 3: bucket

| bin span=1s

Stage 4: stats

| stats values(*) as * by _time, host

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
EventCodeeq
  • 4728 corpus 3 (splunk 3)
  • 632
signature_ideq
  • 4728
  • 632

Search terms

Bare-string tokens in the SPL search body. Splunk matches each token against _raw (the untyped raw event text) anywhere it appears, not against a specific field. These don't surface in the Indicators table because they aren't predicates on a known field.

StageTerm
1TERM
1"<EventID>632<"
1TERM
1"<EventID>4728<"