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

05:40 PM
Connect Directly

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
Newest First  |  Oldest First  |  Threaded View
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...
Ransomware Is Not the Problem
Adam Shostack, Consultant, Entrepreneur, Technologist, Game Designer,  6/9/2021
How Can I Test the Security of My Home-Office Employees' Routers?
John Bock, Senior Research Scientist,  6/7/2021
New Ransomware Group Claiming Connection to REvil Gang Surfaces
Jai Vijayan, Contributing Writer,  6/10/2021
Register for Dark Reading Newsletters
White Papers
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: Zero Trust doesn't have to break your budget!
Current Issue
The State of Cybersecurity Incident Response
In this report learn how enterprises are building their incident response teams and processes, how they research potential compromises, how they respond to new breaches, and what tools and processes they use to remediate problems and improve their cyber defenses for the future.
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
PUBLISHED: 2021-06-17
A local file inclusion vulnerability was discovered in the captcha function in Monstra 3.0.4 which allows remote attackers to execute arbitrary PHP code.
PUBLISHED: 2021-06-17
An Out-of-Bounds Read was discovered in arch/arm/mach-footbridge/personal-pci.c in the Linux kernel through 5.12.11 because of the lack of a check for a value that shouldn't be negative, e.g., access to element -2 of an array, aka CID-298a58e165e4.
PUBLISHED: 2021-06-17
Affected versions of Octopus Server are prone to an authenticated SQL injection vulnerability in the Events REST API because user supplied data in the API request isn’t parameterised correctly. Exploiting this vulnerability could allow unauthorised access to database tables.
PUBLISHED: 2021-06-17
Quassel through 0.13.1, when --require-ssl is enabled, launches without SSL or TLS support if a usable X.509 certificate is not found on the local system.
PUBLISHED: 2021-06-17
A use-after-free issue exists in the DGN file-reading procedure in the Drawings SDK (All versions prior to 2022.4) resulting from the lack of proper validation of user-supplied data. This can result in a memory corruption or arbitrary code execution, allowing attackers to cause a denial-of-service c...