BitPaymer
- Type
- Ransomware
- Capabilities
- ExtortionReconnaissanceDefense evasionPrivilege escalation
- Delivery
- PhishingMalspamLanding pageFake updateDrive by
- Platforms
- Windows
BitPaymer, also known as Friedex, is a Windows ransomware family associated with Evil Corp, tracked as INDRIK SPIDER. It came to prominence in 2017 and was used in targeted, high-value enterprise ransomware operations commonly described as big-game hunting. Operators have deployed it after Dridex infections to encrypt domain-controlled systems. These operations primarily affected organizations in North America, particularly the United States, and Western Europe. BitPaymer shares substantial code similarities with Dridex, although its principal function is file encryption for extortion rather than credential theft. DoppelPaymer emerged in 2019 as a fork of BitPaymer.
BitPaymer encrypts files in place using a separate 128-bit RC4 key for each file and an embedded RSA-1024 public key to protect encryption key material. It can discover remote systems and enumerate network shares within a domain or workgroup using native Windows networking commands. Its defense-evasion techniques include storing a copy of itself in an NTFS alternate data stream and dynamically resolving Windows API functions to reduce identifiable strings in its binary. It also modifies the Windows Registry to facilitate execution and can bypass User Account Control on Windows 7 and Windows 10 to execute with elevated privileges.
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
6 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Big Game Hunting: The Evolution of INDRIK SPIDER From Dridex Wire Fraud to BitPaymer Targeted Ransomware.
Code for BitPaymer, also known as Friedex, includes numerous similarities to Dridex, despite its function as ransomware rather than data extraction.
BitPaymer, a ransomware variant operated by the threat actor with the self-styled name “Evil Corp” (a.k.a. the Dridex Group), was first introduced in 2017.
...as well as several ransomware strains including Locky, BitPaymer, Philadelphia, GlobeImposter, and Jaff on their targets' computers...
From 2018 to 2019, TA551 gave the BitPaymer ransomware group access to its botnet, helping infect 72 U.S. companies and generate over $14.17 million in extortion payments.
"From July 2017 to early 2020, GOLD DRAKE developed and distributed the BitPaymer ransomware during post-intrusion attacks facilitated by Dridex."
Techniques & procedures
55 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
8 techniques
Initial Access
ils cherchent en premier lieu à prendre le contrôle de comptes administrateurs réseau légitimes afin de prendre pied sur des serveurs centraux de type « Active Directory »
They then sold access to infected computers to other criminals, who used them to launch ransomware attacks, locking victims out of systems and demanding cryptocurrency payments to restore access.
3.3 Point d’eau ... L’infection, par point d’eau ou par courriel d’hameçonnage pointant vers une URL malveillante, consiste en l’apparition d’une fausse mise à jour de navigateur, qui conduirait à l’installation du code malveillant FakeUpdates, puis de la propagation de Dridex
For example, a vulnerability in Apple WebKitGTK (CVE-2019-8720) received a CVE from Red Hat in October 2019 was added to the KEV catalog in March because it was being exploited by BitPaymer ransomware.
Initial Access Trusted Relationship Subcontractors or ESN compromises
Actors typically distribute Dridex malware through phishing e-mail spam campaigns.
In July 2019, BitPaymer’s victims were compromised via phishing campaigns [4]. ... Initial Access Spearphishing Attachment
In July 2019, BitPaymer’s victims were compromised via phishing campaigns [4]. ... Initial Access Spearphishing link
Execution
6 techniques
Execution
Execution Command-Line Interface arp / nslookup / etc.
Bitpaymer adds a .cmd file to the registry key (“HKCU\Software\Classes\mscfile\shell\open\command”)... and that, in turn, executes the .cmd file that runs the ransomware binary.
[BitPaymer](https://attack.mitre.org/software/S0570) has used dynamic API resolution to avoid identifiable strings within the binary, including <code>RegEnumKeyW</code>.(Citation: Crowdstrike Indrik November 2018)
Execution Service Execution Alternate Data Stream
Phase: Execution — Service Execution — exécution en tant qu’Alternate Data Stream
Both these ransomware use a similar User Account Controls bypass technique to elevate the clean, hijacked process to run the ransomware code... With WastedLocker, it uses winsat.exe and winmm.dll to run the ransomware binary (ADS component) by patching the winmm.dll.
Persistence
5 techniques
Persistence
ils cherchent en premier lieu à prendre le contrôle de comptes administrateurs réseau légitimes afin de prendre pied sur des serveurs centraux de type « Active Directory »
[BitPaymer](https://attack.mitre.org/software/S0570) can set values in the Registry to help in execution.(Citation: Crowdstrike Indrik November 2018)
They then sold access to infected computers to other criminals, who used them to launch ransomware attacks, locking victims out of systems and demanding cryptocurrency payments to restore access.
[BitPaymer](https://attack.mitre.org/software/S0570) has attempted to install itself as a service to maintain persistence.(Citation: Crowdstrike Indrik November 2018)
[BitPaymer](https://attack.mitre.org/software/S0570) has set the run key <code>HKCU\Software\Microsoft\Windows\CurrentVersion\Run</code> for persistence.(Citation: Crowdstrike Indrik November 2018)
Privilege Escalation
6 techniques
Privilege Escalation
Privilege Escalation Exploitation for Privilege Escalation Apple Update 0-day
ils cherchent en premier lieu à prendre le contrôle de comptes administrateurs réseau légitimes afin de prendre pied sur des serveurs centraux de type « Active Directory »
[BitPaymer](https://attack.mitre.org/software/S0570) can use the tokens of users to create processes on infected systems.(Citation: Crowdstrike Indrik November 2018)
[BitPaymer](https://attack.mitre.org/software/S0570) has attempted to install itself as a service to maintain persistence.(Citation: Crowdstrike Indrik November 2018)
[BitPaymer](https://attack.mitre.org/software/S0570) has set the run key <code>HKCU\Software\Microsoft\Windows\CurrentVersion\Run</code> for persistence.(Citation: Crowdstrike Indrik November 2018)
[BitPaymer](https://attack.mitre.org/software/S0570) can suppress UAC prompts by setting the <code>HKCU\Software\Classes\ms-settings\shell\open\command</code> registry key on Windows 10 or <code>HKCU\Software\Classes\mscfile\shell\open\command</code> on Windows 7 and launching the <code>eventvwr.msc</code> process, which launches [BitPaymer](https://attack.mitre.org/software/S0570) with elevated privileges.(Citation: Crowdstrike Indrik November 2018)
Stealth
16 techniques
Stealth
BitPaymer has used dynamic API resolution to avoid identifiable strings within the binary, including RegEnumKeyW.
It’s also worth mentioning that both Dridex and FriedEx use the same malware packer.
It resolves all system API calls on the fly by searching for them by hash...
[BitPaymer](https://attack.mitre.org/software/S0570) has used RC4-encrypted strings and string hashes to avoid identifiable strings within the binary.(Citation: Crowdstrike Indrik November 2018)
Backups were either encrypted or deleted or backup disks were formatted. Shadow copies also removed
[BitPaymer](https://attack.mitre.org/software/S0570) can modify the timestamp of an executable so that it can be identified and restored by the decryption tool.(Citation: Crowdstrike Indrik November 2018)
ils cherchent en premier lieu à prendre le contrôle de comptes administrateurs réseau légitimes afin de prendre pied sur des serveurs centraux de type « Active Directory »
[BitPaymer](https://attack.mitre.org/software/S0570) can use the tokens of users to create processes on infected systems.(Citation: Crowdstrike Indrik November 2018)
Defense evasion Deobfuscate/Decode Files or Information
Defense evasion Exploitation for Defense Evasion Windows Defender
The malware finds a clean system file, copies itself to the clean file’s ADS, and then executes itself as a service component of the clean file. This makes it appear that the clean file is the source of the ransomware behavior.
[BitPaymer](https://attack.mitre.org/software/S0570) compares file names and paths to a list of excluded names and directory names during encryption.(Citation: Crowdstrike Indrik November 2018)
Func Antisandbox_by_diff_time( $val ) ... GetTickCount ... Sleep ... If Not (( $dif_time + 500 ) >= $val and ( $dif_time - 500 ) <= $val ) Then Exit EndIf
Persistence Hidden Files and Directories Alternate Data Stream
[BitPaymer](https://attack.mitre.org/software/S0570) has copied itself to the <code>:bin</code> alternate data stream of a newly created file.(Citation: Crowdstrike Indrik November 2018)
Both these ransomware use a similar User Account Controls bypass technique to elevate the clean, hijacked process to run the ransomware code... With WastedLocker, it uses winsat.exe and winmm.dll to run the ransomware binary (ADS component) by patching the winmm.dll.
Defense Impairment
3 techniques
Defense Impairment
[BitPaymer](https://attack.mitre.org/software/S0570) can set values in the Registry to help in execution.(Citation: Crowdstrike Indrik November 2018)
[BitPaymer](https://attack.mitre.org/software/S0570) can use <code>icacls /reset</code> and <code>takeown /F</code> to reset a targeted executable's permissions and then take ownership.(Citation: Crowdstrike Indrik November 2018)
In addition to the encryption of accessible files, BitPaymer is able to deactivate some AV products ... Defense evasion Disabling Security Tools Windows Defender
Credential Access
2 techniques
Credential Access
Use of Dridex banking trojan, Pentest tool Powershell Empire, credentials viewer tool Mimikatz and administration tool PsExec have been reported.
FriedEx focuses on higher profile targets and companies rather than regular end users and is usually delivered via an RDP brute force attack.
Discovery
10 techniques
Discovery
[BitPaymer](https://attack.mitre.org/software/S0570) can enumerate existing Windows services on the host that are configured to run as LocalSystem.(Citation: Crowdstrike Indrik November 2018)
[BitPaymer](https://attack.mitre.org/software/S0570) can use the RegEnumKeyW to iterate through Registry keys.(Citation: Crowdstrike Indrik November 2018)
[BitPaymer](https://attack.mitre.org/software/S0570) can use <code>net view</code> to discover remote systems.(Citation: Crowdstrike Indrik November 2018)
Ces comptes leurs servent à cartographier le réseau victime et identifier les ressources importantes.
Discovery System Network Connections Discovery
The malware finds a clean system file, copies itself to the clean file’s ADS, and then executes itself as a service component of the clean file.
To perform the propagation, Threat Actors firstly sought to compromise network administrators accounts ... Discovery Account Discovery
[BitPaymer](https://attack.mitre.org/software/S0570) can enumerate the sessions for each user logged onto the infected host.(Citation: Crowdstrike Indrik November 2018)
[BitPaymer](https://attack.mitre.org/software/S0570) can search for network shares on the domain or workgroup using <code>net view <host></code>.(Citation: Crowdstrike Indrik November 2018)
Func Antisandbox_by_diff_time( $val ) ... GetTickCount ... Sleep ... If Not (( $dif_time + 500 ) >= $val and ( $dif_time - 500 ) <= $val ) Then Exit EndIf
Lateral Movement
2 techniques
Lateral Movement
It has also been observed to be delivered through weakly protected RDP accesses [1]. ... extensive use of RDP connections could help detect lateralization phase of a BitPaymer attack.
Use of Dridex banking trojan, Pentest tool Powershell Empire, credentials viewer tool Mimikatz and administration tool PsExec have been reported. After taking over the network’s administrators accounts, Threat Actors use them to deploy the ransomware
Command and Control
1 technique
Command and Control
The response can be a simple acknowledgment or a longer set of instructions, a module or executable... In many cases the C2 server response only contains an updated version of the binary... If the victim is infected with the latest version of Emotet... the latest modules are downloaded.
Exfiltration
1 technique
Exfiltration
What they all have in common is that they both exfiltrate and encrypt files, then publish files as leverage in their ransom payment negotiations.
Impact
5 techniques
Impact
Once downloaded and active, Dridex has a wide range of capabilities, from downloading additional software to establishing a virtual network to deletion of files.
[BitPaymer](https://attack.mitre.org/software/S0570) can import a hard-coded RSA 1024-bit public key, generate a 128-bit RC4 key for each file, and encrypt the file in place, appending <code>.locked</code> to the filename.(Citation: Crowdstrike Indrik November 2018)
[BitPaymer](https://attack.mitre.org/software/S0570) attempts to remove the backup shadow files from the host using <code>vssadmin.exe Delete Shadows /All /Quiet</code>.(Citation: Crowdstrike Indrik November 2018)
Impact Disk Content Wipe
DoppelPaymer has only started publishing data in the last few days... the group claims to have sold data stolen in previous incidents on the dark web.
Observables
6 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
110 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.