Detection rules › Sigma

Registry Persistence via Service in Safe Mode

Severity
high
Author
frack113
Source
upstream

Detects the modification of the registry to allow a driver or service to persist in Safe Mode.

MITRE ATT&CK coverage

TacticTechniques
Defense EvasionT1564.001 Hide Artifacts: Hidden Files and Directories

Event coverage

ProviderEvent IDTitle
Sysmon13RegistryEvent (Value Set)

Stages and Predicates

Stage 1: selection

or:
TargetObject|contains: '\Control\SafeBoot\Minimal\'
TargetObject|contains: '\Control\SafeBoot\Network\'
Details: Service
TargetObject|endswith: '\(Default)'

Stage 2: not 1 of filter_optional_*

or:
or:
TargetObject|endswith: '\Control\SafeBoot\Minimal\Hexnode Agent\(Default)'
TargetObject|endswith: '\Control\SafeBoot\Minimal\Hexnode Updater\(Default)'
TargetObject|endswith: '\Control\SafeBoot\Network\Hexnode Agent\(Default)'
TargetObject|endswith: '\Control\SafeBoot\Network\Hexnode Updater\(Default)'
Details: Service
Image: 'C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe'
or:
TargetObject|endswith: '\Control\SafeBoot\Minimal\SAVService\(Default)'
TargetObject|endswith: '\Control\SafeBoot\Network\SAVService\(Default)'
Image: 'C:\WINDOWS\system32\msiexec.exe'
Details: Service
Image|endswith: '\MBAMInstallerService.exe'
TargetObject|endswith: '\MBAMService\(Default)'

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
Detailseq
  • Service
Imageends_with
  • \MBAMInstallerService.exe corpus 2 (sigma 2)
Imageeq
  • C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe
  • C:\WINDOWS\system32\msiexec.exe corpus 2 (sigma 2)
TargetObjectends_with
  • \(Default) corpus 2 (sigma 2)
  • \Control\SafeBoot\Minimal\Hexnode Agent\(Default)
  • \Control\SafeBoot\Minimal\Hexnode Updater\(Default)
  • \Control\SafeBoot\Minimal\SAVService\(Default)
  • \Control\SafeBoot\Network\Hexnode Agent\(Default)
  • \Control\SafeBoot\Network\Hexnode Updater\(Default)
  • \Control\SafeBoot\Network\SAVService\(Default)
  • \MBAMService\(Default)
TargetObjectmatch
  • \Control\SafeBoot\Minimal\
  • \Control\SafeBoot\Network\