Skip to main content
Mallory
← Back to News
loader-delivery-mechanismcommand-and-control-methodphishing-campaign-intelligencedefense-evasion-method

BazarLoader Used .bazar DGA and Multi-Stage Loaders to Deliver Cobalt Strike

Malware Intelligence · 9 sources · Updated 4mo ago · First seen Jul 13, 2021

BazarLoader Used .bazar DGA and Multi-Stage Loaders to Deliver Cobalt Strike

Researchers detailed how BazarLoader evolved as an enterprise-focused malware loader tied to the TrickBot ecosystem, using the decentralized .bazar namespace on EmerDNS/OpenNIC for command-and-control and rotating algorithmically generated domains each month. Early variants generated 12-character domains and later shifted to 8-character patterns built from consonant-vowel pairs, expanding the monthly candidate pool from about 2,160 to 12,996 domains; one later variant contained a coding flaw that caused many summer-month domains to become invalid, disrupting parts of its own DGA-based infrastructure.

Separate reverse-engineering of BazarLoader’s infection chain showed the malware commonly arrived through phishing and malicious ISO files, where an LNK launched a DLL via rundll32.exe, unpacked shellcode, and exposed the final loader. The loader used anti-analysis checks, language-based execution filtering, dynamic API resolution, decoy traffic, cryptographic validation, and process hollowing, then fetched follow-on payloads from hard-coded HTTPS IPs or fallback .bazar domains to deliver tools such as Cobalt Strike and Conti ransomware.

Why it matters

Impact assessment

BazarLoader is an enterprise-focused initial access and payload delivery malware family associated with the TrickBot ecosystem. Affected organizations are primarily Windows-based enterprise environments exposed to phishing, malicious ISO/LNK execution, and follow-on tooling such as Cobalt Strike and Conti ransomware, creating high risk of credential theft, lateral movement, ransomware deployment, and major operational disruption.

The exposure is broad in delivery method but targeted in victim profile, with tradecraft clearly oriented toward corporate networks rather than commodity consumer infections. The reporting describes malware used in the wild and tied to real post-compromise activity, including Cobalt Strike delivery and ransomware enablement.

Supporting details

  • Affected platforms: Windows endpoints and enterprise user populations.
  • Primary victim entry points: phishing emails, OneDrive-hosted ISO downloads, malicious LNK/DLL execution.
  • Likely impacted sectors: any enterprise with email-exposed users and Windows workstation fleets; no single industry restriction is stated.
  • Severity: high due to remote payload execution, stealthy persistence/injection behavior, and downstream ransomware risk.
  • Operational impact: endpoint compromise, remote access establishment, process injection, and potential domain-wide intrusion.
  • Financial/reputational impact: elevated because BazarLoader commonly precedes Cobalt Strike operations and Conti ransomware deployment.
  • Scope: recurring malware family with multiple evolving variants, not a single isolated sample.
  • Exploitation status: yes, the references describe active malware samples and operational infrastructure used in the wild.
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.

13 events · Jun 2, 2020 – May 2022
  1. May 2022

    Analysis details BazarLoader final-stage payload retrieval

    A May 2022 analysis documented BazarLoader's final-stage behavior, including anti-analysis checks, decoy web traffic, RSA/SHA384-based payload handling, and fallback to OpenNIC DNS if hard-coded HTTPS IP C2s failed. The sample resolved .bazar domains including reddew28c.bazar, bluehail.bazar, and whitestorm9p.bazar before injecting payloads via process hollowing.

    BAZARLOADER: Analysing The Main Loader | 0ffset Training Solutions
  2. Apr 2022

    Analysis documents ISO-based BazarLoader infection chain

    An April 2022 reverse-engineering write-up described a BazarLoader delivery chain in which phishing emails led victims to download an ISO file, mount it, and execute Attachments.lnk, which launched documents.log via rundll32.exe. The analysis traced unpacking through shellcode to the final BazarLoader payload and documented its anti-analysis techniques.

    BAZARLOADER: Unpacking an ISO File Infection - 0ffset Training Solutions
  3. Jul 13, 20215y ago

    BazarLoader sample with flawed summer DGA compiled

    A BazarLoader sample later found to contain a faulty hard-coded permutation in its DGA was compiled on 2021-07-13, with the unpacked sample compiled on 2021-07-12. The bug caused invalid .bazar domain generation during summer months, especially July through September.

    A BazarLoader DGA that Breaks Down in the Summer
  4. Jul 2021

    Analysis reveals BazarLoader DGA breaks in summer months

    Research published in July 2021 showed that a non-bijective 228-byte permutation array left many domain-generation positions undefined. As a result, June domains were partly broken and July through September domains were mostly invalid, while October through May worked as intended.

    A BazarLoader DGA that Breaks Down in the Summer
  5. Reported Dec 10, 20206y ago

    VirusTotal records low detection for December 2020 BazarLoader

    VirusTotal detected the packed sample at 8/72 on 2020-12-11 and the unpacked payload at 4/75 on 2020-12-15. Vendor labels included Win64/Bazar.Y, Backdoor.Win32.Bazdor.co, and Trojan.Win64.BAZALOADER.SMYAAJ-A.

    Next Version of the Bazar Loader DGA
  6. Dec 10, 20206y ago

    December 2020 BazarLoader sample compiled

    An analyzed packed Bazar Loader sample tied to the new DGA was compiled on 2020-12-10, with its unpacked payload compiled on 2020-12-09. The sample used dynamic API loading, encrypted strings, and arithmetic-identity obfuscation also noted in Zloader.

    Next Version of the Bazar Loader DGA
  7. Dec 2020

    New BazarLoader DGA version appears with 8-character domains

    A new Bazar Loader DGA version appeared in December 2020 that still used the .bazar TLD but switched from 12-character to 8-character second-level domains. The revised algorithm generated domains from consonant-vowel character pairs and was capable of producing 12,996 possible domains per month.

    Next Version of the Bazar Loader DGA
  8. Jul 13, 20206y ago

    Cybereason publishes Bazar IOC report with delivery and C2 infrastructure

    A Cybereason report dated 2020-07-13 cataloged SHA-256 hashes spanning Team9/Bazar operational loaders, development backdoor versions, and operational backdoors. It also disclosed loader-serving domains, a serving IP, and multiple .bazar domains with associated IP infrastructure tied to the Bazar ecosystem.

    Cybereason Blog
  9. Jul 10, 20206y ago

    Low AV detection observed for July 2020 BazarLoader stages

    VirusTotal detections recorded on 2020-07-10 showed limited coverage for the analyzed BazarLoader chain: 23/76 for the initial sample, 10/75 for the unpacked second stage, and 3/76 for the injected executable. Microsoft and Rising classified the initial sample as TrickBot-related malware.

    The Domain Generation Algorithm of BazarLoader - A DGA based on the Emercoin TLD .bazar
  10. Jul 2020

    Research documents BazarLoader's .bazar DGA design

    Analysis published in July 2020 described how BazarLoader generated .bazar domains from constrained character sets and a seed derived from the current month and year. The write-up also noted five attacker-registered DGA domains tied to an Emercoin address and explained how XOR-decrypted DNS A records revealed the real C2 IP.

    The Domain Generation Algorithm of BazarLoader - A DGA based on the Emercoin TLD .bazar
  11. Jun 17, 20206y ago

    Buggy BazarLoader DGA sample compiled with invalid .bazaar domains

    A BazarLoader sample compiled on 2020-06-17 used a defective DGA that generated invalid domains ending in '.bazaar' and sometimes included illegal special characters in the second-level label. Later analysis attributed the flaw to signed-integer handling in random values produced via BCryptGenRandom, which broke domain generation and greatly expanded the monthly domain space.

    The Defective Domain Generation Algorithm of BazarLoader
  12. Jun 12, 20206y ago

    BazarLoader sample compiled with 12-character .bazar DGA

    A BazarLoader sample associated with TrickBot was compiled on 2020-06-12 and used a domain generation algorithm that produced 12-character .bazar command-and-control domains. Older samples had used hard-coded .bazar domains before this newer DGA-driven behavior.

    The Domain Generation Algorithm of BazarLoader - A DGA based on the Emercoin TLD .bazar
  13. Jun 2, 20206y ago

    Fox-IT publishes in-depth analysis of Team9/Bazar malware family

    A Fox-IT report published in June 2020 analyzed the Team9 malware family, also known as Bazar, and assessed that it was being developed by the group behind TrickBot. The write-up detailed early and later loader variants, the Team9 backdoor’s capabilities, and associated .bazar command-and-control infrastructure.

    In-depth analysis of the new Team9 malware family - Fox-IT International blog
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

157 linked

Indicator values are masked on this page. View all 157 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.