{
  "attack_id": "apex-accelerator-ref8801-2026-10",
  "status": "catalog_recommendations_not_validated_coverage",
  "stages": [
    {
      "node_id": "step-1",
      "profile": "phishing",
      "title": "Lure → user action / delivery",
      "hypothesis": "An impersonating message, ad or website leads to a suspicious download, consent request, pasted command or payment instruction.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "Email / secure-web-gateway records",
        "Browser redirects, downloads and URL reputation",
        "User reports and downstream execution / identity events"
      ],
      "investigate": [
        "Reconstruct redirect and delivery provenance using original report indicators, without visiting payload URLs.",
        "Correlate the click with the actual download, consent or execution; verify the sender through an independent channel."
      ],
      "limitation": "Polished text, AI branding and a novel domain do not prove maliciousness or AI generation. Follow-on evidence matters.",
      "note": "Join the accelerator invitation to the package-install request; baseline legitimate recruitment and grants.",
      "queries": {
        "sigma": "title: Hunt - Lure → user action / delivery\nid: e0056b49-9905-485b-ac12-2aa076a7bc82\nstatus: experimental\ndescription: An impersonating message, ad or website leads to a suspicious\n  download, consent request, pasted command or payment instruction.\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      - message.link.click\n      - web.download\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 (\"message.link.click\", \"web.download\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"message.link.click\", \"web.download\")\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/phishing.yaml",
      "query_downloads": {
        "sigma": "/api/detections/phishing.sigma.yml",
        "kql": "/api/detections/phishing.kql",
        "spl": "/api/detections/phishing.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://www.elastic.co/security-labs/threat-command/apex-accelerator-malicious-npm-packages"
      ],
      "reviewed": "2026-11-04",
      "upstream_matches": []
    },
    {
      "node_id": "step-2",
      "profile": "mcp-config",
      "title": "Agent trust / configuration changes",
      "hypothesis": "A repository, dependency or agent changes MCP commands, automatic-task settings, tool approval or model-routing configuration before new execution.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "File changes and before/after content for MCP / IDE configuration",
        "Repository audit / pull-request history",
        "Agent startup and tool-invocation logs"
      ],
      "investigate": [
        "Diff command, args, environment, origin, autoApprove and task settings against the previously approved version.",
        "Correlate the author and change with the next agent launch; inspect path canonicalization and trailing-dot variants where relevant."
      ],
      "limitation": "A file-write event alone cannot establish what changed. Legitimate setup also changes these files; obtain a diff and authorization context.",
      "queries": {
        "sigma": "title: Hunt - Agent trust / configuration changes\nid: 2dfc8034-d66b-42a7-a699-a76b2ef872ac\nstatus: experimental\ndescription: A repository, dependency or agent changes MCP commands,\n  automatic-task settings, tool approval or model-routing configuration before\n  new execution.\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      - agent.config.write\n      - agent.approval.change\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 (\"agent.config.write\", \"agent.approval.change\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"agent.config.write\", \"agent.approval.change\")\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/mcp-config.yaml",
      "query_downloads": {
        "sigma": "/api/detections/mcp-config.sigma.yml",
        "kql": "/api/detections/mcp-config.kql",
        "spl": "/api/detections/mcp-config.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://www.elastic.co/security-labs/threat-command/apex-accelerator-malicious-npm-packages"
      ],
      "reviewed": "2026-10-23",
      "upstream_matches": [],
      "resource": {
        "name": "LOLSkills",
        "url": "https://lolskills.io"
      }
    },
    {
      "node_id": "step-3",
      "profile": "agent-tools",
      "title": "Unexpected agent tool use",
      "hypothesis": "Untrusted content or a changed tool definition precedes a file read, command, or remote call outside the user's intended task.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "Agent tool-call audit records with session / tool / destination",
        "Tool-definition and approval changes",
        "Endpoint process, file-access and network evidence where available"
      ],
      "investigate": [
        "Join input provenance, tool descriptions and calls by session ID and compare the action to the approved task.",
        "Inspect child processes and destinations; record whether execution was in-process, local, or through a remote SaaS connector."
      ],
      "limitation": "Process logs cannot recover model intent. Remote connectors and in-process interpreters may produce no local child process. Prompt content alone is not a reliable signature.",
      "queries": {
        "sigma": "title: Hunt - Unexpected agent tool use\nid: c709e384-0e11-479e-ab4d-3a06e2431e4b\nstatus: experimental\ndescription: Untrusted content or a changed tool definition precedes a file\n  read, command, or remote call outside the user's intended task.\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      - agent.tool.call\n      - agent.tool.definition.change\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 (\"agent.tool.call\", \"agent.tool.definition.change\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"agent.tool.call\", \"agent.tool.definition.change\")\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/agent-tools.yaml",
      "query_downloads": {
        "sigma": "/api/detections/agent-tools.sigma.yml",
        "kql": "/api/detections/agent-tools.kql",
        "spl": "/api/detections/agent-tools.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://www.elastic.co/security-labs/threat-command/apex-accelerator-malicious-npm-packages"
      ],
      "reviewed": "2026-10-23",
      "upstream_matches": [],
      "resource": {
        "name": "LOLSkills",
        "url": "https://lolskills.io"
      }
    },
    {
      "node_id": "step-4",
      "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.",
      "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.elastic.co/security-labs/threat-command/apex-accelerator-malicious-npm-packages"
      ],
      "reviewed": "2026-10-23",
      "upstream_matches": [],
      "control": {
        "title": "Restrict script / execution utilities",
        "action": "Use MagicSword to review and enforce a policy restricting unneeded Windows script hosts, shells or installer utilities identified in this branch.",
        "scope": "The Windows wscript → PowerShell branch only. This does not cover the separate macOS CloudSyncD branch.",
        "limitation": "Policy opportunity, not tested incident coverage. Requires enrolled Windows devices, a policy covering the actual executable, and enforcement. Audit mode records decisions without blocking; allowed tools and in-process / cloud actions can remain reachable.",
        "url": "https://www.magicsword.io/use-cases/application-control?utm_source=openattacks&utm_medium=referral&utm_content=stage-control"
      }
    }
  ],
  "attack_flow": {
    "nodes": [
      {
        "id": "step-1",
        "title": "Fake accelerator recruits founders",
        "description": "Free AI credits entice Web3 founders to install npm packages.",
        "kind": "access",
        "source_urls": [
          "https://www.elastic.co/security-labs/threat-command/apex-accelerator-malicious-npm-packages"
        ]
      },
      {
        "id": "step-2",
        "title": "Bootstrap changes agent settings",
        "description": "The packages introduce an attacker LLM proxy, rogue MCP configuration and permissive approvals.",
        "kind": "execution",
        "source_urls": [
          "https://www.elastic.co/security-labs/threat-command/apex-accelerator-malicious-npm-packages"
        ]
      },
      {
        "id": "step-3",
        "title": "Rogue tools influence the agent",
        "description": "The audit MCP fabricates findings and registers with desktop coding agents.",
        "kind": "ai",
        "source_urls": [
          "https://www.elastic.co/security-labs/threat-command/apex-accelerator-malicious-npm-packages"
        ]
      },
      {
        "id": "step-4",
        "title": "Platform-specific malware",
        "description": "Reported Windows and macOS branches deliver a stealer or CloudSyncD.",
        "kind": "impact",
        "source_urls": [
          "https://www.elastic.co/security-labs/threat-command/apex-accelerator-malicious-npm-packages"
        ]
      }
    ],
    "edges": [
      {
        "source": "step-1",
        "target": "step-2"
      },
      {
        "source": "step-2",
        "target": "step-3"
      },
      {
        "source": "step-3",
        "target": "step-4"
      }
    ]
  }
}