Skip to main content
Mallory
← Back to News
botnet-infrastructurecommand-and-control-methodinitial-access-methodpersistence-method

Necro Python Botnet Expanded Exploitation and Monero Mining Across Linux and Windows

Malware Intelligence · 7 sources · Updated 4mo ago · First seen May 22, 2021

Necro Python Botnet Expanded Exploitation and Monero Mining Across Linux and Windows

Researchers reported that the Necro botnet—also tracked as N3Cr0m0rPh, FreakOut, and Necromorph—rapidly evolved from an older Python malware family into an active cross-platform campaign targeting both Linux and Windows systems. Multiple reports tied the operation to exploitation of public-facing flaws including CVE-2020-28188, CVE-2021-3007, and CVE-2020-7961, with later variants adding more n-day exploits such as those affecting TerraMaster, Genexis, Xinuos OpenServer, Zeroshell, and Visual Tools DVR VX16 4.2.28.0. The malware also spread through SSH and Telnet brute forcing, and researchers observed infection volumes ranging from hundreds of confirmed download attempts to estimates in the tens of thousands of compromised hosts.

The botnet used IRC-based command and control, later strengthened with DGA-generated domains, Tor, SSL-encrypted communications, polymorphic code, and PyInstaller-packed binaries to improve resilience and execution. Once installed, Necro enabled DDoS attacks, reverse shells, persistence, traffic sniffing, ARP poisoning, lateral movement, file infection, and JavaScript injection, while monetizing access primarily through XMRig-based Monero mining and, in some cases, Tezos mining. Cisco Talos also observed a Windows user-mode rootkit and a one-off apparent ransomware delivery attempt, underscoring that the operators were actively adding new payloads and exploit paths as the campaign matured.

Why it matters

Impact assessment

Necro is a cross-platform botnet and cryptomining campaign affecting internet-exposed Linux and Windows systems, with emphasis on vulnerable public-facing applications, NAS devices, DVRs, vCenter servers, network appliances, and hosts reachable over SSH/Telnet/SMB. Impact is high because successful compromise enables persistent remote access, DDoS participation, traffic sniffing, lateral movement, web content infection, and XMRig-based Monero mining, with at least one observed ransomware delivery attempt and Windows rootkit deployment.

The exposure is broad rather than narrowly targeted: multiple reports describe opportunistic scanning, brute forcing, and rapid adoption of newly disclosed or older unpatched flaws, with infection estimates ranging from hundreds of confirmed download attempts to tens of thousands of compromised hosts. Exploitation in the wild is established across several campaigns from 2021 onward.

Affected populations

  • Organizations exposing VMware vCenter, Liferay Portal, TerraMaster TOS, Zend Framework/Laminas, Oracle WebLogic, VestaCP, OTRS, Genexis PLATINUM 4410, Xinuos/SCO OpenServer, Zeroshell, and Visual Tools DVR VX16 services to the internet
  • Linux server operators, especially web hosting and appliance administrators
  • Windows environments exposed via SMB or hosting infected payload execution paths
  • Users of compromised web servers, because Necro injects malicious JavaScript into hosted HTML/HTM/PHP/JS content

Severity and business risk

  • Operational disruption from DDoS bot enrollment and resource exhaustion due to XMRig mining
  • Security compromise from reverse shells, command execution, persistence, sniffing, ARP poisoning, and lateral movement
  • Reputational and downstream risk if infected web servers inject malicious JavaScript into client sessions
  • Elevated incident response complexity on Windows due to user-mode rootkit hiding files, processes, and registry entries

Scope and observed activity

  • Confirmed active exploitation of multiple public-facing vulnerabilities and brute-force propagation
  • Infection scale reported as hundreds of observed malware downloads and, in other reporting, tens of thousands of infected hosts
  • Campaign maturity increased over time with DGA, Tor, SSL, polymorphism, PyInstaller packaging, and expanded exploit coverage
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.

20 events · 2015 – Sep 2021
  1. Sep 2021

    Juniper detects renewed Necro activity with Visual Tools exploit

    Juniper Threat Labs detected renewed Necro activity in the last week of September 2021, including a new exploit for Visual Tools DVR VX16 4.2.28.0 that installed both the bot and an XMRig-based Monero miner.

    Necro Python Botnet Goes After Vulnerable VisualTools DVR
  2. Jul 2021

    Visual Tools DVR exploit PoC becomes public

    Juniper noted that a public proof of concept for the Visual Tools DVR VX16 exploit became available in July 2021.

    Necro Python Botnet Goes After Vulnerable VisualTools DVR
  3. May 22, 20216y ago

    Necro May 22 sample shifts SMB propagation method

    Talos found that a later May 22 sample dropped embedded EternalBlue and EternalRomance from the main exploit path and instead used credential-based remote service creation over port 445.

    Necro Python bot adds new exploits and Tezos mining to its bag of tricks
  4. May 18, 20216y ago

    Necro May 18 variant adds EternalBlue and EternalRomance

    Talos reported that a May 18 Necro variant embedded Python implementations of EternalBlue and EternalRomance for SMB-based propagation on Windows.

    Necro Python bot adds new exploits and Tezos mining to its bag of tricks
  5. May 9, 20216y ago

    Talos observes Tezos mining in honeypot samples

    Cisco Talos observed limited Tezos mining tied to wallet tz1NfDViBuZwi31WHwmJ4PtSsVtNX2yLnhG7 in some honeypot samples starting on May 9, 2021.

    Necro Python bot adds new exploits and Tezos mining to its bag of tricks
  6. May 2021

    Juniper says Necro expanded arsenal again in May

    Juniper stated that Necro had previously expanded its exploit arsenal again in May 2021.

    Necro Python Botnet Goes After Vulnerable VisualTools DVR
  7. May 2021

    Necro activity grows notably in May 2021

    Cisco Talos observed notable growth in Necro activity during May 2021 and analyzed newer variants that added multiple exploits, Windows rootkit functionality, and cryptocurrency mining features.

    Necro Python bot adds new exploits and Tezos mining to its bag of tricks
  8. Mar 18, 20216y ago

    360Netlab reports Necro upgrades for Windows and Linux

    A March 2021 360Netlab report documented another Necro upgrade, describing Tor use, dynamic-domain DGA, and targeting of both Windows and Linux systems.

    Necro upgrades again, using Tor + dynamic domain DGA and aiming at both Windows & Linux
  9. Mar 2021

    Necro expands exploit arsenal in March campaign

    Juniper said Necro had previously expanded its exploit arsenal in March 2021, marking another development stage in the botnet's propagation capabilities.

    Necro Python Botnet Goes After Vulnerable VisualTools DVR
  10. Reported Jan 22, 20216y ago

    Necro operators exploit CVE-2020-35665 before public disclosure

    360Netlab reported Necro exploiting CVE-2020-35665 eight days before the vulnerability was publicly disclosed on December 23, 2020, showing rapid operational use of the flaw.

    Necro is going to version 3 and using PyInstaller and DGA
  11. Jan 21, 20216y ago

    360Netlab reports Necro version 3 with DGA and PyInstaller

    360Netlab published analysis of Necro's newer Linux-focused variants, highlighting DGA-generated C2 domains, stronger obfuscation, PyInstaller ELF payloads, and XMRig delivery.

    Necro在频繁升级,新版本开始使用PyInstaller和DGA
  12. Jan 20, 20216y ago

    Necro version 3 changes DGA seeds and enables SSL

    360Netlab reported that on January 20, 2021, Necro version 3 changed its DGA seeds from 3 to 4096 and began encrypting communications with SSL.

    Necro is going to version 3 and using PyInstaller and DGA
  13. Jan 19, 20216y ago

    Check Point documents FreakOut exploitation campaign

    Check Point Research reported an active FreakOut botnet campaign exploiting CVE-2020-28188, CVE-2021-3007, and CVE-2020-7961 to deploy an IRC-controlled Python bot and, in later variants, XMRig miners.

    FreakOut - Leveraging Newest Vulnerabilities for creating a Botnet - Check Point Research
  14. Jan 8, 20216y ago

    First observed FreakOut download attempt for out.py

    Check Point observed the first attempt to download the out.py payload from gxbrowser[.]net as attackers exploited TerraMaster, Zend Framework, and Liferay servers.

    FreakOut - Leveraging Newest Vulnerabilities for creating a Botnet - Check Point Research
  15. Jan 4, 20216y ago

    Zend Framework CVE-2021-3007 publicly revealed

    360Netlab said CVE-2021-3007 was publicly revealed on January 4, 2021, shortly before Necro incorporated the vulnerability into its propagation arsenal.

    Necro is going to version 3 and using PyInstaller and DGA
  16. Jan 2021

    Juniper says Necro was first discovered

    Juniper Threat Labs stated that Necro was first discovered in January 2021.

    Necro Python Botnet Goes After Vulnerable VisualTools DVR
  17. Jan 1, 20216y ago

    Earlier FreakOut malware variant referenced January 1 update

    Check Point found an earlier malware variant containing comments and a calling card that referenced an update on January 1, 2021.

    FreakOut - Leveraging Newest Vulnerabilities for creating a Botnet - Check Point Research
  18. Jan 1, 20216y ago

    Necro variants observed targeting Linux from January 1

    360Netlab observed continuous new Necro variants from January 1, 2021 onward, including three Linux-targeting 2021 versions linked to the same operators.

    Necro is going to version 3 and using PyInstaller and DGA
  19. Nov 2020

    FreakOut infrastructure active on IRC server

    Check Point reported the botnet's IRC server had been running since late November 2020, with about 300 users and five channels at the time of observation.

    FreakOut - Leveraging Newest Vulnerabilities for creating a Botnet - Check Point Research
  20. 2015

    Necro botnet family first identified

    Researchers described Necro/N3Cr0m0rPh as a Python-based botnet family first discovered in 2015, with early samples targeting Windows systems.

    Necro is going to version 3 and using PyInstaller and DGA
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 →

Threat actors

2 linked

Affected products

2 linked
WindowsLinux

Observables

175 linked

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