JOHANNESBURG — Attackers at a major African stock exchange used a hacking toolkit that was probably written with the help of artificial intelligence, according to researchers at the cybersecurity company Symantec.
In a report published on 19 November, Symantec’s Threat Hunter Team, part of Broadcom, said 41 PowerShell modules ran on one of the exchange’s servers in three minutes and twelve seconds, with a new module starting every few seconds. The modules hunted for credentials and tested them against systems close to the exchange’s financial operations, Symantec said. It did not name the exchange or the country.
What happened
The modules ran under a webshell, a malicious script that lets an attacker issue commands, on a Microsoft Internet Information Services (IIS) web server. The run took place on 20 September between 08:44 and 08:47 UTC, SECNEWS reported from the research.
According to Symantec, the toolkit:
- hunted for credentials on the compromised server
- tested credentials, a reused bearer token and API keys against the exchange’s investment API and the gateway of a securities depository
- sent its findings out as coded DNS lookups to a public testing service, a rarely seen technique
Symantec said it could not see where the results ended up, so it does not know whether any of the credentials worked. It found no evidence of confirmed data theft.
Why researchers suspect AI
Symantec called the toolkit “one of the clearest examples of suspected machine-written attack tooling” it has seen. Every module shared the same structure, and the code for sending data out was copied byte for byte into all 41 scripts, where a human programmer would normally write it once and reuse it.
Symantec described the toolkit as suspected, not confirmed, machine-written code.
A familiar intruder on the same server
The earliest malicious activity Symantec found on the server dated from April 2026. Six persistence implants, tools that keep an attacker’s access alive, were installed there. Symantec attributes those implants with high confidence to Witchetty, also known as LookingFrog, a China-linked espionage group. Symantec reported in 2022 that Witchetty had previously targeted the same exchange.
But Symantec has not attributed the AI-style toolkit to Witchetty. It said the activity could be Witchetty using new tools, a second operator using the same access, or an unrelated attacker who broke into the same server.
What it means for African institutions
African exchanges, depositories, banks and fintechs hold sensitive investor data and connect to payment and settlement systems. The case shows that AI can help attackers scan and test stolen secrets very quickly once they are inside.
Practical steps for security teams include:
- keep passwords and API keys out of configuration files, scripts and shared folders, and store them in a secrets vault
- rotate tokens and keys regularly, and never reuse them across systems
- patch and monitor internet-facing web servers, and look for unexpected webshells
- watch for unusual DNS traffic, especially long encoded lookups to testing domains
- check for old intrusions: an attacker may have been inside for months
Exchanges and depositories should also review who can reach their investor and settlement APIs from inside the network. In this case, Symantec said the tests targeted systems close to financial operations, which shows why internal APIs need the same authentication and monitoring as public ones.








