Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: process_creation
product: windows
detection:
selection1:
Image|endswith: '\regsvr32.exe'
CommandLine|contains: '\Temp\'
selection2:
Image|endswith: '\regsvr32.exe'
ParentImage|endswith:
- '\powershell.exe'
- '\pwsh.exe'
- '\powershell_ise.exe'
selection3:
Image|endswith: '\regsvr32.exe'
ParentImage|endswith: '\cmd.exe'
selection4a:
Image|endswith: '\regsvr32.exe'
CommandLine|contains|all:
- '/i:'
- 'http'
CommandLine|endswith: 'scrobj.dll'
selection4b:
Image|endswith: '\regsvr32.exe'
CommandLine|contains|all:
- '/i:'
- 'ftp'
CommandLine|endswith: 'scrobj.dll'
selection5:
Image|endswith:
- '\cscript.exe'
- '\wscript.exe'
ParentImage|endswith: '\regsvr32.exe'
selection6:
Image|endswith: '\EXCEL.EXE'
CommandLine|contains: '..\..\..\Windows\System32\regsvr32.exe '
selection7:
ParentImage|endswith: '\mshta.exe'
Image|endswith: '\regsvr32.exe'
selection8:
Image|endswith: '\regsvr32.exe'
CommandLine|contains:
- '\AppData\Local'
- 'C:\Users\Public'
selection9: # suspicious extensions https://twitter.com/Max_Mal_/status/1542461200797163522/photo/3
Image|endswith: '\regsvr32.exe'
CommandLine|endswith:
- '.jpg'
- '.jpeg'
- '.png'
- '.gif'
- '.bin'
- '.tmp'
- '.temp'
- '.txt'
filter1:
CommandLine|contains:
- '\AppData\Local\Microsoft\Teams'
- '\AppData\Local\WebEx\WebEx64\Meetings\atucfobj.dll'
filter2:
ParentImage: 'C:\Program Files\Box\Box\FS\streem.exe'
CommandLine|contains: '\Program Files\Box\Box\Temp\'
filter_legitimate:
CommandLine|endswith: '/s C:\Windows\System32\RpcProxy\RpcProxy.dll'
condition: 1 of selection* and not 1 of filter*
falsepositives:
- Unknown