Files
blue-team-tools/rules/windows/wmi_event/sysmon_wmi_susp_scripting.yml
T
2022-01-19 18:23:30 +01:00

44 lines
1.3 KiB
YAML

title: Suspicious Scripting in a WMI Consumer
id: fe21810c-2a8c-478f-8dd3-5a287fb2a0e0
status: experimental
description: Detects suspicious scripting in WMI Event Consumers
author: Florian Roth, Jonhnathan Ribeiro
references:
- 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/RiccardoAncarani/LiquidSnake
date: 2019/04/15
modified: 2021/09/01
logsource:
product: windows
category: wmi_event
detection:
selection_destination:
- Destination|contains|all:
- 'new-object'
- 'net.webclient'
- '.downloadstring'
- Destination|contains|all:
- 'new-object'
- 'net.webclient'
- '.downloadfile'
- Destination|contains:
- ' iex('
- 'WScript.shell'
- ' -nop '
- ' -noprofile '
- ' -decode '
- ' -enc '
- Destination|contains:
- 'WScript.Shell'
- 'System.Security.Cryptography.FromBase64Transform'
condition: selection_destination
fields:
- User
- Operation
falsepositives:
- Administrative scripts
level: high
tags:
- attack.execution
- attack.t1059.005