Bifrost
- Type
- Backdoor
- Capabilities
- Credential theftKeyloggingExfiltrationPersistencePost exploitationDefense evasionReconnaissance
- Delivery
- Spearphishing
- Platforms
- WindowsLinux
Bifrost is a backdoor malware family with Windows and Linux variants that enables remote control of compromised systems. Windows variants have been observed since 2004 and use a three-component architecture comprising an implant, a builder, and an operator client. Supported functions include arbitrary code execution, remote shell access, file transfer and management, process enumeration and termination, system-information collection, password extraction, keystroke logging, screenshots, and webcam capture. The builder supports configurable connection settings, startup persistence, extensions, and an optional rootkit component for hiding implant processes. Older Windows variants predate User Account Control and have installation and functionality limitations on newer Windows releases.
Linux Bifrost supports file upload, download, enumeration, deletion, and movement, as well as process execution and termination and remote shell access. An analyzed Linux version, numbered 5.0.0.0, encrypts communications with a relay server using a modified RC4 algorithm. Linux Bifrost has been associated with the China-linked HUAPI threat actor, also known as PLEAD, whose targeting includes government, high-technology, telecommunications, and think tank organizations, particularly in Taiwan.
Bifrost variants were distributed through exploitation of the Windows WMF vulnerability in late 2005. A Linux sample was also hosted on a compromised Taiwanese academic library website while masquerading as an image. Bifrost source code has been enhanced to produce the BIFROSE, KIVARS, and XBOW backdoors used in the Shrouded Crossbow cyberespionage campaign associated with BlackTech. That campaign has targeted government contractors and organizations in the consumer electronics, computer, healthcare, and financial sectors. Bifrost malware is distinct from the unrelated macOS Kerberos security-testing tool of the same name.
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.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
This campaign, first observed in 2010, is believed to be operated by a well-funded group given how it appeared to have purchased the source code of the BIFROST backdoor.
該惡意程式為 Linux 版本的 BiFrost 後門程式,其版本號為 5.0.0.0。根據 TeamT5 長期研究的情資顯示,該惡意程式為中國駭客組織 HUAPI(又名為 PLEAD)慣用的後門程式。
該惡意程式為 Linux 版本的 BiFrost 後門程式,其版本號為 5.0.0.0。根據 TeamT5 長期研究的情資顯示,該惡意程式為中國駭客組織 HUAPI(又名為 PLEAD)慣用的後門程式。
Techniques & procedures
19 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
BlackTech is best known for utilizing network and software exploits for initial access... TeamT5 released a blog post detailing an intrusion at a Taiwan academic institution attributed to BlackTech utilizing the Ghostcat vulnerability, (CVE-2020-1938) for initial access.
Execution
3 techniques
Execution
經過逆向分析,該惡意後門程式具有上傳/下載/列舉/刪除/搬移檔案(File)、執行/結束程序(Process)、開啟/關閉遠端命令列介面程式(Remote Shell)等功能
Bifrost uses the typical server, server builder, and client backdoor program configuration to allow a remote attacker, who uses the client, to execute arbitrary code on the compromised machine...
駭客利用 Tomcat 網頁伺服器預設開啟的 AJP 服務(預設為 8009 通訊埠),可達到遠端指令執行(Remote Code Execution, RCE)之目的並上傳檔案。於該案例中,駭客疑似透過 Ghostcat 漏洞上傳 BiFrost 惡意程式
Persistence
2 techniques
Persistence
Registry editor
Change the name of the Windows registry startup entry ... Use persistence (makes the server harder to remove from the infected system)
Privilege Escalation
1 technique
Privilege Escalation
Change the name of the Windows registry startup entry ... Use persistence (makes the server harder to remove from the infected system)
Stealth
3 techniques
Stealth
Include rootkit to hide server processes
該惡意後門程式檔名為 md.png,但檔案格式為 UNIX ELF 執行檔,推測是利用 PNG 副檔名偽裝在 Tomcat 網站伺服器上
The server components can also be dropped to C:\Windows and file attributes changed to "Read Only" and "Hidden".
Defense Impairment
1 technique
Defense Impairment
Registry editor
Credential Access
2 techniques
Credential Access
Keystroke logging
Extract passwords from machine
Discovery
3 techniques
Discovery
Process Manager (Browse or kill running processes)
Additionally, we can see signs of reconnaissance of the infected system, viewing the version and OS release, as well as the kernel version, and the timezone the target is located in.
File manager (Browse, upload, download, or delete files)
Collection
3 techniques
Collection
Keystroke logging
Screen capture
Webcam capture
Command and Control
3 techniques
Command and Control
In addition to the hard-coded IP addresses, standard strings indicating first contact with the C&C server, notably unix| , 5.0.0.0| , and what appear to be C&C commands (recvData and send data), are visible in the output.
駭客利用 Tomcat 網頁伺服器預設開啟的 AJP 服務(預設為 8009 通訊埠),可達到遠端指令執行(Remote Code Execution, RCE)之目的並上傳檔案。於該案例中,駭客疑似透過 Ghostcat 漏洞上傳 BiFrost 惡意程式
其中惡意後門程式與中繼站的連線內容會使用修改過的 RC4 演算法進行加密
Observables
3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.