Ghost Mach-O: an analysis of Lazarus’ Mac-malware innovations

Dinesh Devadoss (K7 Computing)
partner message

ANY.RUN - Interactive malware analysis sandbox

http://any.run/

Get fast results in real-time! Intuitive interface. Convenient for any level analysts.

Join for free and start your malware hunting!

partner message

Avira Cloud Sandbox API. Completely private, unlimited-scale, automated malware analysis service

https://oem.avira.com/en/solutions/cloud-sandbox-api

Avira’s Cloud Sandbox API is built to ensure data privacy.

Receive detailed, file-specific threat intelligence reports containing actionable intelligence.

Supports MITRE ATT&CK™ framework.

partner message

Do APT Mercenary Groups Pose Real Threat to Companies?

https://businessresources.bitdefender.com/apt-as-a-service-webinar

Learn about the recent Bitdefender investigation of a new attack attributed to a sophisticated actor offering advanced-persistent-threats-as-a-service.

Access the investigation

partner message

Be a part of the cyber resilience story - explore careers at

https://careers.opentext.com/

Join the cybersecurity and data protection team at Carbonite + Webroot, OpenText companies.

partner message

We don’t just talk about sharing. We do it every day

https://www.cyberthreatalliance.org/our-sharing-model/

Find out more about how threat intelligence sharing and collaboration through the Cyber Threat Alliance can function as a force multiplier to improve defenses across the ecosystem.

partner message

Map Malicious Infrastructures with Pure Signal™ Intelligence

https://partners.team-cymru.com/pure-signal-trial

Elite analyst teams use Team Cymru’s Pure Signal platform to access 50+ data types, including global network flow, PDNS, malware and more.

Start your 2-week trial now!

partner message

What is cyber threat intelligence (CTI) and how is it used?

Join the VB2020 Threat Intelligence Practitioners’ Summit (TIPS)

Join the VB2020 Threat Intelligence Practitioners’ Summit, sponsored by the Cyber Threat Alliance,

to hear from leading industry voices on how CTI sharing can function as a force multiplier to strengthen defenses across the ecosystem.

partner message

Kaspersky Threat Intelligence Portal - find cyberthreats in files, URLs, IPs and domains

https://opentip.kaspersky.com/

Know which alerts or incidents pose real threats, and prioritize them fast and effectively based on impact and risk levels.

partner message

No-Cost Threat Detection for ISPs and Hosting Providers

https://partners.team-cymru.com/nimbus-threat-monitor

Partner with Team Cymru and get near-real-time threat detection, powered by our world-class IP Reputation data.

Join us now!

partner message

Outsource your Unwanted Software/PUA Work for Free

https://appesteem.com/avs

AppEsteem’s feeds sort out the good apps from the Deceptors.

Our criteria are widely accepted. We’ll help with your disputes.

All for Free. Giving you more time to fight real malware.

partner message

Do you want to know how IT security products score in independent tests?

https://www.av-comparatives.org/enterprise/latest-tests/

AV-Comparatives is an ISO certified independent organization offering systematic testing that checks whether security software lives up to its promises.

Results are available for free!

partner message

Defeating Application Fraud - Learn How

https://www.shapesecurity.com/solutions

We protect more accounts from fraud than everyone else in the world combined.

Shape Security is now part of F5 (www.f5.com)

partner message

30+ years of experience in the anti-malware industry

www.virusbulletin.com

Virus Bulletin is so much more than just a great conference.

Check out our website to see what more we have to offer.

partner message

DNSDB®: The DNS Super Power for Security Teams

https://www.farsightsecurity.com/get-started-guide/

Farsight Security DNSDB®: the world's largest real-time and historical database of DNS resolutions.

Get your free DNSDB API key and use it in our newly updated web GUI, DNSDB Scout and your own environments.

Contextualize everything DNS related with one API key - DNSDB.

partner message

Tired of home office and in urgent need of some networking?

https://www.amtso.org/newsletter/

Join the AMTSO community and meet security vendors, testers, journalists, and researchers to discuss cybersecurity trends, tests and standards!

The infamous Lazarus APT group, also known as Hidden Cobra, has been constantly upgrading its arsenal and techniques, even able to orchestrate a live-off-the-land attack just recently. In this campaign the group used a brand new fileless technique, a first in the Mac universe, attracting a lot of attention in the cybersecurity community.

The technique is actually very interesting. The Lazarus trojan loader component used MemoryBasedBundle which allows Mach-O code to be executed directly from memory rather than from a file on disk, thereby evading disk-based file object detections by Mac AV.

In this paper we will demystify this novel fileless technique, analysing how and why it works. In order to provide the context for increasing Lazarus sophistication, we will discuss their various campaigns that targeted crypto-currency exchanges and other financial institutions. In fact, it was the Union Crypto Trader app that was trojanised with the fileless component mentioned earlier. Lazrus’ level of commitment to impersonation is so great that its fake trading application installers were hosted on GitHub, and were signed to avoid raising any alarms. This use of open-source trading applications and trojanising them has become a hallmark of Lazarus’ strategy, and can be used to attribute attacks to it.

We will also cover Lazarus’ versatile development skill set using various techniques including the QT framework, C, objective-C, Swift, etc., thus enabling these threat actors to craft innovative Mac malware. We will dissect the sophisticated toolset of the Lazarus group to shed light on its Mac APT modus operandi, with an eye on predicting what its future attacks might look like, along with a discussion on countermeasures.
Dinesh Devadoss
K7 Computing Dinesh Devadoss, a threat researcher at K7 Threat Control Labs, considers himself to be a wanderer in the binary world. He graduated with a Bachelor's degree in computer science engineering, and his interests include malware analysis and forensics analysis in general. His passion (bordering on addiction) is to extensively research on malware targeting MacOS.
arrow left Back

Ghost Mach-O: an analysis of Lazarus’ Mac-malware innovations

Dinesh Devadoss (K7 Computing)
The infamous Lazarus APT group, also known as Hidden Cobra, has been constantly upgrading its arsenal and techniques, even able to orchestrate a live-off-the-land attack just recently. In this campaign the group used a brand new fileless technique, a first in the Mac universe, attracting a lot of attention in the cybersecurity community.

The technique is actually very interesting. The Lazarus trojan loader component used MemoryBasedBundle which allows Mach-O code to be executed directly from memory rather than from a file on disk, thereby evading disk-based file object detections by Mac AV.

In this paper we will demystify this novel fileless technique, analysing how and why it works. In order to provide the context for increasing Lazarus sophistication, we will discuss their various campaigns that targeted crypto-currency exchanges and other financial institutions. In fact, it was the Union Crypto Trader app that was trojanised with the fileless component mentioned earlier. Lazrus’ level of commitment to impersonation is so great that its fake trading application installers were hosted on GitHub, and were signed to avoid raising any alarms. This use of open-source trading applications and trojanising them has become a hallmark of Lazarus’ strategy, and can be used to attribute attacks to it.

We will also cover Lazarus’ versatile development skill set using various techniques including the QT framework, C, objective-C, Swift, etc., thus enabling these threat actors to craft innovative Mac malware. We will dissect the sophisticated toolset of the Lazarus group to shed light on its Mac APT modus operandi, with an eye on predicting what its future attacks might look like, along with a discussion on countermeasures.
Dinesh Devadoss
K7 Computing Dinesh Devadoss, a threat researcher at K7 Threat Control Labs, considers himself to be a wanderer in the binary world. He graduated with a Bachelor's degree in computer science engineering, and his interests include malware analysis and forensics analysis in general. His passion (bordering on addiction) is to extensively research on malware targeting MacOS.