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.


09:45 AM
Larry Loeb
Larry Loeb
Larry Loeb

Who Built the 'Taj Mahal'?

While the sophistication of the malware suggests that it is the product of a nation-state, it bears none of the code fingerprints of any known nation-state hacker group.

A new piece of sophisticated malware has been made publicby researchers at Kaspersky. While the complexity and the sophistication of the malware suggest that it is the product of a nation-state, it bears none of the code fingerprints of any known nation-state hacker group.

Indeed, there are no code similarities between that which Kaspersky found -- named Taj Mahal -- with other known malware of any origin. That the entire code base used in the malware is novel is a big deal. One of the ways that analysts figure out where an attack originates is by comparing the code to that which has been seen before. With nothing to compare the code to, Taj Mahal keeps its origins secret.

The malware was found by Kaspersky in late 2018 to be targeting a single Central Asian diplomatic agency, which it will not name. It has two parts, or packages, named "Tokyo" and "Yokohama," which together contain 80 malicious plug-in modules. This is an extremely high number of modules, and the most that Kaspersky has ever seen in an APT tool.

Tokyo is the initial breaching malware and functions as a backdoor. It uses the standard PowerShell tool when it connects to a command-and-control server, and then plants the Yokohama payload spyware.

The sophistication of the malware is evident when file exfiltration is observed. If a USB drive is inserted into an victim's machine, TJ will scan the drive contents and uploads a list of them to the command-and-control server. The threat actors can then decide which files they want to exfiltrate.

But there is some really slick follow-up going on here. Say that the USB drive has been taken out of the machine by the time the actors have made up their mind. The malware can monitor the USB port for the same drive to exfiltrate that file, and send it to the command server the next time it appears. That is some fancy code work going on, making the malware even more dangerous.

The spyware has other modules that allow it to flag files that have been burned to a CD, or put into a printer queue. It can also take screenshots when recording VoiceIP app audio, as well as stealing Internet Explorer, Netscape Navigator, FireFox and RealNetworks cookies.

The stealth aspects of this malware are quite remarkable. The new code that is used is obvious (if it's never been seen before then you can't match signatures on it), as well as the behavioral detection avoidance. Target files are named randomly between reboots, as an another example. It helped the malware avoid detection from August 2013 until April 2018, based on the compile times found in some of the modules.

Kaspersky has published the malware's Indicators of Compromise.

Now that its cover has been blown, the security community may expect whoever is behind this will mount development of a new (and unknown) code base with the same purpose in mind.

— 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
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 9/25/2020
Hacking Yourself: Marie Moe and Pacemaker Security
Gary McGraw Ph.D., Co-founder Berryville Institute of Machine Learning,  9/21/2020
Startup Aims to Map and Track All the IT and Security Things
Kelly Jackson Higgins, Executive Editor at Dark Reading,  9/22/2020
Register for Dark Reading Newsletters
White Papers
Current Issue
Special Report: Computing's New Normal
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
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2020-09-25
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, when determining the common dimension size of two tensors, TFLite uses a `DCHECK` which is no-op outside of debug compilation modes. Since the function always returns the dimension of the first tensor, malicious attackers can ...
PUBLISHED: 2020-09-25
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, a crafted TFLite model can force a node to have as input a tensor backed by a `nullptr` buffer. This can be achieved by changing a buffer index in the flatbuffer serialization to convert a read-only tensor to a read-write one....
PUBLISHED: 2020-09-25
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, if a TFLite saved model uses the same tensor as both input and output of an operator, then, depending on the operator, we can observe a segmentation fault or just memory corruption. We have patched the issue in d58c96946b and ...
PUBLISHED: 2020-09-25
In TensorFlow Lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, saved models in the flatbuffer format use a double indexing scheme: a model has a set of subgraphs, each subgraph has a set of operators and each operator has a set of input/output tensors. The flatbuffer format uses indices f...
PUBLISHED: 2020-09-25
In TensorFlow Lite before versions 2.2.1 and 2.3.1, models using segment sum can trigger writes outside of bounds of heap allocated buffers by inserting negative elements in the segment ids tensor. Users having access to `segment_ids_data` can alter `output_index` and then write to outside of `outpu...