Skip to content
The Sybil Box

The Sybil Box

An AI honeypot that deanonymizes hidden attackers.

Created on 8th March 2026

•

The Sybil Box

The Sybil Box

An AI honeypot that deanonymizes hidden attackers.

The problem The Sybil Box solves

Unmasking the Invisible Attacker

In modern cybersecurity, threat actors easily hide behind layers of proxies, VPNs, and randomized MAC addresses. Traditional honeypots fail on two fronts: 1. They rely on static, predictable scripts that experienced hackers and automated bots easily identify as fake.
2. Even when they successfully log an intrusion, they only capture the useless local or proxy IP, leaving the attacker's true identity entirely concealed.

The Sybil Box revolutionizes threat intelligence by replacing passive logging with AI-Driven Deception and Identity Correlation.

Instead of just recording an attack, it actively tricks the attacker into deanonymizing themselves.

How it solves the problem:

  • Dynamic AI Hallucination: Instead of using easily recognizable static scripts, Sybil Box uses the Groq API (LLaMA-3) to generate a highly convincing, interactive Ubuntu terminal in real-time. As the attacker explores the ESP32-hosted Telnet server, the AI adapts, keeping them engaged and believing they've breached a real system.
  • Bypassing Proxies via Canary Traps: We don't stop at terminal logs. The AI strategically baits the attacker with hallucinated files (like passwords.txt) that contain custom Ngrok canary links. When the attacker inevitably opens the link in their web browser to steal the credentials, the request bypasses their terminal's proxy tunnel.
  • Real-Time Identity Correlation: The moment the canary is triggered, our backend correlates the local intrusion with the external HTTP request, instantly capturing the attacker's Real Public IP (including complex IPv6 routes) and geolocation.
  • Live SOC Dashboard: All of this is visualized in a React-based command center that tracks the kill chain, parses attacker intent, and flags their true identity with a "🎯 REAL TRACE" tag the millisecond the trap snaps.

Ultimately, Sybil Box turns an attacker's curiosity into their biggest vulnerability.

Challenges we ran into

Building a hardware-to-cloud deception engine was incredibly complex. We weren't just writing software; we had to make a low-power microcontroller seamlessly talk to a massive cloud LLM, while doing advanced network routing on the fly.

Here are the major hurdles we overcame:

1. The Hardware-to-Cloud Bridge

The Problem: The ESP32 is perfect for broadcasting a rogue Wi-Fi Access Point and hosting a Telnet server, but it lacks the memory to process AI responses.
The Fix: We had to architect a custom serial-to-cloud bridge. The ESP32 captures raw socket data, streams it over COM to a Python 'Brain' (sybil_brain.py), which then formats the payload, hits the Groq LLaMA-3 API, and streams the hallucinated response back to the attacker in milliseconds so the terminal feels native.

2. The Canary Tunneling Nightmare (Anti-Bot Shields)

The Problem: To capture an attacker's real public IP, we needed to embed a public URL in the hallucinated passwords.txt file. We initially used localtunnel and pinggy.io. However, because we were using free tiers, they injected "Anti-Phishing Warning" screens or required tunnel passwords. If a hacker sees a warning screen, the deception is instantly ruined.
The Fix: We had to completely tear down our tunneling architecture mid-development. We migrated the canary server to use authenticated Ngrok tunnels, which allowed us to serve the poisoned files instantly and stealthily without any intermediary warning screens blocking the attacker's browser.

3. The "Loopback" DNS Polling Paradox

The Problem: Our central AI brain needed to poll the canary server every 5 seconds to see if the trap was sprung. Initially, we had it polling the public Ngrok URL. This caused massive DNS resolution errors ([Errno 11001]) because the Windows DNS resolver got confused trying to route out to the internet and back into the same machine continuously.
The Fix: We decoupled the URLs. We configured the AI to inject the public Ngrok URL into the hallucinated terminal for the attacker to see, but hardcoded the Python poller to securely fetch data via an internal loopback (http://localhost:8080/hits). This completely bypassed the internet for internal checks, dropping latency to zero.

4. UI/UX and the IPv6 Data Crash

The Problem: When we successfully snared our first mobile 4G attacker, the captured Real IP was a massive IPv6 string (e.g., 2401:4900:330c:c44e...). This completely broke the CSS grid of our React SOC Dashboard, causing text to bleed into other columns and overlap with MAC addresses.
The Fix: We had to dynamically refactor the React frontend, implementing flex-col layouts and aggressive break-all word-wrapping specifically for the identity columns, ensuring the dashboard remained beautiful and legible regardless of the IP protocol length.

Discussion

Builders also viewed

See more projects on Devfolio