From 795f22968ae6429f0c3dcb631c010ba5fa1b7258 Mon Sep 17 00:00:00 2001 From: akly <1842743+akly@users.noreply.github.com> Date: Fri, 27 Nov 2026 02:04:51 +0000 Subject: [PATCH 1/2] Add MITRE ATT&CK mapping to the ARTEX study (v1.6) Maps the behaviours in study artex-2026-11 to MITRE ATT&CK so defenders can check coverage against the framework their controls are written around. - New report reports/attack-mapping.md: techniques by tactic, each tied to the claims behind it, with a detection (pointing at the shipped Sigma, YARA and query files where one exists) and a mitigation. Behaviour-first: technique rows label model-improvised behaviour, not fixed modules. - New ATT&CK Navigator layer indicators/attack/navigator-layer.json (19 techniques across 12 tactics). - Covers Defense evasion (T1036) and Lateral movement (T1550.001, T1021) alongside the earlier tactics. Lateral movement is labelled as resting on public campaign reporting, not ARTEX's own reviewed code. - Wiring: README "what's here" row and v1.6 changelog, mkdocs nav, site redirects, indicators README row. No claims changed; the mapping cites existing claim IDs only, so no CORRECTIONS.md entry. scripts/check_claims.py not run (no source access here); the mapping adds no code-evidence claims. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01XRTrTaqXdqgTUA4hEr2ybU --- mkdocs.yml | 1 + site/pages/_redirects | 2 + studies/artex-2026-11/README.md | 6 +- studies/artex-2026-11/indicators/README.md | 1 + .../indicators/attack/navigator-layer.json | 169 ++++++++++++++++++ .../artex-2026-11/reports/attack-mapping.md | 110 ++++++++++++ 6 files changed, 287 insertions(+), 2 deletions(-) create mode 100644 studies/artex-2026-11/indicators/attack/navigator-layer.json create mode 100644 studies/artex-2026-11/reports/attack-mapping.md diff --git a/mkdocs.yml b/mkdocs.yml index ac020b4..916ad7c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -98,6 +98,7 @@ nav: - Teardown report: artex/teardown.md - Prompt design: artex/prompt-design.md - Indicators and detections: artex/indicators.md + - ATT&CK mapping: artex/attack-mapping.md - Questions and answers: artex/faq.md - Claims explorer: claims.md - Methodology: artex/methodology.md diff --git a/site/pages/_redirects b/site/pages/_redirects index a7da307..bc9af44 100644 --- a/site/pages/_redirects +++ b/site/pages/_redirects @@ -15,6 +15,8 @@ /studies/artex-2026-11/reports/teardown /artex/teardown/ 301 /studies/artex-2026-11/reports/prompt-design/ /artex/prompt-design/ 301 /studies/artex-2026-11/reports/prompt-design /artex/prompt-design/ 301 +/studies/artex-2026-11/reports/attack-mapping/ /artex/attack-mapping/ 301 +/studies/artex-2026-11/reports/attack-mapping /artex/attack-mapping/ 301 /studies/artex-2026-11/faq/ /artex/faq/ 301 /studies/artex-2026-11/faq /artex/faq/ 301 /studies/artex-2026-11/methodology/ /artex/methodology/ 301 diff --git a/studies/artex-2026-11/README.md b/studies/artex-2026-11/README.md index 6308859..c329734 100644 --- a/studies/artex-2026-11/README.md +++ b/studies/artex-2026-11/README.md @@ -1,6 +1,6 @@ # ARTEX: what the code says -**Café Security Research** · Study `artex-2026-11` · Version 1.5, 26 November 2026 +**Café Security Research** · Study `artex-2026-11` · Version 1.6, 27 November 2026 A static review of the source code of ARTEX, the open-source AI hacking tool the FBI warned about on 13 November 2026, and of the agent engine it runs on. Nothing was built or run. @@ -29,6 +29,7 @@ ARTEX is one of many. Google's threat intelligence team has reported attackers u | [`CORRECTIONS.md`](CORRECTIONS.md) | Every correction made during the review, kept in public. | | [`reports/teardown.md`](reports/teardown.md) | The teardown report for CISOs, business leaders and defenders. | | [`reports/prompt-design.md`](reports/prompt-design.md) | How ARTEX's prompts are designed, described rather than reproduced. | +| [`reports/attack-mapping.md`](reports/attack-mapping.md) | The study's behaviours mapped to MITRE ATT&CK, a detection and a fix for each, with a [Navigator layer](indicators/attack/navigator-layer.json). | | [`faq.yaml`](faq.yaml) | Plain answers to common questions, each tied to its claims. | ## Check it yourself @@ -50,6 +51,7 @@ Open an issue with the claim ID: [challenge a claim](../../.github/ISSUE_TEMPLAT ## Changes +- **1.6, 27 November 2026.** Added a [MITRE ATT&CK mapping](reports/attack-mapping.md): the study's behaviours lined up against the framework, each with the claims behind it, a detection (pointing at the shipped Sigma, YARA and query files where one exists) and a mitigation, plus an [ATT&CK Navigator layer](indicators/attack/navigator-layer.json). No new claims; the mapping cites existing ones, and the detection-first framing follows the indicators' order (behaviour over fingerprints). - **1.5, 26 November 2026.** Added [indicators and detections](indicators/README.md): Sigma rules for four behavioural alerts with Splunk, Microsoft Sentinel and Google Cloud versions, names seen in incidents and console fingerprints with their sources, and YARA rules for finding ARTEX on your own systems, with steps for using each; all marked as starting points. Added the readiness planner on the site. New claims C218 (names chosen at run time) and C219 (Bitrise's account). - **1.4, 26 November 2026.** v0.3.30 (14 November) sends ordinary browser user agents and tells its agents to copy the target's headers, the first stealth feature found, so tool names such as "norma/0.4" now only identify older builds (C208-C210). Checked Bitrise's, WorkOS's and a detection engineer's accounts against the code (C211-C213). Added v0.3.30's escaped-command fix and its optional agent control endpoint (C214, C215), and the size and language of the code (C216, C217). Corrected one row of the public-reporting table (see [corrections](CORRECTIONS.md)). - **1.3, 23 November 2026.** Added audience guides (overview, CISOs and leaders, security teams, red teams and vendors, policy and government), a house style guide, and sourced context claims on the AI-pentest market, the 2026 agent-escape incidents, autonomous ransomware, the patching squeeze and detection (C190-C207). @@ -59,4 +61,4 @@ Open an issue with the claim ID: [challenge a claim](../../.github/ISSUE_TEMPLAT ## Cite -Café Security Research (2026). *ARTEX: what the code says* (study artex-2026-11, v1.5). https://github.com/cafesecurity/research +Café Security Research (2026). *ARTEX: what the code says* (study artex-2026-11, v1.6). https://github.com/cafesecurity/research diff --git a/studies/artex-2026-11/indicators/README.md b/studies/artex-2026-11/indicators/README.md index 7f6574e..e37f125 100644 --- a/studies/artex-2026-11/indicators/README.md +++ b/studies/artex-2026-11/indicators/README.md @@ -20,6 +20,7 @@ Part of the study [ARTEX: what the code says](../README.md). These files turn th | [`queries/google-cloud-logging/`](queries/google-cloud-logging/) | A Google Cloud Logging query for the service-account rule. | | [`indicators.csv`](indicators.csv) | Names seen in incidents and console fingerprints, each with its source, the claims behind it and a caveat. | | [`yara/artex.yar`](yara/artex.yar) | YARA rules for finding a copy of ARTEX on systems you manage. | +| [`attack/navigator-layer.json`](attack/navigator-layer.json) | The study's behaviours as a MITRE ATT&CK Navigator layer. See the [mapping report](../reports/attack-mapping.md) for the reasoning and detections. | ## How to use them diff --git a/studies/artex-2026-11/indicators/attack/navigator-layer.json b/studies/artex-2026-11/indicators/attack/navigator-layer.json new file mode 100644 index 0000000..b9432c9 --- /dev/null +++ b/studies/artex-2026-11/indicators/attack/navigator-layer.json @@ -0,0 +1,169 @@ +{ + "name": "ARTEX (artex-2026-11)", + "versions": { + "layer": "4.5", + "navigator": "5.1.0", + "attack": "16" + }, + "domain": "enterprise-attack", + "description": "Behaviours from the Cafe Security Research study 'ARTEX: what the code says' (artex-2026-11) mapped to MITRE ATT&CK. Companion to reports/attack-mapping.md. Each comment cites the claim IDs behind it. ARTEX is a harness around an AI model, so most technique use is model-improvised and varies per run (C128); treat these as coverage checks, not fixed fingerprints. Starting point, not tested against your logs.", + "filters": { + "platforms": ["Linux", "Windows", "macOS", "IaaS", "SaaS", "Identity Provider", "Office Suite"] + }, + "sorting": 0, + "layout": { + "layout": "side", + "showID": true, + "showName": true + }, + "hideDisabled": true, + "techniques": [ + { + "techniqueID": "T1595", + "tactic": "reconnaissance", + "score": 1, + "comment": "Bundled nmap, netcat and an API-endpoint-discovery skill; model enumerates whatever is reachable. Claims C040, C041, C195. Detect: sigma/web_request_claims_authorised_test.yml.", + "enabled": true + }, + { + "techniqueID": "T1588.002", + "tactic": "resource-development", + "score": 1, + "comment": "ARTEX is the obtained tool; easy to fingerprint in your own estate (unauthenticated health check names service+version, default port 8787, consoles exposed at scale). Claims C100, C104, C121, C129. Detect: yara/artex.yar, indicators.csv.", + "enabled": true + }, + { + "techniqueID": "T1190", + "tactic": "initial-access", + "score": 1, + "comment": "Model exploits what it confirms; database stores repro steps and exploit code per confirmed target. Model-improvised, varies per run. Claims C042, C181. Keeps a WAF/block tally and is told to try every way round (C090, C091).", + "enabled": true + }, + { + "techniqueID": "T1078.004", + "tactic": "initial-access", + "score": 1, + "comment": "Compromised long-lived keys used to search cloud logs for more secrets and abuse public sign-up pools; Bitrise entry via a dormant internal bot with no 2FA. Claims C126, C127, C219. Detect: sigma aws/azure/gcp unexpected-source rules.", + "enabled": true + }, + { + "techniqueID": "T1059.004", + "tactic": "execution", + "score": 1, + "comment": "Shell is the capability; planner, main agent and 3 workers get it by default. Engine floor = 4 catastrophic commands, no deny rules set (C014, C015). Claims C035, C036, C042. Detect on tempo, not command content.", + "enabled": true + }, + { + "techniqueID": "T1552.001", + "tactic": "credential-access", + "score": 1, + "comment": "Model reads secrets it finds (Bitrise: unmarked build secrets). ARTEX also leaves its own operator keys + DB password in every agent's environment (C106) — hunt a seized instance. Claims C106, C219.", + "enabled": true + }, + { + "techniqueID": "T1552.005", + "tactic": "credential-access", + "score": 1, + "comment": "Engine web fetch has no block on internal/private addresses, so the model can reach metadata and internal endpoints. Claim C019. Mitigate: IMDSv2, block internal fetches at app layer.", + "enabled": true + }, + { + "techniqueID": "T1110", + "tactic": "credential-access", + "score": 1, + "comment": "Agentic sign-in abuse, incl. the failed-attempt bursts before Bitrise entry. Claims C126, C219. Detect: sigma/signin_failure_burst.yml.", + "enabled": true + }, + { + "techniqueID": "T1046", + "tactic": "discovery", + "score": 1, + "comment": "nmap/netcat in image; model scans. Raw scans bypass ARTEX's own recording proxy (C061) but show on your network; visible even when the agent fails its goal (C131, C200). Claims C041, C061.", + "enabled": true + }, + { + "techniqueID": "T1526", + "tactic": "discovery", + "score": 1, + "comment": "Stolen keys used to search cloud logs and map the account; planner/worker/verification agents share a knowledge graph (C127). Claims C126, C127.", + "enabled": true + }, + { + "techniqueID": "T1005", + "tactic": "collection", + "score": 1, + "comment": "Model-improvised. Optional AI judge (off by default) explicitly does NOT treat reading password/.env files, keys or whole databases as a reason to block. Claim C183.", + "enabled": true + }, + { + "techniqueID": "T1530", + "tactic": "collection", + "score": 1, + "comment": "Model-improvised cloud-storage reads; same no-block-on-sensitive-reads judge default. Claim C183. Detect on bulk reads as a sequence, not singly.", + "enabled": true + }, + { + "techniqueID": "T1567", + "tactic": "exfiltration", + "score": 1, + "comment": "Findings can be sent to Telegram, email, webhooks and 3 workplace chat apps; the rule against piping data to another host ships OFF. Claims C064, C085. Mitigate: egress allow-listing.", + "enabled": true + }, + { + "techniqueID": "T1485", + "tactic": "impact", + "score": 1, + "comment": "WIDER CLASS, not found in ARTEX: autonomous-ransomware case (JADEPUFFER) destroyed originals end to end (C199). ARTEX's own destructive-command rules are ON by default (C015, C085). Included for coverage.", + "enabled": true + }, + { + "techniqueID": "T1486", + "tactic": "impact", + "score": 1, + "comment": "WIDER CLASS, not found in ARTEX: JADEPUFFER encrypted a database end to end (C199). ARTEX restrains destructive commands by default (C015, C085). Included for coverage.", + "enabled": true + }, + { + "techniqueID": "T1071.001", + "tactic": "command-and-control", + "score": 1, + "comment": "Agent reaches targets over HTTP via engine web fetch + Chromium. v0.3.30 rotates 20 desktop user agents and reuses the target's headers (first stealth feature); old tool-name indicators catch old builds only. Claims C041, C209, C210. Best surface: model-API boundary (C202, C205).", + "enabled": true + }, + { + "techniqueID": "T1036", + "tactic": "defense-evasion", + "score": 1, + "comment": "v0.3.30 rotates 20 desktop user agents and reuses the target's own headers; agents told not to send CLI default headers (one stealth feature, C209). Old builds named the tool in UA (norma/0.4, artex-enrich/1.0) - historical-log search only (C208, C210). Prompts assert an unchecked 'authorised test' (C184). Detect: sigma/web_request_claims_authorised_test.yml; lean on behaviour + model-API boundary, not UA.", + "enabled": true + }, + { + "techniqueID": "T1550.001", + "tactic": "lateral-movement", + "score": 1, + "comment": "Public reporting, not ARTEX's reviewed code: stolen long-lived keys and already-issued tokens reused to reach further services. Bitrise - disabling a key didn't recall tokens minted from it (C219); AWS - stolen keys searched cloud logs for more secrets (C126, C127). Detect: sigma/*_unexpected_source.yml (key/principal used from outside own ranges).", + "enabled": true + }, + { + "techniqueID": "T1021", + "tactic": "lateral-movement", + "score": 1, + "comment": "Model-improvised, not a shipped module: valid accounts + shell reach further hosts/services. Amazon describes planner/worker/verification agents sharing a knowledge graph, stolen keys funding further hunting (C127). Claims C126, C127. Detect: one identity reaching systems it doesn't normally touch at machine tempo (C203); internal apps must log requests (C213).", + "enabled": true + } + ], + "gradient": { + "colors": ["#ffe766", "#d94f4f"], + "minValue": 0, + "maxValue": 1 + }, + "metadata": [ + {"name": "study", "value": "artex-2026-11"}, + {"name": "source", "value": "https://github.com/cafesecurity/research"}, + {"name": "caveat", "value": "Behaviours are model-improvised and vary per run (C128). Weight detection toward tempo, sequence and the model-API boundary."} + ], + "showTacticRowBackground": true, + "tacticRowBackground": "#14223a", + "selectTechniquesAcrossTactics": true, + "selectSubtechniquesWithParent": false +} diff --git a/studies/artex-2026-11/reports/attack-mapping.md b/studies/artex-2026-11/reports/attack-mapping.md new file mode 100644 index 0000000..4457bd1 --- /dev/null +++ b/studies/artex-2026-11/reports/attack-mapping.md @@ -0,0 +1,110 @@ +# ARTEX mapped to MITRE ATT&CK + +**Café Security Research** · Study `artex-2026-11` · Companion to the [teardown](teardown.md) and the [indicators](../indicators/README.md) + +This maps the behaviours in the study to [MITRE ATT&CK](https://attack.mitre.org/) techniques, so a defender can line ARTEX up against the framework their controls and detections are already written around. Every row cites the claims behind it, and the detection column points at a rule or query shipped with the study where one exists. A [Navigator layer](../indicators/attack/navigator-layer.json) carries the same mapping for loading into the [ATT&CK Navigator](https://mitre-attack.github.io/attack-navigator/). + +## Read this first + +The map has limits, and they matter more here than for a conventional tool. + +- **The technique is a label for a behaviour, not a feature of the tool.** ARTEX has no exploit library. A model drives a shell, a browser and standard tools, and decides what to type ([C042](../claims.yaml), C035). So most of what it does on a target is improvised and changes from run to run (C128). A row that says "ARTEX does T1046" means the model, given a shell, does what T1046 describes — not that ARTEX ships a scanner module you can fingerprint. +- **The durable signal is tempo, sequence and objective, not any single event.** Detecting an agent-run intrusion shifts the question from "does this event look malicious?" to "what was this identity trying to do, and did its behaviour match that?" (C201, C203). Read the map that way: the value is in the chains, not the ticks. +- **The model boundary is a detection surface.** When the agent uses the victim's own AI keys, sustained tool-driven activity from one identity is visible in model-API traffic, often to the provider when it isn't to the victim (C202, C205). +- **Everything here is a starting point.** As with the [indicators](../indicators/README.md), these rows were written from the code and from public reporting, not tested against your logs. Tune before you rely on them. + +Each row's confidence is the status of the claims it cites: `code` (checked against the source), `source` (a public report), `inference` (our reasoning) or `secondary` (a report about someone else's work). Rows that rest on the wider tool class rather than ARTEX's own code say so. + +## Mitigations that cut across + +These recur, so they're stated once here rather than in every row. They don't depend on anything specific to ARTEX, which is the point: they hold against the whole class of agentic offensive tools (C168, C207). + +- **Enforce scope outside the tool.** ARTEX asserts an authorisation nothing checks and keeps scope only in prompts (C081, C207). Boundaries that hold live in your network and infrastructure, not in the attacker's settings (C204). +- **Allow-list egress.** The default build won't stop data leaving (C085); assume the attacker's won't either. Control what can talk out, and to where. +- **Scope and shorten credentials.** Stolen long-lived keys fund the next stage of credential hunting (C126, C127). Short-lived, least-privilege credentials cut that chain. +- **Alert on machine speed.** Many tool calls per minute from one identity is the tool's native tempo (C203). Baseline it and alert on it. +- **Log internal apps.** A detection is only as good as the logs behind it; internal web apps and APIs often don't log requests at all (C213). + +--- + +## Reconnaissance + +| Technique | What ARTEX does | Claims | Detection | Mitigation | +| --- | --- | --- | --- | --- | +| **T1595 Active Scanning** | The standard image bundles nmap, netcat and an API-endpoint-discovery skill; the model enumerates whatever is reachable. Obscurity is no cover against a tool that enumerates everything (C195). | C040, C041, C195 | `sigma/web_request_claims_authorised_test.yml` — a request that calls itself an authorised test or names the engine. Watch one source touching many endpoints or hosts fast. | Cut exposed surface; make internal apps log requests; rate-limit and alert on enumeration. | + +## Resource development + +| Technique | What ARTEX does | Claims | Detection | Mitigation | +| --- | --- | --- | --- | --- | +| **T1588.002 Obtain Capabilities: Tool** | ARTEX is the obtained tool. It's easy to fingerprint in your own estate: an unauthenticated health check names the service and version, on port 8787 by default, and consoles are exposed at scale. | C100, C104, C121, C129 | `yara/artex.yar` for a copy on disk; the console fingerprints in `indicators.csv`; hunt port 8787 and the unauthenticated health endpoint on your own ranges. | Find and remove exposed consoles; block the port inbound; treat any internal host answering as the service as an incident. | + +## Initial access + +| Technique | What ARTEX does | Claims | Detection | Mitigation | +| --- | --- | --- | --- | --- | +| **T1190 Exploit Public-Facing Application** | The model exploits what it confirms; the database then holds, per confirmed vulnerability, a report with reproduction steps and exploit code for that target (so a seized instance is both a victim list and a set of exploits). Model-driven, varies per run. | C042, C181 | Behaviour over signature: a single identity moving from enumeration to a working request against one app at speed. ARTEX keeps a tally of WAF/403/CAPTCHA blocks and is told to try every way round them (C090, C091). | Patch; WAF; isolate public apps; alert on repeated blocked-then-retried requests from one source. | +| **T1078.004 Valid Accounts: Cloud Accounts** | Uses compromised long-lived keys to search cloud logs for more secrets and to abuse public sign-up pools. In the Bitrise intrusion, entry was through an internal bot unused since 2022 with no two-factor (C219). | C126, C127, C219 | `sigma/aws_long_term_key_unexpected_source.yml`, `sigma/azure_service_principal_unexpected_source.yml`, `sigma/gcp_service_account_key_unexpected_source.yml` — a known key or principal used from outside your own ranges. | Short-lived, scoped credentials; two-factor on every account including service and test bots; retire dormant accounts. | + +## Execution + +| Technique | What ARTEX does | Claims | Detection | Mitigation | +| --- | --- | --- | --- | --- | +| **T1059.004 Command and Scripting Interpreter: Unix Shell** | The shell is the capability. Planner, main agent and three workers get it by default; the engine's only hard floor is four catastrophic commands, and ARTEX sets no deny rules (C014, C015). Everything else is the model typing. | C035, C036, C042 | Not the commands (they vary) but the tempo and operator: bursts of shell activity from one identity with no human pace. | Least privilege on hosts; isolate anything that could be a target; alert on machine-speed command sequences. | + +## Defense evasion + +| Technique | What ARTEX does | Claims | Detection | Mitigation | +| --- | --- | --- | --- | --- | +| **T1036 Masquerading** | From v0.3.30, ARTEX's own web requests rotate 20 ordinary desktop user agents, and its agents are told not to send command-line tools' default headers but to reuse the target's own — the one stealth feature found in the code (C209). Older builds named the tool in the user agent, so those strings (`norma/0.4`, `artex-enrich/1.0`) now identify only old builds and past visits (C208, C210). Its prompts also assert an "authorised test" that nothing in code checks (C184), framing that can surface as a marker in request contents. | C184, C208, C209, C210 | `sigma/web_request_claims_authorised_test.yml` for the authorised-test or engine-name marker. Don't lean on user agents — current builds blend in, and the old tool names are for searching historical logs only. The durable surface is behaviour and the model-API boundary (C202, C205). | A user-agent masquerade defeats signature matching, not behavioural baselines: baseline each identity's request tempo and destinations, and watch egress and the model-API boundary, where the keys are yours. | + +## Credential access + +| Technique | What ARTEX does | Claims | Detection | Mitigation | +| --- | --- | --- | --- | --- | +| **T1552.001 Unsecured Credentials: Credentials in Files** | The model reads secrets it finds. In the Bitrise case it read build secrets that hadn't been marked secret (C219). Note the irony worth hunting: ARTEX leaves its *own* operator keys and database password in every agent's environment (C106). | C106, C219 | File-access patterns from an automated identity; a seized or exposed ARTEX instance exposes the operator's own keys. | Keep secrets out of files and environments; scope what any one identity can read. | +| **T1552.005 Unsecured Credentials: Cloud Instance Metadata API** | The engine's web fetch has no block on internal or private addresses, so the model can request internal and metadata endpoints. | C019 | Requests to metadata or internal addresses from an application identity that normally doesn't make them. | Enforce metadata-service hardening (IMDSv2 and equivalents); block internal fetches at the app layer. | +| **T1110 Brute Force** | Agentic abuse of sign-in, including the failed-attempt bursts seen before the Bitrise entry (C219). | C126, C219 | `sigma/signin_failure_burst.yml` — ten or more failed sign-ins for one account in five minutes. | Lockout and throttling; two-factor; alert on failure bursts across related accounts. | + +## Discovery + +| Technique | What ARTEX does | Claims | Detection | Mitigation | +| --- | --- | --- | --- | --- | +| **T1046 Network Service Discovery** | nmap and netcat in the image; the model scans. Raw scans bypass ARTEX's own recording proxy (C061), so they won't appear in the operator's capture but will on your network. | C041, C061 | Network monitoring sees the scan stage even when the agent later fails its goal (C131, C200). | Segment networks; alert on internal scanning from non-scanner hosts. | +| **T1526 Cloud Service Discovery** | Uses stolen keys to search cloud logs and map the account; Amazon describes planner/worker/verification agents sharing a knowledge graph of what they find (C127). | C126, C127 | Unusual read-heavy enumeration of cloud logging and inventory APIs by one identity. | Scope credentials; alert on broad `List`/`Describe`/log-reading bursts. | + +## Lateral movement + +These rest on public reporting of ARTEX campaigns, not on ARTEX's own reviewed code: the versions studied ship no lateral-movement module, so this is stolen valid accounts plus the model and the shell. + +| Technique | What ARTEX does | Claims | Detection | Mitigation | +| --- | --- | --- | --- | --- | +| **T1550.001 Use Alternate Authentication Material: Application Access Token** | Compromised long-lived keys and already-issued tokens are reused to reach further services. In the Bitrise intrusion, disabling a key didn't recall the access tokens already minted from it, so revocation lagged the attacker (C219); in AWS, stolen long-lived keys were used to search cloud logs for more secrets (C126, C127). | C126, C127, C219 | `sigma/aws_long_term_key_unexpected_source.yml`, `sigma/azure_service_principal_unexpected_source.yml`, `sigma/gcp_service_account_key_unexpected_source.yml` — a known key or principal used from outside your own ranges; Bitrise reported this matched every stolen-key use it saw (C219). | Short-lived, scoped credentials; revocation that recalls issued tokens, not just the parent key; two-factor on service and test accounts; retire dormant accounts. | +| **T1021 Remote Services** | Model-improvised, not a shipped module: given valid accounts and the shell, the model reaches further hosts and services. Amazon describes planner, worker and verification agents sharing a knowledge graph of what they find, with stolen keys funding further hunting (C127). | C126, C127 | Behaviour, not signature: one identity reaching systems it doesn't normally touch, at machine tempo (C203). Internal apps must log requests for this to be visible at all (C213). | Segment networks; scope credentials tightly; two-factor on internal services; baseline and alert on an identity's first contact with a new system. | + +## Collection and exfiltration + +| Technique | What ARTEX does | Claims | Detection | Mitigation | +| --- | --- | --- | --- | --- | +| **T1530 Data from Cloud Storage / T1005 Data from Local System** | Model-improvised. The optional AI judge, off by default, explicitly does *not* treat reading password files, `.env` files, keys or whole databases as a reason to block (C183). | C183 | Large or unusual reads from an automated identity, read as part of a sequence rather than singly. | Scope data access; alert on bulk reads; separate sensitive stores. | +| **T1567 Exfiltration Over Web Service** | Findings can be sent out to Telegram, email, webhooks and three workplace chat apps; the built-in rule against piping data to another host ships switched off. | C064, C085 | Egress monitoring to messaging and webhook endpoints from server identities. | Allow-list egress; block unapproved outbound destinations. | + +## Impact — the wider class, not ARTEX's own code + +| Technique | What the class does | Claims | Detection | Mitigation | +| --- | --- | --- | --- | --- | +| **T1486 Data Encrypted for Impact / T1485 Data Destruction** | Shown by the agentic class, not found in ARTEX: the first documented autonomous-ransomware case (JADEPUFFER) ran an intrusion end to end — break-in, credential theft, lateral movement, encrypting a database and destroying the originals (C199). ARTEX's own destructive-command rules are *on* by default (C015, C085), so this row is about the threat class, included for completeness. | C199 | Rapid, automated file modification or deletion across a store; the same tempo signal as elsewhere. | Offline, tested backups; least privilege on data stores; alert on mass-modify operations. | + +## Command and control + +| Technique | What ARTEX does | Claims | Detection | Mitigation | +| --- | --- | --- | --- | --- | +| **T1071.001 Application Layer Protocol: Web Protocols** | The agent reaches targets over HTTP via the engine's web fetch and a Chromium browser. From v0.3.30 it rotates 20 ordinary desktop user agents and is told to reuse the target's own headers — the first stealth feature found — so old tool-name indicators now only catch old builds and visits (C208, C209, C210). | C041, C209, C210 | Behaviour, not user agent. The model boundary is the better surface: sustained tool-driven requests from one identity (C202, C205). Old names ("norma/0.4", "artex-enrich/1.0") are for searching historical logs only. | Monitor at the model-API boundary where keys are yours; egress control; behavioural web-traffic baselines. | + +--- + +## What this map doesn't claim + +It doesn't suggest ARTEX is more capable than the teardown says, or that any row is a fixed, fingerprintable module. The through-line of the study holds here: the defences that work sit outside the tool, and they're the same ones that hold against the whole class (C168, C207). Use the map to check your coverage against techniques you already know, then weight your effort toward the behavioural and sequence-based detections, because those are the ones ARTEX can't easily change (indicators [README](../indicators/README.md)). + +Found a technique we've mis-mapped, or one we've missed? [Open an issue](../../../.github/ISSUE_TEMPLATE/challenge-a-claim.yml) with the claim ID. Anything that would help an attacker goes through the [private route](../../../SECURITY.md). From 647951101b9ff77fb18b1198f521f8275af4b992 Mon Sep 17 00:00:00 2001 From: akly <1842743+akly@users.noreply.github.com> Date: Fri, 27 Nov 2026 02:23:04 +0000 Subject: [PATCH 2/2] ATT&CK mapping: tighten evidence for evasion and lateral movement - T1036: cite C211. Bitrise logged "authorized-pentest/bitrise-readonly" in a real ARTEX intrusion, so the authorised-test marker is observed, not hypothetical. - T1021: no ARTEX claim supported remote-services movement. Reframe as a wider-class row citing C199 (JADEPUFFER), as the Impact section does, and say plainly that no public ARTEX report documents it. - T1550.001: rest on C219 (issued tokens outliving the disabled key); drop C126/C127, which describe credential hunting, not movement. - T1526: add the C030 caveat to Amazon's "verification agents". - Navigator layer comments updated to match; formatting untouched. No claims changed. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01XRTrTaqXdqgTUA4hEr2ybU --- .../indicators/attack/navigator-layer.json | 8 ++++---- studies/artex-2026-11/reports/attack-mapping.md | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/studies/artex-2026-11/indicators/attack/navigator-layer.json b/studies/artex-2026-11/indicators/attack/navigator-layer.json index b9432c9..5855d91 100644 --- a/studies/artex-2026-11/indicators/attack/navigator-layer.json +++ b/studies/artex-2026-11/indicators/attack/navigator-layer.json @@ -85,7 +85,7 @@ "techniqueID": "T1526", "tactic": "discovery", "score": 1, - "comment": "Stolen keys used to search cloud logs and map the account; planner/worker/verification agents share a knowledge graph (C127). Claims C126, C127.", + "comment": "Uses stolen keys to search cloud logs and map the account; Amazon describes planner/worker/verification agents sharing a knowledge graph (C127), but neither version reviewed has a separate verification agent (C030). Claims C030, C126, C127.", "enabled": true }, { @@ -134,21 +134,21 @@ "techniqueID": "T1036", "tactic": "defense-evasion", "score": 1, - "comment": "v0.3.30 rotates 20 desktop user agents and reuses the target's own headers; agents told not to send CLI default headers (one stealth feature, C209). Old builds named the tool in UA (norma/0.4, artex-enrich/1.0) - historical-log search only (C208, C210). Prompts assert an unchecked 'authorised test' (C184). Detect: sigma/web_request_claims_authorised_test.yml; lean on behaviour + model-API boundary, not UA.", + "comment": "v0.3.30 rotates 20 desktop user agents and reuses the target's own headers; agents told not to send CLI default headers (one stealth feature, C209). Old builds named the tool in UA (norma/0.4, artex-enrich/1.0) - historical-log search only (C208, C210). Prompts call every engagement an authorised test (C184); Bitrise logged 'authorized-pentest/bitrise-readonly' in a real intrusion (C211). Detect: sigma/web_request_claims_authorised_test.yml; lean on behaviour + model-API boundary, not UA.", "enabled": true }, { "techniqueID": "T1550.001", "tactic": "lateral-movement", "score": 1, - "comment": "Public reporting, not ARTEX's reviewed code: stolen long-lived keys and already-issued tokens reused to reach further services. Bitrise - disabling a key didn't recall tokens minted from it (C219); AWS - stolen keys searched cloud logs for more secrets (C126, C127). Detect: sigma/*_unexpected_source.yml (key/principal used from outside own ranges).", + "comment": "Public reporting of an ARTEX intrusion: already-issued tokens kept working after the key was disabled, so revocation lagged the attacker (Bitrise, C219). Detect: sigma/*_unexpected_source.yml (key/principal used from outside own ranges). Fix: revocation that recalls issued tokens.", "enabled": true }, { "techniqueID": "T1021", "tactic": "lateral-movement", "score": 1, - "comment": "Model-improvised, not a shipped module: valid accounts + shell reach further hosts/services. Amazon describes planner/worker/verification agents sharing a knowledge graph, stolen keys funding further hunting (C127). Claims C126, C127. Detect: one identity reaching systems it doesn't normally touch at machine tempo (C203); internal apps must log requests (C213).", + "comment": "Wider class, not ARTEX's code or any public ARTEX report: JADEPUFFER's agent carried an intrusion end to end, lateral movement included (C199). Assume the same reach from a shell plus found accounts. Detect: one identity reaching systems it doesn't normally touch at machine tempo (C203); internal apps must log requests (C213).", "enabled": true } ], diff --git a/studies/artex-2026-11/reports/attack-mapping.md b/studies/artex-2026-11/reports/attack-mapping.md index 4457bd1..db796d1 100644 --- a/studies/artex-2026-11/reports/attack-mapping.md +++ b/studies/artex-2026-11/reports/attack-mapping.md @@ -56,7 +56,7 @@ These recur, so they're stated once here rather than in every row. They don't de | Technique | What ARTEX does | Claims | Detection | Mitigation | | --- | --- | --- | --- | --- | -| **T1036 Masquerading** | From v0.3.30, ARTEX's own web requests rotate 20 ordinary desktop user agents, and its agents are told not to send command-line tools' default headers but to reuse the target's own — the one stealth feature found in the code (C209). Older builds named the tool in the user agent, so those strings (`norma/0.4`, `artex-enrich/1.0`) now identify only old builds and past visits (C208, C210). Its prompts also assert an "authorised test" that nothing in code checks (C184), framing that can surface as a marker in request contents. | C184, C208, C209, C210 | `sigma/web_request_claims_authorised_test.yml` for the authorised-test or engine-name marker. Don't lean on user agents — current builds blend in, and the old tool names are for searching historical logs only. The durable surface is behaviour and the model-API boundary (C202, C205). | A user-agent masquerade defeats signature matching, not behavioural baselines: baseline each identity's request tempo and destinations, and watch egress and the model-API boundary, where the keys are yours. | +| **T1036 Masquerading** | From v0.3.30, ARTEX's own web requests rotate 20 ordinary desktop user agents, and its agents are told not to send command-line tools' default headers but to reuse the target's own — the one stealth feature found in the code (C209). Older builds named the tool in the user agent, so those strings (`norma/0.4`, `artex-enrich/1.0`) now identify only old builds and past visits (C208, C210). Its prompts also call every engagement an authorised test that nothing in code checks (C184), and that framing has been seen in a real intrusion: Bitrise logged requests labelled `authorized-pentest/bitrise-readonly` alongside the old `norma/0.4` client name (C211). | C184, C208, C209, C210, C211 | `sigma/web_request_claims_authorised_test.yml` for the authorised-test or engine-name marker. Don't lean on user agents — current builds blend in, and the old tool names are for searching historical logs only. The durable surface is behaviour and the model-API boundary (C202, C205). | A user-agent masquerade defeats signature matching, not behavioural baselines: baseline each identity's request tempo and destinations, and watch egress and the model-API boundary, where the keys are yours. | ## Credential access @@ -71,16 +71,16 @@ These recur, so they're stated once here rather than in every row. They don't de | Technique | What ARTEX does | Claims | Detection | Mitigation | | --- | --- | --- | --- | --- | | **T1046 Network Service Discovery** | nmap and netcat in the image; the model scans. Raw scans bypass ARTEX's own recording proxy (C061), so they won't appear in the operator's capture but will on your network. | C041, C061 | Network monitoring sees the scan stage even when the agent later fails its goal (C131, C200). | Segment networks; alert on internal scanning from non-scanner hosts. | -| **T1526 Cloud Service Discovery** | Uses stolen keys to search cloud logs and map the account; Amazon describes planner/worker/verification agents sharing a knowledge graph of what they find (C127). | C126, C127 | Unusual read-heavy enumeration of cloud logging and inventory APIs by one identity. | Scope credentials; alert on broad `List`/`Describe`/log-reading bursts. | +| **T1526 Cloud Service Discovery** | Uses stolen keys to search cloud logs and map the account; Amazon describes planner/worker/verification agents sharing a knowledge graph of what they find (C127), though neither version reviewed has a separate verification agent, so Amazon may have seen a fork (C030). | C030, C126, C127 | Unusual read-heavy enumeration of cloud logging and inventory APIs by one identity. | Scope credentials; alert on broad `List`/`Describe`/log-reading bursts. | ## Lateral movement -These rest on public reporting of ARTEX campaigns, not on ARTEX's own reviewed code: the versions studied ship no lateral-movement module, so this is stolen valid accounts plus the model and the shell. +The versions studied ship no lateral-movement module. The first row rests on public reporting of an ARTEX intrusion; the second is shown by the wider class of agentic tools, not by ARTEX's own code or any public ARTEX report, and is included so the tactic isn't silently blank. | Technique | What ARTEX does | Claims | Detection | Mitigation | | --- | --- | --- | --- | --- | -| **T1550.001 Use Alternate Authentication Material: Application Access Token** | Compromised long-lived keys and already-issued tokens are reused to reach further services. In the Bitrise intrusion, disabling a key didn't recall the access tokens already minted from it, so revocation lagged the attacker (C219); in AWS, stolen long-lived keys were used to search cloud logs for more secrets (C126, C127). | C126, C127, C219 | `sigma/aws_long_term_key_unexpected_source.yml`, `sigma/azure_service_principal_unexpected_source.yml`, `sigma/gcp_service_account_key_unexpected_source.yml` — a known key or principal used from outside your own ranges; Bitrise reported this matched every stolen-key use it saw (C219). | Short-lived, scoped credentials; revocation that recalls issued tokens, not just the parent key; two-factor on service and test accounts; retire dormant accounts. | -| **T1021 Remote Services** | Model-improvised, not a shipped module: given valid accounts and the shell, the model reaches further hosts and services. Amazon describes planner, worker and verification agents sharing a knowledge graph of what they find, with stolen keys funding further hunting (C127). | C126, C127 | Behaviour, not signature: one identity reaching systems it doesn't normally touch, at machine tempo (C203). Internal apps must log requests for this to be visible at all (C213). | Segment networks; scope credentials tightly; two-factor on internal services; baseline and alert on an identity's first contact with a new system. | +| **T1550.001 Use Alternate Authentication Material: Application Access Token** | Already-issued access tokens keep working after the key behind them is dealt with. In the Bitrise intrusion, disabling a key didn't recall the tokens already minted from it, so revocation lagged the attacker (C219). | C219 | `sigma/aws_long_term_key_unexpected_source.yml`, `sigma/azure_service_principal_unexpected_source.yml`, `sigma/gcp_service_account_key_unexpected_source.yml` — a known key or principal used from outside your own ranges; Bitrise reported this matched every stolen-key use it saw (C219). | Short-lived, scoped credentials; revocation that recalls issued tokens, not just the parent key; two-factor on service and test accounts; retire dormant accounts. | +| **T1021 Remote Services** *(the wider class)* | Shown by the agentic class, not found in ARTEX: in the documented autonomous-ransomware case (JADEPUFFER), an AI agent carried an intrusion end to end, lateral movement included (C199). ARTEX hands its agents a shell and whatever accounts they find, so defenders should assume the same reach, but no public ARTEX report documents it. | C199 | Behaviour, not signature: one identity reaching systems it doesn't normally touch, at machine tempo (C203). Internal apps must log requests for this to be visible at all (C213). | Segment networks; scope credentials tightly; two-factor on internal services; baseline and alert on an identity's first contact with a new system. | ## Collection and exfiltration