← Back to Explore
sigmahighHunting
Invoke-Obfuscation Via Use Rundll32 - Security
Detects Obfuscated Powershell via use Rundll32 in Scripts
Detection Query
selection:
EventID: 4697
ServiceFileName|contains|all:
- "&&"
- rundll32
- shell32.dll
- shellexec_rundll
ServiceFileName|contains:
- value
- invoke
- comspec
- iex
condition: selection
Author
Nikita Nazarov, oscd.community
Created
2020-10-09
Data Sources
windowssecurity
Platforms
windows
Tags
attack.defense-evasionattack.t1027attack.executionattack.t1059.001
Raw Content
title: Invoke-Obfuscation Via Use Rundll32 - Security
id: cd0f7229-d16f-42de-8fe3-fba365fbcb3a
related:
- id: 641a4bfb-c017-44f7-800c-2aee0184ce9b
type: derived
status: test
description: Detects Obfuscated Powershell via use Rundll32 in Scripts
references:
- https://github.com/SigmaHQ/sigma/issues/1009 # (Task30)
author: Nikita Nazarov, oscd.community
date: 2020-10-09
modified: 2022-11-29
tags:
- attack.defense-evasion
- attack.t1027
- attack.execution
- attack.t1059.001
logsource:
product: windows
service: security
definition: The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697
detection:
selection:
EventID: 4697
ServiceFileName|contains|all:
- '&&'
- 'rundll32'
- 'shell32.dll'
- 'shellexec_rundll'
ServiceFileName|contains:
- value
- invoke
- comspec
- iex
condition: selection
falsepositives:
- Unknown
level: high