
Recopila artefactos de macOS e iOS para construir líneas temporales de actividad de red, identidad entre dispositivos y correlación de ubicación física para operaciones de reconocimiento y red team.
RinHit - framework de reconocimiento del ecosistema macOS. Recopila artefactos del ecosistema Apple para construir líneas temporales de actividad de red, identidad entre dispositivos y correlación de ubicación física.
Este es el módulo de reconocimiento de código abierto. El payload Swift de código cerrado (
rinhit-agent) es utilizado internamente por nuestro redteam y no forma parte de este repositorio.
com.apple.wifi.known-networks.plist (legacy) o usa networksetup (Data Vault en macOS 15+)com.apple.Bluetooth.plistioreg (IOKit) y system_profilerhigh, hotspot móvil = medium, etc.# Clone
git clone https://github.com/toxy4ny/rinhit.git
cd rinhit
# Build
go build -o rinhit ./cmd/rinhit
# Or install directly
go install ./cmd/rinhit
./rinhit list
sudo para Wi-Fi)sudo ./rinhit scan -v
sudo ./rinhit scan -c wifi,bluetooth -v
sudo ./rinhit scan --correlate -v
sudo ./rinhit scan -o report.json
# Import Wigle CSV dump
./rinhit geo import wigle-export.csv
# Lookup a BSSID
./rinhit geo lookup AA:BB:CC:DD:EE:FF
# Show cache stats
./rinhit geo stats
{
"generated_at": "2026-08-21T21:09:10Z",
"hostname": "MacBook-Pro-test.local",
"user": "root",
"artifacts": [
{
"id": "wifi-ns-iPhone7",
"collector": "wifi",
"type": "wifi-network",
"name": "iPhone7",
"severity": "medium",
"timestamp": "2026-08-21T14:09:10-07:00",
"source": "networksetup",
"data": {"ssid": "iPhone7", "source": "networksetup"},
"tags": ["wifi", "network", "macos15-fallback", "mobile-hotspot", "cross-device"]
}
],
"summary": {
"total_artifacts": 12,
"by_severity": {"info": 11, "medium": 1},
"by_collector": {"wifi": 12}
},
"data": {
"correlations": [
{
"type": "mobile-hotspot",
"confidence": 0.7,
"description": "Mobile hotspot 'iPhone7' detected - indicates iPhone/iPad tethering usage",
"artifact_ids": ["wifi-ns-iPhone7"],
"tags": ["mobile-hotspot", "tethering", "cross-device"]
}
]
}
}
rinhit/
├── cmd/rinhit/main.go # CLI entrypoint
├── pkg/
│ ├── collector/ # Collector interface & registry
│ │ ├── wifi/ # Wi-Fi artifact collector
│ │ ├── bluetooth/ # Bluetooth device collector
│ │ └── usb/ # USB device collector
│ ├── model/ # Artifact & Report structs
│ ├── parser/plist/ # Plist parsing with SIP fallback
│ ├── reporter/json/ # JSON reporter
│ ├── correlator/ # Cross-artifact correlation engine
│ └── geoloc/ # Offline BSSID geolocation cache
Para añadir un nuevo recolector, implementa la interfaz Collector:
type Collector interface {
Name() string
Description() string
Collect(ctx context.Context) ([]model.Artifact, error)
RequiresRoot() bool
}
Regístralo en buildRegistry() en cmd/rinhit/main.go.
networksetup (living off the land)wifi requiere sudoMIT - ver LICENSE.
"Igual que el gorgojo perfora la fruta, pone huevos y corta el tallo para cubrir sus huellas, RinHit perfora el ecosistema Apple, instala persistencia y erosiona los límites de seguridad desde dentro."