That warning was sounded Wednesday by the Laboratory of Cryptography and System Security (CrySyS Lab) of the Budapest University of Technology and Economics in Hungary, which began investigating the espionage operation after being approached by the Hungarian National Security Authority, which detected related attacks targeting organizations inside Hungary. The two organizations have written a detailed report into the attacks, which they released Wednesday.

CrySys is well known in security circles for discovering the Duqu malware, as well as working with Kaspersky Lab to discover the complex Flame malware.

What's interesting about this newly discovered "covert cross-nation, cyber surveillance data theft and monitoring operation" -- in the words of a Kaspersky Lab blog entry published Wednesday -- is that instead of compromising targeted PCs with malware, it exploits the popular TeamViewer remote control, desktop sharing and file transfer software. The application and related services are free for non-commercial use, and count over 100 million users.

Dubbed the TeamSpy attacks, they remain ongoing, and have largely targeted Eastern European countries, including the Commonwealth of Independent States, which includes Russia. CrySyS said that the group behind the attacks seems to have been operating since at least 2004.

According to a CrySyS blog entry posted Wednesday, it first encountered evidence of the TeamSpy campaign when it studied recovered malware samples from November 2012, when a "Hungarian high profile governmental victim" was infected. Other high-profile victims it's identified include a Iranian high-technology firm with government ties, which was attacked in April 2010, as well as the NATO/EU embassy in Russia, a Russian industrial manufacturer, and French and Belgian research and educational organizations, all of which were successfully attacked in March 2013. Activists in Belarus also spotted attacks in 2012 that have since been tied to the TeamSpy campaign.

Information targeted by attackers has included Word documents, Excel spreadsheets, PDF files, PGP credentials and other files related to public-key cryptography, as well as filenames containing Georgian and Russian words for "secret" and "password." According to Kaspersky Lab, attackers also targeted "Apple iOS device history data from iTunes," as well as detailed information about operating systems and BIOS. Attackers could also log keystrokes and capture screenshots.

CrySyS Lab said that the types of files and documents targeted "indicates that they were looking not only for passwords, but also for cryptographic keys, which goes beyond attacks against ordinary users."

Who's behind the attacks? So far, information is scant. Much of the attack infrastructure appears to have been written in Russian. Furthermore, some of the command-and-control servers used in the attacks contained references to the politnews.org website, which CrySyS said was registered in the name of "Krepov Bogdan Serafimovich."

Security researchers have yet to detail exactly how targeted PCs running TeamViewer were compromised by attackers, other than to say that the infections appear to have resulted from a Windows installer -- built using NullSoft installer -- being executed. The two versions of this installer recovered to date were named "DSC.exe" and "TeamViewer.ico."

Those installers were used to drop malware onto compromised PCs. "The TeamSpy operations are supplemented by a variety of custom-built surveillance modules," including "reconnaissance and stealth modules," said Kaspersky Lab. Those modules have included a DLL file "that uses a vulnerability in TeamViewer v6 known as DLL-hijacking," it said. "If this file is stored in the same folder as TeamViewer.exe, then when TeamViewer is started it will show no warning, no popups, no systray icons, and will silently continue working, providing remote access to the infected machine."

But overall, Kaspersky Lab said the attack code wasn't highly sophisticated, and surmised that the choice of TeamViewer as an attack platform related to attackers' limited budget or expertise. "The toolset demonstrates clever, although lazy choices about legitimate software and certificate abuse, along with a minimal but effective effort at using simple and crude custom encryption algorithms," it said.

That is some very scary information, and the fact the hackers have been doing this for over a decade. Let me further point out the by Kaspersky Lab stating that the code is not highly sophisticated kind of pushes my buttons. I mean if it was not highly sophisticated then how did it gets through and how was it able to infect various computers. Apparently it was a little highly sophisticated then their filters to pick it up.

Published: 2015-03-31The build_index_from_tree function in index.py in Dulwich before 0.9.9 allows remote attackers to execute arbitrary code via a commit with a directory path starting with .git/, which is not properly handled when checking out a working tree.