BianLian
- Type
- Ransomware
- Capabilities
- Credential theftExfiltrationPersistenceInitial accessPrivilege escalationLateral movementPost exploitationDefense evasionReconnaissanceScanningExtortion
- Delivery
- PhishingSpearphishing
- Platforms
- WindowsEsxi
BianLian is a ransomware family associated with an eponymous financially motivated cybercriminal operation active since at least June 2022. The operation initially combined file encryption with threats to publish stolen information. Following the release of a free decryptor in January 2023, it shifted primarily to data-theft extortion, becoming exclusively exfiltration-based around January 2024. Its victims span critical infrastructure, healthcare, professional services, manufacturing, education, and other industries, particularly in the United States, with additional targeting in Australia and elsewhere.
BianLian operators obtain access through compromised Remote Desktop Protocol credentials, phishing, and exploitation of vulnerable internet-facing applications. An investigated intrusion began through a vulnerable JetBrains TeamCity server. After compromise, operators deploy victim-specific Go backdoors and legitimate remote-management software for continued access and command and control. A PowerShell alternative to the Go backdoor uses layered obfuscation, certificate-validated TLS communications, and asynchronous execution through .NET runspace pools.
The operation's documented techniques include credential dumping, local and domain account creation, privilege escalation, network and Active Directory discovery, and lateral movement through RDP and PsExec. Operators disable security protections, alter firewall settings, and disguise malicious components as legitimate software. Data is collected, archived, and exfiltrated using tools and services including FTP, Rclone, and Mega. Extortion pressure includes publication threats, leak-site disclosures, ransom notes printed on compromised-network printers, and threatening calls to employees.
The ransomware and extortion operation should be distinguished from the separately tracked BianLian Android banking malware; an operational connection between them has not been established.
Associated vulnerabilities
8 CVEs 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.
Utilizing a PowerShell implementation of the BianLian GO backdoor, the attacker executed a series of malicious commands.
Since June 2022, BianLian ... shifted tactics from data encryption to solely data exfiltration after Avast released a decryption tool in January 2023.
Since June 2022, BianLian ... shifted tactics from data encryption to solely data exfiltration after Avast released a decryption tool in January 2023.
Techniques & procedures
75 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
The group implants a custom backdoor specific to each victim written in Go.
Initial Access
5 techniques
Initial Access
Initial Access — T1078 — Valid Accounts; BianLian leverages compromised RDP credentials.
MITRE ATT&CK® Techniques ... Lateral Movement T1091 Replication Through Removable Media
Initial Access — T1133 — External Remote Services
Redacted researchers also noted that the BianLian threat actors targeted the ProxyShell vulnerability chain (CVE-2021-34473, CVE-2021-34523, CVE-2021-31207) and SonicWall VPN devices to gain initial access into victim networks.
Initial access to the target system is often achieved through spearphishing emails containing malicious attachments or links to compromised websites.
Execution
8 techniques
Execution
MITRE TTPs Redacted researchers provided the following MITRE ATT&CK tactics, techniques, and procedures: ID Technique T1047 Execution: Windows Management Instrumentation
Execution — T1053.005 — Scheduled Task/Job: Scheduled Task
ussd : Module used to run USSD codes and make calls
Execution — T1059.001 — Command and Scripting Interpreter: PowerShell
Finally, the program runs CMD[.]exe (T1059.003) and executes the following command in the command line.
The malware uses the multidex scheme to load the payload as secondary DEX... The technique consists in re-writing the way applications load multiple DEX.
MITRE ATT&CK® Techniques Tactic Technique ID Technique Name Execution T1204 ... User Execution
The most common packing mechanism consists in loading a hidden DEX with DexClassLoader. The sample does not use DexClassLoader... Some newer samples... use the common DexClassLoader method... The payload DEX (maXclr.json) is a Bian Lian sample.
Persistence
9 techniques
Persistence
Execution — T1053.005 — Scheduled Task/Job: Scheduled Task
Initial Access — T1078 — Valid Accounts; BianLian leverages compromised RDP credentials.
Persistence — T1098 — Account Manipulation
Defence Evasion — T1112 — Modify Registry
Initial Access — T1133 — External Remote Services
Persistence — T1136.001 — Create Account: Local Account
This functionality heavily relies on using (abusing) the Accessibility Service.
the first thing the application does is hide its icon and constantly requests permission to abuse Accessibility services functionalities until granted. Once these are obtained, it initiates all of its modules.
XiaomiAutostartHandler. Sets auto start for the malware in MiUI’s security center.
Privilege Escalation
7 techniques
Privilege Escalation
Execution — T1053.005 — Scheduled Task/Job: Scheduled Task
Initial Access — T1078 — Valid Accounts; BianLian leverages compromised RDP credentials.
Persistence — T1098 — Account Manipulation
This functionality heavily relies on using (abusing) the Accessibility Service.
the first thing the application does is hide its icon and constantly requests permission to abuse Accessibility services functionalities until granted. Once these are obtained, it initiates all of its modules.
XiaomiAutostartHandler. Sets auto start for the malware in MiUI’s security center.
All those banking trojans also abuse Android Accessibility Services . Accessibility Services are meant to help people with disabilities. Do not grant such rights to any other application!
Stealth
12 techniques
Stealth
At a first look, it seemed clear that the APK was heavily obfuscated... It seems to mostly rely on generating a variety of random functions to hide the real functionalities of the sample... Most of the strings in the code are generated by using functions implementing a XOR decryption of byte arrays.
The malware does not use DexClassLoader to unpack the payload DEX. Instead it loads the payload as a secondary DEX through multidex support. The packer re-implements multidex support and mainly changes names & adds asset decryption.
be on the lookout for... a botnet with tags such as “grim” that poses as a “Security” application ... Android banking trojans typically pose as famous applications: Video Player, Play Store, Flash Player, etc.
The same component also deals with removal of applications... If the package name is “bot”, then the bot removes itself. A self “cleaning” command!
Initial Access — T1078 — Valid Accounts; BianLian leverages compromised RDP credentials.
From attachBaseContext, the malware calls a cascade of functions which (1) locate an asset named G9ugwFtlG1.jwi, (2) deflates it and (3) finally decrypts it using a home-made algorithm with hard coded key...
The installation is performed by abusing the Accessibility API... automatically click to install. If the system is requesting permission to install from an external source, authorize it etc.
Upon execution of the ransomware, it attempts to identify if the file is running in a WINE environment by checking the wine_get_version() function via the GetProcAddress() API.
BatteryOptimizationHandler. Handles doze mode.
the first thing the application does is hide its icon
The most common packing mechanism consists in loading a hidden DEX with DexClassLoader. The sample does not use DexClassLoader... Some newer samples... use the common DexClassLoader method... The payload DEX (maXclr.json) is a Bian Lian sample.
This code is loaded and used by the main application through Java reflection.
Defense Impairment
3 techniques
Defense Impairment
Defence Evasion — T1112 — Modify Registry
Since the software communicates via OfficeClickToRun[.]exe, it also leaves this file in the word startup folder (T1562.006).
Defence Evasion — T1562.004 — Impair Defences: Disable or Modify System Firewall
Credential Access
9 techniques
Credential Access
Credential Access — T1003.001 — OS Credential Dumping: LSASS Memory
Credential Access — T1003.003 — OS Credential Dumping: NTDS
injects : Module used to run overlay attacks, mostly on banking applications
Keylogging: Hydra abuses the Accessibility permissions to set up an Accessibility service that receives every Accessibility event happening on the infected device. This way the malware receives change events for TextFields (to steal usernames and passwords) and button clicks.
When an app among this list is launched, the bot requests the C&C an HTML page to overlay... The card number, expiration date & CVV are sent back to the C&C.
Overlays/Injections: At the beginning of the infection, it sends a few requests to the C2 server, and receives a list of targeted applications and a URL that points to a ZIP file which contains the corresponding injections... Hydra saves these injections locally and shows them as soon as it detects a user opening a banking application.
Around June 2022 we found new samples introducing this new feature used to steal cookies from sessions after the victims log in to their accounts... after the victim successfully logs in to his account, the cookies of the loaded website in the WebView are forwarded to the C2 server.
They use Windows Command Shell to find unsecured credentials on the local machine.
container.json(T1555.003) files has been read by the malware.
Discovery
15 techniques
Discovery
When the program first runs, it checks the languages supported by the environment it runs in (T1012).
Discovery — T1018 — Remote System Discovery
Discovery — T1033 — System Owner User Discovery
Discovery — T1046 — Network Service Discovery
MITRE TTPs Redacted researchers provided the following MITRE ATT&CK tactics, techniques, and procedures: ID Technique T1069 Discovery: Permission Groups Discovery
Discovery — T1069.002 — Permission Group Discovery: Domain Groups
MITRE ATT&CK® Techniques ... Discovery T1082 T1083 T1518 T1120 System Information Discovery File and Directory Discovery Security Software Discovery Peripheral Device Discovery
Discovery — T1083 — File and Directory Discovery
Discovery — T1087.002 — Account Discovery: Domain Account
Next, the malware identifies the system drives (from A:\ to Z:\) using the GetDriveTypeW() API function and encrypts any files available in the connected drives.
Discovery — T1135 — Network Share Discovery
Discovery — T1482 — Domain Trust Discovery
Upon execution of the ransomware, it attempts to identify if the file is running in a WINE environment by checking the wine_get_version() function via the GetProcAddress() API.
BatteryOptimizationHandler. Handles doze mode.
MITRE ATT&CK® Techniques ... Discovery T1082 T1083 T1518 T1120 System Information Discovery File and Directory Discovery Security Software Discovery Peripheral Device Discovery
Lateral Movement
4 techniques
Lateral Movement
Lateral Movement — T1021.001 — Remote Services: Remote Desktop Protocol; BianLian consistently uses compromised RDP credentials for initial access and lateral movement.
MITRE TTPs Redacted researchers provided the following MITRE ATT&CK tactics, techniques, and procedures: ID Technique T1021.005 Lateral Movement: Remote Services: VNC
Lateral Movement: Winrm dropping a file via PowerShell The binary wsmprovhost.exe is used to mediate the relationship between WinRM and PowerShell. Alerting on file modification by wsmprovhost.exe proved a reliable method to detect BianLian dropping malicious files.
MITRE ATT&CK® Techniques ... Lateral Movement T1091 Replication Through Removable Media
Collection
7 techniques
Collection
injects : Module used to run overlay attacks, mostly on banking applications
Keylogging: Hydra abuses the Accessibility permissions to set up an Accessibility service that receives every Accessibility event happening on the infected device. This way the malware receives change events for TextFields (to steal usernames and passwords) and button clicks.
When an app among this list is launched, the bot requests the C&C an HTML page to overlay... The card number, expiration date & CVV are sent back to the C&C.
Overlays/Injections: At the beginning of the infection, it sends a few requests to the C2 server, and receives a list of targeted applications and a URL that points to a ZIP file which contains the corresponding injections... Hydra saves these injections locally and shows them as soon as it detects a user opening a banking application.
The Screencast Module allows the malware to record the screen of the device... to create a virtual display to screencast.
Collection — T1115 — Clipboard Data
Though not confirmed by Collins Aerospace, the ransomware group BianLian claimed to have breached Collins Aerospace in 2023, stealing around 20 gigabytes of data. If true, this event could have armed the attackers with the data leaks they needed to successfully execute this larger-scale attack.
Command and Control
7 techniques
Command and Control
The BianLian sample installs fine on Android 8. The (fake) server BianLian communicates to a C&C via HTTP. | BianLian communicates to a C&C via HTTP.
MITRE TTPs Redacted researchers provided the following MITRE ATT&CK tactics, techniques, and procedures: ID Technique T1071.001 Command and Control: Application Layer Protocol: Web Protocol
This module is used to create a functioning SSH server on the device using JSCH... BianLian can setup a proxy that can run SSH sessions using remote port forwarding on port 34500, with an implementation similar to 2017’s malware MilkyDoor, making communication with the CC harder to detect.
This sample connects to a Tor onion website to retrieve the URL of the C2.
The malware will communicate with its command and control (C2) server, downloading additional modules and tools.
Command and Control — T1219 — Remote Access Software
This sample connects to a Tor onion website to retrieve the URL of the C2.
Exfiltration
5 techniques
Exfiltration
most of the interesting calls, like information exfiltration and connection initiations, are executed from the code in the first application.
Exfiltration — T1048 — Exfiltration Over Alternative Protocol
Exfiltration — T1537 — Transfer Data to Cloud Account
They published stolen data on the dark web shortly after Northern Minerals ordered Chinese-linked investors to divest their 10.4% stake.
Exfiltration — T1567.002 — Exfiltration Over Web Service: Exfiltration to Cloud Storage
Impact
2 techniques
Impact
It encrypts the files and changes their extensions to .bianlian (T1486).
Cl0p campaigns quietly exfiltrate data for weeks, then publicly extort victims. Everest, BianLian, Medusa, INC Ransom, and Rhysida use stolen data and leak-site publication as extortion leverage.
Observables
189 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
90 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.