title: Outbound Endpoint Egress to External Public TCP 3306 (Require Hash or Signer Correlation) id: 6a19c4d2-11b8-4f29-9c01-8e4f7a210201 status: experimental description: > Detects processes initiating outbound connections to public WAN IPv4/IPv6 addresses over TCP port 3306. Because Sysmon Event ID 3 (network_connection) does not record file hashes or code-signing certificates, this rule intentionally omits filename-only exclusions (which renamed binaries can bypass) and requires downstream ProcessGuid correlation against Sysmon Event ID 1 Hashes/Signature or Defender DeviceFileCertificateInfo to suppress hash- or signer-verified database clients. author: Odin by Brandefense date: 2026-11-16 logsource: category: network_connection product: windows detection: selection: Initiated: 'true' DestinationPort: 3306 filter_private: DestinationIp|cidr: - '10.0.0.0/8' - '172.16.0.0/12' - '192.168.0.0/16' - '127.0.0.0/8' - '169.254.0.0/16' - '100.64.0.0/10' - '::1/128' - 'fe80::/10' - 'fc00::/7' condition: selection and not filter_private falsepositives: - Approved database clients (mysql.exe, MySQLWorkbench.exe, dbeaver.exe, datagrip64.exe) and application servers verified via Sysmon Event ID 1 ProcessGuid hash/signature correlation or DeviceFileCertificateInfo level: high tags: - attack.command_and_control - attack.t1571 --- title: Staging or Transient-Directory Binary Connecting to High-Port C2 Implant or Operator Listeners id: 7b28d5e3-22c9-4a38-8d12-9f5a8b320202 status: experimental description: > Detects processes executing from transient or public staging directories initiating outbound connections to public endpoints on Sliver implant mTLS (8888), AdaptixC2 listeners (4321, 43211), or operator/jumpbox administration ports (31337 Sliver multiplayer, 1337 and 8001 Daybreak). author: Odin by Brandefense date: 2026-11-16 logsource: category: network_connection product: windows detection: selection_port: Initiated: 'true' DestinationPort: - 1337 - 4321 - 8001 - 8888 - 31337 - 43211 selection_staging_dir: Image|contains: - '\AppData\Local\Temp\' - '\Users\Public\' - '\ProgramData\' - '\Windows\Temp\' - '\PerfLogs\' - '\Downloads\' filter_private: DestinationIp|cidr: - '10.0.0.0/8' - '172.16.0.0/12' - '192.168.0.0/16' - '127.0.0.0/8' - '169.254.0.0/16' - '100.64.0.0/10' - '::1/128' - 'fe80::/10' - 'fc00::/7' condition: selection_port and selection_staging_dir and not filter_private falsepositives: - Authorized red-team operator binaries, developer builds or browsers run from Downloads or ProgramData; tune in the SIEM level: high tags: - attack.command_and_control - attack.t1571 --- title: Windows LOLBin Egress Matching CyberStrikeAI Quartet or VShell Listener Ports id: 8c37e6f4-33da-4b47-9e23-a06b9c430203 status: experimental description: > Detects Windows living-off-the-land binaries (LOLBins) and scripting interpreters initiating outbound connections to public servers listening on CyberStrikeAI orchestration ports (5001, 5002, 5003, 8082) or VShell default TLS port (9999). author: Odin by Brandefense date: 2026-11-16 logsource: category: network_connection product: windows detection: selection_port: Initiated: 'true' DestinationPort: - 5001 - 5002 - 5003 - 8082 - 9999 selection_lolbin: Image|endswith: - '\powershell.exe' - '\pwsh.exe' - '\cmd.exe' - '\rundll32.exe' - '\regsvr32.exe' - '\mshta.exe' - '\certutil.exe' - '\curl.exe' - '\bitsadmin.exe' - '\wscript.exe' - '\cscript.exe' filter_private: DestinationIp|cidr: - '10.0.0.0/8' - '172.16.0.0/12' - '192.168.0.0/16' - '127.0.0.0/8' - '169.254.0.0/16' - '100.64.0.0/10' - '::1/128' - 'fe80::/10' - 'fc00::/7' condition: selection_port and selection_lolbin and not filter_private falsepositives: - Administrative PowerShell or curl scripts managing external Synology DSM appliances on TCP 5001 level: high tags: - attack.command_and_control - attack.t1571