Back to Intelligence

ARTEX LLM Pentest Framework Proliferates After Takedown: 7,596 Exposed Consoles — Detection and Containment Guide

SA
Security Arsenal Team
December 6, 2026
11 min read

On October 8, 2026, the developer behind ARTEX — an LLM-driven penetration testing framework — pulled the project from GitHub and announced it would go closed source. The intent was to slow proliferation. Security vendors had already attributed state-aligned intrusions to the framework, and the takedown was supposed to reduce its footprint in the wild.

It did the opposite. Researchers tracking ARTEX deployments via Validin internet crawl data counted 7,596 newly observed, publicly exposed ARTEX consoles after the takedown. The code had already been mirrored, forked, cached, and redistributed across infrastructure outside GitHub's reach — a pattern anyone who lived through Cobalt Strike's leak history will recognize immediately.

For defenders, this is not a tooling story. It is a threat-model change. ARTEX lowers the skill floor for autonomous, agent-driven intrusion activity. An operator who previously needed deep tradecraft can now point an LLM-backed framework at a target and let it enumerate, exploit, and iterate. The 7,596 exposed consoles tell us two things: (1) operators are deploying ARTEX at scale, and (2) they are deploying it carelessly — leaving management interfaces internet-exposed and fingerprintable. Both facts are exploitable by us. This post focuses on the defensive value: how to detect ARTEX-style agentic attack activity in your environment, how to identify exposed consoles on your own perimeter, and how to harden against a wave of automated intrusion attempts that is already underway.

Technical Analysis

What ARTEX Is and Why the Takedown Failed

ARTEX is an LLM-driven penetration testing framework: it wraps reconnaissance, vulnerability assessment, and exploitation logic in an agentic loop where a language model plans and adapts each phase based on results. Instead of a static playbook, the framework reasons over tool output and selects next actions dynamically.

The developer's October 8, 2026 withdrawal from GitHub came after security vendors had already tied ARTEX to state-aligned intrusions. By that point, distribution had already happened. Open-source attack tooling follows a reliable lifecycle once attribution lands in public reporting:

  1. Pre-takedown mirroring — threat actors and researchers fork and clone continuously.
  2. Post-takedown redistribution — code surfaces on mirrors, paste sites, Telegram channels, and private repos.
  3. Commoditization — less-skilled operators deploy copies, often misconfigured, leaving consoles exposed.

The 7,596 figure from Validin crawl data is the third stage made visible. Each exposed console is both an active operations node and a fingerprintable indicator. Misconfigured offensive infrastructure is a gift to defenders: if the operators can find it via internet-wide scanning, so can we.

What Defenders Should Expect from Agentic Pentest Frameworks

Because ARTEX is LLM-driven rather than signature-driven, traditional IoC matching on fixed payloads underperforms. The durable detection surface is behavioral and infrastructural:

  • Orchestration hosts: ARTEX deployments run a management console with a web interface — this is the exposed component Validin's crawl found. On the attacker side it listens for operator access; on your side, compromise attempts will originate from infrastructure hosting these consoles.
  • Script interpreter abuse: agentic frameworks spawn child processes (shells, Python, reconnaissance binaries) from a parent orchestration process. A Python or Node process spawning nmap, masscan, curl, or shell interpreters in rapid sequence is the hallmark of automated agentic activity versus human-paced testing.
  • High-velocity, high-variety recon: LLM agents iterate quickly and adaptively. Expect compressed attack timelines — enumeration, exploitation attempts, and credential attacks within minutes of initial contact rather than days.
  • Outbound LLM API dependency (optional): some deployments call out to hosted LLM APIs. Outbound connections to LLM provider endpoints from servers that have no business using generative AI tooling is a high-fidelity anomaly.
  • Operator access to exposed consoles: the consoles themselves receive inbound operator connections, often over HTTP(S) on non-standard ports, with weak or default authentication — exactly what makes them crawlable.

Exploitation Status

This is confirmed active, in-the-wild usage — not theoretical. Security vendors have attributed real state-aligned intrusions to ARTEX, and internet-scale measurement shows thousands of live deployments post-takedown. There is no CVE here; the risk is tool proliferation, not a patchable defect. No CISA KEV entry applies — but the absence of a KEV listing must not be mistaken for absence of risk.

Detection & Response

The detections below target the durable behaviors of agentic attack frameworks: script interpreters spawning reconnaissance tooling, LLM API usage from unauthorized systems, and console-style management interfaces on your own perimeter. Tune thresholds to your baseline — the goal is precision, not volume.

Sigma Rules

YAML
---
title: Script Interpreter Spawning Reconnaissance Tooling
description: Detects Python, Node, or shell interpreters spawning network reconnaissance tools such as nmap or masscan — characteristic of agentic pentest frameworks like ARTEX where an orchestration process drives automated enumeration.
logsource:
  category: process_creation
  product: windows
detection:
  selection_parent:
    ParentImage|endswith:
      - '\python.exe'
      - '\python3.exe'
      - '\node.exe'
      - '\powershell.exe'
      - '\cmd.exe'
  selection_child:
    Image|endswith:
      - '\nmap.exe'
      - '\masscan.exe'
      - '\netscan.exe'
      - '\zmap.exe'
  filter_known_admin:
    ParentCommandLine|contains:
      - 'nessus'
      - 'qualys'
      - 'rapid7'
      - 'tenable'
  condition: selection_parent and selection_child and not filter_known_admin
falsepositives:
  - Authorized internal vulnerability scanners and sanctioned red team activity — maintain an allowlist of approved scanner hosts and service accounts.
level: high
---
title: Outbound Connection to LLM API Endpoint from Server Process
description: Detects processes making outbound HTTPS connections to hosted LLM API endpoints from systems unlikely to run sanctioned AI tooling — a possible indicator of agentic attack framework orchestration calling external models.
logsource:
  category: network_connection
  product: windows
detection:
  selection:
    DestinationHostname|contains:
      - 'api.openai.com'
      - 'api.anthropic.com'
      - 'generativelanguage.googleapis.com'
      - 'api.mistral.ai'
      - 'api.deepseek.com'
  filter_browsers:
    Image|endswith:
      - '\msedge.exe'
      - '\chrome.exe'
      - '\firefox.exe'
      - '\iexplore.exe'
  filter_known_apps:
    Image|endswith:
      - '\code.exe'
      - '\cursor.exe'
  condition: selection and not filter_browsers and not filter_known_apps
falsepositives:
  - Legitimate AI-integrated developer or productivity tooling — baseline approved AI applications per host before enabling alerting.
level: medium
---
title: Compressed Multi-Stage Recon and Exploit Attempt Pattern
description: Detects a single source process or host executing a rapid sequence of distinct attack-adjacent commands (enumeration, credential access, remote execution) within a short window — consistent with LLM-agent-driven iteration rather than human operator pacing.
logsource:
  category: process_creation
  product: linux
detection:
  selection_enum:
    Image|endswith:
      - '/nmap'
      - '/masscan'
      - '/nuclei'
      - '/nikto'
      - '/gobuster'
      - '/ffuf'
  selection_cred:
    CommandLine|contains:
      - 'hydra'
      - 'medusa'
      - 'crackmapexec'
      - 'hashcat'
  condition: selection_enum or selection_cred
falsepositives:
  - Authorized penetration tests and scanner appliances — restrict alerting to hosts outside the approved scanner subnet and verify engagement schedules.
level: medium

KQL — Microsoft Sentinel / Defender

Hunt for orchestration-style process chains (script interpreters spawning recon tooling) and unauthorized LLM API egress. Both queries assume Defender for Endpoint device tables; adapt to CommonSecurityLog/Syslog if you ingest network telemetry via CEF.

KQL — Microsoft Sentinel / Defender
// Hunt 1: Script interpreters spawning reconnaissance tooling (agentic orchestration pattern)
let reconTools = dynamic(["nmap.exe", "masscan.exe", "zmap.exe", "netscan.exe", "gobuster.exe", "nuclei.exe"]);
DeviceProcessEvents
| where TimeGenerated > ago(7d)
| where FileName in~ (reconTools)
| where InitiatingProcessFileName in~ ("python.exe", "python3.exe", "node.exe", "powershell.exe", "cmd.exe", "wscript.exe")
| summarize FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), DistinctReconTools = dcount(FileName), ToolList = make_set(FileName)
  by DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, AccountName
| where DistinctReconTools >= 1
| order by FirstSeen desc;

// Hunt 2: Outbound connections to LLM API endpoints from non-browser processes on servers
let llmEndpoints = dynamic(["api.openai.com", "api.anthropic.com", "generativelanguage.googleapis.com", "api.mistral.ai", "api.deepseek.com"]);
DeviceNetworkEvents
| where TimeGenerated > ago(14d)
| where RemoteUrl has_any (llmEndpoints)
| where InitiatingProcessFileName !in~ ("msedge.exe", "chrome.exe", "firefox.exe", "iexplore.exe", "code.exe", "cursor.exe")
| summarize FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated), ConnectionCount = count(), Endpoints = make_set(RemoteUrl)
  by DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, InitiatingProcessFolderPath
| order by ConnectionCount desc;

Velociraptor VQL

Use this hunt to identify hosts where a script interpreter or unknown binary is driving reconnaissance tool execution, plus active outbound connections to LLM API infrastructure.

VQL — Velociraptor
-- Hunt: ARTEX-style agentic framework indicators on endpoints
-- 1) Recon tooling spawned by script interpreters
SELECT Pid, Ppid, Name, Exe, CommandLine, Username, CreateTime
FROM pslist()
WHERE (Name =~ '(?i)(nmap|masscan|gobuster|nuclei|ffuf|hydra|crackmapexec)')
   OR (CommandLine =~ '(?i)(nmap|masscan|hydra|crackmapexec)' AND Exe =~ '(?i)(python|node|powershell)')

-- 2) Live outbound connections to hosted LLM API infrastructure (port 443 to AI providers)
SELECT Pid, Name, Status, Laddr, Raddr, Hostname
FROM netstat()
WHERE Status =~ 'ESTABLISHED'
  AND Raddr.IP =~ '443$'
  AND Name !~ '(?i)(chrome|msedge|firefox|code|cursor)'
  AND Hostname =~ '(?i)(openai|anthropic|googleapis|mistral|deepseek)'

Remediation & Hardening Script

Run this audit script across servers to surface suspicious interpreter-driven recon processes, LLM API egress, and locally listening web consoles that should not exist.

PowerShell
# ARTEX-style agentic framework exposure audit — run elevated on servers
$report = @()

# 1) Flag recon tools spawned by script interpreters (running processes)
$recon = 'nmap','masscan','gobuster','nuclei','ffuf','hydra','crackmapexec'
$procs = Get-CimInstance Win32_Process | Where-Object {
  $name = ($_.Name -replace '\.exe$','')
  ($recon -contains $name) -or ($_.CommandLine -match '(nmap|masscan|hydra|crackmapexec)')
}
foreach ($p in $procs) {
  $parent = Get-CimInstance Win32_Process -Filter "ProcessId=$($p.ParentProcessId)" -ErrorAction SilentlyContinue
  $report += [pscustomobject]@{Check='ReconTool'; Host=$env:COMPUTERNAME; Process=$p.Name; PID=$p.ProcessId; Parent=$parent.Name; CmdLine=$p.CommandLine}
}

# 2) Identify established outbound 443 connections from non-browser processes
$conns = Get-NetTCPConnection -State Established -RemotePort 443 -ErrorAction SilentlyContinue
foreach ($c in $conns) {
  $proc = Get-Process -Id $c.OwningProcess -ErrorAction SilentlyContinue
  if ($proc -and $proc.Name -notin @('chrome','msedge','firefox','svchost','code','cursor')) {
    $rdns = ([System.Net.Dns]::GetHostEntry($c.RemoteAddress).HostName) 2>$null
    if ($rdns -match '(openai|anthropic|googleapis|mistral|deepseek)') {
      $report += [pscustomobject]@{Check='LLM_Egress'; Host=$env:COMPUTERNAME; Process=$proc.Name; PID=$proc.Id; Remote=$c.RemoteAddress; DNS=$rdns}
    }
  }
}

# 3) Inventory listening web consoles on non-standard ports (potential exposed mgmt interfaces)
$listeners = Get-NetTCPConnection -State Listen -ErrorAction SilentlyContinue | Where-Object { $_.LocalPort -notin 80,443,3389,5985,5986,22,135,445 -and $_.LocalAddress -in '0.0.0.0','::' }
foreach ($l in $listeners) {
  $proc = Get-Process -Id $l.OwningProcess -ErrorAction SilentlyContinue
  $report += [pscustomobject]@{Check='ExposedListener'; Host=$env:COMPUTERNAME; Port=$l.LocalPort; Process=$proc.Name; PID=$l.OwningProcess; Path=$proc.Path}
}

# 4) Check for ARTEX-named artifacts on disk (framework filenames, cloned repos)
$artifacts = Get-ChildItem -Path 'C:\Users','C:\ProgramData','C:\Temp' -Recurse -Include '*artex*' -ErrorAction SilentlyContinue -Depth 4
foreach ($a in $artifacts) {
  $report += [pscustomobject]@{Check='ARTEX_Artifact'; Host=$env:COMPUTERNAME; Path=$a.FullName; Modified=$a.LastWriteTime}
}

$report | Format-Table -AutoSize
$report | Export-Csv -Path ".\artex_audit_$env:COMPUTERNAME.csv" -NoTypeInformation
Write-Host "Audit complete. Findings exported to .\artex_audit_$env:COMPUTERNAME.csv"
Bash / Shell
#!/usr/bin/env bash
# ARTEX-style agentic framework audit for Linux servers — run as root
REPORT="artex_audit_$(hostname)_$(date +%Y%m%d).txt"

{
echo "=== Recon/exploit tooling processes ==="
ps auxww | grep -Ei 'nmap|masscan|gobuster|nuclei|ffuf|hydra|medusa|crackmapexec' | grep -v grep

echo; echo "=== Script interpreters with established outbound 443 ==="
ss -tnp state established '( dport = :443 )' | grep -Ei 'python|node|bash|sh' 

echo; echo "=== DNS/egress to LLM API providers (last 24h journal, if logged) ==="
journalctl --since "24 hours ago" 2>/dev/null | grep -Ei 'api.openai.com|api.anthropic.com|generativelanguage.googleapis.com|api.mistral.ai|api.deepseek.com' | tail -50

echo; echo "=== Listening services on non-standard ports ==="
ss -tlnp | awk 'NR>1 {print}' | grep -Ev ':(22|53|80|443|3128|8080)\s'

echo; echo "=== ARTEX-named artifacts on disk ==="
find /opt /srv /home /root /tmp /var/tmp -maxdepth 5 -iname '*artex*' 2>/dev/null
} | tee "$REPORT"

echo "Audit complete: $REPORT"

Remediation

There is no patch for tool proliferation — remediation is architectural and operational.

  1. Enumerate and eliminate your own exposure. Run external attack surface scans (or query Validin/Shodan/Censys) for web consoles on your perimeter you did not authorize. Any unexpected management interface on a non-standard port should be treated as hostile until proven otherwise. Block inbound access to unneeded services at the edge; management interfaces belong behind VPN or zero-trust access with MFA, never on the public internet.

  2. Deploy the behavioral detections above. The interpreter-to-recon-tool parent/child rule and the LLM-egress query are the highest-value starting points. Baseline approved scanner hosts and AI tooling first to keep fidelity high.

  3. Constrain interpreter execution on servers. Servers should not be running Python/Node child processes spawning network tooling. Use application control (WDAC/AppLocker on Windows, SELinux/fapolicyd on Linux) to restrict script interpreters to sanctioned use cases on server workloads.

  4. Egress-filter LLM API destinations. Block outbound access to hosted LLM API endpoints from server VLANs and endpoints without an approved business need. Route sanctioned AI usage through a monitored proxy so agentic abuse is visible and attributable.

  5. Assume compressed attack timelines. Agentic frameworks iterate in minutes. Reduce time-to-detect: prioritize alerting on first-touch reconnaissance (external port scans, directory brute force, auth spraying) rather than waiting for exploitation telemetry. Ensure rate-based detections at the WAF and identity layers (impossible velocity of requests, credential stuffing bursts) are tuned for machine-speed attacks.

  6. Threat-intel hygiene on offensive tooling. Subscribe to vendor reporting tracking ARTEX infrastructure (the same crawl-based enumeration that produced the 7,596 figure). Ingest identified console IPs and domains into blocklists at the perimeter and proxy — misconfigured attacker infrastructure is some of the most reliable, low-false-positive intelligence available.

  7. Exercise the scenario. Tabletop an agentic-AI-driven intrusion: faster recon, adaptive exploit selection, no fixed signatures. Validate that your detections hold when the attacker changes payloads every attempt but keeps the same behavioral skeleton.

The takedown of ARTEX proves a lesson defenders must internalize: once offensive tooling ships, it never unships. The framework's footprint is now measured in thousands of live consoles and growing. Your advantage is that careless operators leave fingerprints — exposed consoles, interpreter-driven recon chains, LLM egress from the wrong hosts. Detect the behavior, starve the egress, and harden the edge.

Related Resources

Security Arsenal Healthcare Cybersecurity AlertMonitor Platform Book a SOC Assessment healthcare Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.