Add Guezli/postfix-honeypot-users scenario#1806
Open
Guezli wants to merge 1 commit into
Open
Conversation
Trigger-type scenario that instant-bans IPs which attempt postfix SASL LOGIN with a well-known role/admin username (postmaster@, admin@, info@, support@, ...). These addresses should never be used as actual SMTP-AUTH logins, so a single attempt is a high-confidence attacker signal. Complements crowdsecurity/postfix-spam (fast-pattern, 6+ fast fails) and Guezli/postfix-sasl-bf (slow-pattern, 3+ fails per IP) by catching distributed wordlist attackers that make only 1-2 attempts per IP and slip below per-IP thresholds.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a new scenario
Guezli/postfix-honeypot-usersthat instant-bans IPsattempting postfix SASL LOGIN with a well-known role/admin username
(
postmaster@,admin@,info@,support@,office@,sales@,contact@,webmaster@,root@,noreply@,abuse@,hostmaster@,marketing@,mail@,news@,sysadmin@,administrator@,user@,service@,helpdesk@).These addresses should never be used as actual SMTP-AUTH login accounts,
so a single attempt is high-confidence attacker signal (
type: trigger,confidence: 5).Complements:
crowdsecurity/postfix-spam(capacity 5 / leakspeed 10s — fast-pattern)Guezli/postfix-sasl-bf(capacity 2 / leakspeed 7200s — slow-pattern)by catching distributed wordlist attackers that make only 1-2 attempts per
IP and slip below both per-IP thresholds.
Checklist
.mddocumentation with acquisition example.tests/postfix-honeypot-users/passing locally (cscli hubtest run postfix-honeypot-users --clean-> all tests passed)hublint checkclean (0 warnings, 0 errors)crowdsecurity/postfix-logsparser, no new parser needed203.0.113.0/24)AI assistance
Claude Code was used to port the scenario from my personal repo
(https://github.com/Guezli/postfix-honeypot-users) into Hub format, generate
the hubtest assertions, and structure the documentation. The detection
logic, honeypot wordlist tuning, and field-of-use research are my own work;
I can explain every part of the contribution.