Skip to main content
Mallory
← Back to News
loader-delivery-mechanismsearch-ad-manipulationdetection-content-updatecommand-and-control-method

GootLoader JavaScript Malware Evolves as Researchers Update Decoders and C2 Extraction Tools

Malware Intelligence · 4 sources · Updated 3mo ago · First seen Dec 30, 2023

GootLoader JavaScript Malware Evolves as Researchers Update Decoders and C2 Extraction Tools

Researchers documented ongoing changes in GootLoader, a JavaScript-based initial-access malware family that infects Windows systems and is frequently linked to follow-on compromise with Cobalt Strike and ransomware. The malware is commonly distributed through SEO poisoning on compromised WordPress sites, where victims searching for agreement, contract, or form-related terms are redirected to fake forum pages and lured into downloading ZIP archives containing malicious JavaScript. When executed, the script establishes persistence with a scheduled task and uses PowerShell to beacon system information to multiple domains while awaiting additional payloads.

Analysis of newer samples showed that GootLoader altered its obfuscation and code-rearrangement logic, breaking earlier indicator-extraction workflows that relied on a single statement pattern. Researchers updated decoder logic to capture several interdependent statements, merge extracted fragments, and preserve compatibility with older variants, while separate tooling was published to statically unpack three- and six-layer GootLoader scripts and extract command-and-control data without executing the malware. The combined work highlights an active malware ecosystem in which defenders must continuously adapt detection and IOC extraction methods as GootLoader changes its JavaScript structure and delivery tradecraft.

Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Feb 25, 2021 – Dec 30, 2023
  1. Dec 30, 20233y ago

    Static GootLoader unpacker and C2 extractor published on GitHub

    A GitHub repository published a static GootLoader JavaScript unpacker and C2 extractor that uses AST manipulation with Babel and avoids executing malware code. The tool supports samples with three or six layers and includes sample hashes, example output, and a C2 list for analysis.

    hedgehog-tools/gootloader at main · struppigel/hedgehog-tools · GitHub
  2. Jan 5, 20234y ago

    GootLoader infection chain and post-exploitation behavior documented

    A public write-up described GootLoader as an initial-access malware service spread through SEO poisoning on compromised WordPress blogs. It detailed the infection flow from poisoned search results to a ZIP-delivered JavaScript payload that creates persistence, contacts 10 domains, and often leads to Cobalt Strike or ransomware activity.

    What is GootLoader? - ⌛☃❀✵Gootloader Details ✵❀☃⌛
  3. May 4, 20225y ago

    HP researchers update decoder for new GootLoader variant

    HP Wolf Security researchers found that changes in a newer GootLoader JavaScript sample broke their existing IOC extraction logic. They adjusted the regex pattern and added logic to merge multiple code-rearrangement statements, restoring decoding and IOC extraction for the new variant while keeping compatibility with older samples.

    Tips for Automating IOC Extraction from GootLoader, a Changing JavaScript Malware | HP Wolf Security
  4. Feb 25, 20216y ago

    SophosLabs publishes GootLoader YARA detection rule

    SophosLabs published a YARA rule named "Gootloader_JavaScript_infector" for detecting GootLoader JavaScript malware. The rule, authored by Gabor Szappanos, used five regex-based string patterns and required all of them to match.

    IoCs/Troj-gootloader.yara at master · sophoslabs/IoCs · GitHub
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Observables

19 linked

Indicator values are masked on this page. View all 19 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.