2019-04-15 06:03:53 +00:00
|
|
|
title: Suspicious Scripting in a WMI Consumer
|
2019-11-12 22:12:27 +00:00
|
|
|
id: fe21810c-2a8c-478f-8dd3-5a287fb2a0e0
|
2019-04-15 06:03:53 +00:00
|
|
|
status: experimental
|
2019-11-12 22:12:27 +00:00
|
|
|
description: Detects suspicious scripting in WMI Event Consumers
|
2019-04-15 06:03:53 +00:00
|
|
|
author: Florian Roth
|
|
|
|
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
|
|
|
|
date: 2019/04/15
|
|
|
|
tags:
|
2020-08-29 00:03:28 +00:00
|
|
|
- attack.t1086 # an old one
|
2019-04-15 06:03:53 +00:00
|
|
|
- attack.execution
|
2020-06-16 20:46:08 +00:00
|
|
|
- attack.t1059.005
|
2019-04-15 06:03:53 +00:00
|
|
|
logsource:
|
2020-06-16 20:46:08 +00:00
|
|
|
product: windows
|
|
|
|
service: sysmon
|
2019-04-15 06:03:53 +00:00
|
|
|
detection:
|
|
|
|
selection:
|
|
|
|
EventID: 20
|
|
|
|
Destination:
|
|
|
|
- '*new-object system.net.webclient).downloadstring(*'
|
|
|
|
- '*new-object system.net.webclient).downloadfile(*'
|
|
|
|
- '*new-object net.webclient).downloadstring(*'
|
|
|
|
- '*new-object net.webclient).downloadfile(*'
|
|
|
|
- '* iex(*'
|
|
|
|
- '*WScript.shell*'
|
|
|
|
- '* -nop *'
|
|
|
|
- '* -noprofile *'
|
|
|
|
- '* -decode *'
|
|
|
|
- '* -enc *'
|
|
|
|
condition: selection
|
|
|
|
fields:
|
|
|
|
- CommandLine
|
|
|
|
- ParentCommandLine
|
|
|
|
falsepositives:
|
|
|
|
- Administrative scripts
|
|
|
|
level: high
|