Detection rules › Sigma

Macro Enabled In A Potentially Suspicious Document

Severity
high
Author
Nasreddine Bencherchali (Nextron Systems)
Source
upstream

Detects registry changes to Office trust records where the path is located in a potentially suspicious location

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1112 Modify Registry
Defense EvasionT1112 Modify Registry

Event coverage

ProviderEvent IDTitle
Sysmon13RegistryEvent (Value Set)

Stages and Predicates

Stage 1: all of selection_value

TargetObject|contains: '\Security\Trusted Documents\TrustRecords'

Stage 2: all of selection_paths

or:
TargetObject|contains: '/AppData/Local/Microsoft/Windows/INetCache/'
TargetObject|contains: '/AppData/Local/Temp/'
TargetObject|contains: '/PerfLogs/'
TargetObject|contains: 'C:/Users/Public/'
TargetObject|contains: 'file:///D:/'
TargetObject|contains: 'file:///E:/'

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
TargetObjectmatch
  • /AppData/Local/Microsoft/Windows/INetCache/
  • /AppData/Local/Temp/
  • /PerfLogs/
  • C:/Users/Public/
  • \Security\Trusted Documents\TrustRecords corpus 2 (sigma 2)
  • file:///D:/
  • file:///E:/