Windows Process Creation: Obfuscated Cmd Uses clip.exe to Execute PowerShell

Alerts when cmd.exe uses obfuscated Clip.exe/clipboard calls to launch PowerShell.

FreeReviewedSigma · High · v2
Product
windows
Category
process_creation
Author
Jonathan Cheong, oscd.community (SigmaHQ), DRL 1.1
Published
2020-10-13
Updated
2026-07-31
title: "Windows Process Creation: Obfuscated Cmd Uses clip.exe to Execute PowerShell"
id: abf72172-1c8a-4635-ac06-9153c02bf756
status: test
description: This rule flags Windows command-line executions that invoke clip.exe in combination with obfuscated PowerShell activity. Attackers often use living-off-the-land binaries and command obfuscation to download or execute PowerShell while reducing detection clarity. The detection relies on process creation telemetry and matches on command-line strings containing cmd switches, clipboard/clip.exe usage, and PowerShell-style formatting markers.
references:
  - https://github.com/SigmaHQ/sigma/issues/1009
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_hktl_invoke_obfuscation_clip.yml
author: Jonathan Cheong, oscd.community, Huntrule Team
date: 2020-10-13
modified: 2022-11-17
tags:
  - attack.stealth
  - attack.t1027
  - attack.execution
  - attack.t1059.001
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    CommandLine|contains|all:
      - cmd
      - "&&"
      - "clipboard]::"
      - -f
    CommandLine|contains:
      - /c
      - /r
  condition: selection
falsepositives:
  - Unknown
level: high
license: DRL-1.1
related:
  - id: b222df08-0e07-11eb-adc1-0242ac120002
    type: derived