How IP rotation makes each request look innocent
- The tool picks the next proxy from its pool and opens a TCP connection to your server through that proxy.
- Your server completes the TCP handshake. From the kernel's perspective (
accept()syscall on the listening socket), this is a brand-new connection from a brand-new source IP. - The HTTP request hits your web server (Apache, Nginx, LiteSpeed). It looks like a normal POST to
/wp-login.php,/administrator/index.php, a webmail login endpoint, or whatever authentication path your application exposes. - The application processes the login, checks credentials, returns success or failure.
- The tool closes the connection, picks the next proxy, and repeats with the next combo-list entry.
What the logs actually record during an attack
- Source IP (different every time)
- Timestamp (requests may be spread over hours or days)
- Request path (always the login endpoint)
- HTTP status code (typically 200 for both success and failure on most login forms, or 302 for redirect-based auth)
- User-Agent string (often rotated too, but sometimes consistent)
Building a weekly log review routine
/var/log/maillog or /var/log/dovecot.log, depending on the distribution and configuration.
BASH
# Extract distinct usernames from Dovecot auth failures in the past 7 days
# Adjust the log path and grep pattern for your setup
grep 'auth failed' /var/log/maillog | \\
awk -F'user=<' '{print $2}' | \\
awk -F'>' '{print $1}' | \\
sort | uniq -c | sort -rn | head -50BASH
# Count distinct IPs hitting wp-login.php with POST in the last 7 days
# Run against the previous week's rotated log or filter by date
grep 'POST /wp-login.php' /var/log/apache2/access.log | \\
awk '{print $1}' | sort -u | wc -lWhat to look for in the results
- Distinct failed-login usernames jumped from single digits to dozens or hundreds.
- Many of those usernames do not correspond to any account on the system.
- The source IPs are highly diverse — no single IP dominates the failure count.
- Timestamps are spread across hours or days, not concentrated in a burst (attackers throttle to avoid detection).
- User-Agent strings may look normal (Chrome, Firefox) because the tools spoof them, but sometimes you will see a consistent uncommon UA across many IPs.
- Failures concentrate on one or two usernames (like "admin" or "root").
- A small number of IPs generate most of the failures.
- The same password is tried repeatedly against the same username.
Automating the weekly check
BASH
# /etc/cron.d/weekly-combo-check
# Runs every Monday at 06:00 server time
0 6 * * 1 root /usr/local/bin/combo-check.sh | mail -s 'Weekly login failure report' [email protected]combo-check.sh) runs the grep/awk pipelines from above, adds a count of total failures and distinct usernames, and outputs plain text. Keep it simple. The point is not to build a detection engine — it is to put the data in front of a human who can recognize the pattern.
If you are on a cPanel server, also review cPHulk's brute-force log in WHM. cPHulk tracks failed logins across services (cPanel, WHM, webmail, FTP) and can show you which usernames were targeted. For more on that, see Review cPHulk Blocks Weekly Before Locked-Out cPanel Users Flood Support.
What to do when you find a pattern
- Check for successful logins from the same pattern. If 500 usernames failed and 3 succeeded, those 3 accounts are compromised. Force password resets immediately.
- Cross-reference successful login IPs. If an account that normally logs in from one country suddenly authenticated from a residential proxy in a different region, treat it as compromised even if the password was correct.
- Notify affected users. Tell them their credentials were exposed in a breach elsewhere and they need to change passwords on all services where they reused them.
- Consider adding a second factor. TOTP (time-based one-time passwords) or similar MFA makes stolen passwords useless on their own. Whether this is feasible depends on your platform and user base.
- Do not rely solely on blocking IPs. The attacker has thousands more. Blocking individual IPs from a combo-list attack is whack-a-mole. Focus on the credential layer.
