Bifrose or Bifrost is a backdoor initially targeting Windows systems with a long history. First identified in the early 2000’s, it is believed a hacking group (likely BlackTech), purchased the source code or gained access to it around 2010, and enhanced the malware for use in its own campaigns.
BlackTech has long targeted both Windows and Unix-based systems with a variety of malicious software, tailoring different malware to each campaign.
It Started With A Tweet
On 24 November, Twitter user @strinsert1Na tweeted that a recent ELF Bifrose sample had been uploaded to VirusTotal.

While the reuse of command and control (C&C) infrastructure is nothing new for BlackTech, the operators have consistently added new features to the backdoor, while seemingly not changing the targets of their attacks.
“udevd-10.138.61.156”
As of the time of writing, the latest Bifrose sample is detected by about half of the vendors on VirusTotal, scoring a 36 out of 64.

Although we have a good idea the file in question is an ELF file, running the file command will provide us with confirmation of the file type as well as if the file has been stripped.

Sure enough, the output identifies the executable has been stripped; in other words, the symbols containing human-readable function names have been removed to slow down analysis.
If you’re still unsure the file is stripped, try running readelf -s filename. In this case, no output confirms the file’s symbols have been tampered with.
Running readelf with the “-p” argument on the .comment section will provide the compiler version and development environment.

From the above output, we can infer that this sample is likely targeting Red Hat distributions.
Probably one of the best analysis tools, the strings command can assist in identifying the functionality of the executable, as well as indicators (think Windows APIs for PEs, & syscalls for Unix). The output in Figure 5 provides a small snapshot of running strings.

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.
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.
Bifrose Capabilities
If you don’t have Sysmon for Linux setup in a VM, or aren’t quite ready to upload the sample to a public sandbox, one great option is to utilize strace to run the sample and redirect the output to a separate file.
strace output will include operations such as any network connections or attempts, system calls, file read and write operations, etc., all information that is extremely valuable to understand the program’s behavior.
The command strace -o strace_results.txt ./elf_file is all you need, along with Wireshark, TCPDump, or any other tool that can capture network traffic. Explaining the syscalls identified in the strace output would be an article or two, and I would like to keep this short. If your interested in strace, see the below links section.
Figure 6 and 7 show snippets of interesting system calls Bifrose makes when run.


To keep things simple, we’ll use Mandiant’s CAPA tool to get an idea of what Bifrose is up to.

In the next post, I’ll use Cutter to look at some of the capabilities identified in the above image and see if we can map out the execution of Bifrose, to help defenders get an idea of what indicators will assist in identifying a possible intrusion.
Links
https://man7.org/linux/man-pages/man2/syscalls.2.html
https://www.intezer.com/blog/malware-analysis/elf-malware-analysis-101-part-3-advanced-analysis/
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – The Hacker News – Auto Robot Demo
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – MoRENet CSIRT
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – Solar Kat
Pingback: Neue Variante von BIFROSE Linux-Malware nutzt gefälschte VMware-Domäne zur Umgehung März 2024 - Hackarizona
Pingback: BIFROSE su Linux: il Troiano che Spaventa il Web – REMOTE ITALIA
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - The Network Company | Cyber Security | IT Services | Network Security
Pingback: Una nueva variante del malware BIFROSE para Linux utiliza un dominio VMware falso para evadirse marzo 2024 - Hackarizona
Pingback: New BIFROSE Linux Malware Variant Utilizing Misleading VMware Area for Evasion - Seoblogz
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - Tech News
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - SwapUpdate
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - infoaday
Pingback: Kaçış için Yanıltıcı VMware Alanını Kullanan Yeni BIFROSE Linux Kötü Amaçlı Yazılım Varyantı - Dünyadan Güncel Teknoloji Haberleri | Teknomers
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - Vived Solutions Ltd
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - Shackle Media
Pingback: New BIFROSE Linux malware variant that uses deceptive VMware domain for evasion
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - Cyber Defense Advisors
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – Tech Logix Blogs
Pingback: Nueva variante de malware BIFROSE para Linux que utiliza un dominio engañoso de VMware para la evasión - Teknomers Noticias
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – DataGene
Pingback: Nouvelle variante de logiciel malveillant BIFROSE Linux utilisant un domaine VMware trompeur pour l'évasion - Teknomers Nouvelles
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - Computer Information System
Pingback: Bifrose: varianti di questo malware che girano su Linux | PlayTalk.it
Pingback: Using a false VMware domain to evade a new BIFROSE Linux malware variant
Pingback: Bifrose: varianti di questo malware che girano su Linux
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – INDIA NEWS
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - TechBuzz
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - Source:thehackernews.com - CISO2CISO.COM & CYBER SECURITY GROUP
Pingback: Une nouvelle variante du logiciel malveillant Linux BIFROSE utilise un faux domaine VMware pour échapper à la fraude mars 2024 - Hackarizona
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion | Cybersecurity News
Pingback: Nueva variante de malware BIFROSE para Linux que utiliza un dominio engañoso de VMware para la evasión – Solución Profesional Streaming de Audio & Video
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – InfoSec Today
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – thequintessentialjournal
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – Securitydone
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - F1TYM1
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – Cyber Social Hub
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - Tech Investor News
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – Bizi News
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion - Kartwheel News
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – 443News
Pingback: New BIFROSE Linux Malware Variant Using Deceptive VMware Domain for Evasion – The Secure Family
Pingback: New Variant of BIFROSE Linux Malware Uses Fake VMware Domain for Evasion March 2024 - Hackarizona
Pingback: Week 1 – 2023 – This Week In 4n6
Comments are closed.