EnvyScout
- Type
- Dropper
- Capabilities
- Initial accessDefense evasionCredential theft
- Delivery
- SpearphishingLanding pageLure
- Platforms
- Windows
EnvyScout is an HTML and JavaScript-based dropper used by APT29, also known as Nobelium and Cozy Bear, since at least 2021. It supports spearphishing operations against Windows systems, particularly in government agencies, foreign ministries, embassies, and other diplomatic organizations. APT29 is attributed to Russia’s Foreign Intelligence Service (SVR).
EnvyScout is delivered through malicious email attachments or links in phishing messages and lure documents, including PDFs, that direct recipients to compromised websites. Its lures have included diplomatic meeting agendas and COVID-19-related information. It uses HTML smuggling to decode embedded malicious data in the victim’s browser and write payloads, including ISO disk images, to disk through JavaScript. Implementations have used a modified version of the open-source FileSaver tool. The resulting infection chains typically require victims to open the downloaded disk image and execute a shortcut or another disguised file, leading to malicious DLL execution, sometimes through DLL sideloading with signed legitimate executables.
EnvyScout can conceal malicious executables using hidden files and directories and use folder icons to encourage execution. It also supports collection of sensitive NTLM authentication material through forced authentication. It has delivered SNOWYAMBER, QUARTERRIG, and HALFRIG, and has featured in infection chains deploying Cobalt Strike. Its principal role is payload delivery rather than providing the capabilities of those subsequent implants.
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
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
EnvyScout ... Forced Authentication ... Obfuscated Files or Information: HTML Smuggling ... Phishing: Spearphishing Attachment.
Techniques & procedures
28 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
2 techniques
Resource Development
The actor behind the espionage campaign prefers to use vulnerable websites belonging to random entities.
T1587: Develop Capabilities T1587.001: Develop Capabilities: Malware
Initial Access
4 techniques
Initial Access
“…and infected websites. The websites infect users with the EnvyScout dropper…”
Whichever strain of malware they attempted to distribute, attackers used phishing for initial access.
[EnvyScout](https://attack.mitre.org/software/S0634) has been distributed via spearphishing as an email attachment.(Citation: MSTIC Nobelium Toolset May 2021)
In both cases, the phishing documents contained a link to a malicious HTML file (EnvyScout) that served as a dropper for additional malicious files in the target network, including a Cobalt Strike payload.
Execution
5 techniques
Execution
Il file HTML contiene uno script che ha il compito di acquisire l’indirizzo IP della vittima e lo User-Agent, di comunicarlo ad una pagina PHP ... e di rilasciare un file ISO
[EnvyScout](https://attack.mitre.org/software/S0634) can use cmd.exe to execute malicious files on compromised hosts.(Citation: MSTIC Nobelium Toolset May 2021)
[EnvyScout](https://attack.mitre.org/software/S0634) can write files to disk with JavaScript using a modified version of the open-source tool FileSaver.(Citation: MSTIC Nobelium Toolset May 2021)
has attempted to get victims to launch malicious Microsoft Word attachments delivered via spearphishing emails... has required user execution of a malicious MSI installer... has been executed through user installation of an executable disguised as a flash installer.
[EnvyScout](https://attack.mitre.org/software/S0634) has been executed through malicious files attached to e-mails.(Citation: MSTIC Nobelium Toolset May 2021)
Persistence
1 technique
Persistence
Once the shortcut file is double-clicked by the user, cmd.exe is used to execute agenda.exe in the current working directory.
Privilege Escalation
1 technique
Privilege Escalation
Once the shortcut file is double-clicked by the user, cmd.exe is used to execute agenda.exe in the current working directory.
Stealth
9 techniques
Stealth
The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.
[EnvyScout](https://attack.mitre.org/software/S0634) contains JavaScript code that can extract an encoded blob from its HTML body and write it to disk.(Citation: MSTIC Nobelium Toolset May 2021)
[EnvyScout](https://attack.mitre.org/software/S0634) can Base64 encode payloads.(Citation: MSTIC Nobelium Toolset May 2021)
[EnvyScout](https://attack.mitre.org/software/S0634) has used folder icons for malicious files to lure victims into opening them.(Citation: MSTIC Nobelium Toolset May 2021)
[EnvyScout](https://attack.mitre.org/software/S0634) can deobfuscate and write malicious ISO files to disk.(Citation: MSTIC Nobelium Toolset May 2021)
[EnvyScout](https://attack.mitre.org/software/S0634) has the ability to proxy execution of malicious files with Rundll32.(Citation: MSTIC Nobelium Toolset May 2021)
[EnvyScout](https://attack.mitre.org/software/S0634) can call <code>window.location.pathname</code> to ensure that embedded files are being executed from the C: drive, and will terminate if they are not.(Citation: MSTIC Nobelium Toolset May 2021)
[EnvyScout](https://attack.mitre.org/software/S0634) can use hidden directories and files to hide malicious executables.(Citation: MSTIC Nobelium Toolset May 2021)
This file contains malicious JavaScript designed to create an .ISO file on the user’s computer.
Credential Access
2 techniques
Credential Access
The content references collection of credential material from local systems, including "Bumblebee can capture and compress stolen credentials from the Registry and volume shadow copies," "GALLIUM collected ... password hashes from the SAM hive in the Registry," and "Windigo has used a script to gather credentials in files left on disk by OpenSSH backdoors."
[EnvyScout](https://attack.mitre.org/software/S0634) can use protocol handlers to coax the operating system to send NTLMv2 authentication responses to attacker-controlled infrastructure.(Citation: MSTIC Nobelium Toolset May 2021)
Discovery
1 technique
Discovery
[EnvyScout](https://attack.mitre.org/software/S0634) can determine whether the ISO payload was received by a Windows or iOS device.(Citation: MSTIC Nobelium Toolset May 2021)
Collection
3 techniques
Collection
[EnvyScout](https://attack.mitre.org/software/S0634) can collect sensitive NTLM material from a compromised host.(Citation: MSTIC Nobelium Toolset May 2021)
Examples in the content include 'DropBook can unarchive data downloaded from the C2 to obtain the payload and persistence modules,' 'Molerats decompresses ZIP files once on the victim machine,' and 'Rocke has extracted tar.gz files after downloading them from a C2 server.'
Campaigns observed in the past linked to “NOBELIUM” and “APT29” used .ZIP or .ISO files to deliver the malware. During the campaign described above, .IMG files were also used in addition to the aforementioned file formats.
Command and Control
1 technique
Command and Control
Il file HTML contiene uno script che ha il compito di ... rilasciare un file ISO (Decret.iso) codificato in Base64.
Observables
19 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
37 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.