Skip to main content
Mallory
Malware1 associated actor1 associated CVE

BADCANDY

Tracked since Nov 25, 2025 · Updated 27 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns1Associated
Actors1Associated
ATT&CK5Techniques
IOCs0Tracked
Type
Webshell
Capabilities
PersistencePost exploitationReconnaissanceExfiltration
Platforms
Network device

BadCandy is a Lua-based web shell implant targeting Cisco IOS XE network devices, including routers, switches, and wireless controllers. Observed since October 2023, it is deployed following exploitation of CVE-2023-20198 in exposed web management interfaces. The implant provides root-level remote access and arbitrary command execution, enabling network reconnaissance, data exfiltration, and unauthorized account creation. It has been used in telecommunications espionage associated with the China state-sponsored threat actor Salt Typhoon, but its use is not exclusive to that group.

BadCandy does not survive a device reboot. Attackers can nevertheless restore access by re-exploiting devices that remain vulnerable and exposed, while unauthorized accounts, stolen credentials, and configuration changes may provide additional access after the implant is removed. Operators have also applied a non-persistent patch after compromise to mask devices' vulnerability status. Renewed activity occurred throughout 2024 and 2025, including widespread compromises in Australia. The Australian Signals Directorate assessed that more than 400 Australian devices were potentially compromised since July 2025, with more than 150 still compromised in late October 2025.

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-2023-20198via talos intelligence blogExploited in the wildUnauthenticated Administrator Account Creation in Cisco IOS XE Web UIThe attackers in these intrusions routinely gain initial access by leveraging valid credentials and exploiting a known vulnerability (CVE-2023-20198) in publicly accessible web-based management interfaces. | In one campaign, the threat actor deployed BadCandy ... a malicious web shell implant known to be leveraged by Salt Typhoon, to maintain persistent and stealthy remote access.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 →
Salt Typhoon

In one campaign, the threat actor deployed BadCandy ... a malicious web shell implant known to be leveraged by Salt Typhoon, to maintain persistent and stealthy remote access.

via talos intelligence blogblog.talosintelligence.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 ApplicationEvidence2

Exploitation begins with CVE-2023-20198, which allows an unauthenticated attacker to create a privileged local user on the device.

Execution

1 technique
T1059Command and Scripting InterpreterEvidence1

With this access, attackers can execute arbitrary commands, conduct network reconnaissance, and exfiltrate data.

Persistence

2 techniques
T1136Create AccountEvidence2

...allowing bad actors to create an administrator account on said devices.

T1505.003Web ShellEvidence4

The threat actor deployed BadCandy ... a malicious web shell implant known to be leveraged by Salt Typhoon, to maintain persistent and stealthy remote access.

Discovery

1 technique
T1046Network Service DiscoveryEvidence1

With this access, attackers can execute arbitrary commands, conduct network reconnaissance, and exfiltrate data.

Activity feed

Recent activity

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

View more in app →
talos intelligence blogNews · Oct 29, 2026IR trends Q3 2026: Actors impersonate IT help desks in vishing attacks as ransomware activity increasesA web shell implant used for persistent, stealthy remote access in telecommunications espionage intrusions associated with Salt Typhoon. The appendix also describes remote-control, data-exfiltration, and victim-monitoring capabilities. The campaign discussion identifies exploitation of CVE-2023-20198 for initial access.Read more ↗talos intelligence blogNews · Jan 29, 2026IR Trends Q4 2025: Exploitation remains dominant, phishing campaign targets Native American tribal organizationsImplant used to create an unauthorized account on Cisco IOS XE; activity appeared automated with no observed interactive follow-on actions.Read more ↗ctoatncsc substackNews · Nov 8, 2025CTO at NCSC Summary: week ending November 9thLua-based web shell/implant on Cisco IOS XE; post-compromise actors may apply a non-persistent patch to mask the device’s vulnerable status; presence indicates compromise via CVE-2023-20198.Read more ↗cyberthroneNews · Nov 7, 2025Australian Signals Directorate Warns of Attacks Exploiting Cisco VulnerabilityA stealthy Lua-based web shell implant used on compromised Cisco IOS XE devices to provide root-level access, execute arbitrary commands, conduct network reconnaissance, and exfiltrate data. It is described as non-persistent and disappears after reboot, but attackers can reinstall it by re-exploiting unpatched devices.Read more ↗
+8 more in the timeline. Sign up to see them
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
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.