Repository navigation
Huginn 1.0.0-rc2
Pre-release
Pre-release
Second release candidate for Huginn 1.0. No new features: fixes from a full review of every script and page before 1.0, and DNS list lookups that stay on recent attackers.
Security
- ntfy: a redirect from the server is no longer followed, so the access token cannot end up at another host
- The command that connects Huginn to the honeypot is built only from a checked key
- The honeypot installer checks that the real sshd has left port 22 (IPv6 too);
tools/check-isolation.shtests IPv6 and reports targets it could not test importandingest-oncerefuse to run without the settings in.env, so masking and retention always apply (the docs give asystemd-runcommand that loads them)- Behind a trusted proxy that reports https, a form from the http address is refused; a form that is too large changes nothing (413); a login that races a password change cannot outlive it
- The installer only adds a link to Huginn in ntfy messages when the ntfy server is on your own network; the demo build ignores the machine's own
HUGINN_settings
Data and lookups
- DroneBL, Spamhaus and Abusix only look up attackers seen in the last 30 days (or with a fresh IDS alert), like GreyNoise and http:BL
- Retention also removes a gone attacker's lookups and session recordings
- Countries: an attacker whose location lookup failed (ipwho.is over its free allowance) is asked again after a day, and the card says "Not known yet"
importreads the honeypot's gzipped logs and reports files it cannot read- A DNS list answer and the tag it gives are saved together; VirusTotal's daily allowance is booked atomically; an Abusix allowance of 1 is one lookup
- IPv6 attacker pages open from Huginn's own links; the C2 feed follows
v6=0andHUGINN_C2_EXCLUDEmatches an IPv6 address however it is written
Monitoring
/healthzanswers 503 while a collection problem is open, as the stability promise says, and an alert that could not be sent is tried again
Honeypot and packages (run ./update-honeypot.sh on the honeypot too)
- hp-traps: POP3, IMAP, PostgreSQL and SOCKS5 sessions get a total time limit and a share of the places each, like SMTP
update-honeypot.shalso updateshp-add-huginn-key, and installshp-readlogsbefore turning Suricata on- Debian package: a failed upgrade is reported to dpkg instead of being marked as done
uninstall-huginn.shonly removes a folder that holds Huginn; the uninstaller shows the ports sshd really listens on- The Docker files of a release candidate run that candidate's image instead of
latest - The manual install copies
static/(web attack rules, map); the Account page shows how many web rules are loaded
Try it with ghcr.io/ancientswede/huginn:1.0.0-rc2, or the docker-compose.yml attached here. Please report anything odd as an issue. If nothing serious turns up, 1.0.0 follows.