Detection rules › Sigma

Remote Thread Creation Via PowerShell In Uncommon Target

Status
test
Severity
medium
Log source
category create_remote_thread, product windows
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the creation of a remote thread from a Powershell process in an uncommon target process

MITRE ATT&CK coverage

Telemetry coverage

ProviderRecord / event type
SysmonEvent ID 8: CreateRemoteThread

Rule body

title: Remote Thread Creation Via PowerShell In Uncommon Target
id: 99b97608-3e21-4bfe-8217-2a127c396a0e
related:
    - id: eeb2e3dc-c1f4-40dd-9bd5-149ee465ad50
      type: similar
status: test
description: Detects the creation of a remote thread from a Powershell process in an uncommon target process
references:
    - https://www.fireeye.com/blog/threat-research/2018/06/bring-your-own-land-novel-red-teaming-technique.html
author: Florian Roth (Nextron Systems)
date: 2018-06-25
modified: 2023-11-10
tags:
    - attack.execution
    - attack.stealth
    - attack.t1218.011
    - attack.t1059.001
logsource:
    product: windows
    category: create_remote_thread
detection:
    selection:
        SourceImage|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
        TargetImage|endswith:
            # Note: Please add additional potential interesting targets to increase coverage
            - '\rundll32.exe'
            - '\regsvr32.exe'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    SourceImage|endswith:
        - '\powershell.exe'
        - '\pwsh.exe'
    TargetImage|endswith:
        - '\rundll32.exe'
        - '\regsvr32.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
SourceImageends_with
  • \powershell.exe corpus 4 (sigma 4)
  • \pwsh.exe corpus 4 (sigma 4)
field:"SourceImage" kind:ends_with
TargetImageends_with
  • \regsvr32.exe
  • \rundll32.exe corpus 2 (sigma 2)
field:"TargetImage" kind:ends_with