Skip to content

Commit 8346916

Browse files
authored
Update suspicious-clipboard-read
1 parent e12910f commit 8346916

1 file changed

Lines changed: 56 additions & 107 deletions

File tree

content/triage-guides/sentinel/collection/suspicious-clipboard-read

Lines changed: 56 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -14,53 +14,52 @@
1414

1515
## Purpose
1616

17-
This detection identifies suspicious clipboard read activity or clipboard utility execution that may indicate collection of copied data, secrets, credentials, or other sensitive user content.
17+
This detection identifies suspicious clipboard read activity or clipboard utility execution that may indicate collection of copied data, secrets, or credentials.
1818

1919
This matters because attackers may read clipboard contents to capture:
2020

2121
- Passwords copied by users
2222
- MFA codes
23-
- Internal URLs or secrets
24-
- Sensitive text copied from documents, terminals, or chat tools
25-
- Data being staged for later exfiltration
23+
- Sensitive text from documents, terminals, chat, or admin tools
24+
- Secrets copied during troubleshooting or operations
25+
- Data staged for later exfiltration
2626

2727
## Detection Logic Summary
2828

29-
The rule looks for command-line clipboard access using processes such as:
29+
The rule looks for clipboard-related process execution involving:
3030

3131
- `powershell.exe`
3232
- `pwsh.exe`
3333
- `cmd.exe`
3434
- `clip.exe`
3535

36-
It specifically looks for clipboard read patterns such as:
36+
It specifically looks for command lines containing:
3737

3838
- `Get-Clipboard`
3939
- `[Windows.Forms.Clipboard]::GetText`
4040
- `GetText()`
4141
- `clip.exe`
4242

43-
It excludes `Set-Clipboard` activity and suppresses some likely development-related initiators such as:
43+
It excludes:
4444

45-
- `Code.exe`
46-
- `devenv.exe`
47-
- `powershell_ise.exe`
45+
- `Set-Clipboard`
46+
- likely developer-focused initiators such as `Code.exe`, `devenv.exe`, and `powershell_ise.exe`
4847

4948
## Likely Analyst Goal
5049

5150
Determine whether the clipboard access was:
5251

5352
- Legitimate administrator or developer scripting
54-
- Normal automation or troubleshooting
55-
- Suspicious collection of copied secrets or user data
53+
- Expected automation or troubleshooting
54+
- Suspicious collection of copied secrets or credentials
5655

5756
## Initial Triage Questions
5857

5958
1. Who executed the clipboard-read command?
60-
2. What process initiated the clipboard access?
61-
3. Is command-line clipboard access normal for this user or host?
62-
4. Did the clipboard access occur near archive creation, browser credential access, or outbound transfers?
63-
5. Was the process launched from a suspicious path or parent process?
59+
2. Is clipboard access normal for this user or host?
60+
3. What process launched the clipboard activity?
61+
4. Did the activity occur near archive creation, browser credential access, or outbound transfers?
62+
5. Was the execution path user-writable or otherwise suspicious?
6463

6564
---
6665

@@ -76,126 +75,76 @@ Inspect:
7675
- `InitiatingProcessCommandLine`
7776
- `AccountName`
7877

79-
Look for commands such as:
80-
81-
- `Get-Clipboard`
82-
- `[Windows.Forms.Clipboard]::GetText`
83-
- `GetText()`
78+
Look for direct clipboard-read commands and how they were launched.
8479

8580
**Why this matters:**
86-
Command-line clipboard reads are less common than standard interactive use and may indicate scripted collection.
81+
Command-line clipboard reads are less common than normal user clipboard activity and may indicate scripted collection.
8782

8883
---
8984

90-
### 2. Identify the Initiating Process and Parent Context
85+
### 2. Review the Initiating Process and Parent Context
9186

92-
Review whether the clipboard access was launched by:
87+
Determine whether the clipboard access was launched by:
9388

9489
- PowerShell
9590
- Command shell
9691
- A script runner
9792
- A management tool
98-
- A suspicious or rare parent process
93+
- A rare or suspicious parent process
9994

100-
Pay attention to:
95+
Pay close attention to:
10196

102-
- User-writable execution paths
103-
- Temp folders
104-
- Downloads
105-
- AppData
106-
- LOLBins or script hosts
97+
- execution from `%TEMP%`
98+
- `Downloads`
99+
- `AppData`
100+
- script hosts or LOLBins
107101

108102
**Why this matters:**
109-
Parent-child process context helps distinguish normal scripting from attacker tradecraft.
103+
Parent-child process context helps separate normal scripting from attacker tradecraft.
110104

111105
---
112106

113107
### 3. Determine Whether the Activity Is Expected
114108

115109
Ask:
116110

117-
- Does the user normally use PowerShell or command-line automation?
118-
- Is the device used by an admin, developer, or automation engineer?
119-
- Is there a help desk or approved script that reads clipboard content?
120-
- Is the activity explained by troubleshooting or productivity tooling?
111+
- Does the account normally use PowerShell or command-line clipboard access?
112+
- Is this a developer, admin, or automation-heavy system?
113+
- Is there a known script or admin workflow that reads clipboard contents?
114+
- Does the timing align to troubleshooting or approved automation?
121115

122116
**Why this matters:**
123-
Some clipboard access is benign, especially in technical workflows.
117+
Some clipboard access is benign in technical workflows.
124118

125119
---
126120

127-
### 4. Review Surrounding Activity
121+
### 4. Review Nearby Activity
128122

129-
Look for nearby events involving:
123+
Check for activity near the same time window involving:
130124

131125
- Archive creation
132-
- Browser credential store access
133-
- Cloud upload activity
134-
- Email transfer
135-
- Script execution
136-
- Command-and-control traffic
137-
- Removable media usage
138-
139-
**Why this matters:**
140-
Clipboard collection becomes much more concerning when paired with staging or exfiltration behavior.
141-
142-
---
143-
144-
### 5. Check for Access to High-Risk Data Sources
145-
146-
Review whether the same process or account also accessed:
147-
148-
- Browser credential stores
149-
- Password vault exports
150-
- Sensitive documents
151-
- Email data
152-
- Admin consoles
153-
- Remote access tools
126+
- Browser credential access
127+
- Outbound transfers
128+
- Email attachment creation
129+
- Cloud uploads
130+
- Additional scripting activity
154131

155132
**Why this matters:**
156-
An attacker may gather clipboard data as part of a broader collection workflow.
133+
Clipboard collection is more concerning when paired with staging or exfiltration behavior.
157134

158135
---
159136

160-
### 6. Review the User and Host Context
137+
### 5. Review User and Host Context
161138

162139
Assess:
163140

164141
- Whether the host is privileged or high value
165142
- Whether the user recently reported suspicious activity
166-
- Whether there are other alerts on the same device
167-
- Whether the system is a jump box, admin workstation, or developer endpoint
143+
- Whether the host has other collection-related alerts
144+
- Whether the device is an admin workstation or jump host
168145

169146
**Why this matters:**
170-
Clipboard collection on an admin or high-value system carries more risk.
171-
172-
---
173-
174-
## Suggested Investigation Pivots
175-
176-
### Process Pivots
177-
178-
- Process hash
179-
- Full command line
180-
- Parent process
181-
- Signer status
182-
- File path
183-
- Prevalence in the environment
184-
185-
### User Pivots
186-
187-
- Same account on other devices
188-
- Recent PowerShell usage
189-
- Recent suspicious logons
190-
- Nearby collection or exfiltration alerts
191-
192-
### Device Pivots
193-
194-
- Other clipboard access events
195-
- Archive creation
196-
- Browser credential access
197-
- Network transfers
198-
- File staging behavior
147+
Clipboard collection on a sensitive system increases risk.
199148

200149
---
201150

@@ -213,12 +162,12 @@ Common legitimate scenarios include:
213162

214163
Escalate concern when you observe:
215164

216-
- Clipboard reads by uncommon or unsigned scripts
165+
- Clipboard reads by uncommon or unsigned tooling
217166
- Execution from temp or user-writable paths
218-
- Clipboard access followed by archive creation or upload
219-
- Browser credential access nearby
220-
- Same user or host showing other collection activity
221-
- Suspicious parent process or process tree
167+
- Clipboard access followed by archive creation or transfer
168+
- Nearby browser credential access
169+
- Other collection activity on the same host
170+
- Suspicious script host or process tree
222171

223172
---
224173

@@ -230,23 +179,23 @@ Close as benign when:
230179

231180
- The user regularly uses scripting or automation
232181
- The initiating process is trusted and expected
233-
- No nearby suspicious collection or exfiltration is found
182+
- No nearby collection or exfiltration activity is present
234183

235184
### Escalate as Suspicious
236185

237186
Escalate when:
238187

239-
- Clipboard reads are unusual for the host or user
240-
- The initiating process is suspicious or rare
241-
- Clipboard access occurs near data staging or outbound transfer activity
188+
- Clipboard access is unusual for the user or host
189+
- The process tree is suspicious or rare
190+
- Clipboard access occurs near staging or outbound transfer behavior
242191

243192
### Escalate as Likely Malicious
244193

245194
Escalate as likely malicious when:
246195

247196
- Clipboard reads are part of a broader compromise chain
248-
- The host shows additional collection or credential theft behavior
249-
- Evidence suggests harvesting of copied credentials or secrets
197+
- Sensitive copied content may have been harvested
198+
- The host shows additional collection or credential theft activity
250199

251200
---
252201

@@ -266,7 +215,7 @@ Depending on findings, consider:
266215

267216
### Analyst Summary
268217

269-
Alert fired for suspicious clipboard read or clipboard utility execution, potentially indicating collection of copied secrets, credentials, or other sensitive user data.
218+
Alert fired for suspicious clipboard read or clipboard utility execution, potentially indicating collection of copied secrets, credentials, or sensitive user data.
270219

271220
### Key Findings
272221

@@ -276,7 +225,7 @@ Alert fired for suspicious clipboard read or clipboard utility execution, potent
276225
- **Command line:**
277226
- **Initiating process:**
278227
- **Expected activity:**
279-
- **Nearby archive/upload behavior:**
228+
- **Nearby staging or transfer behavior:**
280229
- **Related alerts:**
281230
- **Final assessment:**
282231

0 commit comments

Comments
 (0)