Detection rules › Sigma
LOLBIN Execution From Abnormal Drive
Detects LOLBINs executing from an abnormal or uncommon drive such as a mounted ISO.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth | No specific technique |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
Rule body yaml
title: LOLBIN Execution From Abnormal Drive
id: d4ca7c59-e9e4-42d8-bf57-91a776efcb87
related:
- id: 5b80cf53-3a46-4adc-960b-05ec19348d74
type: similar
status: test
description: Detects LOLBINs executing from an abnormal or uncommon drive such as a mounted ISO.
references:
- https://thedfirreport.com/2021/12/13/diavol-ransomware/
- https://www.scythe.io/library/threat-emulation-qakbot
- https://sec-consult.com/blog/detail/bumblebee-hunting-with-a-velociraptor/
author: Christopher Peacock '@securepeacock', SCYTHE '@scythe_io', Angelo Violetti - SEC Consult '@angelo_violetti', Aaron Herman
date: 2022-01-25
modified: 2023-08-29
tags:
- attack.stealth
logsource:
category: process_creation
product: windows
detection:
selection:
# Note: add more lolbins for additional coverage
- Image|endswith:
- '\calc.exe'
- '\certutil.exe'
- '\cmstp.exe'
- '\cscript.exe'
- '\installutil.exe'
- '\mshta.exe'
- '\regsvr32.exe'
- '\rundll32.exe'
- '\wscript.exe'
- OriginalFileName:
- 'CALC.EXE'
- 'CertUtil.exe'
- 'CMSTP.EXE'
- 'cscript.exe'
- 'installutil.exe'
- 'MSHTA.EXE'
- 'REGSVR32.EXE'
- 'RUNDLL32.EXE'
- 'wscript.exe'
filter_main_currentdirectory:
CurrentDirectory|contains: 'C:\'
filter_main_empty:
CurrentDirectory: ''
filter_main_null:
CurrentDirectory: null
condition: selection and not 1 of filter_main_*
falsepositives:
- Rare false positives could occur on servers with multiple drives.
level: medium
Stages and Predicates
Stage 0: condition
selection and not 1 of filter_main_*Stage 1: selection
selection:
- Image|endswith:
- '\calc.exe'
- '\certutil.exe'
- '\cmstp.exe'
- '\cscript.exe'
- '\installutil.exe'
- '\mshta.exe'
- '\regsvr32.exe'
- '\rundll32.exe'
- '\wscript.exe'
- OriginalFileName:
- 'CALC.EXE'
- 'CertUtil.exe'
- 'CMSTP.EXE'
- 'cscript.exe'
- 'installutil.exe'
- 'MSHTA.EXE'
- 'REGSVR32.EXE'
- 'RUNDLL32.EXE'
- 'wscript.exe'
Stage 2: not filter_main_*
filter_main_currentdirectory:
CurrentDirectory|contains: 'C:\'
filter_main_empty:
CurrentDirectory: ''
filter_main_null:
CurrentDirectory: null
Exclusions
Top-level NOT(...) conjuncts: predicates this rule actively suppresses.
| Field | Kind | Excluded values |
|---|---|---|
CurrentDirectory | is_null | |
CurrentDirectory | match | C:\ |
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
Image | ends_with |
|
OriginalFileName | eq |
|