Ezuri Loader
Created in 2018, Ezuri is a payload encryption and loading tool available on Github. Despite its author claiming it is only used for penetration testing, it has been used in several crypto mining and DDoS campaigns as a first-stage implant to avoid detection.
Summary
Created in 2018, Ezuri is a payload encryption and loading tool available on Github. Despite its author claiming it is only used for penetration testing, it has been used in several crypto mining and DDoS campaigns as a first-stage implant to avoid detection.
Affected platforms
The following platforms are known to be affected:
Threat details
Introduction
Created in 2018, Ezuri is a Go-based combined crypter and loader able to execute payloads discretely in both Windows and Linux environments.
Whilst Ezuri's author apparently intends for the tool to be used for legitimate purposes, a number of ongoing malware campaigns have been observed using the loader as a first stage. Most notably, the TeamTNT advanced persistent threat group are using it in an ongoing crypto mining campaign.
Delivery
As Ezuri is used as a first-stage in larger campaigns, it is delivered in any manner campaign operators wish.
Activities
When creating payloads for delivery, Ezuri asks for both an intended file path as well as an AES key to encrypt the payload within itself. If no key is provided it will generate one itself.
Upon delivery, Ezuri will - either immediately or after an operator-defined period of time - decrypt it's internal payload before loading the binary directly into memory using process-hollowing.
Remediation advice
To prevent and detect an infection, NHS Digital advises that:
- Secure configurations are applied to all devices.
- Security updates are applied at the earliest opportunity.
- Tamper protection settings in security products are enabled where available.
- Obsolete platforms are segregated from the rest of the network.
- IT usage policies are reinforced by regular training to ensure all users know not to open unsolicited links or attachments.
- Multi-factor authentication (MFA) and lockout policies are used where practicable, especially for administrative accounts.
- Administrative accounts are only used for necessary purposes.
- Remote administration services use strongly encrypted protocols and only accept connections from authorised users or locations.
- Systems are continuously monitored, and unusual activity is investigated, so that a compromise of the network can be detected as early as possible.
Please note that NCSC maintains guidance for securely configuring a wide range of end user device (EUD) platforms. For further details refer to their end user device security guidance pages.
Indicators of compromise
Definitive source of threat updates
Last edited: 14 January 2021 3:19 pm