EXPLORE
← Back to Explore
sigmahighHunting

Rundll32 UNC Path Execution

Detects rundll32 execution where the DLL is located on a remote location (share)

MITRE ATT&CK

defense-evasionexecutionlateral-movement

Detection Query

selection_img:
  - Image|endswith: \rundll32.exe
  - OriginalFileName: RUNDLL32.EXE
  - CommandLine|contains: rundll32
selection_cli:
  CommandLine|contains: " \\\\\\\\"
condition: all of selection_*

Author

Nasreddine Bencherchali (Nextron Systems)

Created

2022-08-10

Data Sources

windowsProcess Creation Events

Platforms

windows

Tags

attack.defense-evasionattack.executionattack.lateral-movementattack.t1021.002attack.t1218.011
Raw Content
title: Rundll32 UNC Path Execution
id: 5cdb711b-5740-4fb2-ba88-f7945027afac
status: test
description: Detects rundll32 execution where the DLL is located on a remote location (share)
references:
    - https://www.cybereason.com/blog/rundll32-the-infamous-proxy-for-executing-malicious-code
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-08-10
tags:
    - attack.defense-evasion
    - attack.execution
    - attack.lateral-movement
    - attack.t1021.002
    - attack.t1218.011
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\rundll32.exe'
        - OriginalFileName: 'RUNDLL32.EXE'
        - CommandLine|contains: 'rundll32'
    selection_cli:
        CommandLine|contains: ' \\\\'
    condition: all of selection_*
falsepositives:
    - Unlikely
level: high