Powerful Point-of-Sale Malware “TreasureHunter ” Source Code Leaked Online

A  long-established Point-of-sale Malware TreasureHunter source code leaked online on Russian based underground forum.

Leaked source code including the malware’s graphical user interface builder and administrator panel.

This code will extremely helpful for cybercriminals to build their own Point-of-sale Malware and they can add their own future and controls.

TreasureHunter Malware initially discovered by SANS and it has been used as a mutex to evade detection and maintain its persistence.

Point-of-sale malware attack history impact has been extracted more than 100 million payment card by hackers that target around 2013,2014.

This availability of the source code will lead to developing another version of this malware by adding new function and attack vector will be increased rapidly.

This malware original developer belongs to Russia and he is very proficient in English mainly this malware appears to have been developed for the notorious underground shop dump seller “BearsInc,” who maintained a presence on various low-tier and mid-tier hacking and carding communities.

Malware Behaviour and Source Code Insights

TreasureHunter Malware Spawn many of other point-of-sale malware Functionality and it can maintain its persistence by creating a registry key that runs the malware at startup.

According to flashpoint, If an attacker has access to a Windows-based server and the point-of-sale terminal then it can able to enumerates running processes and scans device memory looking for track data, including primary account numbers (PANs), separators, service codes etc.

Later it connects to its command & control server and sends the stolen data to the attacker.

Source code of Point-of-Sale Malware

This source project internally called as trhutt34C and it was completely written in C but no  C++ future has been added and compiled originally in  Visual Studio 2013 on Windows XP.TreasureHunter

TreasureHunter source code

TreasureHunter Developers are keep increase the various advanced techniques such as including anti-debugging, code structure improvement, and gate communication logic.

TreasureHunter Malware using some of the key element to utilize the e stolen dump, such as unique machine information

typedef struct dumpsHolder {
TCHAR *lpFileName;
int lpFileNameLength;
int procID;
char *trackArr;
int trackArrLength;
} dumpsHolder;

It also using service codes to n scraping credit card track data also it modifying the Registry to perform auto start Process.

TreasureHunter Malware developer also provides a lot of hints to redesign the malware or improvement code snippets.


BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Recent Posts

Cryptojacking Campaign Infected Online Thesaurus With Over 5 Million Visitors

Students, authors, and anybody else wishing to improve their vocabulary and language abilities frequently utilize…

2 days ago

Gold Melody Attacking Organizations With Burp Extension, Mimikatz, and Other Tools

The financially motivated GOLD MELODY threat group has been active at least since 2017, attacking…

2 days ago

MOVEit Transfer SQL Injection Let the Attacker Gain Unauthorized Access to the Database

MOVEit transfer service pack has been discovered with three vulnerabilities associated with SQL injections (2)…

3 days ago

LUCR-3 Attacking Fortune 2000 Companies Using Victims’ Own Tools & Apps

A new financially motivated threat group named “LUCR-3” has been discovered targeting organizations to steal…

3 days ago

Is QakBot Malware Officially Dead?

Only a few malware families can claim to have persisted for nearly twenty years, and…

3 days ago

System Admin Pleads Guilty for Selling Pirated Business Phone Software Licenses

For taking part in a large international scheme to earn millions of dollars by selling pirated…

3 days ago