Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: file_event
product: windows
definition: Check your sysmon configuration for monitoring UsageLogs folder. In SwiftOnSecurity configuration we have that thanks @SBousseaden
detection:
selection:
TargetFilename|contains|all:
- '\AppData\Local\Microsoft\CLR'
- '\UsageLogs\'
TargetFilename|contains:
- 'mshta'
- 'cscript'
- 'wscript'
- 'regsvr32'
- 'wmic'
- 'rundll32'
- 'svchost'
condition: selection
falsepositives:
- Rundll32.exe with zzzzInvokeManagedCustomActionOutOfProc in command line and msiexec.exe as parent process - https://twitter.com/SBousseaden/status/1388064061087260675