AI‑Assisted Credential‑Hunting Attack Compromises African Stock Exchange Web Server
What Happened — Symantec’s Threat Hunter Team discovered a 41‑module PowerShell toolkit running for just over three minutes on an IIS web‑shell of an African stock exchange on 20 Sept 2026. The modules, which share identical scaffolding and a hex‑encoded DNS exfiltration loop, hunted for Windows credentials, cloud keys, API tokens and database strings, then tested those secrets against the exchange’s investment API and a securities‑depository gateway. Six persistence implants on the same server were linked with the China‑linked espionage group Witchetty, while the toolkit itself bears strong indicators of AI‑generated code. No definitive evidence of successful data theft was found, but the activity demonstrates a sophisticated, automated attempt to steal high‑value financial credentials.
Symantec’s Threat Hunter Team uncovered a sophisticated intrusion on an African nation’s stock exchange, identifying a toolkit that appears to have been generated—or at least heavily assisted—by an artificial‑intelligence model. The malicious code executed on September 20 2026, when 41 PowerShell modules were launched from a web shell on an IIS server and ran for three minutes and twelve seconds, spawning a new module every few seconds. Each module harvested credentials, bearer tokens and API keys, then probed the exchange’s own investment API and the gateway of a securities depository. The exfiltration method was unusual: every script encoded its output as hex and sent it via DNS lookups to a distinct sub‑domain of a public out‑of‑band testing service, a technique rarely observed in the wild.
The investigation revealed six persistence implants on the same host that Symantec attributes with high confidence to the China‑linked espionage group Witchetty (also known as LookingFrog). However, the AI‑authored toolkit itself could not be linked to any known actor. The earliest malicious activity on the server dates back to April 2026, suggesting the attackers may have been present for months before the September burst. Symantec noted that “the toolkit is one of the clearest examples of suspected machine‑written attack tooling we have seen,” and placed the incident within a broader pattern of high‑profile financial breaches, including the multi‑billion‑dollar Binance hack and a $110 million theft from France’s Crédit Mutuel Arkéa.
The modules systematically combed the exchange’s shared policy folders and the application directories of six business‑critical systems, hunting for cloud keys, database connection strings and other secrets. They also mapped cloud and database infrastructure, enumerated SharePoint, System Center Configuration Manager and Team Foundation Server instances, and attempted to access the investment API and depository gateway—assets that sit close to the exchange’s core financial operations. While the exfiltrated data was sent to a collector that remains invisible, the lack of visible results leaves the exact motive ambiguous; the focus on financial‑related endpoints points to a financially driven attack, yet the checking of a specific investor’s number hints at possible espionage motives.
The toolkit was built from single‑purpose PowerShell modules that performed a wide range of actions within the narrow 08:44 – 08:47 UTC window. Some modules stole Group Policy Preferences passwords, searched for AWS credentials and database strings, and opened connections to an Amazon‑hosted database cluster. Others enumerated SharePoint sites, queried SCCM and TFS servers, and profiled IIS sites and application pools. Four modules targeted the investment API, sending login attempts with guessed passwords, reusing a bearer token, and testing multiple API keys—including a blank key as a control—while deliberately disabling certificate validation and manually setting the Host header. All modules reported their findings through dynamically generated DNS sub‑domains (e.g., “spid1” for host/process enumeration, “awslocal1” for cloud/devops hunting), underscoring the attackers’ emphasis on stealthy, out‑of‑band data exfiltration.
The attackers deployed a suite of 41 PowerShell modules—identified in the forensic dump as cfg1, sites1, xpjs1, dep1, sysm1, sysh1, sysv2, gpp1 and awsa1—to recursively crawl the compromised server’s web roots, the C:\Deployer deployment folder and the domain’s SYSVOL share. Each module hunted for configuration files such as .xml, .json, *.env and web.config, extracting hard‑coded passwords, Group Policy “cpassword” fields, AWS access keys and database connection strings. Parallel modules rdsnet1 and scq1 opened direct TCP connections to an AWS RDS PostgreSQL instance on port 5432 and leveraged integrated Windows authentication to query a Microsoft SQL Server for system‑user and version information.
A second wave of modules—spf1, spl1, spd1, spd2, sps1, tfs1 and tfs2—loaded the SharePoint PowerShell snap‑in, enumerated every site and document library, and filtered files for keywords like “aws”, “credential” or “password”. The same set also called Team Foundation Server APIs to list project repositories. Subsequent modules (api1, api2, map1, dbg1, adm1, admt1, adm2, keys1, key4, xtok1, cscs1, ipo1) probed internal debugging endpoints, attempted login to an admin API using hard‑coded credentials, harvested JWT tokens and API keys, and then queried authenticated endpoints for user profiles, banking records and capital‑markets data. SCCM‑focused modules (cas1, wmi1, scq1, smbsc1) queried the SCCM AdminService and WMI class SMS_R_System to locate the last‑logged‑on machine for a presumed admin account and to enumerate SCCM shares. The harvested‑credential validation steps cycled through several x‑api‑key values and a bearer token to determine which credential succeeded, while the capital‑markets modules specifically targeted investor and market‑data endpoints.
Analysts noted striking uniformity across all modules, which they attribute to AI‑assisted generation. Every script began with the same verbose error‑handling block, used an identical outer try/catch, hex‑encoded its output in the same way and returned a constant empty‑output sentinel. The DNS exfiltration loop—splitting the hex string into 50‑character chunks and issuing a DNS lookup for each chunk under a unique subdomain of a token on oast.pro—appeared byte‑for‑byte in every module. One module even contained a solitary “progress” variable not found elsewhere, and another deliberately submitted an invalid credential as a test. “None of these signals is conclusive on its own, but taken together they fit AI‑assisted or AI‑generated authorship better than bespoke tooling,” the investigators wrote, adding that they could not pinpoint the specific model used.
The activity was linked to the “Witchetty” subgroup of TA410, first documented by ESET in April 2022 and previously tied to the Cicada/APT10 operation. Witchetty’s earlier campaigns—reported in September 2022 and spanning February to September 2022—targeted two Middle‑East governments and the same African stock exchange, exploiting ProxyShell and ProxyLogon flaws in public‑facing Microsoft Exchange servers to plant web shells and using an image‑embedded backdoor. Six persistence implants were still present on the exchange’s server in April 2026, one of which dated back to 2020. Although the current toolkit is modular, cloud‑secret‑focused and runs from a web shell under the IIS worker process, investigators treat these implants separately from the older Witchetty code. They offered three possible explanations: Witchetty may have returned with new tooling, a more capable operator could have leveraged the foothold Witchetty created, or an unrelated actor might have reused the compromised environment. “We could not rule out any of them,” the report concluded, noting that the AI‑generated nature of the toolkit allows an adversary to spin up 41 purpose‑built scripts for a single target in just over three minutes, providing defenders with a new detection fingerprint.
The attackers probed two internal services – the exchange’s investment‑API and a securities‑depository gateway – with credential‑testing modules. Analysts found no signs that the probes led to privilege escalation or any exfiltration of data, and the output of the modules was sent to a collector that remains invisible to investigators. Whether any of the tested credentials or cryptographic keys actually succeeded, and what the threat actors might have planned to do with them, has not been determined. Nonetheless, the focus on a stock‑exchange infrastructure underscores a broader shift toward targeting financial institutions, now augmented by AI‑driven techniques.
Symantec advises customers to consult the latest Symantec Protection Bulletin for current defensive guidance. The company notes that when a malicious indicator of compromise (IOC) matches a file in its database, Symantec Endpoint products are capable of detecting and blocking that file.
File‑based IOCs
8940de2ada979ad2c53ece0b5cb84100c4df0a024b4b363e96cb6a67469e30d5 – Mimikatz
5c4f6e21877dfd71e3e95254c6193457e9aab10aca7459ddaeb6d711997190de – Loader
982750f4f9edd2ef51b9972a1018a8777bd9d65e0d2e43977a522bdc73ddef5f – Persistence implant hijacking Avast wsc_proxy
1363534d205ad60f6700d81f2af2c0ce6d959b73fd405adbb598072395bd26e5 – Persistence implant (ShellcodeLoader)
0ad7e39ce6b9b7637a002c352637089f6ccf8ae39206a7d895266b21ca26ff0f – RC4‑encrypted loader
2e223e3c6dc7a130f0281a6c608cd58c153ec026c020c8a661b60a1e285140bf – Utility that base64‑encodes beacon.bin, XORs with 0x53, writes Default.xml
5a2f093f7ae25c5e381647549496acf375e18dd95263b921518e340ee78e5377 – DLL loader for svchost, decrypts WindowsUpdate.xml with XOR 0x53, maps payload in memory
b1155f47910f032217352c3a302c01de4d15cabda34331d2866f5d7a52b3ecde – Similar loader, host svchost.exe
b737eae170534f5965b90f4af807cb3f728498f3bccc9355a0afc0171e413230 – Similar loader, host svchost.exe
5fd9a352d1bec4a11134ee140aa278d07d720b45493a7f01a548293f412972ce – Similar loader, host svchost.exe
242c411cd415d55e67aae75759e5c07720fcdddc0378b5e35d4c1e4ab2b01eb8 – Similar loader, host svchost.exe
af3737ba032b8c5d3403064899ab6cc48610a397d9f67b626f99b2f0f5082202 – Similar loader, host VSPerfCmd.exe
6b3061d6e042744bb484b725031e7916b31ad224318a8c0441b9ead14ab853d5 – DLL loader decrypting setting.dat with a 16‑byte repeating XOR key, memory‑mapped
9b4dadaa55479727f7c0034ff9c07165597b9a9a9376b6e564634eeaf1c6b876 – Same as above, different hash
d732660db5af253aacbc580d6114d59d233c48b3a5ead6dcfcb55246252abed2 – Same as above, different hash
85e75e78a545d2fe11ac19385cc8c0789e1056a2cd4edfec32a6a6b113001e5a – Loader decoding mfeann.log, injecting as x64 shellcode
1c1704d789332c4d6ce57139d27194ac64c27bfbb1368f1006ffc3c96f3bcb80 – Nim‑compiled DLL masquerading as VSPMsg.dll, loader for Msg.log
3ca9d65046420592e726776bb26b08719721d108f6947fd22af1d5e7cac33edc – Cobalt Strike beacon
30dc80cb4c791d80eb21597232fb2f5a4111bf3dfad32c736b789d77127310ef – Cobalt Strike beacon
152c125eacdacc69406b120afd95994eef0f7a0cd638c2d8723e64f79344a336 – Cobalt Strike beacon
8129e103509f00f40a6a2740b76bc3f9449ac09cd9222ba289e52e86f31f616e – Cobalt Strike beacon
26dc22c99e5e88363818e56dc5883258f048e426c9aa515887bf5d06872782f9 – Not available for analysis
53ddb6c51aca4bd6b00ed83a8019ee1440351f8eeb95a7b6c74a2b75210d85b2 – Not available for analysis
af295b5081ccdfd601a0aaecaa81fe1aa92125b548063863dbca2011cef658ce – Not available for analysis
0f2c40d31887418de304ca182afb4f4fecfe95937068f11fc798778c2ca95e3f – mfeann.exe
002ce0d28ec990aadbbc89df457189de37d8adaadc9c084b78eb7be9a9820c81 – vsperfcmd.exe
Network IOC
danoam334iqjo0ap2scg6ofosjxfgqhsa[.]oast[.]pro
The investigation remains open on whether any of the tested credentials granted access and what subsequent actions the adversaries might have planned. Further analysis of the unseen collector and any future activity from the identified IOCs will be required to fully assess the threat.
Why It Matters for Trust & Control Assurance — The incident spotlights gaps in credential protection and continuous monitoring of privileged access, a core control area that underpins audit readiness across multiple frameworks.
Who Is Affected — Financial‑services organizations, especially stock exchanges and other entities exposing investment‑API endpoints; API‑provider and cloud‑service stakeholders.
Recommended Actions —
- Conduct an immediate inventory of all privileged accounts, API keys and cloud secrets; enforce MFA and rotate credentials.
- Deploy DNS‑exfiltration detection and tighten web‑application firewall rules to block unauthorized PowerShell execution.
- Validate that logging captures credential‑use events and that alerts are tuned for anomalous API‑access patterns.
Technical Notes — Attack vector: likely exploitation of a web‑application vulnerability to plant a web shell, followed by AI‑assisted PowerShell modules. Exfiltration method: hex‑encoded data sent via rapid DNS lookups to a public out‑of‑band testing service. No CVE is cited. Source: Broadcom Symantec Blog