Spaces:
Running
Running
|
Download README.md from ereezy/sentry-intel: direct link, hf CLI and curl.
- Browser
- Download file 4.36 kB
-
https://huggingface.co/spaces/ereezy/sentry-intel/resolve/main/README.md
- Command line
-
hf download hf://spaces/ereezy/sentry-intel/README.md
-
curl -L -o README.md https://huggingface.co/spaces/ereezy/sentry-intel/resolve/main/README.md
4.36 kB
| title: Sentry Intel | |
| emoji: 🛰️ | |
| colorFrom: gray | |
| colorTo: gray | |
| sdk: static | |
| app_file: index.html | |
| short_description: Real honeypot attacker telemetry, parsed and graphed. | |
| pinned: false | |
| # SENTRY INTEL | |
| A dark operations dashboard for **real** attacker telemetry captured by the | |
| honeypot / tarpit sensors on the `sentry` host. Every row on the page is a | |
| parsed log record from those sensors. There is no synthetic sample data. | |
| ## What's shown | |
| | Panel | Source of truth | | |
| |---|---| | |
| | Totals / KPIs | all four sensor files below | | |
| | Events over time | hourly binning across the whole capture window | | |
| | Protocol mix | `protocol` field of each beacon session (postgres / redis / mysql / s3 / http) | | |
| | Sensor event mix | `event` field (command / connect / error / http / credential) | | |
| | Attacker geography | per-`/24` subnet clusters, coordinates resolved **offline** | | |
| | Attack paths | nginx decoy hit paths (`/.env`, `/.git/HEAD`, `/.aws/credentials`, …) | | |
| | **Harvested C2 URLs** | `c2_urls` extracted from captured session payloads | | |
| | Credential capture | sessions where an attacker actually submitted credentials | | |
| | Tool fingerprints | client library / scanner identification per session | | |
| | Payload inspector | the raw captured payload next to its decoded rendering | | |
| ## Live capture, quoted honestly | |
| The sensors are **active and currently logging**. The page renders a **frozen | |
| capture** — a snapshot parsed at build time — because a Static Space runs no | |
| server code and cannot poll the host. The exact `generated_at` timestamp and | |
| the true `first` → `last` capture span are printed on the page and stored in | |
| `data/intel.json`, so staleness is never disguised as liveness. | |
| Current build: | |
| | | | | |
| |---|---| | |
| | Events | **96,913** | | |
| | Beacon sessions | 78,581 | | |
| | Decoy path hits | 14,963 | | |
| | Honeypot sessions | 3,369 | | |
| | HIGH C2 alerts | 904 (45 source IPs) | | |
| | Unique source IPs | **7,578** | | |
| | Unique `/24` subnets | 3,584 | | |
| | Harvested C2 URLs | **80** | | |
| | Credential captures | 13 | | |
| | Capture window | 2026-07-28 → 2026-10-16 | | |
| ## Provenance | |
| Sensor logs, pulled from `root@172.236.112.52`: | |
| | File | Bytes | | |
| |---|---| | |
| | `/opt/attacker-intel/beacon_sessions.jsonl` | 28,623,834 | | |
| | `/opt/attacker-intel/poison_hits.log` | 1,869,259 | | |
| | `/opt/attacker-intel/honeypot_sessions.jsonl` | 435,459 | | |
| | `/opt/attacker-intel/beacon_alerts.log` | 452,157 | | |
| A SHA-256 digest and byte count for every source is printed on the page and | |
| stored in `data/intel.json`, so any published figure can be traced back to the | |
| exact bytes it came from. | |
| ## No runtime network calls | |
| Plain HTML/CSS/JS with no build step. Charts and the world view are hand-rolled | |
| `<canvas>`. Both the dataset (`data/intel.json`) and the world land mask | |
| (`data/landmask.json`) are baked into the repo. Geo is resolved at build time | |
| from a local `GeoLite2-City.mmdb` — no runtime geo API, no CDN, no analytics. | |
| ## Regenerating the dataset | |
| The refresh job pulls the four live sensor files, rebuilds the dataset, pushes | |
| only `data/intel.json`, then re-fetches it to confirm the served copy carries | |
| the new `generated_at`: | |
| ```bash | |
| python D:/.hermes/scripts/sentry_intel_refresh.py # full refresh | |
| python D:/.hermes/scripts/sentry_intel_refresh.py --dry-run # pull + parse, no push | |
| ``` | |
| Manually: | |
| ```bash | |
| # 1. pull the live sensor files | |
| for f in beacon_sessions.jsonl honeypot_sessions.jsonl poison_hits.log beacon_alerts.log; do | |
| scp "root@172.236.112.52:/opt/attacker-intel/$f" raw/ | |
| done | |
| # 2. build-time geo database (NOT shipped in the Space) | |
| # GeoLite2-City.mmdb — 50 MB, keep it out of the repo | |
| # 3. parse -> data/intel.json | |
| python3 scripts/parse_live.py --dir raw --mmdb GeoLite2-City.mmdb --out data/intel.json | |
| ``` | |
| Then push: `hf upload ereezy/sentry-intel data/intel.json data/intel.json --repo-type space` | |
| ## Data hygiene | |
| This is **attacker-side** telemetry only: source IPs that probed the sensors and | |
| the bytes they sent. No operator data, no real credentials, no interior network | |
| detail is published here. The one access key on the page is a deliberately | |
| planted decoy. | |
| ## Known state | |
| The older tarpit on port `8443` (`multi_tarpit.py`, `/opt/attacker-intel/v2/`) | |
| stopped logging on **2026-10-08** and no longer listens. The sensors feeding | |
| this dashboard are `beacon_catcher.py` (`/opt/attacker-intel/`) and the nginx | |
| decoy layer. | |