Detection rules › Sigma

ShimCache Flush

Severity
high
Author
Florian Roth (Nextron Systems)
Source
upstream

Detects actions that clear the local ShimCache and remove forensic evidence

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1112 Modify Registry
Defense EvasionT1112 Modify Registry

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.

Stages and Predicates

Stage 1: selection1a

CommandLine|contains: apphelp.dll
CommandLine|contains: rundll32

Stage 2: selection1b

or:
CommandLine|contains: '#250'
CommandLine|contains: ShimFlushCache

Stage 3: selection2a

CommandLine|contains: kernel32.dll
CommandLine|contains: rundll32

Stage 4: selection2b

or:
CommandLine|contains: '#46'
CommandLine|contains: BaseFlushAppcompatCache

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
CommandLinematch
  • #250
  • #46
  • BaseFlushAppcompatCache
  • ShimFlushCache
  • apphelp.dll
  • kernel32.dll
  • rundll32 corpus 19 (sigma 19)