mirror of
https://github.com/valitydev/SigmaHQ.git
synced 2024-11-08 02:08:54 +00:00
Update detection Logic
This commit is contained in:
parent
ebb4580378
commit
0606cd3dde
@ -2,7 +2,7 @@ title: Suspicious Scripting in a WMI Consumer
|
|||||||
id: fe21810c-2a8c-478f-8dd3-5a287fb2a0e0
|
id: fe21810c-2a8c-478f-8dd3-5a287fb2a0e0
|
||||||
status: experimental
|
status: experimental
|
||||||
description: Detects suspicious scripting in WMI Event Consumers
|
description: Detects suspicious scripting in WMI Event Consumers
|
||||||
author: Florian Roth
|
author: Florian Roth, Jonhnathan Ribeiro
|
||||||
references:
|
references:
|
||||||
- https://in.security/an-intro-into-abusing-and-identifying-wmi-event-subscriptions-for-persistence/
|
- https://in.security/an-intro-into-abusing-and-identifying-wmi-event-subscriptions-for-persistence/
|
||||||
- https://github.com/Neo23x0/signature-base/blob/master/yara/gen_susp_lnk_files.yar#L19
|
- https://github.com/Neo23x0/signature-base/blob/master/yara/gen_susp_lnk_files.yar#L19
|
||||||
@ -17,18 +17,23 @@ logsource:
|
|||||||
detection:
|
detection:
|
||||||
selection:
|
selection:
|
||||||
EventID: 20
|
EventID: 20
|
||||||
Destination|contains:
|
selection_destination:
|
||||||
- 'new-object system.net.webclient).downloadstring('
|
- Destination|contains|all:
|
||||||
- 'new-object system.net.webclient).downloadfile('
|
- 'new-object'
|
||||||
- 'new-object net.webclient).downloadstring('
|
- 'net.webclient'
|
||||||
- 'new-object net.webclient).downloadfile('
|
- '.downloadstring'
|
||||||
- ' iex('
|
- Destination|contains|all:
|
||||||
- 'WScript.shell'
|
- 'new-object'
|
||||||
- ' -nop '
|
- 'net.webclient'
|
||||||
- ' -noprofile '
|
- '.downloadfile'
|
||||||
- ' -decode '
|
- Destination|contains:
|
||||||
- ' -enc '
|
- ' iex('
|
||||||
condition: selection
|
- 'WScript.shell'
|
||||||
|
- ' -nop '
|
||||||
|
- ' -noprofile '
|
||||||
|
- ' -decode '
|
||||||
|
- ' -enc '
|
||||||
|
condition: selection and selection_destination
|
||||||
fields:
|
fields:
|
||||||
- CommandLine
|
- CommandLine
|
||||||
- ParentCommandLine
|
- ParentCommandLine
|
||||||
|
Loading…
Reference in New Issue
Block a user