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.

Threat Intelligence

5/31/2017
05:40 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
100%
0%

A Nation State-Looking Cyberattack that Wasn't

Symantec researchers uncover a cybercrime campaign with all the hallmarks of a state-sponsored campaign that didn't even make much money for the attackers.

Cybercriminals—like other criminals—have a penchant for going after low-hanging fruit. Few bother using sophisticated tools or exploits to break into systems if easier options are available.

It is rare therefore to find a malicious attacker taking the exact opposite approach, as security researchers at Symantec recently discovered when chasing down a targeted attack that was flagged by the company's automated notification system. The attack, on a Chinese automotive supplier's website, involved the use of surprisingly sophisticated tools and targeting and techniques for what Symantec later discovered were relatively meager gains.

"Going into this investigation, we thought there was a good chance this would be associated with a nation-state attacker," Symantec senior threat analyst Jon DiMaggio said in a blog. What the researchers uncovered instead was a campaign by a small parts shop in Moldova to steal and sell automotive diagnostic tools available legally for new at less than $1,100.

According to DiMaggio, Symantec's investigation started when the company's attack notification system discovered a custom keylogger along with two suspicious files back in March 2016. Symantec's analysis of the malware confirmed a new backdoor Trojan, which it dubbed Bachosens. The malware, once dropped on a system, created several files, which were designed to look like a legitimate Java application on the victim computer, in order to avoid detection.

One interesting aspect of the attack was the backdoor's use of a domain generation algorithm (DGA) to ensure that the command and control server with which it communicated would change based on the current date.

Attackers often use the DGA approach, instead of using a fixed IP address or domain, in order to make it harder for defenders to find and shut them down. Some malware can generate thousands of domains using their DGA. Bachosens itself though was designed to generate just 13 domains, DiMaggio said in the blog.

Black Hat USA returns to the fabulous Mandalay Bay in Las Vegas, Nevada, July 22-27, 2017. Click for information on the conference schedule and to register.

Symantec researchers had another surprise when looking into how the malware communicated with its command and control server. Unlike typical malware that use HTTP or HTTPS for communicating with a control server, Bachosens used DNS as the preferred communication method.

The author of the malware designed it to use DNS communications to establish contact with the C&C server. It then used the instructions encoded in the so-called AAAA response from the server to establish a covert communication channel between the victim computer and the C&C.

An AAAA is a 128-bit record type used by Domain Name Servers to communicate using IPv6 addresses, DiMaggio told Dark Reading. "Since this communication method is not intended for anything other than transmitting various records used to translate names to numbers, it is rare and a difficult task to use these records as a covert communication method to the adversary's infrastructure," he says.

Bachosens' use of encryption and DNS records for communicating with the attackers infrastructure made the traffic appear legitimate. "This shows the attacker was cognizant of how detection works and had the ability to code malware in a way that would be more complex and difficult to detect," DiMaggio says.  

The only other malware to use this type of covert communication was created by the NSA-affiliated Equation espionage group, he says.

The sophistication of the techniques initially led Symantec researchers to surmise they had discovered either a corporate espionage campaign, a financially motivated attack by an organized cybercrime gang, or a nation-state attacker with a sabotage motive.

Symantec's subsequent research, aided by some rookie mistakes on the part of the malware author, ultimately revealed that the campaign was instead targeted at stealing data about a relatively inexpensive handheld diagnostic device for automotive repair shops.

Related Content:

 

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
JulietteRizkallah
50%
50%
JulietteRizkallah,
User Rank: Ninja
6/6/2017 | 4:12:14 PM
Not an uncommon scenario
We will see more of these attacks coming from small "moms and pops" hacking operations. The reason? There is a vast market on the dark net that sells hacking tools to anyone. These tools are so easy to use, that one does not need to have any coding ability at all.  We saw trend this with DDoS attacks a few years back where it was as easy as copying/pasting a target url and click on "go". More recently we have seen ransomware tools for sale and so much more...
Commentary
How SolarWinds Busted Up Our Assumptions About Code Signing
Dr. Jethro Beekman, Technical Director,  3/3/2021
News
'ObliqueRAT' Now Hides Behind Images on Compromised Websites
Jai Vijayan, Contributing Writer,  3/2/2021
News
Attackers Turn Struggling Software Projects Into Trojan Horses
Robert Lemos, Contributing Writer,  2/26/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-27581
PUBLISHED: 2021-03-05
The Blog module in Kentico CMS 5.5 R2 build 5.5.3996 allows SQL injection via the tagname parameter.
CVE-2021-28042
PUBLISHED: 2021-03-05
Deutsche Post Mailoptimizer 4.3 before 2020-11-09 allows Directory Traversal via a crafted ZIP archive to the Upload feature or the MO Connect component. This can lead to remote code execution.
CVE-2021-28041
PUBLISHED: 2021-03-05
ssh-agent in OpenSSH before 8.5 has a double free that may be relevant in a few less-common scenarios, such as unconstrained agent-socket access on a legacy operating system, or the forwarding of an agent to an attacker-controlled host.
CVE-2021-3377
PUBLISHED: 2021-03-05
The npm package ansi_up converts ANSI escape codes into HTML. In ansi_up v4, ANSI escape codes can be used to create HTML hyperlinks. Due to insufficient URL sanitization, this feature is affected by a cross-site scripting (XSS) vulnerability. This issue is fixed in v5.0.0.
CVE-2021-3420
PUBLISHED: 2021-03-05
A flaw was found in newlib in versions prior to 4.0.0. Improper overflow validation in the memory allocation functions mEMALIGn, pvALLOc, nano_memalign, nano_valloc, nano_pvalloc could case an integer overflow, leading to an allocation of a small buffer and then to a heap-based buffer overflow.