When Trusted Websites Turn Malicious WordPress Compromises A...#1977
Open
carlospolop wants to merge 1 commit intomasterfrom
Open
When Trusted Websites Turn Malicious WordPress Compromises A...#1977carlospolop wants to merge 1 commit intomasterfrom
carlospolop wants to merge 1 commit intomasterfrom
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://www.rapid7.com/blog/post/tr-malicious-websites-wordpress-compromise-advances-global-stealer-operation Content Categories: Based on the analysis, this content was categorized under "Pentesting Web -> XSS (Cross Site Scripting) / Misc JS Tricks & Relevant Info (stealth JS loaders, bot/admin evasion, anti-prettify checks) and Windows Hardening -> Windows Local Privilege Escalation / Post-Exploitation (fileless PowerShell shellcode execution, CreateThread injection patterns) or a new short note under Generic Hacking -> Exfiltration/Initial Access social-engineering (ClickFix clipboard/PowerShell).". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Title/Scope (what this post is about)
Rapid7 Labs analyzed a widespread compromise of legitimate WordPress websites that were altered to deliver a ClickFix social-engineering “implant” masquerading as a Cloudflare human verification (CAPTCHA). The goal is to trick visitors into running PowerShell that executes a multi-stage, mostly in-memory loader chain culminating in Windows credential + crypto ...
🔧 Technical Details
Conditional malicious JS loader hidden from WordPress admins
A compromised WordPress site can embed a “benign-looking” loader (e.g., fake performance optimizer) that only executes for non-admin visitors by checking for the
wordpress_logged_in_cookie. The loader may keep a Base64-encoded list of attacker endpoints, decode them withatob(), then synchronously request remote JS viaXMLHttpRequest.open('GET', url, false)and inject the first successful response intodocument.head. This allows dynamic payload rotation while reducing chances of admins observing the malicious behavior.Stealthy browser-side staging via admin-ajax + selective evasion + eval()
A compromised WordPress instance can expose an endpoint such as
/wp-admin/admin-ajax.php?action=ajjs_runand only fetch it if the request looks like a real user session. Evasion gates can include: blocking WordPress/...🤖 Agent Actions
Summary:
Files modified:
src/generic-methodologies-and-resources/phishing-methodology/clipboard-hijacking.mdTests not run (not requested).
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.