35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
title: WMIC Loading Scripting Libraries
|
|
author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
|
|
date: 2020/10/17
|
|
description: Detects threat actors proxy executing code and bypassing application
|
|
controls by leveraging wmic and the `/FORMAT` argument switch to download and
|
|
execute an XSL file (i.e js, vbs, etc).
|
|
detection:
|
|
SELECTION_1:
|
|
EventID: 7
|
|
SELECTION_2:
|
|
Image: '*\wmic.exe'
|
|
SELECTION_3:
|
|
ImageLoaded: '*\jscript.dll'
|
|
SELECTION_4:
|
|
ImageLoaded: '*\vbscript.dll'
|
|
condition: (SELECTION_1 and SELECTION_2 and (SELECTION_3 or SELECTION_4))
|
|
falsepositives:
|
|
- Apparently, wmic os get lastboottuptime loads vbscript.dll
|
|
id: 06ce37c2-61ab-4f05-9ff5-b1a96d18ae32
|
|
level: high
|
|
logsource:
|
|
category: image_load
|
|
product: windows
|
|
references:
|
|
- https://securitydatasets.com/notebooks/small/windows/05_defense_evasion/SDWIN-201017061100.html
|
|
- https://twitter.com/dez_/status/986614411711442944
|
|
- https://lolbas-project.github.io/lolbas/Binaries/Wmic/
|
|
status: experimental
|
|
tags:
|
|
- attack.defense_evasion
|
|
- attack.t1220
|
|
yml_filename: sysmon_wmic_remote_xsl_scripting_dlls.yml
|
|
yml_path: /Users/user/Documents/YamatoSecurity/sigma/rules/windows/image_load
|
|
|