EXPLORE
← Back to Explore
sigmahighHunting

Invoke-Obfuscation Via Use Rundll32 - PowerShell Module

Detects Obfuscated Powershell via use Rundll32 in Scripts

MITRE ATT&CK

defense-evasionexecution

Detection Query

selection_4103:
  Payload|contains|all:
    - "&&"
    - rundll32
    - shell32.dll
    - shellexec_rundll
  Payload|contains:
    - value
    - invoke
    - comspec
    - iex
condition: selection_4103

Author

Nikita Nazarov, oscd.community

Created

2019-10-08

Data Sources

windowsps_module

Platforms

windows

Tags

attack.defense-evasionattack.t1027attack.executionattack.t1059.001
Raw Content
title: Invoke-Obfuscation Via Use Rundll32 - PowerShell Module
id: 88a22f69-62f9-4b8a-aa00-6b0212f2f05a
related:
    - id: a5a30a6e-75ca-4233-8b8c-42e0f2037d3b
      type: derived
status: test
description: Detects Obfuscated Powershell via use Rundll32 in Scripts
references:
    - https://github.com/SigmaHQ/sigma/issues/1009
author: Nikita Nazarov, oscd.community
date: 2019-10-08
modified: 2022-11-29
tags:
    - attack.defense-evasion
    - attack.t1027
    - attack.execution
    - attack.t1059.001
logsource:
    product: windows
    category: ps_module
    definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
detection:
    selection_4103:
        Payload|contains|all:
            - '&&'
            - 'rundll32'
            - 'shell32.dll'
            - 'shellexec_rundll'
        Payload|contains:
            - 'value'
            - 'invoke'
            - 'comspec'
            - 'iex'
    condition: selection_4103
falsepositives:
    - Unknown
level: high