BianLian Ransomware Developer

11128908088?profile=RESIZE_400xBianLian is a ransomware developer, deployer, and data extortion cybercriminal group who has targeted organizations in multiple US critical infrastructure sectors since June 2022.  They have also targeted Australian critical infrastructure sectors in addition to professional services and property development. The group gains access to victim systems through valid Remote Desktop Protocol (RDP) credentials, use open-source tools and command-line scripting for discovery and credential harvesting, and exfiltrate victim data via File Transfer Protocol (FTP), Rclone, or Mega.  BianLian group actors then extort money by threatening to release data if payment is not made.  BianLian group originally employed a double-extortion model in which they encrypted victims’ systems after exfiltrating the data; however, around January 2023, they shifted to primarily exfiltration-based extortion.[1]

FBI, CISA, and ACSC encourage critical infrastructure organizations and small- and medium-sized organizations to implement the recommendations in the Mitigations section of this advisory to reduce the likelihood and impact of BianLian and other ransomware incidents.

For a downloadable copy of IOCs, see AA23-136A.stix (STIX, 35kb).

TECHNICAL DETAILS: BianLian is a ransomware developer, deployer, and data extortion cybercriminal group.  FBI observed BianLian group targeting organizations in multiple US critical infrastructure sectors since June 2022.  In Australia, ACSC has observed BianLian group predominately targeting private enterprises, including one critical infrastructure organization.  BianLian group originally employed a double extortion model in which they exfiltrated financial, client, business, technical, and personal files for leverage and encrypted victims’ systems.  In 2023, FBI observed BianLian shift to primarily exfiltration-based extortion with victims’ systems left intact, and ACSC observed BianLian shift exclusively to exfiltration-based extortion. BianLian actors warn of financial, business, and legal ramifications if payment is not made.

Initial Access - BianLian group actors gain initial access to networks by leveraging compromised Remote Desktop Protocol (RDP) credentials likely acquired from initial access brokers [T1078],[T1133] or via phishing [T1566].

Command and Control - BianLian group actors implant a custom backdoor specific to each victim written in Go (see the Indicators of Compromise Section for an example) [T1587.001] and install remote management and access software—e.g., TeamViewer, Atera Agent, SplashTop, AnyDesk—for persistence and command and control [T1105],[T1219].

FBI also observed BianLian group actors create and/or activate local administrator accounts [T1136.001] and change those account passwords [T1098].

Defense Evasion - BianLian group actors use PowerShell [T1059.001] and Windows Command Shell [T1059.003] to disable antivirus tools [T1562.001], specifically Windows defender and Anti-Malware Scan Interface (AMSI).  BianLian actors modify the Windows Registry [T1112] to disable tamper protection for Sophos SAVEnabled, SEDEenabled, and SAVService services, which enables them to uninstall these services.  See Appendix: Windows PowerShell and Command Shell Activity for additional information, including specific commands they have used.

Discovery - BianLian group actors use a combination of compiled tools, which they first download to the victim environment, to learn about the victim’s environment.  BianLian group actors have used:

  • Advanced Port Scanner, a network scanner used to find open ports on network computers and retrieve versions of programs running on the detected ports [T1046].
  • SoftPerfect Network Scanner (netscan.exe), a network scanner that can ping computers,scan ports, and discover shared folders [T1135].
  • SharpShares to enumerate accessible network shares in a domain.
  • PingCastle to enumerate Active Directory (AD) [T1482]. PingCastle provides an AD map to visualize the hierarchy of trust relationships.
  • BianLian actors also use native Windows tools and Windows Command Shell to:
  • Query currently logged-in users [T1033].
  • Query the domain controller to identify:
    • All groups [T1069.002].
    • Accounts in the Domain Admins and Domain Computers groups [1087.002].
    • All users in the domain.
  • Retrieve a list of all domain controllers and domain trusts.
  • Identify accessible devices on the network [T1018].

See Appendix: Windows PowerShell and Command Shell Activity for additional information, including specific commands they have used.

Credential Access - BianLian group uses valid accounts for lateral movement through the network and to pursue other follow-on activity.  To obtain the credentials, BianLian group actors use Windows Command Shell to find unsecured credentials on the local machine [T1552.001].  FBI also observed BianLian harvest credentials from the Local Security Authority Subsystem Service (LSASS) memory [T1003.001], download RDP Recognizer (a tool that could be used to brute force RDP passwords or check for RDP vulnerabilities) to the victim system, and attempt to access an Active Directory domain database (NTDS.dit) [T1003.003].

In one case, FBI observed BianLian actors use a portable executable version of an Impacket tool (secretsdump.py) to move laterally to a domain controller and harvest credential hashes from it.  Note: Impacket is a Python toolkit for programmatically constructing and manipulating network protocols.  Through the Command Shell, an Impacket user with credentials can run commands on a remote device using the Windows management protocols required to support an enterprise network.

11128908483?profile=RESIZE_584xIf a victim refuses to pay the ransom demand, BianLian group threatens to publish exfiltrated data to a leak site maintained on the Tor network.  The ransom note provides the Tox ID A4B3B0845DA242A64BF17E0DB4278EDF85855739667D3E2AE8B89D5439015F07E81D12D767FC, which does not vary across victims.  The Tox ID directs the victim organization to a Tox chat via https://qtox.gitbhub[.]io and includes an alternative contact email address (swikipedia@onionmail[.]org or xxx@mail2tor[.]com).  The email address is also the same address listed on the group’s Tor site under the contact information section.  Each victim company is assigned a unique identifier included in the ransom note.  BianLian group receives payments in unique cryptocurrency wallets for each victim company.

BianLian group engages in additional techniques to pressure the victim into paying the ransom; for example, printing the ransom note to printers on the compromised network.  Employees of victim companies also reported receiving threatening telephone calls from individuals associated with BianLian group.

INDICATORS OF COMPROMISE (IOC)

See Table 1 for IOCs obtained from FBI investigations as of March 2023.

11128909061?profile=RESIZE_584xMITRE ATT&CK TECHNIQUES - See Table 2 for all referenced threat actor tactics and techniques in this advisory.

11128909271?profile=RESIZE_400x11128909463?profile=RESIZE_400x11128909497?profile=RESIZE_400x11128910459?profile=RESIZE_400x11128910473?profile=RESIZE_400x11128910076?profile=RESIZE_400x11128910092?profile=RESIZE_400x11128910101?profile=RESIZE_400x11128910298?profile=RESIZE_400x11128910860?profile=RESIZE_400xMITIGATIONS - FBI, CISA, and ACSC recommend organizations implement the mitigations below to improve your organization’s cybersecurity posture based on the threat actors’ activity.  These mitigations align with the Cross-Sector Cybersecurity Performance Goals (CPGs) developed by CISA and the National Institute of Standards and Technology (NIST).  The CPGs provide a minimum set of practices and protections that CISA and NIST recommend all organizations implement.  CISA and NIST based the CPGs on existing cybersecurity frameworks and guidance to protect against the most common and impactful threats and TTPs.  Visit CISA’s Cross-Sector Cybersecurity Performance Goals for more information on the CPGs, including additional recommended baseline protections.

  • Reduce threat of malicious actors using remote access tools by:

o Auditing remote access tools on your network to identify currently used and/or authorized software.

o Reviewing logs for execution of remote access software to detect abnormal use of programs running as a portable executable [CPG 2.T].

o Using security software to detect instances of remote access software only being loaded in memory.

o Requiring authorized remote access solutions only be used from within your

network over approved remote access solutions, such as virtual private networks (VPNs) or virtual desktop interfaces (VDIs).

o Blocking both inbound and outbound connections on common remote access

software ports and protocols at the network perimeter.

  • Implement application controls to manage and control execution of software, including allowlisting remote access programs.

o Application controls should prevent installation and execution of portable versions of unauthorized remote access and other software.  A properly configured application allowlisting solution will block any unlisted application execution.  Allowlisting is important because antivirus solutions may fail to detect the execution of malicious portable executables when the files use any combination of compression, encryption, or obfuscation.

See NSA Cybersecurity Information sheet Enforce Signed Software Execution Policies

for additional guidance.

  • Strictly limit the use of RDP and other remote desktop services. If RDP is necessary,

rigorously apply best practices, for example [CPG 2.W]:

o Audit the network for systems using RDP.

o Close unused RDP ports.

o Enforce account lockouts after a specified number of attempts.

o Apply phishing-resistant multifactor authentication (MFA).

o Log RDP login attempts.

  • Disable command-line and scripting activities and permissions [CPG 2.N].
  • Restrict the use of PowerShell, using Group Policy, and only grant to specific users on a case-by-case basis. Typically, only those users or administrators who manage the network or Windows operating systems (OSs) should be permitted to use PowerShell [CPG 2.E].
  • Update Windows PowerShell or PowerShell Core to the latest version and uninstall all earlier PowerShell versions. Logs from Windows PowerShell prior to version 5.0 are either non-existent or do not record enough detail to aid in enterprise monitoring and incident response activities [CPG 1.E, 2.S, 2.T].
  • Enable enhanced PowerShell logging [CPG 2.T, 2.U].

o PowerShell logs contain valuable data, including historical OS and registry interaction and possible TTPs of a threat actor’s PowerShell use.

o Ensure PowerShell instances, using the latest version, have module, script block, and transcription logging enabled (enhanced logging).

o The two logs that record PowerShell activity are the PowerShell Windows Event Log and the PowerShell Operational Log.  FBI and CISA recommend turning on these two Windows Event Logs with a retention period of at least 180 days.  These logs should be checked on a regular basis to confirm whether the log data has been deleted or logging has been turned off. Set the storage size permitted for both logs to as large as possible.

  • Configure the Windows Registry to require User Account Control (UAC) approval for any PsExec operations requiring administrator privileges to reduce the risk of lateral movement by PsExec.
  • Review domain controllers, servers, workstations, and active directories for new and/or unrecognized accounts [CPG 4.C].
  • Audit user accounts with administrative privileges and configure access controls according to the principle of least privilege [CPG 2.E].
  • Reduce the threat of credential compromise via the following:

o Place domain admin accounts in the protected users’ group to prevent caching of password hashes locally.

o Implement Credential Guard for Windows 10 and Server 2016 (Refer to Microsoft: Manage Windows Defender Credential Guard for more information). For Windows Server 2012R2, enable Protected Process Light for Local Security Authority (LSA).

o Refrain from storing plaintext credentials in scripts.

  • Implement time-based access for accounts set at the admin level and higher [CPG 2.A, 2.E]. For example, the Just-in-Time (JIT) access method provisions privileged access when needed and can support enforcement of the principle of least privilege (as well as the Zero Trust model). This is a process where a network-wide policy is set in place to automatically disable admin accounts at the Active Directory (AD) level when the account is not in direct need.  Individual users may submit their requests through an automated process that grants them access to a specified system for a set timeframe when they need to support the completion of a certain task.

In addition, FBI, CISA, and ACSC recommend network defenders apply the following mitigations to limit potential adversarial use of common system and network discovery techniques and to reduce the impact and risk of compromise by ransomware or data extortion actors:

  • Implement a recovery plan to maintain and retain multiple copies of sensitive or proprietary data and servers in a physically separate, segmented, and secure location (e.g, hard drive, storage device, or the cloud).
  • Maintain offline backups of data, and regularly maintain backup and restoration (daily or weekly at minimum). By instituting this practice, an organization minimizes the impact of disruption to business practices as they will not be as severe and/or only have irretrievable data [CPG 2.R]. ACSC recommends organizations follow the 3-2-1 backup strategy in which organizations have three copies of data (one copy of production data and two backup copies) on two different media such as disk and tape, with one copy kept off-site for disaster recover.
  • Require all accounts with password logins (e.g., service account, admin accounts, and domain admin accounts) to comply with National Institute for Standards and Technology (NIST) standards for developing and managing password policies of Use longer passwords consisting of at least 15 characters [CPG 2.B].

o Store passwords in hashed format using industry-recognized password managers.

o Add password user “salts” to shared login credentials.

o Avoid reusing passwords [CPG 2.C].

o Implement multiple failed login attempt account lockouts [CPG 2.G].

o Disable password “hints”.

o Refrain from requiring password changes more frequently than once per year.  Note: NIST guidance suggests favoring longer passwords instead of requiring regular and frequent password resets.  Frequent password resets are more likely to result in users developing password “patterns” cyber criminals can easily decipher.

o Require administrator credentials to install software.

  • Require phishing-resistant multifactor authentication for all services to the extent possible, particularly for webmail, virtual private networks, and accounts that access critical systems [CPG 2.H].
  • Keep all operating systems, software, and firmware up to date. Timely patching is one of the most efficient and cost-effective steps an organization can take to minimize its exposure to cybersecurity threats. Organizations should patch vulnerable software and hardware systems within 24 to 48 hours from vulnerability disclosure. Prioritize patching known exploited vulnerabilities in internet-facing systems [CPG 1.E].
  • Segment networks to prevent the spread of ransomware. Network segmentation can help prevent the spread of ransomware by controlling traffic flows between—and access to—various subnetworks, restricting further lateral movement [CPG 2.F].
  • Identify, detect, and investigate abnormal activity and potential traversal of the

indicated ransomware with a networking monitoring tool. To aid in detecting ransomware, implement a tool that logs and reports all network traffic, including lateral movement activity on a network.  Endpoint detection and response (EDR) tools are particularly useful for detecting lateral connections, as they have insight into common and uncommon network connections for each host [CPG 3.A].

  • Install, regularly update, and enable real time detection for antivirus software on all hosts.
  • Disable unused ports [CPG 2.V].
  • Consider adding an email banner to emails received from outside your organization [CPG 2.M].
  • Ensure all backup data is encrypted, immutable (i.e., cannot be altered or deleted), and covers the entire organization’s data infrastructure [CPG 2.K, 2.L, 2.R].

VALIDATE SECURITY CONTROLS

In addition to applying mitigations, FBI, CISA, and ACSC recommend exercising, testing, and validating your organization's security program against the threat behaviors mapped to the MITRE ATT&CK for Enterprise framework in this advisory.  FBI, CISA, and ACSC recommend testing your existing security controls inventory to assess how they perform against the ATT&CK techniques described in this advisory.

To get started:

  1. Select an ATT&CK technique described in this advisory (see Table 2).
  2. Align your security technologies against the technique.
  3. Test your technologies against the technique.
  4. Analyze your detection and prevention technologies’ performance.
  5. Repeat the process for all security technologies to obtain a set of comprehensive performance data.
  6. Tune your security program, including people, processes, and technologies, based on the data generated by this process.

FBI, CISA, and ACSC recommend continually testing your security program, at scale, in a production environment to ensure optimal performance against the MITRE ATT&CK techniques identified in this advisory.

RESOURCES

  • Stopransomware.gov, a whole-of-government approach with one central location for US ransomware resources and alerts.
  • cyber.gov.au for the Australian Government’s central location to report cyber incidents, including ransomware, and to see advice and alerts. The site also provides ransomware advisories for businesses and organizations to help mitigate cyber threats.
  • CISA-Multi-State Information Sharing and Analysis Center (MS-ISAC) Joint Ransomware Guide for guidance on mitigating and responding to a ransomware attack
  • For no-cost cyber hygiene services for US organizations, Cyber Hygiene Services and Ransomware Readiness Assessment.

REPORTING

The FBI is seeking any information that can be shared, including boundary logs showing communication to and from foreign IP addresses, a sample ransom note, communications with BianLian actors, Bitcoin wallet information, decryptor files, and/or a benign sample of an encrypted file.  The FBI and CISA do not encourage paying ransom, as payment does not guarantee victim files will be recovered. Furthermore, payment may also embolden adversaries to target additional organizations, encourage other criminal actors to engage in the distribution of ransomware, and/or fund illicit activities. Regardless of whether you or your organization have decided to pay the ransom, the FBI and CISA urge you to promptly report ransomware incidents to a local FBI Field Office or CISA at cisa.gov/report. Australian organizations that have been impacted or require assistance in regard to a ransomware incident can contact ACSC via 1300 CYBER1 (1300 292 371) or by submitting a report cyber.gov.au.

ACKNOWLEDGEMENTS

Microsoft and Sophos contributed to this advisory

11128911452?profile=RESIZE_400x11128911460?profile=RESIZE_400x11128911655?profile=RESIZE_400x11128911298?profile=RESIZE_400xRed Sky Alliance is a Cyber Threat Analysis and Intelligence Service organization.  For questions, comments, or assistance, please get in touch with the office directly at 1-844-492-7225, or feedback@redskyalliance.com

 Weekly Cyber Intelligence Briefings:

Weekly Cyber Intelligence Briefings:

REDSHORTS - Weekly Cyber Intelligence Briefings

https://attendee.gotowebinar.com/register/5504229295967742989

[1] https://image.communications.cyber.nj.gov/lib/fe3e15707564047c7c1270/m/3/Joint+Cybersecurity+Advisory+-+5.16.2023.pdf

E-mail me when people leave their comments –

You need to be a member of Red Sky Alliance to add comments!