Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions DefenderXDR/ClickFix Defense Evasion
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//ClickFix Defense Evasion Checking for the use of 'SetClipboard -value " "'

DeviceProcessEvents
| Where ProcessCommandLine has_all ("set-clipboard", "-value")
| where ProcessCommandLine has_any ('" "', "' '")
| project AccountName, ProccessCommandLine
8 changes: 8 additions & 0 deletions DefenderXDR/ClickFix Defense Evasion (DeviceEvents))
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// An alternate and slightly more succesful way of catching even obfuscated clipboard clearing. This technique is used for defense evasion with clickfix attacks.
// This detection can be ran in Defender NRT for quick response.

DeviceEvents
| extend Command = tolower(parse_json(AdditionalFields)["Command"])
| where Command has_all ("set-clipboard", "-value")
| where Command has_any ("' '", '" "')
| project Timestamp, InitiatingProcessAccountName, parse_json(AdditionalFields)["Command"], DeviceId, ReportId