Amber Guard Laboratory

Open-source
Autonomous active defense

We do not block bots. We study them.

While they show persistence, we passively take fingerprints from them.
The higher their persistence — the more valuable our database.

GNU AGPLv3 · GitHub → | GitFlic →

About botnet networks

Botnet networks are a cybercriminal complex that scans unprotected Internet-connected servers every second to identify vulnerabilities. After compromise, servers may become a source of valuable data theft or may be turned into a controlled "zombie cell" that replenishes the hackers' arsenal for conducting distributed DDoS attacks. Such threats probe the global digital space, looking for open doors to expand their destructive potential.

Amber Guard Laboratory

The AGL complex is designed to provide autonomous protection for servers running the Linux operating system against DDoS attacks during prolonged or complete absence of the administrator.

Unlike solutions using passive refusal, AGL uses honeypots when encountering a scanner to collect its fingerprints. Based on the data obtained, a dossier is formed for each attacker and stored in a dedicated forensic database. AGL also provides capabilities for collecting forensic data on attacking parties using specialized cyber tools.

In the administrator's absence, the complex can enter autonomous perimeter retention mode. In this mode, self-restoration algorithms and control circuits are activated, provided these functions were previously enabled in the system.

1
Binary — the entire complex
0
Cloud calls
30
Forensics metrics
16kb
Per bot in RAM
 

The complex is released as open source under the GNU AGPLv3 license: you can audit the code, build it yourself, and deploy it without contacting any external service. License terms.

Ten modules. One doctrine.

Tar pit

A viscous trap on an open port. The bot receives a fake SSH banner and gets stuck in endless waiting, burning its own resources in vain while we take fingerprints from it.

Multi-traps

A network of honeypots on any free ports from a single configuration file. One daemon monitors the entire pool of traps. The administrator activated a trap — the daemon armed the honeypot.

Armor

UFW limits and seven sysctl parameters that allow the kernel to survive SYN flood and not waste memory on dead sockets. UFW rate-limit plus 7 sysctl kernel tuning parameters.

SSH castling

The real OpenSSH moves to a hidden port known only to the administrator. Now port 22 holds not SSH, but a honeypot.

Watcher

Monitors the presence of the administrator's session in the perimeter. As soon as the administrator's session is closed and the interval has ended — the watcher purges access rules, and for the external world the hidden port disappears completely.

Web gateway

Web gateway behind TLS and bcrypt. When the perimeter is sealed, a secret HTTPS page, a bcrypt-protected password, and brute-force protection. One knock with a password — and a personal door opens in the brick wall for the administrator's IP address.

Forensics

30 metrics. Every caught bot leaves a dossier of 30 parameters read directly from the kernel — timings, windows, MSS, GeoIP country of origin. This is no longer guesswork about an attack, but explicit evidence.

Analytics

In-Memory cyber threat monitoring, L4/L7 fingerprinting, utilized botnet time, and behavioral correlation (SIEM Core). Zero cloud calls.

Data archiving

Configurable system snapshot (packages, forensics archives). FIFO rotation so the disk does not overflow. A convenient way to roll back the perimeter to a known-good state. Recovery script included.

Auto-update

Oneshot apt cycle. Nightly hygiene without an operator. Security updates are now installed automatically, without operator presence. The server always stays fresh, even when no one is watching it.

Four principles

Important warning before installation