Skip to main content
Mallory
← Back to News
offensive-tooling-releasepayload-delivery-evasionloader-delivery-mechanismdefense-evasion-method

Ezuri ELF Crypter Unpacker Exposes Linux Malware Payloads

Attack Tradecraft · 5 sources · Updated 4mo ago · First seen Jul 28, 2021

Ezuri ELF Crypter Unpacker Exposes Linux Malware Payloads

Researchers and developers published details and tooling that expose how the Ezuri ELF crypter conceals Linux malware in memory and how packed payloads can be recovered. Analysis cited from AT&T Alien Labs described malware using the Ezuri memory loader, which encrypts payloads with AES in CFB mode, stores the key and IV inside the binary, and then decrypts and executes the payload from memory using memfd_create to reduce on-disk artifacts.

A public GitHub project, ezuri_unpack, was released to automate extraction of payloads from Ezuri-packed binaries. The tool is presented as a simple Go-based unpacker built from prior reverse-engineering work and was reportedly tested against a packed Linux.Cephei sample referenced in the Alien Labs research, giving defenders and analysts a practical way to inspect malware hidden by the Ezuri loader.

Why it matters

Impact assessment

Ezuri primarily affects Linux environments where defenders rely on static or file-based malware detection, especially cloud, container, and server workloads. The impact is significant because the loader materially reduces antivirus visibility by decrypting payloads in memory and avoiding disk artifacts, enabling malware delivery, credential theft, cryptomining, and follow-on compromise.

Exposure is not limited to a single campaign: public tooling and prior reporting show multiple threat actors have used Ezuri, including TeamTnT, and researchers observed substantial detection evasion in the wild. Known incidents include Ezuri-wrapped TeamTnT and Black-T samples targeting exposed Docker APIs and cloud-hosted Linux systems.

Supporting facts

  • Affected platforms: Linux ELF systems, especially cloud and containerized workloads.
  • Affected user populations: organizations operating exposed Docker daemons, Linux servers, and cloud instances.
  • Malware outcomes tied to Ezuri-packed payloads include cryptomining, network scanning, AWS credential theft, shell history and SSH key collection, and password scraping from memory.
  • AT&T Alien Labs reported malware samples that were previously detected by about 50% of antivirus engines dropped to zero detections when packed with Ezuri at the time of research.
  • BleepingComputer reported an Ezuri-packed sample with less than 5% VirusTotal detection.
  • TeamTnT was identified as a threat actor using Ezuri-packed malware.
  • Unit 42 reported Black-T targeting exposed Docker daemon APIs to deploy Monero mining and steal credentials/data.
  • Scope is broader than a single sample because Ezuri is open source and public unpacking tooling now lowers analysis barriers for defenders and adversaries alike.
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.

4 events · Apr 26, 2019 – Jul 28, 2021
  1. Jul 28, 20215y ago

    f0wl publishes ezuri_unpack GitHub repository

    A GitHub repository named "ezuri_unpack" was published as a simple unpacking script for the Ezuri ELF Crypter, based on the prior AT&T Alien Labs analysis and tested against a packed Linux.Cephei sample.

    GitHub - f0wl/ezuri_unpack: Simple unpacking script for Ezuri ELF Crypter · GitHub
  2. Reported Jul 28, 20215y ago

    AT&T Alien Labs publishes analysis of malware using Ezuri loader

    AT&T Alien Labs researchers Ofer Caspi and Fernando Martinez published analysis of malware using the Ezuri memory loader, documenting that Ezuri-packed payloads use AES-CFB encryption, store the key and IV in the binary, and decrypt and execute payloads via memfd_create.

    GitHub - f0wl/ezuri_unpack: Simple unpacking script for Ezuri ELF Crypter · GitHub
  3. Oct 5, 20206y ago

    Unit 42 documents TeamTNT Black-T cryptojacker using ELF miner

    Palo Alto Networks Unit 42 published analysis of TeamTNT's Black-T cryptojacking variant targeting exposed Docker APIs, detailing its worm-like propagation, credential theft, and use of Linux memory password scraping tools. The report also identified deployment of an ELF Monero miner named sbin_u and noted TeamTNT's first observed use of zgrab and memory scraping in its tradecraft.

    Black-T: New Cryptojacking Variant from TeamTNT
  4. Apr 26, 20198y ago

    Ezuri GitHub repository exists publicly

    The GitHub repository for Ezuri, described as a simple Linux ELF runtime crypter and memory-loading utility, was publicly present by at least April 26, 2019 based on initial commit timestamps shown in the repository. The project includes source code and build instructions for creating the Ezuri loader.

    GitHub - guitmz/ezuri: A Simple Linux ELF Runtime Crypter · 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

51 linked

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