title: Artex High-Volume Port 8787 and 8790 Relay or Implant Execution id: 8c41e290-3b17-4d82-9a64-202611192801 status: experimental description: Detects unapproved execution of Artex C2 relay listeners or endpoint agents binding or connecting to canonical TCP ports 8787, 8790, or 18787. author: Odin by Brandefense date: 2026/11/20 tags: - attack.command_and_control - attack.t1571 logsource: category: process_creation product: linux detection: selection_runtime: Image|endswith: - '/artex-agent' - '/artex-relay' - '/python3' - '/nohup' selection_cli: CommandLine|contains: - '/api/artex/' - 'artex_relay' - '--listen-port 8787' - '--listen-port 8790' filter_approved_infra: ComputerName: - 'INFRA-MON-01' - 'EASM-SCANNER-01' condition: selection_runtime and selection_cli and not filter_approved_infra falsepositives: - Internal application development services explicitly registered on port 8787 level: high --- title: DarkSword Multi-Port 443 8888 and 2000 C2 Controller or Node Spawn id: 4f72a913-6d08-4e51-b312-202611192802 status: experimental description: Identifies DarkSword C2 controller, queue worker, or implant processes referencing DarkSword URI paths or paired ports 8888 and 2000. author: Odin by Brandefense date: 2026/11/20 tags: - attack.command_and_control - attack.t1071.001 logsource: category: process_creation product: linux detection: selection_ds: CommandLine|contains: - 'darksword' - '/ds/v2/session' - '/darksword/queue' - '/ds/module/pull' filter_lab: ComputerName: - 'SEC-LAB-RUNNER-01' condition: selection_ds and not filter_lab falsepositives: - Dedicated adversary-simulation lab hosts registered with security operations level: high --- title: Templated Regional C2 TLS Certificate and Multi-Port Provisioning id: 9b18c645-2a74-49c0-8e33-202611192803 status: experimental description: Detects automated VPS provisioning scripts templating recurring TLS certificates across paired Artex (8787/8790) or DarkSword (443/8888/2000) listeners. author: Odin by Brandefense date: 2026/11/20 tags: - attack.resource_development - attack.t1583.003 logsource: category: process_creation product: linux detection: selection_provision: CommandLine|re: '(openssl\s+req.*(8787|8790|darksword|artex)|iptables.*(8787|8790).*(443|8888|2000))' filter_lab: ComputerName: - 'SEC-LAB-RUNNER-01' - 'INFRA-MON-01' condition: selection_provision and not filter_lab falsepositives: - Sanctioned reverse-proxy provisioning pipelines documented in change management level: medium