Skip to content

Detection Against Content Copied From Browsers Executed through Run - #4261

Merged
nasbench merged 5 commits into
developfrom
windows_content_copy_execute
Sep 8, 2026
Merged

Detection Against Content Copied From Browsers Executed through Run#4261
nasbench merged 5 commits into
developfrom
windows_content_copy_execute

Conversation

@onurmerdogan

Copy link
Copy Markdown
Contributor

Details

This detection correlates RunMRU registry modification and clipboard change from browsers. Correlation is done through the hash of the content that was copied to clipboard.

These activities combined, gives a solid base for detecting ClickFix attacks. Adversaries either asks users to manually copy or use Javascript to modify the clipboard by themselves. It first triggers the clipboard change event by the browser process. Once victim executes the copied content through Run dialog box, it triggers the modification of the RunMRU registry key.

Sysmon calculates the content hash based on UTF-16 LE encoding. Therefore RunMRU value is trimmed of its suffix and converted to UTF-16 LE, before its hash was calculated. I've also added missing Sysmon EID 24 to the repository.

Comment thread data_sources/sysmon_eventid_24.yml
Comment thread detections/endpoint/windows_content_copied_from_browser_was_executed.yml Outdated
Comment thread detections/endpoint/windows_content_copied_from_browser_was_executed.yml Outdated
Comment thread detections/endpoint/windows_content_copied_from_browser_was_executed.yml Outdated
Comment thread detections/endpoint/windows_content_copied_from_browser_was_executed.yml Outdated
Comment thread detections/endpoint/windows_content_copied_from_browser_was_executed.yml Outdated
@nasbench nasbench added this to the v6.6.0 milestone Sep 7, 2026
@nasbench
nasbench merged commit 4cd62e8 into develop Sep 8, 2026
6 checks passed
@nasbench
nasbench deleted the windows_content_copy_execute branch September 8, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants