Skip to main content
Mallory
Malware1 associated actor1 associated CVE

b374k

Tracked since Dec 30, 2025 · Updated 2 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&CK8Techniques
IOCs10Tracked
Type
Webshell
Capabilities
PersistencePost exploitationReconnaissanceDefense evasion
Platforms
Windows

b374k is a publicly available PHP webshell used to maintain remote access to compromised web servers and administer attacker-controlled infrastructure. It provides a browser-accessible graphical interface, commonly protected by a password, through which an operator can execute system commands, upload additional files, browse directories, and create, rename, or delete files and directories. Its reconnaissance functions expose information about the operating system, current user, filesystem, and permissions. An analyzed Windows-hosted variant executes commands through the Windows command interpreter and conceals its executable PHP code using layered Base64 encoding, ROT13 transformations, and compression.

The webshell serves as a post-exploitation access mechanism, allowing attackers to continue controlling a server after deployment and to stage additional tools. Variants have been deployed through exploitation of vulnerable web applications, including Adobe Commerce and Magento Open Source. Kimsuky has used b374k on command-and-control servers for infrastructure management. It has also appeared on infrastructure associated with attacks against South Korean victims and an Israeli defense contractor. Because b374k is publicly available and used by multiple operators, its presence alone does not establish threat-actor attribution.

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-54236via rescana blogExploited in the wildSessionReaperThe exploited vulnerability, CVE-2025-54236, is a critical improper input validation and nested deserialization flaw in the Adobe Commerce and Magento Open Source REST API, specifically affecting the /customer/address_file/upload endpoint. | This enables the upload of persistent PHP webshells, such as variants of WSO and b374k, granting attackers full remote access to the underlying server.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 →
Kimsuky

공격자들은 최근까지도 'b374k' webshell 코드를 활용해 C2 서버를 운영했으며, 로그인 암호도 'victory' 문자열을 사용합니다.

via alyac blogblog.alyac.co.kr
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence1

The exploited vulnerability, CVE-2025-54236, is a critical improper input validation and nested deserialization flaw in the Adobe Commerce and Magento Open Source REST API, specifically affecting the /customer/address_file/upload endpoint.

Execution

1 technique
T1059Command and Scripting InterpreterEvidence1

rule webshell_simple_backdoor { ... $s4 = "system($cmd);" ... }

Persistence

1 technique
T1505.003Web ShellEvidence7

흥미로운 점은 이곳에 웹쉘(Webshell)이 등록되어 있는 것이 발견됐고... 'B374k' 시리즈와 동일한 종류였습니다.

Stealth

1 technique
T1027Obfuscated Files or InformationEvidence1

$s2 = "@eval(gzinflate(base64_decode($code)));"

Credential Access

2 techniques
T1555Credentials from Password StoresEvidence1

Successful exploitation results in the deployment of a webshell, which is then used to enumerate the environment, extract sensitive configuration data (including database credentials and API keys), and establish additional persistence mechanisms.

T1649Steal or Forge Authentication CertificatesEvidence1

Attackers craft malicious serialized payloads that, when processed by the vulnerable API, result in arbitrary PHP object instantiation and code execution.

Discovery

2 techniques
T1082System Information DiscoveryEvidence1

Successful exploitation results in the deployment of a webshell, which is then used to enumerate the environment, extract sensitive configuration data (including database credentials and API keys), and establish additional persistence mechanisms.

T1083File and Directory DiscoveryEvidence1

rule webshell_jsp_list { ... $s2 = "out.print(\") <A Style='Color: \" + fcolor.toString() + \";' HRef='?file=\" + fn" ... } | Representative strings include "Couldn't Read directory", "while (($ekinci=readdir ($sedat))){", "File browser is under construction!", and interfaces showing file listings and navigation.

Indicators of compromise

Observables

10 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
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 matching10Match 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 mapping8Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.