Skip to main content
Mallory
Malware1 associated actor1 associated CVE

SquareShell

Tracked since Jul 7, 2026 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns1Associated
Actors1Associated
ATT&CK5Techniques
IOCs0Tracked
Type
Webshell
Capabilities
Post exploitationPersistenceDefense evasion
Delivery
PhishingSpearphishing
Platforms
Linux

SquareShell is a PHP web shell used in espionage intrusions against vulnerable Roundcube webmail servers. It has been associated with activity tracked as UNK_MassTraction, a likely China-aligned threat cluster that targeted universities in the United States and Canada, particularly physics, engineering, astrophysics, particle physics, and other research areas with national-security relevance. The malware is deployed after successful exploitation of the Roundcube deserialization vulnerability CVE-2025-49113, typically following earlier compromise of user webmail sessions through CVE-2024-42009 and the IceCube credential-stealing payload.

SquareShell provides remote command execution on the compromised mail server, giving operators server-side access that can be used as a foothold for broader intrusion activity. Reported implementations support multiple PHP command-execution functions and have been modified to blend into the environment through timestomping. In the observed campaigns, SquareShell served as the preferred server-resident access mechanism, while operators used VShell as a fallback implant when web shell deployment failed. The broader intrusion chain indicates use of compromised or spoofed email senders, targeted phishing, credential theft, session theft, reconnaissance, and post-compromise pivoting from exposed mail infrastructure into internal networks.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

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

CVE-2025-49113via xakepExploited in the wildAuthenticated Remote Code Execution in Roundcube WebmailПосле сбора данных IceCube использует вспомогательные компоненты для эксплуатации критической уязвимости десериализации в Roundcube — CVE-2025-49113. С ее помощью атакующие пытаются установить PHP-веб-шелл SquareShell, который позволяет удаленно выполнять команды. | С ее помощью атакующие пытаются установить PHP-веб-шелл SquareShell, который позволяет удаленно выполнять команды.View vulnerability →Source ↗
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
UNK_MassTraction

UNK_MassTraction repeatedly exploited Roundcube vulnerabilities to infiltrate university networks and used IceCube, SquareShell, and VShell.

via ahnlab asec blogasec.ahnlab.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence5

сам просмотр письма в уязвимой версии Roundcube запускает эксплуатацию старого XSS-бага CVE-2024-42009... После сбора данных IceCube использует вспомогательные компоненты для эксплуатации критической уязвимости десериализации в Roundcube — CVE-2025-49113.

Execution

1 technique
T1059Command and Scripting InterpreterEvidence3

который позволяет удаленно выполнять команды... малварь загружает шелл-скрипт, который запускает прямо в памяти VShell

Persistence

2 techniques
T1505Server Software ComponentEvidence1

This one, a deserialization exploit tracked as CVE-2025-49113, allows the miscreants to install a webshell called SquareShell that allows for remote code execution

T1505.003Web ShellEvidence5

С ее помощью атакующие пытаются установить PHP-веб-шелл SquareShell, который позволяет удаленно выполнять команды.

Stealth

1 technique
T1070.006TimestompEvidence1

The webshell is timestomped by copying the last modified time of a legitimate plugin to blend into the environment.

Mallory platform

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 matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping5Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.