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.
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.
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
- Declarative management: The administrator declares the perimeter state in settings — the daemon changes the perimeter according to the declaration, then ensures that this protected status persists even after server reboot.
- Fail-closed principle (safe failure): AGL's priority is security. If an error occurs in configuration or manual editing, the system does not «crash» — it automatically enters protected mode, if protection mode was enabled by an administrator. Vulnerabilities never remain open, even on user error.
- Three-factor status verification: Protection is not considered enabled simply because wish an administrator. The subsystem is active only when three specific conditions are strictly met: a configuration entry (DECLARED), a running daemon process (DAEMON ACTIVE), and a physical marker on the disk (MARKER). The sequence is: DECLARED → DAEMON (ACTIVE) → MARKER on disk.
- Complete autonomy: The system is designed to operate with zero human intervention. AGL does more than just protect the server; it maintains itself—surviving crashes, restoring firewall rules after kernel reboots, and automatically applying security updates. You could leave the server unattended for a month, and the perimeter would remain securely sealed.
Important warning before installation
- Recommendations: We strongly advise testing the complex on an isolated test server first. When beginning operation, please ensure that you have a configured backup access channel.
- System specifics: AGL is a tool with deep integration into the Linux network stack and firewall (UFW). When activation, the complex changes its perimeter configuration., moving SSH to hidden ports and automatically strengthening network protection. For correct use and safe configuration, we recommend that the administrator has basic Linux knowledge and understands the operation principles of UFW and OpenSSH.
- Reason: We built the complex for experienced administrators who know what they are doing. Please follow the instructions to ensure a flawless and safe experience.