Androxgh0st
- Type
- Botnet
- Capabilities
- Credential theftExfiltrationPersistenceInitial accessPost exploitationReconnaissanceScanning
- Platforms
- WindowsmacOSLinuxCloud
AndroxGh0st is Python-based malware used to build botnets, compromise web applications, and steal cloud and messaging-service credentials. It primarily targets Laravel applications, scanning internet-facing servers for exposed environment configuration files and extracting passwords, application encryption keys, and API credentials associated with AWS, Microsoft 365, SendGrid, and Twilio. Its capabilities include vulnerability scanning, credential validation, SMTP abuse, cloud API interaction, and web-shell deployment.
AndroxGh0st exploits CVE-2017-9841 in PHPUnit, CVE-2018-15133 in Laravel, and CVE-2021-41773 in Apache HTTP Server to access sensitive files or achieve remote code execution under vulnerable configurations. Recovered Laravel application keys can enable crafted encrypted payloads that trigger deserialization and code execution. After compromise, operators can deploy web shells for persistent access and retrieve additional malicious payloads. Stolen AWS credentials are used to inspect Amazon SES sending quotas and account information, create users and policies, and provision instances for further scanning. SendGrid and Twilio functionality checks account capacity, status, and messaging capabilities, supporting subsequent abuse of compromised services. The malware's credential-harvesting code is also reused in other cloud-focused attack toolsets, including AlienFox, GreenBot, Legion, and Predator.
Associated vulnerabilities
9 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Techniques & procedures
19 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
2 techniques
Reconnaissance
Androxgh0st malware TTPs commonly involves the use of scripts, conducting scanning [T1595] and searching for websites with specific vulnerabilities.
Androxgh0st actors have been observed scanning vulnerable web servers [T1595.002] running Apache HTTP Server versions 2.4.49 or 2.4.50.
Resource Development
3 techniques
Resource Development
Androxgh0st malware has been observed establishing a botnet [T1583.005] for victim identification and exploitation in target networks.
Andoxgh0st actors have been observed creating new AWS instances to use for conducting additional scanning activity [T1583.006].
FBot has three functions dedicated to AWS account attacks. The first is an AWS API Key Generator, handled by function aws_generator, which generates a random AWS access key ID by appending 16 randomly selected alphabetic characters to the standard AKIA prefix. Then, it generates a secret key from 40 randomly selected alphabetic characters.
Initial Access
2 techniques
Initial Access
Androxgh0st malware also supports numerous functions capable of abusing the Simple Mail Transfer Protocol (SMTP), such as scanning and exploiting exposed credentials [T1078]...
Androxgh0st malware scans for Laravel PHP applications on the Internet and once it finds one it determines if they are misconfigured and exposing a .env file so it can steal the credentials and any API keys mentioned in it.
Execution
1 technique
Execution
According to open source reporting, Androxgh0st is a Python-scripted malware [T1059.006] primarily used to target .env files...
Persistence
3 techniques
Persistence
Androxgh0st malware also supports numerous functions capable of abusing the Simple Mail Transfer Protocol (SMTP), such as scanning and exploiting exposed credentials [T1078]...
when threat actors successfully identify and compromise AWS credentials from a vulnerable website, they have been observed attempting to create new users and user policies [T1136].
Androxgh0st malware also supports numerous functions capable of abusing the Simple Mail Transfer Protocol (SMTP), such as ... web shell deployment [T1505.003].
Privilege Escalation
1 technique
Privilege Escalation
Androxgh0st malware also supports numerous functions capable of abusing the Simple Mail Transfer Protocol (SMTP), such as scanning and exploiting exposed credentials [T1078]...
Stealth
2 techniques
Stealth
If the threat actors successfully identify the Laravel application key, they will attempt exploitation by using the key to encrypt PHP code [T1027.010].
Androxgh0st malware also supports numerous functions capable of abusing the Simple Mail Transfer Protocol (SMTP), such as scanning and exploiting exposed credentials [T1078]...
Credential Access
3 techniques
Credential Access
Androxgh0st aimed to steal sensitive login data from these files... Upon successful credential retrieval, Androxgh0st leverages CVE-2018-15133... as long as they are in possession of the application's APP_KEY
The response is parsed for keys and secrets related to the following services and the result is written to a text file: AWS ... Office365 ... Sendgrid ... Twilio ... Mailgun | FBot is primarily designed for actors to hijack cloud, SaaS, and web services. There is a secondary focus on obtaining accounts to conduct spamming attacks. Actors can use the credential harvesting features to obtain initial access, which they can sell to other parties.
CISA ... issued a document for known indicators of compromise associated with the Androxgh0st malware ... which harvests .env files.
Discovery
3 techniques
Discovery
Androxgh0st malware also supports numerous functions capable of abusing the Simple Mail Transfer Protocol (SMTP), such as scanning [T1046]...
Threat actors can identify uniform resource locators (URLs) for files outside root directory through a path traversal attack [T1083].
The article gives an example of CreateUser, AttachPolicy, and ImportKeyPair calls combining to establish unauthorized access; AndroxGh0st calls CreateUser using the name ses_xcatze.
Collection
1 technique
Collection
Androxgh0st malware also supports numerous functions capable of abusing the Simple Mail Transfer Protocol (SMTP), such as scanning and exploiting exposed credentials and application programming interfaces (APIs) [T1114]...
Command and Control
1 technique
Command and Control
Malicious actors likely use Androxgh0st to download malicious files [T1105] to the system hosting the website.
Observables
27 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
30 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.