Skip to main content
Mallory
← Back to News
command-and-control-methodthreat-infrastructure-trackingloader-delivery-mechanismpersistence-method

Ramnit Malware Used Blackhole Delivery and DGA-Based C2 Evasion

Attack Tradecraft · 2 sources · Updated 4mo ago · First seen Dec 21, 2014

Ramnit Malware Used Blackhole Delivery and DGA-Based C2 Evasion

Researchers documented Ramnit as a Zeus-like banking trojan, worm, and file infector that was distributed through the Blackhole exploit kit and equipped with rootkit capabilities, spam-sending functions, and aggressive persistence. Analysis of multiple samples showed the malware dropping several components, installing a fake "Mi cor soft Windows Service", injecting into svchost.exe, and in some cases infecting executable and HTML files by appending malicious code. One sample was tied more closely to botnet and spam activity, while another emphasized file infection, a combination that made reliable cleanup difficult and led researchers to recommend full system rebuilds rather than partial remediation.

The reporting also showed that Ramnit used resilient command-and-control methods, including communications over port 443 with a custom encoded protocol rather than SSL and large fallback domain lists to find active servers. Separate reverse engineering of the malware's domain generation algorithm (DGA) found that Ramnit generated variable-length .com domains using a simple linear congruential generator and multiple observed 32-bit seeds, including 0xEF214BBF, 0x28488EEA, 0x4BFCBC6A, and 0x79159C10. Investigators linked parts of the infrastructure to pharma spam operations, noted overlap with previously documented Ramnit C2 servers, and reported that while one command server had been sinkholed, other infrastructure remained active.

Why it matters

Impact assessment

Ramnit is a high-impact Windows malware family that combines banking trojan behavior, worm propagation, rootkit functionality, spam operations, and file infection. Affected organizations include enterprises and consumers running vulnerable Windows endpoints, especially those exposed to exploit-kit delivery, with elevated risk for credential theft, malware persistence, outbound abuse, and widespread host contamination.

The impact is severe because infected systems may suffer both data compromise and operational disruption, and file-infector behavior makes trustworthy remediation difficult. The reporting indicates active infrastructure and historical in-the-wild exploitation via the Blackhole exploit kit, with some command servers sinkholed but other infrastructure still active.

Supporting facts

  • Malware family: Ramnit.
  • Described as: Zeus-like banking trojan, worm, file infector, and rootkit-capable malware.
  • Delivery observed: Blackhole exploit kit using a lure page followed by a Java exploit on vulnerable systems.
  • User populations affected: Windows users exposed to exploit-kit traffic; downstream website visitors may also be exposed if infected HTML files are uploaded by compromised webmasters.
  • Business risks:
    • Credential theft and user spying.
    • Spam abuse over port 25.
    • Persistence and stealth via service installation and rootkit driver.
    • Broad host integrity loss due to executable and HTML infection.
  • Scope: Broadly reusable malware with botnet infrastructure and DGA-based resilience rather than a narrowly targeted campaign.
  • Exploitation status: Yes, the story describes active malware samples distributed in the wild and active C2 infrastructure.
  • Recovery complexity: Researchers recommended full system rebuilds for file-infector cases rather than partial cleanup.
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

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

7 events · 2010 – Dec 21, 2014
  1. Dec 21, 201412y ago

    Researcher publishes reverse engineering of Ramnit DGA

    A technical analysis reverse engineered Ramnit's domain generation algorithm, showing it used a linear congruential generator to create .com domains with 8 to 19 character second-level names. The report also published Python code to reproduce the DGA and identified multiple seeds observed in the wild.

    The DGA of Ramnit
  2. Apr 2014

    Ramnit begins using DGA seed 0x79159C10

    Reverse-engineering reported that Ramnit DGA seed 0x79159C10 was first used in April 2014. Samples using this seed were later observed on Malwr, VirusTotal, and in Sophos detections.

    The DGA of Ramnit
  3. 2013

    Ramnit DGA seed 0x4BFCBC6A appears

    Reverse-engineering indicated that Ramnit DGA seed 0x4BFCBC6A probably first appeared in early 2013. Sophos associated several Ramnit variants, including Ramnit-B and Ramnit-FS, with this seed.

    The DGA of Ramnit
  4. Mar 2012

    Ramnit begins using DGA seed 0x28488EEA

    Later reverse-engineering reported that Ramnit samples associated with DGA seed 0x28488EEA were first used in March 2012. Samples tied to this seed were seen on Malwr, SonicWall, Sophos, and Lavasoft.

    The DGA of Ramnit
  5. Jan 12, 201215y ago

    Contagio analyzes Ramnit samples distributed via Blackhole

    Analysis documented Ramnit samples being distributed through the Blackhole exploit kit rather than Facebook-themed lures. The report detailed persistence, rootkit behavior, spam activity, file infection, and command-and-control infrastructure, noting one C2 had been sinkholed while another remained active.

    contagio: Blackhole Ramnit - samples and analysis
  6. Jan 10, 201215y ago

    VirusTotal submission shows detection of infected Ramnit file

    A VirusTotal submission for the infected file VirusTotalUpload2.exe showed 37 of 43 antivirus engines detecting it. The sample was identified with MD5 25f6ee42d37e3f2f7dbe795e836d52e2.

    contagio: Blackhole Ramnit - samples and analysis
  7. 2010

    Ramnit malware family first observed

    Ramnit was first seen as a Zeus-like malware family used to spy on infected users. Later analysis described it as combining trojan, worm, file-infector, and rootkit capabilities.

    The DGA of Ramnit
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

132 linked

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

Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
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.