GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - eniat/apiary: Self-scaling honeypot infrastructure. Docker honeypots spin up on demand, network virtualisation steers attacker traffic into them, and monitoring captures what attackers do once inside.

BranchesTags
Open more actions menu

Latest commit

 

History

142 Commits
142 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
dataplane
dataplane
 
 
deploy/monitoring
deploy/monitoring
 
 
docs
docs
 
 
honeypots
honeypots
 
 
orchestrator
orchestrator
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 

Repository files navigation

Apiary

Dynamic honeypot infrastructure that scales the number of live honeypots to match attacker load, then steers malicious traffic onto them in the kernel data plane.

Demo

Live honeypot count climbing under a ramp of attack traffic and falling back afterwards, about two minutes.

asciinema play docs/evidence/demo.cast

Driven by scripts/load.sh on the ramp profile. The tick and cooldown are shorter than the defaults so the whole arc fits in one view. The numbers behind it are in docs/evaluation.md.

The problem

Static honeypot deployments (T-Pot style) run a fixed fleet. Under low load you waste resources; under a spike you run out of coverage. The design tension, from Vrable et al.'s Potemkin farm (2005), is that scalability, fidelity and containment pull against each other. Every decision here trades one for another, and this repo is a record of which trades I made and why.

What "self-scaling" means here

  • Signal: unserved malicious flows and per-honeypot session load.
  • A scale-up event: promote a pre-warmed idle honeypot to live and register its interface with the redirect data plane.
  • A scale-down event: reap an idle honeypot after a cooldown, but never mid-session.

Architecture (intended)

attacker traffic
      │
      ▼
[ eBPF/TC redirect ]  ── reads ──▶ redirect map (src IP → honeypot)
      │                                   ▲
      ▼                                   │ registrar writes here
[ honeypot pool ]  ◀── provisions ── [ orchestrator ]
      │                                   ▲
      ▼                                   │ metrics
[ log pipeline ]  ─────────────────────────

Where it is

  • Built: isolated lab with containment evidenced, two honeypots with documented telemetry and tested fingerprint vectors, one normalised event shape over both
  • Built: kernel redirect with a working return path, so a redirected attacker completes a real session against a honeypot
  • Built: darknet and scan detection in the kernel, thresholds chosen from a sweep, flagged sources registered from a ring buffer
  • Built: the orchestrator. Warm pool, hysteresis and a cooldown, session affinity, log archival before destroy
  • Next: monitoring and the log pipeline
  • Not proven yet: the orchestrator scales the fleet but does not bind an attacker to the honeypot it just promoted, so the data plane still does the binding. No run has had a session in flight through an orchestrator scale event
  • Topology in docs/lab-setup.md, boundary in docs/decisions/0002-lab-boundary.md, metrics in docs/evaluation-plan.md, handoff in docs/writeups/tcp-handoff.md, flapping in docs/writeups/flapping.md

lineage

The warm pool is the same answer Potemkin gave in 2005. That work cloned idle virtual machines copy on write so a honeypot existed before the attacker needed one, because booting on demand lost the connection that triggered it. Containers and eBPF did not exist then and the constraint has not moved. Measured here at twenty cold starts spanning 2.7 to 11.6 seconds against a promotion that is a map write.

About

Self-scaling honeypot infrastructure. Docker honeypots spin up on demand, network virtualisation steers attacker traffic into them, and monitoring captures what attackers do once inside.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.