Gootloader
- Type
- Loader
- Capabilities
- Initial accessPersistenceDefense evasionProcess injection
- Delivery
- Seo poisoningLanding pageLureCloaking
- Platforms
- Windows
Gootloader is a JavaScript-based malware loader and initial-access framework targeting Windows systems. It evolved from the Gootkit banking-trojan ecosystem and enables the delivery of additional malware rather than performing ransomware encryption itself. Its operators are tracked as Storm-0494, UNC2565, and Hive0127 and provide compromised-system access to other cybercriminals, including ransomware operators.
Distribution relies primarily on search engine optimization poisoning and compromised legitimate websites, particularly WordPress installations. Attackers manipulate rankings for low-competition legal and business searches, directing visitors to fabricated discussion or download pages offering purported documents. Victims typically receive ZIP archives containing malicious JavaScript and initiate infection by opening the script. Traffic filtering and selective content delivery use visitor geography, search referrals, cookies, and network information to restrict exposure and conceal malicious pages. Campaigns have particularly targeted U.S. legal professionals, while incidents have also affected Western Australian public-sector agencies.
Infection chains use Windows Script Host and PowerShell to reconstruct and execute subsequent stages. Documented techniques include encoded or compressed payloads, registry-resident components, in-memory execution, scheduled-task persistence, process injection, and impairment of the Antimalware Scan Interface. Gootloader provides a foothold for follow-on activity involving credential theft, domain discovery, lateral movement, and ransomware deployment; these downstream actions are not necessarily intrinsic loader functions. Associated payloads have included Cobalt Strike, ransomware, and other loaders, including OysterLoader. Access handoffs to Vanilla Tempest have been associated with Rhysida ransomware operations.
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
7 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Gootloader is an initial access framework that combines a JavaScript malware loader, compromised websites, and SEO techniques to infect organizations.
Gootloader is an initial access framework that combines a JavaScript malware loader, compromised websites, and SEO techniques to infect organizations.
Gootloader is an initial access framework that combines a JavaScript malware loader, compromised websites, and SEO techniques to infect organizations.
Gootloader is an initial access framework that combines a JavaScript malware loader, compromised websites, and SEO techniques to infect organizations.
The FBI says Gootloader used poisoned legal search results and over 1,000 hacked WordPress sites to breach networks, tied to over $28 million in ransomware payments.
While the Lorem Ipsum and Gootloader chains are technically distinct, the shared reliance on compromised WordPress infrastructure suggests either common access broker sources, shared compromise tooling, or operator-level coordination between the two pipelines.
+1 more in the app. View in Mallory
Techniques & procedures
91 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
2 techniques
Reconnaissance
Gootloader can use IP geolocation to determine if the person browsing to a compromised site is within a targeted territory such as the US, Canada, Germany, and South Korea. SocGholish can use IP-based geolocation to limit infections to victims in North America, Europe, and a small number of Asian-Pacific nations.
The communication sends the mothership the following parameters of the initial request, all in base64 encoded form: a: Unique server ID b: IP address of the unsuspecting visitor c: user agent d: referrer string
Resource Development
8 techniques
Resource Development
Gootloader is a Malware-as-a-Service (MaaS) offering that is spread through Search Engine Optimization (SEO) poisoning to distribute malicious payloads, such as IcedID.
The malicious websites employ typosquatted domains designed to deceive users into believing they are accessing official software sources.
eSentire’s security research team, (TRU), discovered in early January that the threat group behind the malware downloader, Gootloader, had compromised dozens of legitimate websites across the globe.
[Gootloader](https://attack.mitre.org/software/S1138) has used compromised legitimate domains to as a delivery network for malicious payloads.(Citation: SentinelOne Gootloader June 2021)
The compromised websites served as a foundation for the Gootloader campaign, providing malicious hosting and Search Engine Optimization (SEO) to the threat actors.
[Gootloader](https://attack.mitre.org/software/S1138) can insert malicious scripts to compromise vulnerable content management systems (CMS).(Citation: SentinelOne Gootloader June 2021)
On the operator side, PHP builders generate customized implants, which the FBI maps to T1587.001
Gootloader Threat Actors Use SEO Poisoning to Generate High-Level Page Rankings Targeting English Speakers
Initial Access
6 techniques
Initial Access
Gootloader moves laterally with supplied credentials over WinRM, WMI, and SMB.
These attacks come directly on the heels of an extensive and well-planned Drive-By-Download Campaign ... launched in late December. This malicious campaign’s sole purpose is to infect business professionals’ computer systems with the Sodin ransomware, the Gootkit banking trojan or the Cobalt Strike intrusion tool.
How these blogs are compromised, is still a mystery, but they belief is either weak administrator credentials, or vulnerabilities in the WordPress software (to include themes and plugins).
IoCs Gootloader Q1 2021 MITRE TTPs Js loader + powershell stage: Initial Access (TA0001): T1566 Phishing
"... leveraging the Viber messaging platform to deliver malicious ZIP archives."; "GootLoader ... concatenated ZIP archives to evade detection"
IoCs Gootloader Q1 2021 MITRE TTPs Js loader + powershell stage: Initial Access (TA0001): T1566.002 Spear Phishing Link
Execution
14 techniques
Execution
remote WMI process creation and access testing from one host across many discovered computers
In some cases, we have observed the scheduled task is created as a persistence mechanism to decode the registry values
GootLoader has been observed to create scheduled tasks and registry keys for persistence.
This list is used by GootLoader to rearrange the code into the right order and then later on execute it using the eval function.
[Gootloader](https://attack.mitre.org/software/S1138) can use an encoded PowerShell stager to write to the Registry for persistence.(Citation: Sophos Gootloader)(Citation: SentinelOne Gootloader June 2021)
MITRE Technique Names: ... Windows Command Shell
MITRE Technique Names: ... Visual Basic
One of the malicious PHP scripts the attackers add to the website is a simple PHP command shell... The attackers perform an HTTPS POST request with a base64-encoded string of commands, which the WordPress installation will then execute
[Gootloader](https://attack.mitre.org/software/S1138) can execute a Javascript file for initial infection.(Citation: Sophos Gootloader)(Citation: SentinelOne Gootloader June 2021)
Gootloader payloads run as PowerShell templates or commands, call Windows memory, thread, process, and section APIs directly, use WMI for process creation and access testing, and start and then delete remote services.
When the link is clicked, Gootloader is downloaded, and if the victim attempts to open the so-called “document,” they will actually execute Gootloader
[Gootloader](https://attack.mitre.org/software/S1138) has been executed through malicious links presented to users as internet search results.(Citation: Sophos Gootloader)(Citation: SentinelOne Gootloader June 2021)
Search result leads to a JavaScript download run by Windows Script Host
Remote services created for execution then deleted
Persistence
9 techniques
Persistence
Examples include APT3 placing scripts in the startup folder, APT32 using Run keys to execute PowerShell and VBS scripts, TA2541 placing VBS files in the Startup folder, TeamTNT adding batch scripts to the startup folder, and Smoke Loader adding a script in the Startup folder to deploy the payload.
In some cases, we have observed the scheduled task is created as a persistence mechanism to decode the registry values
GootLoader has been observed to create scheduled tasks and registry keys for persistence.
Gootloader moves laterally with supplied credentials over WinRM, WMI, and SMB.
eSentire’s Security Operations Center (SOC) observed malicious code being written to the Windows Registry – a common, fileless malware tactic.
At this point we didn’t know exactly how the sites are compromised, but we knew from the report that malicious PHP code is somehow inserted into the WordPress installation.
Gootloader maintains persistence on a blog, by adding PHP code to various files, typically in the themes directory, but have also seen it in the plugins directory. | Additionally, stored in the “wp_options” table, is base64 encoded PHP code is stored, this combination allows them to remotely run PHP code.
[Gootloader](https://attack.mitre.org/software/S1138) can create an autorun entry for a PowerShell script to run at reboot.(Citation: Sophos Gootloader)
MITRE Technique Names: ... Shortcut Modification
Privilege Escalation
10 techniques
Privilege Escalation
Examples include APT3 placing scripts in the startup folder, APT32 using Run keys to execute PowerShell and VBS scripts, TA2541 placing VBS files in the Startup folder, TeamTNT adding batch scripts to the startup folder, and Smoke Loader adding a script in the Startup folder to deploy the payload.
In some cases, we have observed the scheduled task is created as a persistence mechanism to decode the registry values
GootLoader has been observed to create scheduled tasks and registry keys for persistence.
It patches AmsiScanBuffer to blind the Antimalware Scan Interface (AMSI), loads managed payloads in memory with Assembly.Load, injects into and hollows out other processes, and deletes its temporary scripts, services, and UAC artifacts afterward.
[Gootloader](https://attack.mitre.org/software/S1138) can use its own PE loader to execute payloads in memory.(Citation: Sophos Gootloader)
[Gootloader](https://attack.mitre.org/software/S1138) can inject its Delphi executable into ImagingDevices.exe using a process hollowing technique.(Citation: Sophos Gootloader)(Citation: SentinelOne Gootloader June 2021)
Gootloader moves laterally with supplied credentials over WinRM, WMI, and SMB.
[Gootloader](https://attack.mitre.org/software/S1138) can create an autorun entry for a PowerShell script to run at reboot.(Citation: Sophos Gootloader)
MITRE Technique Names: ... Shortcut Modification
a copy of easinvoker.exe in a mock C:\Windows path with a trailing space, a DLL written next to it, and side-loading of that DLL by the auto-elevated executable
Stealth
20 techniques
Stealth
The [Gootloader](https://attack.mitre.org/software/S1138) first stage script is obfuscated using random alpha numeric strings.(Citation: Sophos Gootloader)(Citation: SentinelOne Gootloader June 2021)
A string analysis of the dropped file was not useful in identifying its intent, as the JavaScript was heavily obfuscated... The decoder also identified various malicious domain names within the obfuscated strings.
rule Gootloader_JavaScript_infector ... strings: $a1 ... $a2 ... $a3 ... $a4 ...
eSentire’s Security Operations Center (SOC) observed malicious code being written to the Windows Registry – a common, fileless malware tactic.
One of the top search results is a web page, made to look like a forum question/answer (Q/A) page, that references a link to a sample agreement for PAs working in California.
Gootloader bypasses User Account Control (UAC) by building a mock trusted directory, a fake C:\Windows path with a trailing space, and running an auto-elevated executable from it.
T1036.005 [[URL_cf183a35_68]] – Masquerading: Match Legitimate Resource Name or Location, or T1036.006 [[URL_cf183a35_69]] – Masquerading: Space after Filename
It patches AmsiScanBuffer to blind the Antimalware Scan Interface (AMSI), loads managed payloads in memory with Assembly.Load, injects into and hollows out other processes, and deletes its temporary scripts, services, and UAC artifacts afterward.
[Gootloader](https://attack.mitre.org/software/S1138) can use its own PE loader to execute payloads in memory.(Citation: Sophos Gootloader)
[Gootloader](https://attack.mitre.org/software/S1138) can inject its Delphi executable into ImagingDevices.exe using a process hollowing technique.(Citation: Sophos Gootloader)(Citation: SentinelOne Gootloader June 2021)
transient remote-service installations shortly followed by service deletion, alongside removal of temporary scripts and UAC artifacts
Gootloader moves laterally with supplied credentials over WinRM, WMI, and SMB.
[Gootloader](https://attack.mitre.org/software/S1138) has the ability to decode and decrypt malicious payloads prior to execution.(Citation: Sophos Gootloader)(Citation: SentinelOne Gootloader June 2021)
MITRE Technique Names: ... System Binary Proxy Execution
MITRE Technique Names: ... Rundll32
$a5 = /;WScript\.Sleep\([\d]{4,10}\);/
The script checks if the infected host is a part of the Active Directory domain by using the environment variable %USERDNSDOMAIN%
[Gootloader](https://attack.mitre.org/software/S1138) can designate a sleep period of more than 22 seconds between stages of infection.(Citation: Sophos Gootloader)
None of these links will appear when you browse to the page, but search engines index them
script blocks containing Invoke-Expression, Assembly.Load, base64 or deflate-decoded payloads reconstructed at runtime, or remote command download
Defense Impairment
2 techniques
Defense Impairment
eSentire’s Security Operations Center (SOC) observed malicious code being written to the Windows Registry – a common, fileless malware tactic.
AmsiScanBuffer patching in memory before script execution
Credential Access
5 techniques
Credential Access
reg save of HKLM\SAM and SYSTEM and export of the SECURITY hive
reg save of HKLM\SAM and SYSTEM and export of the SECURITY hive
Gootloader now creates a custom hotkey combination (Ctrl + Alt + [a single letter]) that can manually trigger the secondary LNK. During initial infection, the malware simulates those keystrokes itself to kick off execution.
$d = array("i" => serialize($_SERVER["REMOTE_ADDR"]), "u" => serialize($_SERVER["HTTP_USER_AGENT"]), "h" => serialize($_SERVER["HTTP_HOST"]), "c" => serialize($_COOKIE), "g" => serialize($_GET), "p" => serialize($_POST));
Kerberoasting and registry hive dumps harvest credentials
Discovery
16 techniques
Discovery
[Gootloader](https://attack.mitre.org/software/S1138) can use an embedded script to check the IP address of potential victims visiting compromised websites.(Citation: SentinelOne Gootloader June 2021)
Gootloader enumerates Active Directory accounts, SPNs, groups, SIDs, and computers, uses SharpHound to map domain trusts, tests TCP ports 445 and 5985 across discovered hosts, and collects process, OS, network, and user context from each endpoint.
Gootloader enumerates Active Directory accounts, SPNs, groups, SIDs, and computers, uses SharpHound to map domain trusts, tests TCP ports 445 and 5985 across discovered hosts, and collects process, OS, network, and user context from each endpoint.
Gootloader enumerates Active Directory accounts, SPNs, groups, SIDs, and computers, uses SharpHound to map domain trusts, tests TCP ports 445 and 5985 across discovered hosts, and collects process, OS, network, and user context from each endpoint.
Gootloader enumerates Active Directory accounts, SPNs, groups, SIDs, and computers, uses SharpHound to map domain trusts, tests TCP ports 445 and 5985 across discovered hosts, and collects process, OS, network, and user context from each endpoint.
[Gootloader](https://attack.mitre.org/software/S1138) can determine if a targeted system is part of an Active Directory domain by expanding the %USERDNSDOMAIN% environment variable.(Citation: SentinelOne Gootloader June 2021)
[Gootloader](https://attack.mitre.org/software/S1138) can inspect the User-Agent string in GET request header information to determine the operating system of targeted systems.(Citation: Sophos Gootloader)
The script retrieves the list of applications under the Desktop folder of the infected user...
Gootloader enumerates Active Directory accounts, SPNs, groups, SIDs, and computers, uses SharpHound to map domain trusts, tests TCP ports 445 and 5985 across discovered hosts, and collects process, OS, network, and user context from each endpoint.
The script retrieves... the drives that has 50 MB free space or greater.
Gootloader enumerates Active Directory accounts, SPNs, groups, SIDs, and computers, uses SharpHound to map domain trusts, tests TCP ports 445 and 5985 across discovered hosts, and collects process, OS, network, and user context from each endpoint.
$a5 = /;WScript\.Sleep\([\d]{4,10}\);/
The script checks if the infected host is a part of the Active Directory domain by using the environment variable %USERDNSDOMAIN%
[Gootloader](https://attack.mitre.org/software/S1138) can designate a sleep period of more than 22 seconds between stages of infection.(Citation: Sophos Gootloader)
[Gootloader](https://attack.mitre.org/software/S1138) can use IP geolocation to determine if the person browsing to a compromised site is within a targeted territory such as the US, Canada, Germany, and South Korea.(Citation: SentinelOne Gootloader June 2021)
[Gootloader](https://attack.mitre.org/software/S1138) can determine if a victim's computer is running an operating system with specific language preferences.(Citation: Sophos Gootloader)
Lateral Movement
3 techniques
Lateral Movement
admin-share access (5140, 5145) to C$ staging, correlated with Invoke-Command over TCP 5985 and NTLM-hash SMB authentication
Stolen credentials drive WinRM, WMI and SMB movement
It runs Invoke-Command over Windows Remote Management, stages files on C$ admin shares, and passes NTLM hashes directly for SMB authentication.
Collection
1 technique
Collection
Gootloader now creates a custom hotkey combination (Ctrl + Alt + [a single letter]) that can manually trigger the secondary LNK. During initial infection, the malware simulates those keystrokes itself to kick off execution.
Command and Control
10 techniques
Command and Control
This information was found inside of an infected WordPress’ wp-config.php file (de-obfuscated to be readable for all)
On top of that, the attacker has resilience over the C2 as 10 different compromised websites are configured for the specific analyzed GootLoader payload. MITRE Technique Fallback Channels
Indicators of Compromise ... jonathanbartz[.]com Command and Control
Gootloader receives tasking over HTTP and HTTPS GET and POST requests, transfers task content and bot code to endpoints, and uses a reverse multiplexed proxy for pivoting over a custom RC4-like and XOR-encrypted channel.
Reverse-multiplexed proxy C2 with uploads to a file-sharing service
[Gootloader](https://attack.mitre.org/software/S1138) can fetch second stage code from hardcoded web domains.(Citation: Sophos Gootloader)(Citation: SentinelOne Gootloader June 2021)
The gathered information then is base64-encoded and compressed to be sent out over POST requests...
[Gootloader](https://attack.mitre.org/software/S1138) can retrieve a Base64 encoded stager from C2.(Citation: SentinelOne Gootloader June 2021)
Beginning of 2024, Constantly changing download link ... sometime around the beginning of the year, the threat actor started changing the download URL very quickly. It seems like at times it is every minute.
Gootloader receives tasking over HTTP and HTTPS GET and POST requests, transfers task content and bot code to endpoints, and uses a reverse multiplexed proxy for pivoting over a custom RC4-like and XOR-encrypted channel. Web traffic may also use TLS.
Exfiltration
3 techniques
Exfiltration
Gootloader can send selected data through its configured command and control (C2) path, with an alternate upload route through the file-sharing service bashupload.com.
FakeNet showed various domain names being reached out to with GET /xmlrpc.php HTTP/1.1 requests via Powershell.exe. The requests contained Base64-encoded cookies... showing enumeration information regarding device directories and host information.
outbound uploads to bashupload.com as an alternate transfer path
Observables
321 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
200 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.