ClearFake

First seen
2023-07-01 00:00:00
Malware type
downloader, loader
Family
Malware family
Operating systems
windows, macos
Languages
javascript, powershell
Capabilities
website-injection, etherhiding, fake-browser-update-lure, fake-captcha-lure, clipboard-command-injection, visitor-fingerprinting, payload-download
Related IoCs
16037 (12755 malicious)
Last IoC activity
2026-12-02 04:25:04
Profile updated
2026-11-06 05:05:02

Context

ClearFake is a malicious JavaScript framework injected into compromised websites, mostly WordPress, to push malware to their visitors. First seen in July 2023 with fake browser-update pages, it began fetching its next stage from Binance Smart Chain contracts in October 2023 (EtherHiding), so the injected loader has no fixed server to take down. Since May 2024 it uses ClickFix lures: fake Cloudflare Turnstile or reCAPTCHA checks, or fake network errors, that copy a PowerShell command to the clipboard and ask the visitor to run it. The 2025 variant keeps its JavaScript, AES keys, lure URLs and commands in smart contracts and collects system, browser and cookie data before serving the lure. Infections end in information stealers, mainly Lumma Stealer loaded through Emmenhtal and mshta, and Vidar since January 2025. Sekoia counted at least 9,300 compromised sites in February 2025 and about 200,000 visitors exposed in July 2024. Most indicators linked to it are compromised legitimate websites rather than attacker-owned infrastructure.

Detection coverage

  • 271 Sigma rules

Malware & tools used

  • Malicious Copy and Paste (T1204.004) (attack-pattern)
  • PowerShell (T1059.001) (attack-pattern)
  • Mshta (T1218.005) (attack-pattern)
  • Web Service (T1102) (attack-pattern)
  • Masquerading (T1036) (attack-pattern)
  • JavaScript (T1059.007) (attack-pattern)
  • Drive-by Compromise (T1189) (attack-pattern)
  • Drive-by Target (T1608.004) (attack-pattern)

Used by threat actors

  • PowerShell User Execution Social Engineering Campaign (TA571, ClearFake, ClickFix) (campaign)

Related threat objects

Reports & references

  • malpedia.caad.fkie.fraunhofer.de — Js.Clearfake (report)
  • blog.sekoia.io — Clearfake A Newcomer To The Fake Updates Threats Landscape (report)
  • kroll.com — Clearfake Update Tricks Victim Executing Malicious Powershell Code (report)
  • blog.morphisec.com — Coinlurker The Stealer Powering The Next Generation Of Fake Updates (report)
  • rmceoin.github.io — Clearfake (report)

External references