Hackers Use Autonomous AI Agents to Steal Credentials and Breach Corporate Networks

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


Hackers used autonomous AI agents to steal credentials, move between corporate servers, and probe cloud systems in more than 10 campaigns tracked from July through September 2026.

The activity targeted government, logistics, hospitality, manufacturing, agriculture, and education organizations.

Across the observed campaigns, attackers gained their first foothold through vulnerable web applications and installed web shells, malicious scripts that let them run commands on compromised servers.

The agents did not have to break in on their own to change the course of an intrusion. In a subset of cases, the median gap between commands fell from 23.9 seconds during manual activity to 1.4 seconds after an AI agent took over.

Earlier reporting on AI-assisted web server attacks described similar reliance on exposed systems, but the new findings show how quickly an agent can expand an intrusion after the initial break-in.

Researchers from Palo Alto Networks’ Unit 42 identified malicious scripts, including PHP web shells and Python credential harvesters, while investigating the campaigns.

In its November 24 research report, the team said it recovered hundreds of unique script payloads but no compiled backdoor. The activity did not point to a single malware family shared across the campaigns.

Hackers Use Autonomous AI Agents

The most successful intrusions combined human direction with autonomous execution. A person chose the target and provided access, while the agent mapped systems, looked for credentials, and attempted to expand access.

The operator could then review the findings and decide what to pursue. In one case, an agent ran about 800 unique commands during 140 minutes of activity spread across two days, surveying the victim’s website, databases, and cloud environment.

In one intrusion, an agent used stolen file-sharing credentials to move from a Linux server to a Windows server running Internet Information Services (IIS).

Human-agentic attacker lifecycle (Source - Unit42)
Human-agentic attacker lifecycle (Source – Unit42)

Unit 42 found web shells in more than 40 locations on the Windows server. Separate coverage of AI-driven Windows domain takeovers shows how a similar foothold can grow into a broader identity breach, though the Windows case in this report did not establish a full domain takeover.

In another case, an agent obtained cloud credentials at a U.S. hospitality and gaming company and surveyed 20 Amazon Web Services services across eight regions.

It collected information about storage, email, and secrets management and looked for payment-related resources. The researchers did not report theft of payment records.

In a separate intrusion, the agent found credentials for an IT vendor’s self-managed GitLab instance on a compromised customer server. Unit 42 said no GitLab vulnerability was exploited.

How Defenders Can Spot and Contain AI-Driven Intrusions

Speed gave the agents an advantage, but it also made their activity easier to spot. Unit 42 saw bursts of commands, output split into labeled sections, and scripts with unusually conversational comments.

None of those signs proves AI involvement on its own. A more useful lead is a web server that suddenly starts running commands, accessing credentials, and connecting to systems it rarely contacts.

Agentic attacker takeover flow (Source - Unit42)
Agentic attacker takeover flow (Source – Unit42)

Reviewing web, endpoint, identity, and cloud logs together helps responders work out whether the incident spread beyond the first server.

Patch internet-facing applications and review where web servers can connect inside the network. Unit 42 also observed attempts to gain higher privileges through Copy Fail, so teams should check whether Linux kernel security updates are active on affected hosts.

If a web shell is found, isolate the server, preserve relevant logs, and revoke or rotate credentials it could access. For self-managed GitLab, Unit 42 recommends multifactor authentication, sign-in rate limits, IP restrictions where practical, and regular updates.

Indicators of compromise (IoCs):-

Type Indicator Unit 42’s reported use
IP address 150.242.254[.]199 Reverse shell target
IP address 204.194.54[.]240 Command and control (C2) and payload staging
IP address 206.123.152[.]217 Reverse shell command and control
IP address 38.253.224[.]12 GSocket and SSH tunnel relay
URL path webhook[.]site/72f421ea-5576-4a4a-8c55-a2a79c19c8b8 Command-and-control beacon
URL path pastebin[.]com/raw/swqSMxYs Web shell download

Note: IP addresses and domains are intentionally Qdefanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms sQuch as MISP, VirusTotal, or your SIEM.

Join ANY.RUN and Torq to learn how TI Feeds can help your SOC detect up to 30% of malicious IOCs earlier & accelerate investigations -> Attend Free Live Webinar

The post Hackers Use Autonomous AI Agents to Steal Credentials and Breach Corporate Networks appeared first on Cyber Security News.