Detectionhighstable
ShimCache Flush
Detects actions that clear the local ShimCache and remove forensic evidence
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic4 selectors
detection:
selection1a:
CommandLine|contains|all:
- 'rundll32'
- 'apphelp.dll'
selection1b:
CommandLine|contains:
- 'ShimFlushCache'
- '#250'
selection2a:
CommandLine|contains|all:
- 'rundll32'
- 'kernel32.dll'
selection2b:
CommandLine|contains:
- 'BaseFlushAppcompatCache'
- '#46'
condition: ( selection1a and selection1b ) or ( selection2a and selection2b )False Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
References
MITRE ATT&CK
Techniques
Rule Metadata
Rule ID
b0524451-19af-4efa-a46f-562a977f792e
Status
stable
Level
high
Type
Detection
Created
Mon Feb 01
Path
rules/windows/process_creation/proc_creation_win_rundll32_susp_shimcache_flush.yml
Raw Tags
attack.persistenceattack.defense-evasionattack.t1112