Skip to content

Add Guezli/postfix-honeypot-users scenario#1806

Open
Guezli wants to merge 1 commit into
crowdsecurity:masterfrom
Guezli:add-Guezli-postfix-honeypot-users
Open

Add Guezli/postfix-honeypot-users scenario#1806
Guezli wants to merge 1 commit into
crowdsecurity:masterfrom
Guezli:add-Guezli-postfix-honeypot-users

Conversation

@Guezli
Copy link
Copy Markdown
Contributor

@Guezli Guezli commented May 26, 2026

Description

Adds a new scenario Guezli/postfix-honeypot-users that instant-bans IPs
attempting 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

  • Scenario YAML with required labels (classification, spoofable, confidence, behavior, label, service, remediation)
  • Hub-rendered .md documentation with acquisition example
  • hubtest under .tests/postfix-honeypot-users/ passing locally (cscli hubtest run postfix-honeypot-users --clean -> all tests passed)
  • hublint check clean (0 warnings, 0 errors)
  • Uses existing crowdsecurity/postfix-logs parser, no new parser needed
  • Test fixture uses RFC 5737 IPs (203.0.113.0/24)

AI assistance

  • AI was used to generate any/all content of this PR

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant