{
  "attack_id": "symantec-witchetty-african-stock-exchange-ai-toolkit-2026-11",
  "status": "catalog_recommendations_not_validated_coverage",
  "stages": [
    {
      "node_id": "server",
      "profile": "windows-shell",
      "title": "Suspicious Windows script execution",
      "hypothesis": "A script host or shell runs encoded content, a remote URL, or inline script syntax, then downloads or launches a payload.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "Windows process creation: Sysmon Event 1 or Defender DeviceProcessEvents",
        "PowerShell script-block logging when enabled",
        "Download / network and installer events"
      ],
      "investigate": [
        "Follow the parent and child process tree and recover the script or URL from logs without executing it.",
        "Correlate the payload's signer/hash, persistence, and network activity; baseline approved automation."
      ],
      "limitation": "Encoded commands and remote administration can be legitimate. This does not cover every script host, in-process execution, or non-Windows branch.",
      "note": "Commands ran under the IIS worker. The 2026 entry vector is unknown.",
      "queries": {
        "sigma": "title: Hunt - Suspicious Windows script execution\nid: 2bb88802-9f03-4d99-a192-fe44c9484e8b\nstatus: experimental\ndescription: A script host or shell runs encoded content, a remote URL, or\n  inline script syntax, then downloads or launches a payload.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-10-23\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: process_creation\n  product: windows\ndetection:\n  selection:\n    Image|endswith:\n      - \\powershell.exe\n      - \\pwsh.exe\n      - \\mshta.exe\n      - \\wscript.exe\n      - \\cscript.exe\n    CommandLine|contains:\n      - -enc\n      - http\n      - FromBase64String\n      - \"javascript:\"\n      - \"vbscript:\"\n  condition: selection\n",
        "kql": "// Draft hunt; requires Defender for Endpoint process telemetry for this OS.\nDeviceProcessEvents\n| where Timestamp > ago(7d)\n| where FileName in~ (\"powershell.exe\", \"pwsh.exe\", \"mshta.exe\", \"wscript.exe\", \"cscript.exe\")\n| where ProcessCommandLine contains \"-enc\" or ProcessCommandLine contains \"http\" or ProcessCommandLine contains \"FromBase64String\" or ProcessCommandLine contains \"javascript:\" or ProcessCommandLine contains \"vbscript:\"\n| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA1\n| order by Timestamp desc",
        "spl": "sourcetype=\"XmlWinEventLog:Microsoft-Windows-Sysmon/Operational\" EventCode=1\nImage IN (\"*\\\\powershell.exe\", \"*\\\\pwsh.exe\", \"*\\\\mshta.exe\", \"*\\\\wscript.exe\", \"*\\\\cscript.exe\")\nCommandLine IN (\"*-enc*\", \"*http*\", \"*FromBase64String*\", \"*javascript:*\", \"*vbscript:*\")\n| table _time host User Image CommandLine ParentImage ParentCommandLine\n| sort - _time"
      },
      "query_scope": "Windows process candidates. Sigma uses normalized process_creation fields; KQL requires Defender for Endpoint; SPL requires the Sysmon XML sourcetype. Tune collectors, fields and baselines before use.",
      "query_kind": "native",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/windows-shell.yaml",
      "query_downloads": {
        "sigma": "/api/detections/windows-shell.sigma.yml",
        "kql": "/api/detections/windows-shell.kql",
        "spl": "/api/detections/windows-shell.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://www.security.com/threat-intelligence/african-stock-exchange-ai-assisted-attack"
      ],
      "reviewed": "2026-11-21",
      "upstream_matches": []
    },
    {
      "node_id": "implants",
      "profile": "windows-dll-sideload",
      "title": "DLL loaded from a user-writable location",
      "hypothesis": "A signed or trusted Windows executable loads an unexpected DLL from an archive, download, temp, or other user-writable directory, consistent with DLL search-order hijacking.",
      "visibility": "Windows image-load telemetry where collected",
      "telemetry": [
        "Windows image-load events such as Sysmon Event 7 or EDR equivalents",
        "File provenance, signature, and process ancestry",
        "Subsequent network and payload activity"
      ],
      "investigate": [
        "Verify the executable and DLL signatures, original archive or installer, hashes, and load path.",
        "Compare the DLL name/location with the vendor's expected installation and correlate child activity."
      ],
      "limitation": "Portable and self-updating applications legitimately load DLLs from user paths. This broad hunt requires signer, prevalence, and application-specific tuning and will not cover in-memory modules.",
      "note": "Witchetty implants include the Avast wsc_proxy hijack and the McAfee mfeann.exe pair. The profile is a DLL-load hunt, not a hash match.",
      "queries": {
        "sigma": "title: Hunt - DLL Load From User-Writable Location\nid: a5e6a4a2-be30-4a0a-8559-5f9a2623403e\nstatus: experimental\ndescription: Detects DLL image loads from common user-writable Windows paths.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-11-06\nfalsepositives:\n  - Portable, development, and self-updating applications\nlevel: medium\nlogsource:\n  category: image_load\n  product: windows\ndetection:\n  selection_path:\n    ImageLoaded|contains:\n      - \\Downloads\\\n      - \\AppData\\Local\\Temp\\\n      - \\Windows\\Temp\\\n      - \\Users\\Public\\\n  selection_dll:\n    ImageLoaded|endswith: .dll\n  condition: all of selection_*\n",
        "kql": "DeviceImageLoadEvents\n| where Timestamp > ago(7d)\n| where FileName endswith \".dll\"\n| where FolderPath has_any (\"\\\\Downloads\\\\\", \"\\\\AppData\\\\Local\\\\Temp\\\\\", \"\\\\Windows\\\\Temp\\\\\", \"\\\\Users\\\\Public\\\\\")\n| project Timestamp, DeviceName, InitiatingProcessAccountName, InitiatingProcessFileName,\n    InitiatingProcessFolderPath, FolderPath, FileName, SHA1\n| order by Timestamp desc",
        "spl": "sourcetype=\"XmlWinEventLog:Microsoft-Windows-Sysmon/Operational\" EventCode=7\nImageLoaded=\"*.dll\"\n(ImageLoaded=\"*\\\\Downloads\\\\*\" OR ImageLoaded=\"*\\\\AppData\\\\Local\\\\Temp\\\\*\"\n  OR ImageLoaded=\"*\\\\Windows\\\\Temp\\\\*\" OR ImageLoaded=\"*\\\\Users\\\\Public\\\\*\")\n| table _time host User Image ImageLoaded Signed SignatureStatus Hashes ProcessGuid\n| sort - _time"
      },
      "query_scope": "DLL image loads from common user-writable paths. Confirm the initiating executable is trusted and the loaded module is unexpected before treating the event as sideloading.",
      "query_kind": "native",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/windows-dll-sideload.yaml",
      "query_downloads": {
        "sigma": "/api/detections/windows-dll-sideload.sigma.yml",
        "kql": "/api/detections/windows-dll-sideload.kql",
        "spl": "/api/detections/windows-dll-sideload.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://www.security.com/threat-intelligence/african-stock-exchange-ai-assisted-attack"
      ],
      "reviewed": "2026-11-21",
      "upstream_matches": [
        {
          "name": "Microsoft Defender Blocked from Loading Unsigned DLL",
          "id": "0b0ea3cc-99c8-4730-9c53-45deee2a4c86",
          "source": "SigmaHQ",
          "url": "https://github.com/SigmaHQ/sigma/blob/master/rules/windows/builtin/security_mitigations/win_security_mitigations_defender_load_unsigned_dll.yml"
        }
      ]
    },
    {
      "node_id": "modules",
      "profile": "windows-shell",
      "title": "Suspicious Windows script execution",
      "hypothesis": "A script host or shell runs encoded content, a remote URL, or inline script syntax, then downloads or launches a payload.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "Windows process creation: Sysmon Event 1 or Defender DeviceProcessEvents",
        "PowerShell script-block logging when enabled",
        "Download / network and installer events"
      ],
      "investigate": [
        "Follow the parent and child process tree and recover the script or URL from logs without executing it.",
        "Correlate the payload's signer/hash, persistence, and network activity; baseline approved automation."
      ],
      "limitation": "Encoded commands and remote administration can be legitimate. This does not cover every script host, in-process execution, or non-Windows branch.",
      "note": "Forty-one PowerShell modules under the existing webshell. The shared scaffold is script content, not a process name.",
      "queries": {
        "sigma": "title: Hunt - Suspicious Windows script execution\nid: 2bb88802-9f03-4d99-a192-fe44c9484e8b\nstatus: experimental\ndescription: A script host or shell runs encoded content, a remote URL, or\n  inline script syntax, then downloads or launches a payload.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-10-23\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: process_creation\n  product: windows\ndetection:\n  selection:\n    Image|endswith:\n      - \\powershell.exe\n      - \\pwsh.exe\n      - \\mshta.exe\n      - \\wscript.exe\n      - \\cscript.exe\n    CommandLine|contains:\n      - -enc\n      - http\n      - FromBase64String\n      - \"javascript:\"\n      - \"vbscript:\"\n  condition: selection\n",
        "kql": "// Draft hunt; requires Defender for Endpoint process telemetry for this OS.\nDeviceProcessEvents\n| where Timestamp > ago(7d)\n| where FileName in~ (\"powershell.exe\", \"pwsh.exe\", \"mshta.exe\", \"wscript.exe\", \"cscript.exe\")\n| where ProcessCommandLine contains \"-enc\" or ProcessCommandLine contains \"http\" or ProcessCommandLine contains \"FromBase64String\" or ProcessCommandLine contains \"javascript:\" or ProcessCommandLine contains \"vbscript:\"\n| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA1\n| order by Timestamp desc",
        "spl": "sourcetype=\"XmlWinEventLog:Microsoft-Windows-Sysmon/Operational\" EventCode=1\nImage IN (\"*\\\\powershell.exe\", \"*\\\\pwsh.exe\", \"*\\\\mshta.exe\", \"*\\\\wscript.exe\", \"*\\\\cscript.exe\")\nCommandLine IN (\"*-enc*\", \"*http*\", \"*FromBase64String*\", \"*javascript:*\", \"*vbscript:*\")\n| table _time host User Image CommandLine ParentImage ParentCommandLine\n| sort - _time"
      },
      "query_scope": "Windows process candidates. Sigma uses normalized process_creation fields; KQL requires Defender for Endpoint; SPL requires the Sysmon XML sourcetype. Tune collectors, fields and baselines before use.",
      "query_kind": "native",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/windows-shell.yaml",
      "query_downloads": {
        "sigma": "/api/detections/windows-shell.sigma.yml",
        "kql": "/api/detections/windows-shell.kql",
        "spl": "/api/detections/windows-shell.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://www.security.com/threat-intelligence/african-stock-exchange-ai-assisted-attack"
      ],
      "reviewed": "2026-11-21",
      "upstream_matches": []
    },
    {
      "node_id": "hunt",
      "profile": "credentials",
      "title": "Sensitive store access → credential use",
      "hypothesis": "An unexpected process or tool accesses credential stores and is followed by token use or outbound transfer inconsistent with the owner.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "File-read / API access telemetry for relevant secret stores",
        "Process identity and command lines",
        "Identity, token and outbound-network audit logs"
      ],
      "investigate": [
        "Identify the actor, process and exact store touched, then pivot to token use from new devices or infrastructure.",
        "Correlate reads with egress and rotate affected credentials after confirming exposure."
      ],
      "limitation": "Defender DeviceFileEvents is not a general file-read audit trail. Collect suitable object-access, EDR or application logs; legitimate developer tools also read secrets.",
      "note": "The modules searched for passwords, keys, and tokens and tested them against exchange APIs. A successful login was not observed.",
      "queries": {
        "sigma": "title: Hunt - Sensitive store access → credential use\nid: 46c46c62-2d83-4198-a8bf-d6637094527b\nstatus: experimental\ndescription: An unexpected process or tool accesses credential stores and is\n  followed by token use or outbound transfer inconsistent with the owner.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-10-23\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: application\n  product: openattacks_audit\n  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,\n    Target and CorrelationId from the required source logs first.\ndetection:\n  selection:\n    EventType:\n      - secret.read\n      - credential.store.read\n  condition: selection\n",
        "kql": "// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.\n// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).\n// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.\nOpenAttacksAudit_CL\n| where TimeGenerated > ago(7d)\n| where EventType in (\"secret.read\", \"credential.store.read\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"secret.read\", \"credential.store.read\")\n| table _time EventType Actor Asset Action Target CorrelationId\n| sort - _time"
      },
      "query_scope": "Custom-schema candidates, not out-of-box detectors. Map your application / cloud / platform logs to EventType, Actor, Asset, Action, Target and CorrelationId. KQL uses a custom OpenAttacksAudit_CL table; SPL uses openattacks:audit. EventType values are proposed normalization names, not native vendor event names. Correlation and environment-specific alert logic remain to be built.",
      "query_kind": "custom_schema",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/credentials.yaml",
      "query_downloads": {
        "sigma": "/api/detections/credentials.sigma.yml",
        "kql": "/api/detections/credentials.kql",
        "spl": "/api/detections/credentials.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://www.security.com/threat-intelligence/african-stock-exchange-ai-assisted-attack"
      ],
      "reviewed": "2026-11-21",
      "upstream_matches": []
    },
    {
      "node_id": "exfil",
      "profile": "exfil",
      "title": "Sensitive data → unusual destination",
      "hypothesis": "Sensitive reads are followed by outbound transfer, a public artifact, or a tool call to a destination outside the approved workflow.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "Sensitive resource access / DLP records",
        "Proxy, egress and cloud upload events",
        "Agent / SaaS audit with correlation IDs"
      ],
      "investigate": [
        "Join the resource read and outbound action by session, identity or process, preserving a bounded time window.",
        "Inspect destination ownership, payload classification and the user's intended action; baseline sanctioned sharing."
      ],
      "limitation": "An outbound connection or high byte count alone is not exfiltration. Encrypted traffic may hide content, and bulk legitimate exports are common.",
      "note": "Output left as DNS lookups to an oast.pro token. The collector was not visible, and Symantec did not see data theft.",
      "queries": {
        "sigma": "title: Hunt - Sensitive data → unusual destination\nid: 04b60968-3179-4b1f-ae13-6f57c2446077\nstatus: experimental\ndescription: Sensitive reads are followed by outbound transfer, a public\n  artifact, or a tool call to a destination outside the approved workflow.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-10-23\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: application\n  product: openattacks_audit\n  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,\n    Target and CorrelationId from the required source logs first.\ndetection:\n  selection:\n    EventType:\n      - data.export\n      - agent.external.send\n  condition: selection\n",
        "kql": "// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.\n// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).\n// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.\nOpenAttacksAudit_CL\n| where TimeGenerated > ago(7d)\n| where EventType in (\"data.export\", \"agent.external.send\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"data.export\", \"agent.external.send\")\n| table _time EventType Actor Asset Action Target CorrelationId\n| sort - _time"
      },
      "query_scope": "Custom-schema candidates, not out-of-box detectors. Map your application / cloud / platform logs to EventType, Actor, Asset, Action, Target and CorrelationId. KQL uses a custom OpenAttacksAudit_CL table; SPL uses openattacks:audit. EventType values are proposed normalization names, not native vendor event names. Correlation and environment-specific alert logic remain to be built.",
      "query_kind": "custom_schema",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/exfil.yaml",
      "query_downloads": {
        "sigma": "/api/detections/exfil.sigma.yml",
        "kql": "/api/detections/exfil.kql",
        "spl": "/api/detections/exfil.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://www.security.com/threat-intelligence/african-stock-exchange-ai-assisted-attack"
      ],
      "reviewed": "2026-11-21",
      "upstream_matches": []
    }
  ],
  "attack_flow": {
    "nodes": [
      {
        "id": "server",
        "title": "IIS server, access vector unknown",
        "description": "The modules ran under a webshell in the IIS worker. Symantec dates the earliest malicious activity on the server to April 2026 and does not name the 2026 entry vector.",
        "kind": "access",
        "source_urls": [
          "https://www.security.com/threat-intelligence/african-stock-exchange-ai-assisted-attack"
        ]
      },
      {
        "id": "implants",
        "title": "Witchetty implants on the server",
        "description": "Six persistence implants on the server are attributed to Witchetty with high confidence. One was first seen in 2020. Symantec does not attribute the PowerShell toolkit to that group.",
        "kind": "execution",
        "source_urls": [
          "https://www.security.com/threat-intelligence/african-stock-exchange-ai-assisted-attack"
        ]
      },
      {
        "id": "modules",
        "title": "41 PowerShell modules",
        "description": "On 20 September 2026, 08:44-08:47 UTC, 41 modules ran in 3 minutes 12 seconds. Symantec reads the shared scaffold as AI-written or AI-assisted and does not identify the model.",
        "kind": "ai",
        "source_urls": [
          "https://www.security.com/threat-intelligence/african-stock-exchange-ai-assisted-attack"
        ]
      },
      {
        "id": "hunt",
        "title": "Credential and API tests",
        "description": "Modules searched web roots, C:\\Deployer, and SYSVOL, queried cloud, database, SharePoint, TFS, and SCCM surfaces, and tested keys against the investment API and a securities depository gateway.",
        "kind": "execution",
        "source_urls": [
          "https://www.security.com/threat-intelligence/african-stock-exchange-ai-assisted-attack"
        ]
      },
      {
        "id": "exfil",
        "title": "DNS output to oast.pro",
        "description": "Hex output left as DNS lookups under one oast.pro token. Symantec did not see the collector, privilege escalation, or data theft, and does not know whether any key worked.",
        "kind": "impact",
        "source_urls": [
          "https://www.security.com/threat-intelligence/african-stock-exchange-ai-assisted-attack"
        ]
      }
    ],
    "edges": [
      {
        "source": "server",
        "target": "implants"
      },
      {
        "source": "server",
        "target": "modules"
      },
      {
        "source": "modules",
        "target": "hunt"
      },
      {
        "source": "hunt",
        "target": "exfil"
      }
    ]
  }
}