Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

IoT/Embedded Security //

Command and Control

2/9/2018
09:30 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Forcepoint Finds New Malware Hiding in PoS Machines

The malware, which resembles a LogMeIn service pack, can capture data from credit cards and then reproduce the card or other information. However, Forcepoint believes this strain of malware is still under development.

Forcepoint researchers have found a new strain of Point of Sale (PoS) malware that hides its activities by mimicking the traffic generated by a legitimate remote login service that is used to manage PCs and other systems.

The PoS strain has no connection to the LogMeIn service, which is only used as a decoy, according to research published by Robert Neumann and Luke Somerville on February 8.

Named UDPoS by the Forcepoint team, the malware appears to be a LogMeIn service pack which generated notable amounts of "unusual" DNS requests. This UDP-based DNS traffic is why the strain has that moniker.

PoS malware is looking for the information present in magnetic stripes on a credit card, usually aggregating them until they are sent to a command-and-control (C&C) server. This information may be used to duplicate the card, or perform other types of financial skullduggery.

Forcepoint found that the malware, which shows up as logmeinumon.exe, would link to a C&C server that was hosted in Switzerland. It contained a dropper program, as well as self-extracting archives that would extract content to temp directories on the victim hardware.

A LogMeInUpdService directory is first created along with a system service that will enable persistence once created.

The nasty work continues with the creation of a system monitor that has almost the identical structure of the LogMeIn service component. This monitor directs the malware activity in the next stages.

The Forcepoint researchers were struck by how well the fake acted like a legitimate component:

It's compiled by the same Visual Studio build and uses the same string encoding technique: both executables contain only a few identifiable plain-text strings, and instead use a basic encryption and encoding method to hide strings such as the C2 server, filenames, and hard-coded process names.

These techniques make it rather hard to differentiate the two.

The monitor component is a multi-threaded application -- despite its small 88kB size -- creating five different threads after its initialization code is completed. It also carries out anti-AV and anti-VM activity.

During its first run, the malware will run DNS query on the C2 address that is embedded in the code. It also finds out the external IP address of the infected machine using an HTTP GET request.

It will then make a batch file, which will hold the fingerprint of the infected machine. This batch file will have within it the network, system, route and process related information. This data is written to a local file called PCi.jpg and sent to the C2 server via DNS.

The malware will then communicate from this point via one of five DNS messages.

Forcepoint researchers believe that this malware strain remains under development. Writing to disk rather than keeping things in-memory, while leaving traces, and the methods of fingerprinting and data collection do not seem optimized. Yet, these techniques are serviceable and functional.

Consumers may not be able to help in mitigation, since the PoS does not run on their own personal hardware. Keeping aware of their credit card activity may show an outbreak after it happens, but the merchant must also keep an eye on their machines as well.

Related posts:

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/3/2020
Pen Testers Who Got Arrested Doing Their Jobs Tell All
Kelly Jackson Higgins, Executive Editor at Dark Reading,  8/5/2020
New 'Nanodegree' Program Provides Hands-On Cybersecurity Training
Nicole Ferraro, Contributing Writer,  8/3/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Changing Face of Threat Intelligence
The Changing Face of Threat Intelligence
This special report takes a look at how enterprises are using threat intelligence, as well as emerging best practices for integrating threat intel into security operations and incident response. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-15820
PUBLISHED: 2020-08-08
In JetBrains YouTrack before 2020.2.6881, the markdown parser could disclose hidden file existence.
CVE-2020-15821
PUBLISHED: 2020-08-08
In JetBrains YouTrack before 2020.2.6881, a user without permission is able to create an article draft.
CVE-2020-15823
PUBLISHED: 2020-08-08
JetBrains YouTrack before 2020.2.8873 is vulnerable to SSRF in the Workflow component.
CVE-2020-15824
PUBLISHED: 2020-08-08
In JetBrains Kotlin before 1.4.0, there is a script-cache privilege escalation vulnerability due to kotlin-main-kts cached scripts in the system temp directory, which is shared by all users by default.
CVE-2020-15825
PUBLISHED: 2020-08-08
In JetBrains TeamCity before 2020.1, users with the Modify Group permission can elevate other users' privileges.