Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-20-2011, 12:18 PM
Elite Member
 
Posts: 347
Default Survived my first hack attempt today

Today an ip 75.148.115.169 attempted to hack our email web login for several accounts. I have since blocked the ip at my firewall. Is there any other precautions you guys can recommend. The source ip seems to be coming from the USA .. a comcast ip. to be exact : Glenwood Springs in United States...
__________________
With Jah Jah
Anything is Possible

FOSS 7.2.0

Last edited by drdre; 12-20-2011 at 12:23 PM..
Reply With Quote
  #2 (permalink)  
Old 12-20-2011, 01:04 PM
Advanced Member
 
Posts: 214
Default

you can automatically block ips by firewall rules for xxx amount of time

also do not have the admin port open - that gives a bit more security too

use rules to enshure complexity of passwords

those are the basics to use - only one thing bothers me in closed systems like this that intrusion detection system not really work here since we cant veryfy changes in files on systemlevel and associate em with a zimbra user - sadly thats not possible

what you could do is write a simple script to grab the logfiles and let it report failed auth attemps automatically



another precaution is - if you have only a small group of users to resctrict webaccess on the firewall to certain ranges of IPs -
Reply With Quote
  #3 (permalink)  
Old 12-20-2011, 02:56 PM
Advanced Member
 
Posts: 213
Default

I use fail2ban and iptables to monitor logs and ban IPs after login failures, etc. Currently, I filter for:

SASL login failures
IMAP/POP login failures
Web client login failures
Admin login failures
Postfix login failures
Postfix connection flooding
phpMyAdmin URL searches

I also adapted the fail2ban init script so that the banned IP list is maintained across restarts.
Reply With Quote
  #4 (permalink)  
Old 12-20-2011, 03:40 PM
Special Member
 
Posts: 146
Default

Simple way: Use fail2ban.
__________________
# ZCS 7.1.3 SLES11 SP1
Reply With Quote
  #5 (permalink)  
Old 12-20-2011, 04:48 PM
Advanced Member
 
Posts: 214
Default

partly true - fail2ban helps a lot no question - specially you avoid getting accounts locked by bruteforceattacks

but it works only against normal auth failures
any other hack attemp is undetected - like using a security bug in soap / tomcat or where ever we find one

this is actually a challange and often not even solveable at the moment - if youre small with a few users and known addressranges you can - as ife written bevore - avoid most of em by a almost total lockdown

if its really security relevant you may think about only letting smtp transfer in and out lock everything else out and give access by any kind of vpn

like all similar services zimbra could be vunerable against some other things we dont know yet

all depends on kind of service - need of security vs accessability

only problem - in difference to nomal unix services (shell login/ftp and so on) we cant use intrusiondetection yet

maybe we coudl also think about logging firewall and fail2ban for additional wierd behave - like portscans and stuff


btw anyone know if we can discover unauthenticated (so no login) request attemps on the soap engine? -

because there a lot of tool out there bruteforcing webapplications on the usual stuff liek sql injections bufferoverflows and so on
Reply With Quote
  #6 (permalink)  
Old 12-20-2011, 05:13 PM
Special Member
 
Posts: 146
Default

I use Cisco IPS solution.
You can also use snort softwware and you can create your own IPS signatures
__________________
# ZCS 7.1.3 SLES11 SP1
Reply With Quote
  #7 (permalink)  
Old 12-22-2011, 04:14 PM
Advanced Member
 
Posts: 213
Default

I updated my fail2ban post, if you're interested in going that route:
Succesfull hacking attempts on Zimbra mailboxes (webmail)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.