Brief · Business
Attackers used AntiFox, an open-source AI pentest agent, to reach a production AWS secret
Arctic Wolf Labs reported on Nov 10 that Alibaba Cloud servers running AntiFox, an open-source, Chinese-language AI pentesting platform, were tied to confirmed attacks on internet-facing web apps and the AWS accounts behind them. In at least one case the attackers got as far as a successful GetSecretValue call on a production secret, and in another they used a valid AWS identity to read, copy and delete objects in S3. Arctic Wolf doesn't name any victims.
The attacks started in two ways. In some, the attackers got into an internet-facing IIS web app, and its worker process, w3wp.exe, wrote an ASPX web shell and started running commands. They checked who they were running as, tested whether they could write to the web root, then used PowerShell to read web.config connection strings and app settings, tried to log in to an internal production database with a password from that config, and copied config and log files into a web-accessible upload folder. Arctic Wolf couldn't tell which bug got them into the web app. In other attacks, they started with a valid AWS credential obtained through unknown means.
With working AWS credentials, they tried dozens of services, from IAM, EC2 and S3 to Secrets Manager, KMS, RDS and Amazon Bedrock. In one intrusion, a single AntiFox-linked source cycled through several AWS identities and sent hundreds of requests across services in about half an hour. Most of those requests were denied, but successful discovery and secret-access calls were mixed into the same burst. AWS told The Hacker News that its services "were not compromised and operated as designed," and said the research describes attackers using credentials taken from customers' compromised applications.
None of this is a new kind of attack. It's a hacked web app, secrets in its config, and stolen keys tried against everything to see what sticks. Arctic Wolf's point is that agentic tools like AntiFox make those old techniques more accessible, faster and more consistent, so the boring fixes matter more than they used to. I covered the same pattern with ARTEX in my Vapor Panda Calm down.
What to do:
-
Get long-term AWS keys out of your web apps' config files.
- Why: Attackers read
web.configfiles on a hacked IIS server, Arctic Wolf warns that AWS misuse can start soon after that if an app stored AWS credentials, and AWS's own advice is to keep long-term access keys out of application configurations. - How: Search
web.config,appsettings.json,.envfiles, deployment artifacts and debug logs for access keys starting withAKIA, move those apps to IAM roles or Secrets Manager, and rotate every key and password you find, including database credentials.
- Why: Attackers read
-
Alert on a successful
GetSecretValuefrom infrastructure that identity has never used.- Why: Successful secret access was mixed into bursts of mostly denied requests, and Arctic Wolf warns not to assume a run like that failed just because most calls were refused.
- How: In CloudTrail or GuardDuty, alert on
GetSecretValuefrom a new hosting provider or network, especially after a run ofList,GetandDescribecalls across unrelated services, or one IP using several access keys or roles in a short time. Arctic Wolf also lists theBoto3/1.43.125andBotocore/1.43.125user agents and the addresses 47[.]79[.]4[.]33 and 8[.]208[.]101[.]210, though it says cloud addresses can be reassigned.
-
Watch your IIS servers for the web process starting shells.
- Why: The web shell showed up as
w3wp.exelaunchingcmd.exeandpowershell.exe, thenwhoamiandicacls. - How: Alert in your EDR when
w3wp.exespawns a shell or those tools, watch upload and temp folders for new.aspxfiles, and look for config or log files copied into web folders as.txtor image files. If you find one, isolate the server, keep its web root, IIS logs and memory before you rebuild it, and rotate everything its config held.
- Why: The web shell showed up as
-
Trim what your apps' AWS identities can do.
- Why: Most of the attackers' calls failed because the stolen identities didn't have those permissions, and the ones that worked are where the damage came from.
- How: Give each app identity only the services and resources it uses and drop broad
Listpermissions across the account. Require IMDSv2 on EC2, turn on CloudTrail S3 data events for sensitive buckets, and turn on S3 versioning, plus Object Lock for critical data, so aDeleteObjectcan be undone.
Want the next one?
One email, weekly-ish. The week's briefs, how worried to be, and what to do about it. No doom.
Subscribe on Beehiiv ↗Free. Opens Beehiiv in a new tab. Unsubscribe whenever, I won't be offended.