title: Python HTTP Directory Server or Raw-Socket ARP and DNS Spoofing on Linux id: 6d4e31a2-8c7b-4f19-a512-9037a1b2c301 status: experimental description: Detects Linux Python or shell execution starting an unauthenticated HTTP directory server on high ports or invoking raw-socket ARP and DNS spoofing constructs outside approved lab hosts. author: Odin by Brandefense date: 2026-11-20 modified: 2026-11-22 references: - https://attack.mitre.org/techniques/T1583/003/ - https://attack.mitre.org/techniques/T1557/002/ logsource: category: process_creation product: linux detection: selection_interp: Image|endswith: - '/python' - '/python3' - '/python3.12' - '/bash' - '/sh' selection_cli: CommandLine|contains: - 'http.server' - 'SimpleHTTPServer' - 'sendp(' - 'ARP(' - 'DNSQR(' - 'AsyncSniffer' filter_approved_lab: ComputerName: - 'REDTEAM-BUILD-VPS-01' - 'OFFSEC-LAB-NODE-01' condition: selection_interp and selection_cli and not 1 of filter_* falsepositives: - Authorized offensive security lab servers explicitly listed in filter_approved_lab level: high tags: - attack.resource-development - attack.t1583.003 - attack.adversary-in-the-middle - attack.t1557.002 --- title: Non-Browser Script Command Line Mentioning Chromium Credential Store Markers on Windows id: 6d4e31a2-8c7b-4f19-a512-9037a1b2c302 status: experimental description: Detects Windows process creation where Python, PowerShell, or MSHTA command lines contain Microsoft Edge or Chromium User Data, Login Data, or DPAPI Local State markers outside approved simulation hosts; inspects command-line strings rather than file-read events. author: Odin by Brandefense date: 2026-11-20 modified: 2026-11-22 references: - https://attack.mitre.org/techniques/T1555/003/ - https://attack.mitre.org/techniques/T1059/001/ logsource: category: process_creation product: windows detection: selection_interp: Image|endswith: - '\python.exe' - '\python3.exe' - '\powershell.exe' - '\pwsh.exe' - '\mshta.exe' selection_stores: CommandLine|contains: - '\Microsoft\Edge\User Data\' - '\Google\Chrome\User Data\' - 'Login Data' - 'Local State' - 'os_crypt' - 'encrypted_key' - 'CryptUnprotectData' filter_approved_sim: ComputerName: - 'PURPLE-WIN-SIM-01' - 'ATOMIC-TEST-VM-01' condition: selection_interp and selection_stores and not 1 of filter_* falsepositives: - Dedicated purple-team endpoint simulation hosts listed by exact ComputerName level: high tags: - attack.credential-access - attack.t1555.003 - attack.execution - attack.t1059.001