
Sammelt macOS- und iOS-Artefakte, um Zeitlinien der Netzwerkaktivität, geräteübergreifender Identität und physischer Standortkorrelation für Aufklärungs- und Red-Team-Operationen zu erstellen.
RinHit - Reconnaissance-Framework für das macOS-Ökosystem. Sammelt Artefakte aus dem Apple-Ökosystem, um Zeitlinien von Netzwerkaktivität, geräteübergreifender Identität und physischer Standortkorrelation zu erstellen.
Dies ist das Open-Source-Aufklärungsmodul. Die Closed-Source-Swift-Payload (
rinhit-agent) wird intern von unserem Redteam verwendet und ist nicht Teil dieses Repositorys.
com.apple.wifi.known-networks.plist (Legacy) oder nutzt networksetup (macOS 15+ Data Vault)com.apple.Bluetooth.plistioreg (IOKit) und system_profilerhigh, mobiler Hotspot = medium, usw.# 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 für WLAN)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
Um einen neuen Collector hinzuzufügen, implementiere das Collector-Interface:
type Collector interface {
Name() string
Description() string
Collect(ctx context.Context) ([]model.Artifact, error)
RequiresRoot() bool
}
Registriere ihn in buildRegistry() in cmd/rinhit/main.go.
networksetup zurück (Living off the Land)wifi erfordert sudoMIT - siehe LICENSE.
"So wie der Rüsselkäfer in Früchte bohrt, Eier legt und den Stängel durchtrennt, um seine Spuren zu verwischen, bohrt sich RinHit in das Apple-Ökosystem, pflanzt Persistenz und zersetzt Sicherheitsgrenzen von innen."