Google Researcher Unpacks Rare Android Malware Obfuscation Library

  /     /     /  
Publicated : 23/11/2024   Category : security


Google Researcher Unpacks Rare Android Malware Obfuscation Library


Analysis exposes the lengths malware authors will go to in order to protect their code from disassembly and reverse engineering.



A malware sample that had code in all the wrong places piqued Maddie Stones curiosity. So she dug into the sample and emerged many hours later with a description of a complex anti-analysis library that threat actors are using to, among other things, give new life to old threats.
I came across this app that had a native code library, which is not that common in the Android security space where I was doing the malware analysis, says Stone, a security engineer for Google Android security. It was strange compared to all the other ones Ive looked at before — nothing looked where it should have been. 
As she dug deeper and deeper into the code, Stone became more interested because of the novelty of the defense mechanisms. I found that this was actually a brand new anti-analysis library being used by a few large malicious campaigns in the Android ecosystem, she says. And it wasnt just new — it was very complex.
[See Stones session,
Unpacking the Packed Unpacker: Reverse Engineering an Android Anti-Analysis Native Library
on Thursday, August 9 at Black Hat USA.]
Theyre using four groups of techniques for about 45 different checks. And if a single one of them fails then the application exits, Stone says. The rigorous checking mechanism means that the threat actors are willing to miss out on an expanded attack surface if it means keeping their code out of the hands of defenders.
Stone, who will present her findings next week at Black Hat USA in Las Vegas, describes the defense architecture as a wedding cake because there are many layers to the defense. The first is aimed at thwarting human analysts, the second at humans using automated systems, and the third autonomous systems running alone.
Theyre really trying to hedge their bets and ensure that theres no way, shape, or form that they could be run in an emulator or debugger, and that if I reverse engineer and am going to take the time to disassemble them, its really going to take a lot of work, she says.
What malware is so valuable that it warrants delivering with such an advanced mechanism? Stone says that one of the primary campaigns shes seen uses this library to re-launch
Chamois
, a Trojan that Google engineers were able to shut down in 2017. The attackers havent tried to get back into Play, but are depending on users willing to side-load software to gain entry to a particular Android phone, she says.
As with side-loading itself, the individual mechanisms used in this malware family arent novel or unique; the novelty comes from the sheer volume and combination of techniques used to protect the payload.
Were seeing a lot more of both native and Java obfuscation and trying to cloak themselves and prevent any sort of dynamic analysis of the application, Stone says. As theres no longer this low, low hanging fruit for security, the malware authors have to continue developing more robust schemes. 
The priorities shown in the mechanisms are a reflection, Stone says, of the value of the investment malware represents. Malware development and reverse engineering are each forms of asymmetric warfare, each side trying to force the other to invest more and more to counter their own efforts.
As the Android platform security mechanisms have continued to grow in how our detection pipeline will be able to catch more things, theyre trying to do anything they can to get around the automated detection, because thats what so many different malware detectors are using now, she says.
Related Content:
New Android Smartphones in Developing Markets Sold With Pre-installed Malware
10 Tips for More Secure Mobile Devices
ZipperDown Vulnerability Could Hit 10% of iOS Apps
APT Attacks on Mobile Rapidly Emerging
 
Black Hat USA returns to Las Vegas with hands-on technical Trainings, cutting-edge Briefings, Arsenal open-source tool demonstrations, top-tier security solutions and service providers in the Business Hall. Click for information on the
conference
 and
to register.

Last News

▸ Website hacks happened during World Cup final. ◂
Discovered: 23/12/2024
Category: security

▸ Criminal Possession of Government-Grade Stealth Malware ◂
Discovered: 23/12/2024
Category: security

▸ Senate wants changes to cybercrime law. ◂
Discovered: 23/12/2024
Category: security


Cyber Security Categories
Google Dorks Database
Exploits Vulnerability
Exploit Shellcodes

CVE List
Tools/Apps
News/Aarticles

Phishing Database
Deepfake Detection
Trends/Statistics & Live Infos



Tags:
Google Researcher Unpacks Rare Android Malware Obfuscation Library