UNC2891 Hackers Exploit ATM Networks with Raspberry Pi-Based Attacks

Security researchers have uncovered a sophisticated campaign by the financially motivated group dubbed UNC2891, which leveraged physical access, custom malware, and advanced anti-forensic techniques to compromise banking infrastructure.

Central to their attack was the deployment of Raspberry Pi-based hardware, physically implanted within the network environment of an ATM switching system, a strategy designed to bypass traditional cyber defenses and maintain persistent access.

UNC2891 Hackers
UNC2891’s workflow.

Stealthy Physical Access

Investigators revealed that attackers gained discreet initial access by installing a Raspberry Pi device directly onto a network switch connected to ATM infrastructure.

Outfitted with a 4G modem, this device acted as an exfiltration pivot point, offering the adversaries an unobstructed out-of-band channel for remote access.

Harnessing dynamic DNS for their command-and-control infrastructure, UNC2891 orchestrated outbound communications from the internal network, thus evading perimeter firewalls and established security controls.

The intrusion remained undetected for a significant duration, largely due to an innovative anti-forensics methodology involving Linux bind mount abuse, an approach now formally documented in the MITRE ATT&CK framework as T1564.013.

Traditional forensic triage tools could not identify the presence of the malicious backdoor; process listings appeared clean, and no abnormal process IDs were correlated with the suspicious network activity.

It was only through meticulous memory and network forensics that analysts uncovered persistently beaconing sockets communicating every 600 seconds and repeated connection attempts on rarely used ports clues that indicated foul play even as routine process inspection yielded little.

UNC2891 Hackers
The forensic triage tool is unable to collect the relevant process name or ID associated with the socket.

Advanced Anti-Forensics

Further in-depth analysis, including live memory dumps, uncovered backdoor binaries masquerading under the guise of legitimate system processes.

The threat actors deployed executables named and parameterized to mimic “lightdm,” the popular Linux display manager, yet located in non-standard directories such as /tmp/lightdm and /var/snap/.snapd/lightdm.

These binaries, concealed through rootkit-like behaviors and the exploitation of bind mounts, maintained active connections both to the illicit Raspberry Pi equipment and to internal email servers.

The sophistication of the attack extended beyond technical deception. With the Network Monitoring Server serving as a highly privileged pivot point, UNC2891 was able to traverse laterally, gaining potential access across the entire data center.

Moreover, their persistent foothold within the internal Mail Server connected directly to the wider internet meant the adversaries retained access even after the physical device had been discovered and removed.

The campaign’s ultimate objective was the ATM switching server, aiming to inject a rootkit known as CAKETAP, which is designed to manipulate hardware security modules (HSMs) and facilitate fraudulent cash withdrawals through spoofed authorization messages.

However, timely investigation and disruption prevented the fulfillment of this phase. These findings mark an evolution in the armory of financially motivated cybercriminals, whose tactics now blend physical breach methods with advanced software evasion.

Security researchers caution that forensic triage based solely on disk and process scans is insufficient; memory forensics and continuous network monitoring are imperative for uncovering sophisticated threats leveraging obscure Linux features such as bind mounts.

Recommendations stress the necessity to proactively monitor filesystem mount activity, alert on execution from atypical paths, and enforce strict physical controls over networked infrastructure reminding the industry that both logical and physical vectors must be modeled and guarded against in any modern security posture.

Find this Story Interesting! Follow us on LinkedIn and X to Get More Instant Updates

Mandvi
Mandvi
Mandvi is a Security Reporter covering data breaches, malware, cyberattacks, data leaks, and more at Cyber Press.

Trending News

Related Stories