-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Potential ClickFix Execution Pattern - Registry #5244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
b10969a
add clickfix registry related rule
swachchhanda000 782588c
description extended
swachchhanda000 2373484
Update rules/windows/registry/registry_set/registry_set_potential_cli…
swachchhanda000 2ebf023
Update rules/windows/registry/registry_set/registry_set_potential_cli…
swachchhanda000 a91854e
update: susp pattern
swachchhanda000 650e391
update: add more susp pattern
swachchhanda000 ea4d932
fix: typo
phantinuss File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
rules/windows/registry/registry_set/registry_set_potential_clickfix_execution.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| title: Potential ClickFix Execution Pattern - Registry | ||
| id: f5fe36cf-f1ec-4c23-903d-09a3110f6bbb | ||
| status: experimental | ||
| description: | | ||
| Detects potential ClickFix malware execution patterns by monitoring registry modifications in RunMRU keys containing HTTP/HTTPS links. | ||
| ClickFix is known to be distributed through phishing campaigns and uses techniques like clipboard hijacking and fake CAPTCHA pages. | ||
| Through the fakecaptcha pages, the adversary tricks users into opening the Run dialog box and pasting clipboard-hijacked content, | ||
| such as one-liners that execute remotely hosted malicious files or scripts. | ||
| references: | ||
| - https://github.com/JohnHammond/recaptcha-phish | ||
| - https://www.zscaler.com/blogs/security-research/deepseek-lure-using-captchas-spread-malware | ||
| - https://www.threatdown.com/blog/clipboard-hijacker-tries-to-install-a-trojan/ | ||
| - https://app.any.run/tasks/5c16b4db-4b36-4039-a0ed-9b09abff8be2 | ||
| - https://www.esentire.com/security-advisories/netsupport-rat-clickfix-distribution | ||
| - https://medium.com/@boutnaru/the-windows-foreniscs-journey-run-mru-run-dialog-box-most-recently-used-57375a02d724 | ||
| - https://unit42.paloaltonetworks.com/preventing-clickfix-attack-vector/ | ||
| - https://medium.com/@poudelswachchhanda123/preventing-lnk-and-fakecaptcha-threats-a-system-hardening-approach-2f7b7ed2e493 | ||
| author: Swachchhanda Shrawan Poudel (Nextron Systems) | ||
| date: 2025-03-25 | ||
| tags: | ||
| - attack.execution | ||
| - attack.t1204.001 | ||
| logsource: | ||
| category: registry_set | ||
| product: windows | ||
| detection: | ||
| selection_registry: | ||
| TargetObject|contains: '\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RunMRU\' | ||
| selection_details: | ||
| Details|contains: | ||
| - 'http://' | ||
| - 'https://' | ||
| selection_susp_pattern: | ||
| - Details|contains: | ||
| # Add more suspicious keywords | ||
| - 'account' | ||
| - 'anti-bot' | ||
| - 'botcheck' | ||
| - 'captcha' | ||
| - 'challenge' | ||
| - 'confirmation' | ||
| - 'fraud' | ||
| - 'human' | ||
| - 'identificator' | ||
| - 'identity' | ||
| - 'robot' | ||
| - 'validation' | ||
| - 'verification' | ||
| - 'verify' | ||
| - Details|contains: | ||
| - '%comspec%' | ||
| - 'bitsadmin' | ||
| - 'certutil' | ||
| - 'cmd' | ||
| - 'cscript' | ||
| - 'curl' | ||
| - 'mshta' | ||
| - 'powershell' | ||
| - 'pwsh' | ||
| - 'regsvr32' | ||
| - 'rundll32' | ||
| - 'schtasks' | ||
| - 'wget' | ||
| - 'wscript' | ||
| condition: all of selection_* | ||
| falsepositives: | ||
| - Legitimate applications using RunMRU with HTTP links | ||
| level: high | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.