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 into a delivery platform for additional malware and ransomware precursors. Its operators are tracked as Storm-0494, UNC2565, and Hive0127 and sell or transfer access to compromised organizations. Campaigns affect multiple sectors, with a particular focus on U.S. legal professionals searching for contracts, agreements, templates, and jurisdiction-specific legal information.
Distribution relies on search engine optimization poisoning and compromised legitimate websites, particularly WordPress installations. Attackers manipulate low-competition search results using injected content, hidden keywords, and backlinks. Deceptive forum-style or document-download pages offer archives containing malicious JavaScript. Traffic distribution infrastructure selectively serves malicious content according to visitor geography, referral information, cookies, and other attributes, helping conceal the operation from website owners and investigators.
Opening the downloaded script initiates execution through Windows Script Host, followed by staged PowerShell execution and additional payload loading. Documented infection chains use obfuscation, runtime payload reconstruction, scheduled-task persistence, registry-resident payloads, and in-memory execution. GootLoader-associated intrusions have also involved AMSI impairment and process injection. Follow-on operators conduct credential theft, Active Directory reconnaissance, lateral movement, and data exfiltration; these activities are not necessarily capabilities of the loader itself. Access handoffs to Vanilla Tempest have been associated with Rhysida ransomware, and GootLoader infections have also delivered Cobalt Strike and OysterLoader. Its infrastructure has been disrupted through Operation Endgame.
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.
Encoded PowerShell reconstructs a payload and loads it in memory
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)
CreateRemoteThread or remote-thread injection into a suspended process image, and process-access patterns consistent with hollowing
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)
CreateRemoteThread or remote-thread injection into a suspended process image, and process-access patterns consistent with hollowing
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 uses randomized names, string substitution, and Base64, gzip, or raw deflate encoding, then reconstructs payloads at runtime.
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 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 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.
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 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.
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
272 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.