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.
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.
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.
공격자들은 최근까지도 'b374k' webshell 코드를 활용해 C2 서버를 운영했으며, 로그인 암호도 'victory' 문자열을 사용합니다.
8 distinct techniques documented for this family, organized by ATT&CK tactic.
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.
rule webshell_simple_backdoor { ... $s4 = "system($cmd);" ... }
흥미로운 점은 이곳에 웹쉘(Webshell)이 등록되어 있는 것이 발견됐고... 'B374k' 시리즈와 동일한 종류였습니다.
$s2 = "@eval(gzinflate(base64_decode($code)));"
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.
Attackers craft malicious serialized payloads that, when processed by the vulnerable API, result in arbitrary PHP object instantiation and code execution.
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.
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.
10 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.