Reverse Engineering ClickFix Payload and EtherHiding C2
Score: 8/10

Reverse Engineering ClickFix Payload and EtherHiding C2

UNC5142 utilizes a Python-based RAT named DeviceManager, delivered via ClickFix campaigns, leveraging Ethereum smart contracts for resilient C2 infrastructure resolution and DNS for communication.

Executive Summary

Analysis of the ClickFix campaign reveals a sophisticated delivery mechanism where compromised WordPress sites lead to the execution of a Python-based Remote Access Trojan (RAT), identified by researchers as DeviceManager. The threat actor, UNC5142, employs a technique known as 'EtherHiding,' which uses Ethereum smart contracts as a decentralized and immutable configuration storage for locating command-and-control (C2) servers.

The DeviceManager RAT features robust capabilities, including host profiling, arbitrary command execution through PowerShell and Python, and a unique C2 communication method. The malware bypasses standard system DNS settings to send raw DNS-shaped UDP packets directly to attacker-controlled infrastructure, using 'microsoft.com' queries as camouflage. This methodology provides the attackers with a highly resilient and evasive interactive tasking channel.

This activity is a critical evolution in adversary infrastructure, combining decentralized finance (DeFi) technologies with traditional malware techniques to complicate takedown efforts. The use of blockchain creates a permanent audit trail for researchers but also ensures that the malware remains functional as long as public Ethereum RPC providers are accessible.

Key Details

Threat Name

DeviceManager RAT

Affects

—

Adversary

UNC5142

Malware/Tools

DeviceManager, ClickFix, CLEARSHORT, DOUBLECUP

Report Score

8out of 10
Quality Score
Good
IOC Quality9
TTP Details9
Detection Guidance6
Enterprise Relevance8
Clarity & Structure9
Technical Depth9

Sources