Legion is a cloud-focused infostealer and multipurpose cybercrime toolkit used to harvest service credentials and support account compromise and spam operations. It integrates with Shodan’s API to locate vulnerable SMTP servers and uses regular expressions to extract credentials for cloud providers and payment services, including Stripe and PayPal. Legion shares AndroxGh0st-derived credential-scraping code with other cloud attack toolsets. Updated versions expand its targeting to SSH servers and AWS credentials associated with DynamoDB and CloudWatch. Its focus is on cloud accounts, exposed server-side secrets, and email infrastructure rather than a specific industry.
5 distinct techniques documented for this family, organized by ATT&CK tactic.
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.
If these features were fully implemented, the attacker could use them to perform the following when they have valid AWS account credentials: Check for all email accounts in an AWS SES environment. Check send quotas. Create a new account, assign administrative privileges, and delete the old account.
The Hidden Config Scanner feature takes a URL as input and crafts an HTTP GET request to several PHP, Laravel, and AWS-related URIs where configuration values may be stored, including: _profiler/phpinfo config.js .env config/aws.yml .env.bak info.php aws.yml phpinfo aws/credentials phpinfo.php
If these features were fully implemented, the attacker could use them to perform the following when they have valid AWS account credentials: Check for all email accounts in an AWS SES environment. Check send quotas. Create a new account, assign administrative privileges, and delete the old account.
If these features were fully implemented, the attacker could use them to perform the following when they have valid AWS account credentials: Check for all email accounts in an AWS SES environment. Check send quotas. Create a new account, assign administrative privileges, and delete the old account.
If these features were fully implemented, the attacker could use them to perform the following when they have valid AWS account credentials: Check for all email accounts in an AWS SES environment. Check send quotas. Create a new account, assign administrative privileges, and delete the old account.
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.
Predator has features that can be used to attack many popular web services and technologies, including... Amazon Web Services (AWS) Simple Email Service (SES)... Twilio... Stripe... Telnyx... Predator’s web application attacks look for common weaknesses, misconfigurations or vulnerabilities...
2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.