Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Cyberwarfare

New BlackPOS Malware Uses Custom Search Method to Find Card Data

A new variant of BlackPOS (Kaptoxa), a piece of RAM scraping malware designed to target point-of-sale (PoS) systems, has been spotted in the wild by researchers at Trend Micro.

A new variant of BlackPOS (Kaptoxa), a piece of RAM scraping malware designed to target point-of-sale (PoS) systems, has been spotted in the wild by researchers at Trend Micro.

It’s not surprising that new variants of BlackPOS keep emerging, considering that the source code for the malware was leaked online back in 2012. The threat is popular among cybercriminals and it is even believed to have been used in the 2013 attack against Target.

The new threat, detected by the security firm as TSPY_MEMLOG.A, is interesting for several reasons. One of them is that the malware attempts to avoid being detected by security solutions by disguising itself as antivirus software. Earlier versions hide their presence by creating services that mimic ones which are already installed.

“The malware can be run with options: -[start|stop|install|uninstall]. The –install option installs the malware with service name =<AV_Company> Framework Management Instrumentation, and the –uninstall option deletes the said service. The RAM scraping routine begins as a thread when the installed service starts. It may only start its main routine if it has successfully been registered as a service,” Trend Micro threat response engineer Rhena Inocencio wrote in a blog post.

Another new feature of TSPY_MEMLOG.A is that it uses a call to the CreateToolhelp32Snapshot API to list and iterate all running processes, unlike previous variants which leveraged the EnumProcesses API.

PoS malware typically uses regex search to check the RAM for payment card data, also known as “Track data.” However, this particular threat relies on a new custom search routine.

“It samples 0x20000h bytes [the 0x and h implies hex bytes] in each pass, and continues scanning till it has scanned the entire memory region of the process being inspected,” Inocencio explained.

Similar to the PoS malware dubbed vSkimmer, this BlackPOS variant doesn’t scan processes that don’t contain any track data, including taskmgr.exe, svchost.exe, winlogon.exe, wininit.exe, cfmon.exe, services.exe, firefox.exe and chrome.exe.

Advertisement. Scroll to continue reading.

Once track data is found, it is stored in a file named McTrayErrorLogging.dll and sent to a shared location within the network. This method is also used by the BlackPOS variant detected by Trend Micro as TSPY_POCARDL.AB, but TSPY_MEMLOG.A relies on a batch file (t.bat), not the “net” command, to transfer the harvested data to a specific location within the network, from where it is uploaded to a FTP server controlled by the attacker. This technique was also used in the cyberattack against Target.

Last month, the United States Secret Service revealed that the devices of more than 1,000 businesses had been infected with a piece of malware dubbed “Backoff,” which is believed to have also made its way onto the computer systems at several UPS Store locations.

Kaspersky Lab recently sinkholed some Backoff C&C servers and found that most victims are in the United States and Canada. The list includes a payroll association, a liquor store chain, a global freight shipping and transport logistics company, an ISP, and a firm that manages office buildings in California.

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Cyberwarfare

WASHINGTON - Cyberattacks are the most serious threat facing the United States, even more so than terrorism, according to American defense experts. Almost half...

Cyberwarfare

Russian espionage group Nomadic Octopus infiltrated a Tajikistani telecoms provider to spy on 18 entities, including government officials and public service infrastructures.

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

Cyberwarfare

Several hacker groups have joined in on the Israel-Hamas war that started over the weekend after the militant group launched a major attack.

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...