598d29f811
chore: change tags, date, modified fields to comply with v2 of the Sigma spec. chore: update the related type from `obsoletes` to `obsolete`. chore: update local json schema to the latest version.
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
title: Suspicious Scripting in a WMI Consumer
|
|
id: fe21810c-2a8c-478f-8dd3-5a287fb2a0e0
|
|
status: test
|
|
description: Detects suspicious commands that are related to scripting/powershell in WMI Event Consumers
|
|
references:
|
|
- https://in.security/an-intro-into-abusing-and-identifying-wmi-event-subscriptions-for-persistence/
|
|
- https://github.com/Neo23x0/signature-base/blob/615bf1f6bac3c1bdc417025c40c073e6c2771a76/yara/gen_susp_lnk_files.yar#L19
|
|
- https://github.com/RiccardoAncarani/LiquidSnake
|
|
author: Florian Roth (Nextron Systems), Jonhnathan Ribeiro
|
|
date: 2019-04-15
|
|
modified: 2023-09-09
|
|
tags:
|
|
- attack.execution
|
|
- attack.t1059.005
|
|
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('
|
|
- ' -nop '
|
|
- ' -noprofile '
|
|
- ' -decode '
|
|
- ' -enc '
|
|
- 'WScript.Shell'
|
|
- 'System.Security.Cryptography.FromBase64Transform'
|
|
condition: selection_destination
|
|
fields:
|
|
- User
|
|
- Operation
|
|
falsepositives:
|
|
- Legitimate administrative scripts
|
|
level: high
|