New FASTCash malware Linux variant helps steal money from ATMs

Share:

North Korean hackers are using a new Linux variant of the FASTCash malware to infect the payment switch systems of financial institutions and perform unauthorized cash withdrawals.

Previous variants of FASTCash targeted Windows and IBM AIX (Unix) systems, but a new report by security researcher HaxRob reveals a previously undetected Linux version that targets Ubuntu 22.04 LTS distributions.

Money-stealing history

CISA first warned about the FASTCash ATM cash-out scheme in December 2018, attributing the activity to the state-backed North Korean hacking group known as ‘Hidden Cobra.’

According to the agency’s investigations, the threat actors have been using FASTCash in operations since at least 2016, stealing tens of millions of dollars per incident in simultaneous ATM withdrawal attacks in 30 countries or more.

In 2020, the U.S. Cyber Command highlighted the threat once again, linking the revived FASTCash 2.0 activity to APT38 (Lazarus).

A year later, indictments were announced for three North Koreans allegedly involved in these schemes, responsible for the theft of over $1.3 billion from financial institutes worldwide.

Cashing out from Linux

The newest variant spotted by HaxRob was first submitted to VirusTotal in June 2023 and features extensive operational similarities to previous Windows and AIX variants.

It comes in the form of a shared library that is injected into a running process on a payment switch server with the help of the ‘ptrace’ system call, hooking it into network functions.

These switches are intermediaries handling the communication between ATMs/PoS terminals and the bank’s central systems, routing transaction requests and responses.

The malware intercepts and manipulates ISO8583 transaction messages used in the financial industry for debit and credit card processing.

Specifically, the malware targets messages that concern declines of the transactions due to insufficient funds in the cardholder’s account and replaces the “decline” response with “approve.”

FASTCash operational overview
FASTCash operational overview
Source: doubleagent.net

The manipulated message also contains a random amount of money between 12,000 and 30,000 Turkish Lira ($350 – $875) to authorize the requested transaction.

Once the manipulated message is sent back to the bank’s central systems containing the approval codes (DE38, DE39) and the amount (DE54), the bank approves the transaction, and a money mule acting on behalf of the hackers withdraws the cash from an ATM.

As of its discovery, the Linux variant of FASTCash had no detections on VirusTotal, meaning it could evade most standard security tools, allowing the threat actors to perform transactions undeterred.

HaxRob also reports that a new Windows version was submitted on VT in September 2024, indicating that the hackers are actively working on evolving all the pieces of their toolset.

Bill Toulas

Leave a Comment

Your email address will not be published. Required fields are marked *

loader-image
London, GB
1:48 pm, Jun 26, 2025
weather icon 22°C
L: 21° | H: 24°
moderate rain
Humidity: 73 %
Pressure: 1011 mb
Wind: 14 mph SW
Wind Gust: 0 mph
UV Index: 0
Precipitation: 2.73 mm
Clouds: 75%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 4:44 am
Sunset: 9:21 pm
DailyHourly
Daily ForecastHourly Forecast
Today 10:00 pm
weather icon
21° | 24°°C 0 mm 0% 17 mph 62 % 1018 mb 0 mm/h
Tomorrow 10:00 pm
weather icon
17° | 28°°C 0 mm 0% 13 mph 61 % 1021 mb 0 mm/h
Sat Jun 28 10:00 pm
weather icon
17° | 28°°C 0.2 mm 20% 10 mph 88 % 1025 mb 0 mm/h
Sun Jun 29 10:00 pm
weather icon
19° | 32°°C 0 mm 0% 6 mph 82 % 1025 mb 0 mm/h
Mon Jun 30 10:00 pm
weather icon
21° | 34°°C 0.2 mm 20% 12 mph 59 % 1019 mb 0 mm/h
Today 4:00 pm
weather icon
22° | 23°°C 0 mm 0% 17 mph 62 % 1011 mb 0 mm/h
Today 7:00 pm
weather icon
22° | 22°°C 0 mm 0% 13 mph 47 % 1014 mb 0 mm/h
Today 10:00 pm
weather icon
17° | 17°°C 0 mm 0% 10 mph 47 % 1018 mb 0 mm/h
Tomorrow 1:00 am
weather icon
17° | 17°°C 0 mm 0% 8 mph 57 % 1020 mb 0 mm/h
Tomorrow 4:00 am
weather icon
17° | 17°°C 0 mm 0% 6 mph 61 % 1020 mb 0 mm/h
Tomorrow 7:00 am
weather icon
17° | 17°°C 0 mm 0% 8 mph 59 % 1021 mb 0 mm/h
Tomorrow 10:00 am
weather icon
22° | 22°°C 0 mm 0% 11 mph 52 % 1021 mb 0 mm/h
Tomorrow 1:00 pm
weather icon
26° | 26°°C 0 mm 0% 12 mph 46 % 1020 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€91,724.11
0.12%
Ethereum(ETH)
€2,093.00
0.94%
Tether(USDT)
€0.86
-0.02%
XRP(XRP)
€1.85
-1.21%
Solana(SOL)
€122.77
-1.70%
USDC(USDC)
€0.85
-0.01%
Dogecoin(DOGE)
€0.137910
-2.18%
Shiba Inu(SHIB)
€0.000009
-2.35%
Pepe(PEPE)
€0.000008
-6.76%
Scroll to Top