AlienFox
- Type
- Infostealer
- Capabilities
- Credential theftReconnaissanceScanningPersistencePrivilege escalationPost exploitation
- Platforms
- Cloud
AlienFox is a modular cloud-focused infostealer and attack toolkit used to harvest credentials and API secrets from exposed web application configuration files and abuse cloud, email, and messaging accounts. Versions 2 through 4 have been observed dating from February 2022. It is primarily distributed through Telegram as source-code archives, with some modules publicly available on GitHub. Targeting is opportunistic and includes misconfigured deployments of Laravel, Drupal, Joomla, Magento, OpenCart, PrestaShop, and WordPress.
AlienFox discovers targets through IP and subnet probing, search engines, and services such as LeakIX and SecurityTrails. It parses exposed configuration data to extract credentials for providers including AWS, Microsoft Office 365, Google Workspace, Twilio, SendGrid, Mailgun, and Zoho. Its modules validate harvested credentials, inspect AWS Simple Email Service sending quotas and configured email identities, and facilitate email and SMS spam through compromised services. Later versions automate post-compromise activity, including creation of privileged AWS IAM users, privilege escalation, and persistence. Additional modules identify content management systems and collect target lists. AlienFox shares credential-scraping code with Androxgh0st-derived tooling and has functional overlap with GreenBot and other cloud-abuse toolkits.
Associated vulnerabilities
1 CVE 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
12 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
2 techniques
Reconnaissance
The target generation scripts use a combination of brute force for IPs and subnets, as well as web APIs for open-source intelligence platforms to provide details about potential targets.
The toolsets contain scripts designed to check for the aforementioned services; each script requires a list of targets read from a text file.
Initial Access
3 techniques
Initial Access
Attackers use AlienFox to harvest API keys & secrets from popular services including AWS SES & Microsoft Office 365.
This script also contains encoded commands that potentially target CVE-2022-31279, a rejected Laravel PHP Framework deserialization vulnerability.
Later versions of the toolset added scripts that automate malicious actions using the stolen credentials, including: Collecting send quotas and automating spam campaigns through victim accounts or services
Execution
1 technique
Execution
Attackers run scripts remotely that interact with the targeted service’s API to achieve a goal like collecting credentials or automating the process of sending spam messages in bulk through a cloud or SaaS provider.
Persistence
2 techniques
Persistence
Attackers use AlienFox to harvest API keys & secrets from popular services including AWS SES & Microsoft Office 365.
For example, Tool16 is an Amazon.com retail site account checker that checks if an email address is already associated with an Amazon account; if not, the script creates a new Amazon account using the email address.
Privilege Escalation
1 technique
Privilege Escalation
Attackers use AlienFox to harvest API keys & secrets from popular services including AWS SES & Microsoft Office 365.
Stealth
1 technique
Stealth
Attackers use AlienFox to harvest API keys & secrets from popular services including AWS SES & Microsoft Office 365.
Credential Access
3 techniques
Credential Access
The target generation scripts use a combination of brute force for IPs and subnets, as well as web APIs for open-source intelligence platforms to provide details about potential targets.
They use multiple scripts in the toolset to extract sensitive information such as API keys and secrets from configuration files exposed on victims’ web servers.
When a susceptible server is identified, the actor parses exposed environment or configuration files that store sensitive information, such as services enabled and the associated API keys and secrets.
Discovery
2 techniques
Discovery
The kirimi function in awses.py checks for SES send quotas and retrieves email addresses in the targeted account’s SES configuration.
Actors use AlienFox to collect lists of misconfigured hosts from security scanning platforms, including LeakIX and SecurityTrails.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.