Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / THREAT HUNT / WINDOWS / EXFILTRATION

Clipboard Theft

This note documents detection patterns related to Clipboard Theft within Windows environments.


Direct Indicators

LogEvent IDMeaningForensic ValueNotes
Security4688Process creationCriticalDetects clipboard scraping tools and payload launchers.
Sysmon1Process creationCriticalBest lineage source for clipboard theft tooling.
Sysmon10Process accessHighSome tools access target GUI processes.
Sysmon7Image loadedMediumUnusual DLLs tied to clipboard APIs.
PowerShell4104Script block loggingCriticalClipboard cmdlets often exposed in scripts.
Sysmon11File createMediumTemporary clipboard dumps or staging files.

Indirect Indicators

IndicatorWhat To Look ForForensic ValueNotes
Clipboard APIs in script/toolGetClipboardData / SetClipboardCriticalStrong collection clue.
PowerShell reads clipboardGet-ClipboardCriticalCommon operator method.
Clipboard replaced quicklyCrypto address swappingCriticalCommon malware behavior.
Office/browser followed by clipboard readData theft sequenceHighValuable context.
Temp text dump createdClipboard stagingHighStrong artifact clue.
Repeated short pollingFrequent clipboard checksHighMalware loop behavior.

Common Tools

ToolUsage
PowerShellGet-Clipboard
custom malwareClipboard monitoring
info stealersClipboard scraping
AutoHotkeyClipboard capture

Relevant Artifacts

  • Security Event ID 4688
  • Sysmon Event IDs 1, 10, 7, 11
  • PowerShell 4104
  • Temp output files
  • Prefetch for tool
  • Browser / Office process correlation
  • EDR process tree

MITRE ATT&CK References

  • T1115 Clipboard Data

Decision Tree

  1. Which process accessed clipboard?

    • PowerShell
    • Script host
    • Malware
  2. Read or replace?

    • Theft
    • Swap
    • Monitoring loop
  3. Adjacent context?

    • Browser
    • Office
    • Wallet activity
  4. Output artifact?

    • Temp file
    • Exfil chain
  5. Expand:

    • Network exfil
    • Credential theft
    • Browser dumping
  6. Scope:

    • Single collection
    • Repeated polling
    • Malware campaign

Example Detection Templates

KQL

SecurityEvent
| where EventID == 4688
| where CommandLine has_any ("Get-Clipboard","clip")
| project TimeGenerated, Computer, CommandLine
PowerShell
| where EventID == 4104
| where ScriptBlockText has "Get-Clipboard"
| project TimeGenerated, Computer, ScriptBlockText

EQL

process where process.command_line like "*Get-Clipboard*"
sequence by host.name with maxspan=5m
  [ process where process.command_line like "*Get-Clipboard*" ]
  [ file where file.path like "*temp*" ]

Sigma

title: Clipboard Theft Detection
id: 8d4f3b10-clipboard-theft
status: experimental
description: Detects suspicious clipboard access patterns
references:
  - https://attack.mitre.org/
author: Vergil
date: 2026-03-07
logsource:
  product: windows
  service: powershell
detection:
  selection:
    ScriptBlockText|contains: 'Get-Clipboard'
  condition: selection
fields:
  - ScriptBlockText
falsepositives:
  - Legitimate admin scripts
level: high
tags:
  - attack.collection

Mitigation & Hardening

Control AreaMitigationEffectivenessNotes
PowerShell loggingDetect clipboard cmdletsCriticalStrong visibility
Watch clipboard API useHigh-value for malwareHighStrong enrichment
Correlate with browser theftStrong contextHighImproves triage
Alert on clipboard swap behaviorCrypto theft detectionCriticalHigh-value
Preserve temp filesRecover stolen data pathHighUseful DFIR artifact