The Prestige Of Malware Unmasking Clickfix Destructor Hijacking And The Dictionary Symphony
A ClickFix social-engineering overlay tricks users into running a malicious MSI that sideloads a modified Microsoft DLL. The DLL hijacks a C++ destructor to execute shellcode, which decodes and runs Lumma Stealer to steal browser sessions and tokens, bypassing MFA.
It’s Friday evening. You’re clearing tickets, browsing a site, or trying to open a document when a clean, professional overlay appears:
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the MSI places a legitimate signed executable alongside a malicious DLL in a user-writable directory, so Windows loads the attacker's DLL first (DLL search order hijacking), and the DLL then hijacks a C++ destructor to run shellcode.
Impact
An attacker could steal active web sessions (cookies and tokens) for services like Azure AD, AWS, and Slack, potentially bypassing MFA and leading to further intrusion such as ransomware.
What the attacker needed
Victim clicks a fake CAPTCHA overlay; user downloads and runs the MSI; Windows loads DLL from same directory
The fix
Defenders should detect signed binaries launched from user-writable directories and DLLs loaded from such locations, and users should avoid installing anything from unsolicited browser prompts.
How it was found
- A web page shows a fake CAPTCHA or browser-update overlay asking the user to click to fix browser issues.
- The click launches an MSI installer that drops a signed executable, a modified DLL, a high-entropy payload, and a dictionary file into a user-writable directory.
- The MSI custom action silently runs the signed executable without arguments.
- The signed executable loads the malicious DLL from the same directory instead of System32.
- The DLL's hijacked C++ destructor transfers control to shellcode, which allocates executable memory and decodes the payload using the dictionary.
- The decoded payload runs Lumma Stealer, which exfiltrates browser cookies and tokens.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This report describes a fake 'verify you are human' pop-up that convinces people to download an installer. The installer runs a trusted Microsoft program but secretly loads a malicious library that steals saved login sessions from the browser. Because it steals the proof that you already logged in, two-factor authentication does not stop it.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.