GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » Kerio Connect » SMTP password guessing attempts not being blocked (Anti-hammering protection not being triggered )
SMTP password guessing attempts not being blocked [message #105364] Thu, 08 August 2013 22:08 Go to next message
jimmonteath is currently offline  jimmonteath
Messages: 4
Registered: December 2009
The anti-hammering feature appears to be enabled with default settings, yet we still see repeated SMTP password guessing attempts in a single session.

I interpret the defaults to mean that more that 10 failed login attempts in 60 seconds will block the IP for 5 minutes. We see 10 failed logins in 40 seconds. These eventually cross the "SMTP failed commands" threshold (11) but that does not prevent immediate reconnection. We do block the offending IP addresses on our firewall, but this is usually after the fact.

Our settings and related log entries are below. Any suggestions for why anti-hammering isn't being triggered? Kerio Connect V8.1.2

Thanks,
Jim

Administration Console -> Configuration:

Advanced Options -> Login guessing protection:
- Block IP addresses suspicious of password guessing attacks = enabled.
- Never block this IP address group = "Local clients". Offending IP addresses are not in this group.

SMTP Server -> Security Options:
- Max. number of failed commands in a SMTP session = 11 (intentionally set high to allow anti-hammering protection)

mailserver.cfg

<table name="AntiHammering">
  <variable name="Pop3Enabled">1</variable>
  <variable name="ImapEnabled">1</variable>
  <variable name="HttpEnabled">1</variable>
  <variable name="SmtpEnabled">1</variable>
  <variable name="LdapEnabled">1</variable>
  <variable name="NntpEnabled">1</variable>
  <variable name="XmppEnabled">1</variable>
  <variable name="FailedLogins">10</variable>
  <variable name="CheckTime">60</variable>
  <variable name="BlockTime">300</variable>
  <variable name="SafeAcl">Local Clients</variable>
</table


  • Attachment: security.log
    (Size: 1.04KB, Downloaded 800 times)
  • Attachment: debug.log
    (Size: 3.85KB, Downloaded 867 times)
Re: SMTP password guessing attempts not being blocked [message #105456 is a reply to message #105364] Tue, 13 August 2013 23:00 Go to previous messageGo to next message
jimmonteath is currently offline  jimmonteath
Messages: 4
Registered: December 2009
Submitted as a Support Ticket.
Re: SMTP password guessing attempts not being blocked [message #105578 is a reply to message #105456] Fri, 16 August 2013 16:34 Go to previous messageGo to next message
jimmonteath is currently offline  jimmonteath
Messages: 4
Registered: December 2009
I have been advised by Technical Support that anti-hammering only protects against plaintext login attempts for SMTP. It does not block SASL authentication attempts. I cannot find this limitation documented anywhere public.

Unfortunately, this makes the feature useless to us. We are not going to compromise login security in order to gain anti-hammering protection.

Apparently Kerio have a suggestion on file for expanding the anti-hammering feature to also protect again SASL authentication. I have also posted this as a suggestion and would appreciate your votes.
Re: SMTP password guessing attempts not being blocked [message #113849 is a reply to message #105578] Fri, 30 May 2014 13:05 Go to previous messageGo to next message
Machete
Messages: 187
Registered: February 2012
Location: United States
I know this issue has been discussed atleast a few times over the last 8 years, in addition to this most recent topic - (and thanks for the suggestion @jimmonteath)

http://forums.kerio.com/t/5227/failed-smtp-login-attempts-ho w-to-control-
http://forums.kerio.com/t/18540/failed-smtp-login
http://forums.kerio.com/t/24622/security-breaches

I've recently started seeing (again):
[30/May/2014 06:43:41] Failed SMTP login from static-98-109-127-11.nwrknj.fios.verizon.net with SASL method LOGIN.

In all the threads, I see little to no feedback or acknowledgement from Kerio. Does Kerio have any suggestions on how to configure Connect to help prevent these attempts?

As other users have stated, I can block their IPs at the firewall, but this is all after the fact. I'm looking for something to trigger a block while the attempts are happening.
Re: SMTP password guessing attempts not being blocked [message #117350 is a reply to message #113849] Thu, 06 November 2014 12:25 Go to previous messageGo to next message
Neil Whiteside (Kerio) is currently offline  Neil Whiteside (Kerio)
Messages: 318
Registered: September 2013
Location: UK

Our development team have indicated that this is in our plans for Kerio Connect v8.5

Obviously the final spec of a release can change, but it is currently on our roadmap.



Knowledge Base: http://kb.kerio.com/.
Looking for technical support? http://www.kerio.com/support
Re: SMTP password guessing attempts not being blocked [message #117388 is a reply to message #117350] Sat, 08 November 2014 07:06 Go to previous messageGo to next message
NickySmith is currently offline  NickySmith
Messages: 3
Registered: March 2011
Location: Greensboro, NC USA
[08/Nov/2014 01:03:39] Failed SMTP login from 198.46.135.74 with SASL method LOGIN.
[08/Nov/2014 01:03:39] SMTP: User admin<_at_>carolinanet.com doesn't exist. Attempt from IP address 198.46.135.74.
[08/Nov/2014 01:03:45] Failed SMTP login from 198.46.135.74 with SASL method LOGIN.
[08/Nov/2014 01:03:45] SMTP server connection from 198.46.135.74 closed after 3 bad commands
[08/Nov/2014 01:04:11] SMTP: User admin<_at_>carolinanet.com doesn't exist. Attempt from IP address 198.46.135.74.
[08/Nov/2014 01:04:17] Failed SMTP login from 198.46.135.74 with SASL method LOGIN.
[08/Nov/2014 01:04:17] SMTP: User admin<_at_>carolinanet.com doesn't exist. Attempt from IP address 198.46.135.74.
[08/Nov/2014 01:04:23] Failed SMTP login from 198.46.135.74 with SASL method LOGIN.
[08/Nov/2014 01:04:23] SMTP: User admin<_at_>carolinanet.com doesn't exist. Attempt from IP address 198.46.135.74.

This option is needed to block ranges of IPs that are attempting to dictionary attack user passwords. Is v8.5 is the faraway future, or near. If faraway we can block IP another way but if v8.5 is soon we will wait as this is the best way to achieve this goal and continuing issue.
Re: SMTP password guessing attempts not being blocked [message #129918 is a reply to message #105364] Sun, 22 May 2016 16:55 Go to previous messageGo to next message
hello is currently offline  hello
Messages: 57
Registered: March 2008
Any update on this feature since we are now have KC v9.0.4 and it still does not seem to block these attempts or am I missing something?

I did see these KB articles: http://kb.kerio.com/1167 and http://kb.kerio.com/1439

[Updated on: Sun, 22 May 2016 17:10]

Report message to a moderator

Re: SMTP password guessing attempts not being blocked [message #131807 is a reply to message #129918] Wed, 14 September 2016 17:58 Go to previous messageGo to next message
Justice is currently offline  Justice
Messages: 17
Registered: February 2016
Location: Bakersfield, CA
Bump. I would like to see a solution for this as well. Could someone from the Kerio support team please respond?
Re: SMTP password guessing attempts not being blocked [message #140542 is a reply to message #131807] Fri, 03 August 2018 05:42 Go to previous messageGo to next message
humanclay23 is currently offline  humanclay23
Messages: 4
Registered: January 2018
Perhaps a late response but this is already working
Re: SMTP password guessing attempts not being blocked [message #147976 is a reply to message #140542] Thu, 16 April 2020 18:50 Go to previous messageGo to next message
MadManSoft is currently offline  MadManSoft
Messages: 2
Registered: April 2020
Still seeing these attacks, blocking not working... 9.2.

This really should be a priority!
Re: SMTP password guessing attempts not being blocked [message #147992 is a reply to message #147976] Mon, 20 April 2020 12:13 Go to previous message
freakinvibe is currently offline  freakinvibe
Messages: 589
Registered: April 2004
It seems to work for me, I get those log entries:

[16/Apr/2020 23:02:02] Failed SMTP login from 185.50.149.16 with SASL method CRAM-MD5.
[16/Apr/2020 23:02:07] Failed SMTP login from 185.50.149.16 with SASL method CRAM-MD5.
[16/Apr/2020 23:02:55] Failed SMTP login from 185.50.149.16 with SASL method CRAM-MD5.
[16/Apr/2020 23:02:55] Failed SMTP login from 185.50.149.16 with SASL method CRAM-MD5.
[16/Apr/2020 23:02:55] Failed SMTP login from 185.50.149.16 with SASL method CRAM-MD5.
[16/Apr/2020 23:02:55] Failed SMTP login from 185.50.149.16 with SASL method CRAM-MD5.
[16/Apr/2020 23:02:59] Failed SMTP login from 185.50.149.16 with SASL method CRAM-MD5.
[16/Apr/2020 23:02:59] Failed SMTP login from 185.50.149.16 with SASL method CRAM-MD5.
[16/Apr/2020 23:02:59] Failed SMTP login from 185.50.149.16 with SASL method CRAM-MD5.
[16/Apr/2020 23:02:59] Failed SMTP login from 185.50.149.16 with SASL method CRAM-MD5.
[16/Apr/2020 23:02:59] SMTP: AntiHammering - IP address 185.50.149.16 will be blocked for 5 minutes, too many failed logins from this IP address.
[16/Apr/2020 23:02:59] SMTP: AntiHammering: connection from IP address 185.50.149.16 is blocked


Dexion Services AG - IT Support Services in Basel, Switzerland
https://dexionag.ch

[Updated on: Mon, 20 April 2020 12:14]

Report message to a moderator

Previous Topic: Group Issues
Next Topic: Using HTMLSIG Signatures
Goto Forum:
  


Current Time: Fri Mar 31 01:08:51 CEST 2023

Total time taken to generate the page: 0.04060 seconds