EVILNUM
- Type
- Backdoor
- Capabilities
- ExfiltrationPersistenceReconnaissanceDefense evasion
- Delivery
- SpearphishingLure
- Platforms
- Windows
Evilnum is a Windows malware family with JavaScript and .NET implementations, used in targeted intrusions against financial technology organizations, particularly businesses involved in foreign-exchange trading, cryptocurrency trading, and compliance. It is associated with the Evilnum threat group and activity linked to DeathStalker. The malware serves as an initial-stage implant that profiles compromised systems, exfiltrates files, and facilitates the deployment and execution of additional malicious tools.
Evilnum collects victim usernames, enumerates host information through Windows Management Instrumentation, and identifies installed antivirus products. It uploads files through its command-and-control channel and establishes persistence through Windows Registry autostart entries. It can execute remote scriptlets using a legitimate Windows COM registration utility to drop and launch additional payloads. Its defense-evasion and anti-forensic behaviors include changing file creation timestamps and removing attack artifacts.
Delivery commonly involves targeted phishing with customer identity-verification lures, including malicious Windows shortcuts disguised as identity documents. Evilnum-associated campaigns have also used malicious Word documents and remote macro templates to initiate multistage infection chains. Targeting has been concentrated in the United Kingdom and Europe, with related observations involving Israeli financial technology organizations.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Overall, Janicab shows the same functionalities as its counterpart malware families, but instead of downloading several tools later in the intrusion lifecycle, as was the case with EVILNUM and Powersing intrusions...
Since the beginning of 2022, ThreatLabz has been closely monitoring the activities of the Evilnum APT group... In this blog, we present the technical details of all components involved in the end-to-end attack chain.
"TA4563 is a threat actor leveraging EvilNum malware to target European financial and investment entities... EvilNum is a backdoor that can be used for data theft or to load additional payloads."
Techniques & procedures
31 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
The delivery methods for each family do not share any similarities... Do not allow inbound e-mails with LNK file as attachments, or, do not allow inbound e-mails with attached ZIP files containing a single LNK file inside them. Do not allow inbound e-mails from external sources where the documents contain macros... Both families have been distributed using malicious documents containing lists of names/numbers of individuals involved in trading forex/crypto currency.
Based on our telemetry, the delivery mechanism remains spear-phishing.
“attempting to deliver multiple OneDrive URLs that contained either an ISO or .LNK attachment.”
Execution
8 techniques
Execution
[EVILNUM](https://attack.mitre.org/software/S0568) has used the Windows Management Instrumentation (WMI) tool to enumerate infected machines.(Citation: Prevailion EvilNum May 2020)
Cobalt Group has used regsvr32.exe to execute scripts. Saint Bot has used regsvr32 to execute scripts. Xbash can use regsvr32 for executing scripts.
“executing PowerShell via cmd.exe… downloads two different payloads…”; “PowerShell script loads C# code dynamically…”; “executes another PowerShell command… -windowstyle hidden”
The DLL begins by performing a sleep using the built-in Windows choice utility: cmd.exe /c choice /C Y /N /D Y /T 20... EVILNUM’s supported commands vary from version to version and include but are not limited to: Run an arbitrary command using “cmd /c”
APT32 created a Scheduled Task/Job that used regsvr32.exe to execute a COM scriptlet that dynamically downloaded a backdoor and injected it into memory. ... RogueRobin uses regsvr32.exe to run a .sct file for execution.
The new Janicab variants also embed a CAB archive containing several Python files and other artifacts used later in the intrusion lifecycle.
“leveraging wscript to load the EvilNum payload, and a JavaScript payload that was ultimately installed on the user's host.”
“used financial lures to get the recipient to launch the EvilNum payload.”
Persistence
2 techniques
Persistence
[EVILNUM](https://attack.mitre.org/software/S0568) can make modifications to the Regsitry for persistence.(Citation: Prevailion EvilNum May 2020)
[EVILNUM](https://attack.mitre.org/software/S0568) can achieve persistence through the Registry Run key.(Citation: ESET EvilNum July 2020)(Citation: Prevailion EvilNum May 2020)
Privilege Escalation
1 technique
Privilege Escalation
[EVILNUM](https://attack.mitre.org/software/S0568) can achieve persistence through the Registry Run key.(Citation: ESET EvilNum July 2020)(Citation: Prevailion EvilNum May 2020)
Stealth
9 techniques
Stealth
[EVILNUM](https://attack.mitre.org/software/S0568) has a function called "DeleteLeftovers" to remove certain artifacts of the attack.(Citation: Prevailion EvilNum May 2020)
APT5 has used the THINBLOOD utility to clear SSL VPN log files located at /home/runtime/logs.
[EVILNUM](https://attack.mitre.org/software/S0568) has changed the creation date of files.(Citation: Prevailion EvilNum May 2020)
“decrypt a PNG… restart the infection chain”; “payload contains two encrypted blobs… decrypted to an executable… and …TMP… decrypts … to load … shellcode … final decrypted and decompressed PE file.”
“leveraging wscript to load the EvilNum payload…”
[EVILNUM](https://attack.mitre.org/software/S0568) can run a remote scriptlet that drops a file and executes it via regsvr32.exe.(Citation: ESET EvilNum July 2020)
[EVILNUM](https://attack.mitre.org/software/S0568) can execute commands and scripts through rundll32.(Citation: Prevailion EvilNum May 2020)
“These messages used a remote template document… attempting to communicate with domains to install several LNK loader components…”; “delivered Microsoft Word documents to attempt to download a remote template.”
“executed depending on what antivirus software – either Avast, AVG, or Windows Defender – is found on the host… execution chain will change to best evade detection…”
Defense Impairment
1 technique
Defense Impairment
[EVILNUM](https://attack.mitre.org/software/S0568) can make modifications to the Regsitry for persistence.(Citation: Prevailion EvilNum May 2020)
Credential Access
1 technique
Credential Access
[EVILNUM](https://attack.mitre.org/software/S0568) can harvest cookies and upload them to the C2 server.(Citation: Prevailion EvilNum May 2020)
Discovery
4 techniques
Discovery
[EVILNUM](https://attack.mitre.org/software/S0568) can obtain the username from the victim's machine.(Citation: Prevailion EvilNum May 2020)
[EVILNUM](https://attack.mitre.org/software/S0568) can obtain the computer name from the victim's system.(Citation: Prevailion EvilNum May 2020)
“executed depending on what antivirus software – either Avast, AVG, or Windows Defender – is found on the host… execution chain will change to best evade detection…”
[EVILNUM](https://attack.mitre.org/software/S0568) can search for anti-virus products on the system.(Citation: Prevailion EvilNum May 2020)
Collection
1 technique
Collection
The following actions continue to be present within the malware: ... Capture screenshots ... EVILNUM’s supported commands vary from version to version and include but are not limited to: ... Ability to take screenshots
Command and Control
3 techniques
Command and Control
the threat actor continues to use YouTube, Google+, and WordPress web services as DDRs.
[EVILNUM](https://attack.mitre.org/software/S0568) has used a one-way communication method via GitLab and Digital Point to perform C2.(Citation: Prevailion EvilNum May 2020)
[EVILNUM](https://attack.mitre.org/software/S0568) can download and upload files to the victim's computer.(Citation: ESET EvilNum July 2020)(Citation: Prevailion EvilNum May 2020)
Exfiltration
1 technique
Exfiltration
[EVILNUM](https://attack.mitre.org/software/S0568) can upload files over the C2 channel from the infected host.(Citation: Prevailion EvilNum May 2020)
Observables
211 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
42 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.