A website read it
Almost certainly there is a backdoor in a website and someone is using it. The alert says where to look.
goTool › Traps and SSH honeypot
Traps
Counting failed logins is statistics: the whole internet tries passwords on every server. A trap is something else. If someone opens a bait file or tries the fake key, they are inside looking for passwords. It almost never gives false alarms and, when it fires, the alert is serious.
🔴 web1 · T-0031 · TRAP /root/passwords.txt has been READ program: cat · account: root logged in as «deploy» over SSH chain: cat < sudo < bash < sshd from 198.51.100.23 🇩🇪 Frankfurt
| Trap | What it is | When it fires |
|---|---|---|
| Bait files | They look like old password notes: one only root can read and one any account can read, including a website with a backdoor. Never inside a website. | Someone opens, changes or deletes it |
| Fake user | A name made up for each server. It isn't created on the system: it's only written in the bait files. | Someone tries to log in over SSH with it |
| Fake API key | It looks like goTool's keys, but belongs to nobody. | Someone calls the API with it |
| Fake SSH key | A real key that opens nothing. The bait files say it's the backup key. | Someone opens it, or tries it on the honeypot: they took it |
| Website trap path | A made-up address listed in robots.txt as «don't enter». It's on no bot's list. | Someone requests it on any website on the server |
| SSH honeypot (optional) | It looks like SSH and never lets anyone in. It records each attempt's IP, user and password. | They try the bait credentials, come from your network or from an IP that already logged in |
| Trap ports (optional) | They listen where databases usually are (3306, 5432, 6379, 27017…) when nothing is there. | A device on your network or an IP that already logged in connects |
The watcher runs as root and offline. When someone opens a bait file it says the program, the account, which account the person logged in with even if they then used sudo, what launched it and, if they came over SSH, from which IP. With the IP, the alert brings the response buttons.
Almost certainly there is a backdoor in a website and someone is using it. The alert says where to look.
If it's not a backup, it may be a task someone left behind.
rsync, restic, borg or clamscan launched by cron or a service are logged but don't alert.
Serious alert within a minute: it's the first thing someone who knows it's there would do.
The bait files, the fake user, key and SSH key, and the watcher. With a test alert that reaches Telegram and email.
The SSH honeypot, the website trap path and the trap ports. Off unless you ask. Removing them leaves everything as it was.
sudo gotool traps add # bait files, user, key, SSH key and watcher
sudo gotool traps test # a «TEST» alert
sudo gotool traps ssh on # the SSH honeypot, on 2222
sudo gotool traps web add --all # the trap path in robots.txt
sudo gotool traps ports on # the trap ports
gotool traps # what's set up and what happened last
sudo gotool traps remove # remove it all
A program that looks like SSH but never lets anyone in. Internet noise is counted without alerting; it alerts if someone tries the bait credentials, comes from your network or is an IP that really logged in before.
Hardly any. Nobody with good intentions opens a password file that isn't theirs or requests a path only listed as «don't enter». Backups and antivirus don't alert.
No. They are low interaction, run without root, never call out and don't open the firewall. What's inside them is fake.
Only if you add the trap path: it adds one line to robots.txt and removes exactly that. On a WordPress without its own robots.txt it touches nothing and tells you how to add it.