
Motor de fingerprinting híbrido pasivo — identifica hosts sin enviar un solo paquete
Herramienta de Análisis Híbrido Pasivo para Perfilado e Inteligencia Multiprotocolo Agnóstico del SO
Huella digital de hosts en tu red sin enviar un solo paquete.
PHANTOMPRINT correlaciona múltiples señales pasivas (pila TCP/IP, TLS/JA4, Opción 55 de DHCP, HPACK de HTTP/2, comportamiento DNS) para identificar sistemas operativos, navegadores y dispositivos a partir del tráfico observado únicamente.
| Herramienta | Huella TCP/IP | JA4 TLS | Huella DHCP | Multiseñal | Puntuación de Confianza |
|---|---|---|---|---|---|
| p0f | ✅ | ❌ | ❌ | ❌ | ❌ |
| Zeek | ✅ | plugin | ❌ | ❌ | ❌ |
| JA3er | ❌ | ✅ | ❌ | ❌ | ❌ |
| PHANTOMPRINT | ✅ | ✅ | ✅ | ✅ | ✅ |
p0f no se mantiene desde 2014. Zeek requiere una infraestructura pesada. Nada correlaciona todas estas señales en un perfil de host unificado y puntuado.
Network Traffic
│
├─── TCP SYN/SYN-ACK ──→ TCPIPParser ──→ TTL + Window + Options hash
├─── TLS ClientHello ──→ TLSParser ──→ JA4 fingerprint
├─── DHCP DISCOVER ──→ DHCPParser ──→ Option 55 fingerprint
└─── (HTTP/2, DNS) ──→ [coming v1.5]
│
SignalMerger
│
Bayesian Score Engine
│
HostProfile
┌──────────┴──────────┐
Terminal JSON / STIX
No se envía ningún paquete. No se abre ninguna conexión. Totalmente pasivo.
git clone https://github.com/youruser/phantomprint
cd phantomprint
pip install -e ".[dev]"
Requiere Python 3.11+ y root/CAP_NET_RAW para captura en vivo.
sudo phantomprint live -i eth0
sudo phantomprint live -i eth0 -t 60 -o results.json
sudo phantomprint live -i eth0 --verbose
phantomprint pcap capture.pcap
phantomprint pcap capture.pcap -o results.json
phantomprint signatures
phantomprint signatures --category os
phantomprint signatures --category browser
◈ PHANTOMPRINT v0.1.0 — Results (4 hosts)
┌─────────────────┬──────────────────┬───────────────┬──────────────────────┬───────┐
│ Host / MAC │ OS │ Browser / App │ Signals │ Score │
├─────────────────┼──────────────────┼───────────────┼──────────────────────┼───────┤
│ 192.168.1.45 │ Windows 11 │ Chrome 120 │ TCP TLS DHCP │ 78% │
│ 192.168.1.12 │ Linux 6.x │ curl │ TCP TLS │ 52% │
│ 192.168.1.1 │ Cisco IOS Router │ — │ TCP │ 18% │
│ aa:bb:cc:dd:... │ Android 12-14 │ — │ DHCP │ 31% │
└─────────────────┴──────────────────┴───────────────┴──────────────────────┴───────┘
Las firmas residen en signatures/raw/ como archivos YAML:
# signatures/raw/os/windows11.yaml
id: os_win11
name: Windows 11
type: os
description: Windows 11 / Windows Server 2022
signals:
tcp_ip:
- "128:65535:1:mss,nop,wscale,sackok,timestamp"
- "128:64240:1:mss,nop,wscale,sackok,timestamp"
dhcp:
- "1,3,6,15,31,33,43,44,46,47,119,121,249,252"
Agrega tus propias firmas y se cargarán automáticamente.
v1.0 ─ TCP/IP + TLS/JA4 + DHCP parsers (current)
v1.5 ─ HTTP/2 HPACK fingerprinting, DNS behavior analysis, Rust capture engine
v2.0 ─ Cross-sensor correlation (Redis), behavioral drift detection, STIX 2.1 output
v2.5 ─ Zeek plugin, Elastic/Splunk output, web UI
PHANTOMPRINT está diseñado para su uso en redes que poseas o para las que tengas autorización explícita de monitoreo. La huella digital pasiva cae bajo MITRE ATT&CK T1040 (Network Sniffing) — asegúrate de tener la autorización adecuada antes del despliegue.
Licenciado bajo GPL-3.0.