Security Market Segment LS
Sunday, 19 February 2017 06:55

Sophisticated Mac malware 'aimed at select targets' Featured


A malicious payload that can attack machines running either the older OS X or the newer macOS appears to be aimed at select targets and only for the purpose of cyber espionage, a senior security researcher says.

Bogdan Botezatu, senior e-threat analyst at Bitdefender's labs in Romania, told iTWire that the new sample appeared to be the Mac version of XAgent, a modular payload that was said to be from a group known as APT28 or Sofacy. This group is said to have Russian links, but no definite proof exists to substantiate this.

Versions of XAgent than can work on Windows, Linux, iOS and Android were found some time back. XAgent for the Mac was just not a rewrite of the iOS version, but rather one with plenty of additional features.

While the Mac version shared some of the features of those for other operating systems, Botezatu said the it had more spying capabilities and could steal iOS backups from Apple computers which contained messages, contacts, voicemail, call history, notes, calendar and Safari data.

On 26 September last year, Palo Alto Networks had identified the Komplex trojan. It had three parts: a dropper, a payload and a decoy PDF file, he said.

bitdef big

Bogdan Botezatu: "It is very tough and very dangerous getting into the business of identification. And, at the country-level, accusations can have big diplomatic implications."

The Komplex binder was the main executable and served to save the dropper on the system and open the PDF file. The Komplex payload was the final component and it downloaded and executed a file as programmed to do by its command and control servers.

Botezatu said Komplex could be distributed by email, disguised as a PDF document and gain a foothold on a system. Once a host was infected, it would download and run the XAgent malware.

Once started, the main module of XAgent, called BootXloader, would wait for Internet connectivity by pinging, one of Google's DNS servers. Then followed the initialisation of the module for communication with the C&C servers.

After this, Botezatu said MainHandler, the main module for handling C&C commands and spying modules, was started. It would start two communications channels, one for receiving commands and the other for sending data.

There were additional modules in XAgent: CameraShot (not yet implemented), Password (used to obtain passwords from Firefox profiles), FileSystem (for finding, deleting, creating and executing files), FTPManager, InjectApp (to leverage high-level inter-process mechanisms), InfoOS (gathering information from the target like process, list, operating system version etc), KeyLogger, Launcher, RemoteShell, Coder and Cryptor.

Asked if there was definitive proof of XAgent's Russian ancestry, Botezatu said attribution was very difficult. "Everything can be spoofed," he explained. "It is very tough and very dangerous getting into the business of identification. And, at the country-level, accusations can have big diplomatic implications."

But, he said, looking at the files, they appeared to have been compiled at hours matching daylight hours in Moscow.

Botezatu said the code was not of the same grade as that in Stuxnet, which was used to target nuclear plants in Iran, and claimed to be written by US and Israeli state programmers.

"Stuxnet had five zero-day exploits coded inside, targeting vulnerable code in Windows," he said. "The complexity was, perhaps, because it was written to infect a target that was not connected to the Internet."

He, and Tiberious Axinte, technical lead at Bitdefender's Antimalware Lab, had yet to find out how APT28 infected systems with this newly discovered Mac payload, he said.

Once a Mac was infected, it was impossible to know, because the system would not display any unusual symptoms, Botezatu said. But, he added, the aim appeared to be stealing confidential information from businesses, military organisations, aerospace companies, power and utility companies and government bodies.

Subscribe to ITWIRE UPDATE Newsletter here


The much awaited iTWire Shop is now open to our readers.

Visit the iTWire Shop, a leading destination for stylish accessories, gear & gadgets, lifestyle products and everyday portable office essentials, drones, zoom lenses for smartphones, software and online training.

PLUS Big Brands include: Apple, Lenovo, LG, Samsung, Sennheiser and many more.

Products available for any country.

We hope you enjoy and find value in the much anticipated iTWire Shop.



iTWire TV offers a unique value to the Tech Sector by providing a range of video interviews, news, views and reviews, and also provides the opportunity for vendors to promote your company and your marketing messages.

We work with you to develop the message and conduct the interview or product review in a safe and collaborative way. Unlike other Tech YouTube channels, we create a story around your message and post that on the homepage of ITWire, linking to your message.

In addition, your interview post message can be displayed in up to 7 different post displays on our the site to drive traffic and readers to your video content and downloads. This can be a significant Lead Generation opportunity for your business.

We also provide 3 videos in one recording/sitting if you require so that you have a series of videos to promote to your customers. Your sales team can add your emails to sales collateral and to the footer of their sales and marketing emails.

See the latest in Tech News, Views, Interviews, Reviews, Product Promos and Events. Plus funny videos from our readers and customers.


Sam Varghese

Web Analytics

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.

Share News tips for the iTWire Journalists? Your tip will be anonymous




Guest Opinion

Guest Interviews

Guest Reviews

Guest Research

Guest Research & Case Studies

Channel News