Egregor
- Type
- Ransomware
- Capabilities
- ExtortionProcess injectionDefense evasionLateral movementReconnaissance
- Delivery
- Malspam
- Platforms
- Windows
Egregor is Windows ransomware used in financially motivated attacks against corporate networks. It encrypts non-system files, appends randomly generated extensions, and presents ransom demands. Egregor operations have employed double extortion, combining file encryption with theft of sensitive data and threats of disclosure. The ransomware can also print ransom notes through accessible printers.
Egregor incorporates execution and defense-evasion techniques including payload injection into Internet Explorer processes, execution of malicious DLLs through the Windows DLL registration utility, and decryption of its payload before execution. Observed variants require an execution argument before proceeding with their main routine, restricting execution during analysis. Egregor also contains functionality to query local or system time. Deployments have used encoded PowerShell commands executed through services created by Cobalt Strike to support lateral movement.
Egregor operators have partnered with QakBot distributors to obtain access to corporate networks, and SystemBC has been used in intrusion chains culminating in Egregor deployment. In multiple incidents, activity by the initial access broker UNC961, also known as Gold Melody and Prophet Spider, preceded Egregor deployment by separate follow-on actors; this does not establish that UNC961 operated the ransomware. A joint French-Ukrainian investigation led to arrests of suspected Egregor participants in February 2021.
Associated vulnerabilities
15 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
3 more CVEs associated with this family tracked in Mallory.
Associated threat actors
10 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Depuis la mi-septembre 2020, l’ANSSI constate une vaste campagne d’attaques informatiques menées à l’aide du rançongiciel Egregor.
Depuis la mi-septembre 2020, l’ANSSI constate une vaste campagne d’attaques informatiques menées à l’aide du rançongiciel Egregor.
DEV-0216 ... has operated as an affiliate for Egregor, Maze, Lockbit, REvil, and Conti in numerous high-impact incidents.
Between June 2020 and March 2021, Lockean attacked at least seven more companies with various ransomware families: Maze, Egregor, ProLock, REvil.
Between June 2020 and March 2021, Lockean attacked at least seven more companies with various ransomware families: Maze, Egregor, ProLock, REvil.
At the close of 2020, we noticed a shift in a subset of these groups that have started to deploy EGREGOR ransomware in favor of MAZE ransomware following access acquired from ICEDID infections.
+4 more in the app. View in Mallory
Techniques & procedures
78 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
5 techniques
Initial Access
– T1078 : Valid Accounts - Utilisation d’identifiants légitimes obtenus préalablement [11].
Download a special TOR browser ... Open our website with LIVE CHAT in the TOR browser: http://egregor[redacted].onion/[redacted] ... Open our website with LIVE CHAT: https://[redacted].top/[redacted]
In most cases, the initial vector of attack is exploiting some already known vulnerabilities in commercial VPN software.
il semblerait qu’ils utilisent des courriels d’hameçonnage avec une pièce-jointe contenant une macro malveillante [6] ... ; ... le détournement d’échanges par courriel (email thread hijacking) afin de distribuer Qakbot [2].
It also spreads through phishing emails with malicious attachments or via remote desktop protocol (RDP) or VPN exploits.
Execution
10 techniques
Execution
– T1047 : Windows Management Instrumentation - Utilisation du Windows Management Instrumentation [16].
– T1053.005 : Scheduled Task - Exécution via des tâches planifiées [16].
Later in the attack chain, operators use Cobalt Strike to gather information, escalate privileges, move laterally across the network and prepare the system for encryption.
[Egregor](https://attack.mitre.org/software/S0554) has used an encoded PowerShell command by a service created by [Cobalt Strike](https://attack.mitre.org/software/S0154) for lateral movement.(Citation: Intrinsec Egregor Nov 2020)
[Egregor](https://attack.mitre.org/software/S0554) has used batch files for execution and can launch Internet Explorer from cmd.exe.(Citation: JoeSecurity Egregor 2020)(Citation: Cybereason Egregor Nov 2020)
[Egregor](https://attack.mitre.org/software/S0554) has used the Windows API to make detection more difficult.(Citation: Cyble Egregor Oct 2020)
[Egregor](https://attack.mitre.org/software/S0554) has used BITSadmin to download and execute malicious DLLs.(Citation: Intrinsec Egregor Nov 2020)
Some sources also report the possible exploitation of CVE-2018-8174 (VBScript Engine), CVE-2018-4878 (Adobe Flash Player) & CVE-2018-15982 (Adobe Flash Player).
– T1569 : System Services: Service Execution - Exécution à l’aide des services système [11] [16].
[Egregor](https://attack.mitre.org/software/S0554) has used DLL side-loading to execute its payload.(Citation: Cyble Egregor Oct 2020)
Persistence
7 techniques
Persistence
– T1053.005 : Scheduled Task - Exécution via des tâches planifiées [16].
– T1078 : Valid Accounts - Utilisation d’identifiants légitimes obtenus préalablement [11].
– T1098 : Account Manipulation - Manipulation de compte [11].
MITRE ATT&CK Modify Registry T1112
Download a special TOR browser ... Open our website with LIVE CHAT in the TOR browser: http://egregor[redacted].onion/[redacted] ... Open our website with LIVE CHAT: https://[redacted].top/[redacted]
[Egregor](https://attack.mitre.org/software/S0554) has used BITSadmin to download and execute malicious DLLs.(Citation: Intrinsec Egregor Nov 2020)
– T1543.003 : Create or Modify System Process, Windows Service - Création ou modification de processus système, notamment de Windows Service [16] [11].
Privilege Escalation
8 techniques
Privilege Escalation
– T1053.005 : Scheduled Task - Exécution via des tâches planifiées [16].
[Egregor](https://attack.mitre.org/software/S0554) can inject its payload into iexplore.exe process.(Citation: Cyble Egregor Oct 2020)
The Windows Background Intelligent Transfer Service (BITS) is vulnerable to a privilege elevation vulnerability... An actor can exploit this vulnerability to execute arbitrary code with system-level privileges.
– T1078 : Valid Accounts - Utilisation d’identifiants légitimes obtenus préalablement [11].
– T1098 : Account Manipulation - Manipulation de compte [11].
[Egregor](https://attack.mitre.org/software/S0554) can modify the GPO to evade detection.(Citation: Cybereason Egregor Nov 2020) (Citation: Intrinsec Egregor Nov 2020)
– T1543.003 : Create or Modify System Process, Windows Service - Création ou modification de processus système, notamment de Windows Service [16] [11].
– T1548 : Abuse Elevation Control Mechanism - Abus du mécanisme de contrôle de l’élévation, contournement du contrôle d’accès utilisateur [11].
Stealth
18 techniques
Stealth
Frankenstein has used PowerShell to run a series of base64-encoded commands, that acted as a stager and enumerated hosts.
[Egregor](https://attack.mitre.org/software/S0554)'s payloads are custom-packed, archived and encrypted to prevent analysis.(Citation: NHS Digital Egregor Nov 2020)(Citation: Cyble Egregor Oct 2020)
– T1027.004 : Compile After Delivery - Compilation après la distribution, utilisation d’un mot de passe pour déchiffrer et exécuter la dll d’Egregor [11].
Egregor imitates the svchost.exe process to execute the RClone client
[Egregor](https://attack.mitre.org/software/S0554) has masqueraded the svchost.exe process to exfiltrate data.(Citation: Intrinsec Egregor Nov 2020)
[Egregor](https://attack.mitre.org/software/S0554) can inject its payload into iexplore.exe process.(Citation: Cyble Egregor Oct 2020)
MITRE ATT&CK Indicator Removal on Host: File Deletion T1070.004
– T1078 : Valid Accounts - Utilisation d’identifiants légitimes obtenus préalablement [11].
[Egregor](https://attack.mitre.org/software/S0554) has been decrypted before execution.(Citation: NHS Digital Egregor Nov 2020)(Citation: Cybereason Egregor Nov 2020)
[Egregor](https://attack.mitre.org/software/S0554) has used BITSadmin to download and execute malicious DLLs.(Citation: Intrinsec Egregor Nov 2020)
[Egregor](https://attack.mitre.org/software/S0554) has used regsvr32.exe to execute malicious DLLs.(Citation: JoeSecurity Egregor 2020)
[Egregor](https://attack.mitre.org/software/S0554) has used rundll32 during execution.(Citation: Cybereason Egregor Nov 2020)
[Egregor](https://attack.mitre.org/software/S0554) has used multiple anti-analysis and anti-sandbox techniques to prevent automated analysis by sandboxes.(Citation: Cyble Egregor Oct 2020)(Citation: NHS Digital Egregor Nov 2020)
The content includes environment-aware checks such as "Bazar can also check if the Russian language is installed on the infected machine and terminate if it is found," "CaddyWiper can also halt execution if the compromised host is identified as a domain controller," and "OopsIE checks for information on the CPU fan, temperature, mouse, hard disk, and motherboard as part of its anti-VM checks."
[Egregor](https://attack.mitre.org/software/S0554) can perform a long sleep (greater than or equal to 3 minutes) to evade detection.(Citation: JoeSecurity Egregor 2020)
[Egregor](https://attack.mitre.org/software/S0554) has used DLL side-loading to execute its payload.(Citation: Cyble Egregor Oct 2020)
Egregor imitates the svchost.exe process to execute the RClone client and uses the injection of code into the memory to increase its stealth via a reflective dynamic-link library injection
The LockBit 3.0 ransomware uses a variety of anti-analysis techniques to hinder static and dynamic analysis... Several techniques are implemented for detecting the presence of a debugger and hindering dynamic analysis.
Defense Impairment
4 techniques
Defense Impairment
MITRE ATT&CK Modify Registry T1112
– T1222 : File and Directory Permissions Modification - Modification des droits sur les fichiers [11].
[Egregor](https://attack.mitre.org/software/S0554) can modify the GPO to evade detection.(Citation: Cybereason Egregor Nov 2020) (Citation: Intrinsec Egregor Nov 2020)
[Egregor](https://attack.mitre.org/software/S0554) has disabled Windows Defender to evade protections.(Citation: Intrinsec Egregor Nov 2020)
Credential Access
2 techniques
Credential Access
– T1110 : Brute Force - Utilisation de la force brute [11].
– T1552 : Unsecured Credentials - Récupération des informations d’identification via le registre [11].
Discovery
20 techniques
Discovery
MITRE ATT&CK Query Registry T1012
[Egregor](https://attack.mitre.org/software/S0554) has used tools to gather information about users.(Citation: Intrinsec Egregor Nov 2020)
In all cases, the original entry point is to start network reconnaissance, then lateral movement, then data exfiltration.
[Egregor](https://attack.mitre.org/software/S0554) can enumerate all connected drives.(Citation: NHS Digital Egregor Nov 2020)
– T1057 : Process Discovery - Reconnaissance de processus [11].
– T1069.001 : Permission Group Discovery - Reconnaissance des permissions de groupe [16].
[Egregor](https://attack.mitre.org/software/S0554) can conduct Active Directory reconnaissance using tools such as Sharphound or [AdFind](https://attack.mitre.org/software/S0552).(Citation: Intrinsec Egregor Nov 2020)
[Egregor](https://attack.mitre.org/software/S0554) can perform a language check of the infected system and can query the CPU information (cupid).(Citation: JoeSecurity Egregor 2020)(Citation: NHS Digital Egregor Nov 2020)
The below courses of action mitigate the following techniques: Account Discovery [T1087], Domain Trust Discovery [T1482], File and Directory Discovery [T1083]
Les attaquants utilisent notamment les outils Adfind et Sharphound afin de cartographier le réseau. – T1087 : Account Discovery - Reconnaissance de comptes admin [16], [11].
MITRE ATT&CK Peripheral Device Discovery T1120
[Egregor](https://attack.mitre.org/software/S0554) contains functionality to query the local/system time.(Citation: JoeSecurity Egregor 2020)
– T1482 : Domain Trust Discovery - Reconnaissance des permissions de domaine [16].
[Egregor](https://attack.mitre.org/software/S0554) has used multiple anti-analysis and anti-sandbox techniques to prevent automated analysis by sandboxes.(Citation: Cyble Egregor Oct 2020)(Citation: NHS Digital Egregor Nov 2020)
The content includes environment-aware checks such as "Bazar can also check if the Russian language is installed on the infected machine and terminate if it is found," "CaddyWiper can also halt execution if the compromised host is identified as a domain controller," and "OopsIE checks for information on the CPU fan, temperature, mouse, hard disk, and motherboard as part of its anti-VM checks."
[Egregor](https://attack.mitre.org/software/S0554) can perform a long sleep (greater than or equal to 3 minutes) to evade detection.(Citation: JoeSecurity Egregor 2020)
MITRE ATT&CK Software Discovery: Security Software Discovery T1518.001
Examples include: “Bazar … check if the Russian language is installed … and terminate if it is found.”; “DropBook … checked for the presence of Arabic language …”; “Maze … checked the language … GetUserDefaultUILanguage”; “SynAck … checks installed keyboard layouts to estimate … countries.”
Examples include 'Bazar can also check if the Russian language is installed,' 'DropBook has checked for the presence of Arabic language,' 'Maze has checked the language of the infected system,' and 'SynAck ... checks installed keyboard layouts to estimate if it has been launched from a certain list of countries.'
The LockBit 3.0 ransomware uses a variety of anti-analysis techniques to hinder static and dynamic analysis... Several techniques are implemented for detecting the presence of a debugger and hindering dynamic analysis.
Lateral Movement
5 techniques
Lateral Movement
Egregor can also exploit Remote Desktop Protocol (RDP) or Virtual Private Networks to gain access.
There have also been instances of operators using Cobalt Strike to create an RDP connection with other endpoints on the network and copying Egregor to them.
Pour se déplacer au sein du réseau, les opérateurs d’Egregor utiliseraient des balises SMB via l’outil Cobalt Strike ou des accès administrateurs. ... – T1021.002 : SMB/Windows Admin Shares - Utilisation des Remote Services, notamment SMB/Windows Admin Shares [16].
It also spreads through phishing emails with malicious attachments or via remote desktop protocol (RDP) or VPN exploits.
Cuba has been dropped onto systems and used for lateral movement via obfuscated PowerShell scripts.
Collection
3 techniques
Collection
[Egregor](https://attack.mitre.org/software/S0554) can collect any files found in the enumerated drivers before sending it to its C2 channel.(Citation: NHS Digital Egregor Nov 2020)
We have also downloaded a lot of private data from your network, so in case of not contacting us as soon as possible this data will be released.
The Egregor “Hall of Shame” is a listing of victims who failed to pay the demanded ransom for data , with links to .zip compressed folders of data stolen from them.
Command and Control
6 techniques
Command and Control
A ce jour, l’utilisation de techniques d’assombrissement du code (obfuscation), de techniques anti-débogage et l’utilisation des API natives de Windows sont avérées.
Les connexions avec le serveur de commande et de contrôle se font via le protocole HTTPS. ... – T1071 : Application Layer Protocol - Utilisation de Beacon SMB via Cobalt Strike [16].
“Il protocollo HTTP/S è stato ampiamente abusato ... DanBot, Dridex, Egregor e GuLoader.”
[Egregor](https://attack.mitre.org/software/S0554) has the ability to download files from its C2 server.(Citation: Cybereason Egregor Nov 2020)(Citation: Intrinsec Egregor Nov 2020)
[Egregor](https://attack.mitre.org/software/S0554) has checked for the LogMein event log in an attempt to encrypt files in remote machines.(Citation: Cyble Egregor Oct 2020)
To contact us and purchase the key you have to visit our website in a hidden TOR network.
Exfiltration
4 techniques
Exfiltration
Randstad states that only a limited number of servers were impacted... The company confirmed that data was stolen...
The affiliates who compromise a network are known to steal unencrypted files before encrypting devices with the Egregor ransomware.
After the payment the data will be removed from our disks and decryptor will be given to you
To exfiltrate data, operators typically use Rclone, an open-source command line program used to manage cloud storage.
Impact
4 techniques
Impact
[Egregor](https://attack.mitre.org/software/S0554) can encrypt all non-system files using a hybrid AES-RSA algorithm prior to displaying a ransom note.(Citation: NHS Digital Egregor Nov 2020)(Citation: Cybereason Egregor Nov 2020)
Egregor tente également de supprimer les copies fantômes. ... – T1490 : Inhibit System Recovery - Les copies cachées Windows sont supprimées [11].
During the attack, the ransomware operators used the company's printers to print ransom notes
The hackers then use these stolen files as further leverage by telling victims they will be publicly released if a ransom is not paid.
Observables
55 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
149 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.