Skip to main content
Mallory
MalwareUsed by 8 actorsExploits 1 CVE

ScanBox

ScanBox is a PHP- and JavaScript-based web reconnaissance and exploitation framework, publicly documented since at least 2014, that is primarily used pre-compromise for victim profiling and in some cases exploit delivery. The content describes it as a custom exploit kit/host profiler and JavaScript keylogger that supports fileless targeting through browser-delivered scripts. Reported capabilities include browser and system profiling; collection of URL, referrer, title, domain, user-agent, cookies, character encoding, screen dimensions, operating system, language, color depth, Flash version, browser plugins, Java/ActiveX presence, and other fingerprinting data; keystroke capture; cookie theft; iframe creation; plugin execution; and, in one 2022 campaign, a peer-connection module using WebRTC/STUN and a security-check module looking for Kaspersky Internet Security artifacts. Server-side paths observed for data handling and plugin loading included /i/v.php, /i/c.php, /i/k.php, and /i/p.php.

The framework has been repeatedly associated with Chinese espionage activity and is assessed in the content as likely privately shared among multiple China-based threat actors. Threat actors and clusters explicitly linked to ScanBox usage in the content include APT3, Threat Group-3390/LuckyMouse/Emissary Panda/APT27/Iron Tiger, TA423/Red Ladon/APT40/Leviathan/GADOLINIUM, TA413, Earth Empusa/POISON CARP/Evil Eye, and BRONZE MOHAWK. Reported targeting includes Australian federal and local government agencies, Australian media organizations, Malaysian entities, heavy industry and energy-related organizations tied to South China Sea and Taiwan Strait projects, Japanese government and high-tech organizations, Tibetan organizations and the Tibetan exile community, Uyghur- and Tibet-related targets, Turkish and Taiwanese sites, and a national data center and government websites in a Central Asian country.

Observed delivery and infection vectors include phishing emails linking to malicious websites, fake news portals, fake Adobe Flash update pages, watering-hole compromises of government and NGO websites, and malicious JavaScript injected into Cisco ASA Clientless SSL VPN login portals. In multiple cases, victims visiting compromised or spoofed sites were redirected to pages hosting ScanBox and sometimes BEeF. One campaign used australianmorningnews[.]com and image[.]australianmorningnews[.]com to deliver ScanBox; another involved Cisco Web VPN pages loading ScanBox-related JavaScript via accounts.nttdocomo.mailsecure.cc; other reporting cited redirects to update.iaacstudio[.]com and exploit-related URLs such as https://103.42.181.84/2/css.js and http://webxss.cn/mu5AOh?1440094244. A SHA-256 hash reported for one ScanBox sample is 7795936ed1bdb7a5756c1ff821b2dc8739966abbb00e3e0ae114ee728bf1cf1a.

The content also notes ScanBox has been used alongside or in proximity to other tooling including BEeF, HyperBro, Cobalt Strike, Meterpreter, and Derusbi in broader intrusion chains. High-confidence behavior directly described in the sources is reconnaissance, profiling, keylogging, and support for exploitation or follow-on compromise rather than standalone persistence on the endpoint.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

EXPLOITED CVES

Vulnerabilities exploited

1 CVE Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.

1 CVES
CVE-2014-3393Authentication Bypass in Cisco ASA Clientless SSL VPN Portal Customization FrameworkExploited in the wild

"The JavaScript in these attacks links back to a JavaScript profiling and exploitation framework called Scanbox."

via volexity blogvolexity.com
THREAT ACTORS

Groups observed using it

8 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
earth_empusa

Upon continued investigation in late April 2020, we found another phishing page that appears to be copied from a third-party web store and injected with two scripts to load ScanBox and BeEF frameworks.

via trend micro researchtrendmicro.com
Leviathan

Tools Nanhaishu, Orz, SeDll, Cobalt Strike, GreenCrash, AIRBREAK, BlackCoffee, China Chopper, FUSIONBLAZE, HOMEFRY, MURKYTOP, Metasploit / Meterpreter, ScanBox, Derusbi Trojan, Derusbi, Metasploit

via secureworks threat profilessecureworks.com
Threat Group-3390

"...or the ScanBox reconnaissance framework, which perform the same tasks as a keylogger."

via the hacker newsthehackernews.com
Chinese APT groups

"The JavaScript in these attacks links back to a JavaScript profiling and exploitation framework called Scanbox."

via volexity blogvolexity.com
ZipToken

"...redirected users to malicious sites hosting exploitation tools such as ScanBox and BEeF (Browser Exploitation Framework)."

via bleeping computerbleepingcomputer.com
menuPass

Proofpoint and PwC Threat Intelligence have jointly identified a cyber espionage campaign, active since April 2022 through June, delivering the ScanBox exploitation framework to targets who visit a malicious domain posing as an Australian news website.

via proofpoint threat insight blogproofpoint.com
APT3

Proofpoint and PwC Threat Intelligence have jointly identified a cyber espionage campaign, active since April 2022 through June, delivering the ScanBox exploitation framework to targets who visit a malicious domain posing as an Australian news website.

via proofpoint threat insight blogproofpoint.com
Luckycat

Proofpoint and PwC Threat Intelligence have jointly identified a cyber espionage campaign, active since April 2022 through June, delivering the ScanBox exploitation framework to targets who visit a malicious domain posing as an Australian news website.

via proofpoint threat insight blogproofpoint.com
MITRE ATT&CK

Techniques & procedures

17 distinct techniques documented for this family, organized by ATT&CK tactic.

Reconnaissance

2 techniques
T1589Gather Victim Identity InformationEvidence1

The malicious URLs provided in the emails also appear to use values that are customized for each target... the number string that follows it... appears to be a unique identifier for each recipient... This may be an attempt by the threat actor to correlate traffic to its servers... with custom user identifiers which targets received within the URLs via email.

T1592Gather Victim Host InformationEvidence1

The framework can collect information from a website’s visitors by using JavaScript to record keypresses and harvest the profiles of the OS, browser, and browser plugins from the client environment.

Initial Access

4 techniques
T1189Drive-by CompromiseEvidence4

Earth Empusa also employs watering hole attacks to compromise iOS devices. The group injected their malicious scripts on websites that their targets could potentially visit and load the injected script from it.

T1190Exploit Public-Facing ApplicationEvidence1

“It appears to have started with CVE-2014-3393, a vulnerability in… the Cisco Clientless SSL VPN portal… [allowing] an unauthenticated, remote attacker to modify the content of the Clientless SSL VPN portal…”

T1566PhishingEvidence1

Beginning on 12 April 2022, and continuing through mid-June 2022, Proofpoint identified several waves of a phishing campaign... The phishing campaign involved URLs delivered in phishing emails, which redirected victims to a malicious website posing as an Australian news media outlet.

T1566.002Spearphishing LinkEvidence2

Earth Empusa also used social engineering lures to trick its targets into visiting the phishing pages.

Execution

1 technique
T1059.007JavaScriptEvidence1
TacticExecution

All pages were injected with a script to load the cross-site scripting framework BeEF.

Stealth

1 technique
T1036MasqueradingEvidence1
TacticStealth

“Following the theme… are hostnames of other popular Japanese companies… in an effort to make the traffic blend in with legitimate traffic.”

Credential Access

3 techniques
T1056Input CaptureEvidence1

“The file 1.js was a variant of an online script called ‘xss.js’ that was designed to steal form data.”

T1056.001KeyloggingEvidence3

The framework can collect information from a website’s visitors by using JavaScript to record keypresses

T1056.003Web Portal CaptureEvidence1

“Attackers have been able to successfully implant JavaScript code on the login pages that enables them to surreptitiously steal employee credentials as they login…”

Discovery

2 techniques
T1082System Information DiscoveryEvidence2
TacticDiscovery

Every 30 seconds, ActionSpy will collect basic device information like IMEI, phone number, manufacturer, battery status, etc., which it sends to the C&C server as a heartbeat request.

T1518Software DiscoveryEvidence1
TacticDiscovery

Victim browser plugins Identification: This plugin gathers the name, filename, and description of any legitimate browser plugin installed in the victim’s browser... Browser fingerprinting plugin... checks whether Java is installed, and if so what version; The version of ActiveX installed; Whether specific Java web applications are installed...

Collection

4 techniques
T1056Input CaptureEvidence1

“The file 1.js was a variant of an online script called ‘xss.js’ that was designed to steal form data.”

T1056.001KeyloggingEvidence3

The framework can collect information from a website’s visitors by using JavaScript to record keypresses

T1056.003Web Portal CaptureEvidence1

“Attackers have been able to successfully implant JavaScript code on the login pages that enables them to surreptitiously steal employee credentials as they login…”

T1185Browser Session HijackingEvidence1

The initial script harvests several types of information from visitors... Sending Information about the victim’s browser back to the C2, including: Version of Flash installed; Location; Referrer; User-Agent; Cookie; Character encoding; Screen width and height; Underlying Operating System; Language; Screen’s colour depth.

T1071Application Layer ProtocolEvidence1

The modular ScanBox architecture works by sending data to different responsive PHP scripts hosted on a same server-side folder... /i/v.php?m=b Send victim information back to the C2 ... /i/v.php?m=plug URL that plugins send gathered data back to

T1071.001Web ProtocolsEvidence1

“…malicious JavaScript… hosted on the compromised website of a legitimate NGO… leveraged a valid SSL certificate, which kept all communications encrypted.”

T1105Ingress Tool TransferEvidence1

Both initial infection vectors delivered first-stage downloader malware to targets. The downloaders retrieved XOR-encoded versions of Meterpreter shellcode.

INDICATORS OF COMPROMISE

IOCs tracked for this family

74 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
42 tracked

IPs, domains, and DNS infrastructure linked to this family.

Hashes
13 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

Other
19 tracked

Other indicator types observed in public reporting.

TypeValueLatest sighting
hash.sha256●●●●●●●●●●●●View more in app4 years ago
domain●●●●●●●●●●●●View more in app4 years ago
domain●●●●●●●●●●●●View more in app4 years ago
domain●●●●●●●●●●●●View more in app4 years ago
hash.md5●●●●●●●●●●●●View more in app4 years ago
hash.md5●●●●●●●●●●●●View more in app4 years ago
ACTIVITY FEED

Recent activity

9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

proofpoint threat insight blogNews
Aug 30, 2022
Rising Tide: Chasing the Currents of Espionage in the South China Sea

JavaScript-based web reconnaissance and exploitation framework used to profile victims in the browser, fingerprint systems, collect browser and host data, load modular plugins, keylog keystrokes in iframes, identify browser plugins, perform browser fingerprinting, and support follow-on exploitation or compromise.

Read more
proofpoint threat insight blogNews
Feb 25, 2021
TA413 Leverages New FriarFox Browser Extension to Target the Gmail Accounts of Global Tibetan Organizations

Scanbox is a reconnaissance and keylogging framework used for tracking website visitors, collecting user data, and performing keylogging. It is delivered via browser-based attacks, often as a second-stage payload after initial compromise (e.g., via FriarFox). It is used for espionage and surveillance, particularly against dissident and ethnic minority groups.

Read more
trend micro researchNews
Jun 11, 2020
Phishing Attacks from Earth Empusa Reveal ActionSpy

JavaScript-based reconnaissance framework used on compromised or phishing pages to profile visitors, harvest browser and OS information, and record keypresses to support later-stage attacks.

Read more
bleeping computerNews
Jun 15, 2018
Chinese Cyber-Espionage Group Hacked Government Data Center

Web-based exploitation/reconnaissance framework hosted on attacker-controlled sites and used after redirecting visitors from compromised government websites.

Read more
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching74

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution8

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities1

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping17

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.