Old 06-03-2011, 03:24 PM   #1 (permalink)
Newbie
 
Join Date: Jun 2011
Posts: 13
rebus9 is on a distinguished road
Default Blocking Brute Force Attempts

We already have a Netscreen firewall that works well, but are thinking of trying Untangle in transparent in-line mode just for IPS.

I've read in these forums that Untangle has only a subset of Snort rules and isn't very configurable in that regard. We primarily want to block bruteforce password-guessing attacks on FTP and RDP, which we've seen a LOT of in recent months.

Does Untangle IPS support blocking "bad" source IPs if there are:

a) too many FTP password rejections from an IP in a given time period (status code 530 if I recall), or

b) too many new connections initiated to port 3389 from an IP in a given time period? The attacks we've seen initiate a new RDP connection every 1-2 seconds.
rebus9 is offline   Reply With Quote
Old 06-03-2011, 03:40 PM   #2 (permalink)
Untangle Ninja
 
mrunkel's Avatar
 
Join Date: Jul 2008
Posts: 2,770
mrunkel is on a distinguished road
Default

Nope.

In my experience, you're better off having the host defend itself, but maybe that's something we can add.

For *nix based hosts, you can use denyhosts or fail2ban for this. I don't know of any solutions for Windows.
__________________
m.


Big Frickin Disclaimer:
While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions.

It often helps troubleshooting if you have a good network map. Look here if you want my advice on how to draw one.
Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
If you need Untangle support please call or email support@untangle.com
mrunkel is online now   Reply With Quote
Old 06-03-2011, 06:36 PM   #3 (permalink)
Untangler
 
scimanal's Avatar
 
Join Date: Oct 2009
Location: Portland, OR
Posts: 62
scimanal is on a distinguished road
Default

It would be cool to be able to send in custom parameters to the engine to enable specific targeted IPS features, is that possible today?
scimanal is offline   Reply With Quote
Old 06-21-2011, 12:20 PM   #4 (permalink)
Newbie
 
Join Date: Jun 2011
Posts: 13
rebus9 is on a distinguished road
Default

Quote:
Originally Posted by mrunkel View Post
Nope.

In my experience, you're better off having the host defend itself, but maybe that's something we can add.

For *nix based hosts, you can use denyhosts or fail2ban for this. I don't know of any solutions for Windows.
These are all Windows hosts.

Blocking FTP bruteforce would look like: block the source IP if more than X-number of status code 530 (bad password) responses are generated within Y-number of seconds

Blocking RDP bruteforce is even easier. Unlike HTTP which opens connections to retrieve every element on the page, RDP sessions create only 1 connection per user. So blocking bruteforce attacks is as easy as: block the source IP if more than X-number of new connection attempts are received from it within Y-number of seconds.

Blocking the source IP if... say... 5 new connection attempts are made within 60 seconds would stop the current RDP password-guessing attacks dead in their tracks.
rebus9 is offline   Reply With Quote
Old 07-20-2011, 01:21 PM   #5 (permalink)
Newbie
 
Join Date: Jun 2011
Posts: 13
rebus9 is on a distinguished road
Default

Quote:
Originally Posted by mrunkel View Post
In my experience, you're better off having the host defend itself, but maybe that's something we can add.
Just curious if this idea has been discussed amongst the Untangle crew yet.

The frequency of these RDP password-guessing attacks is up significantly just in the ~2 months since my original post, and they generate multi-megabit traffic levels per single /24 of IP space.

FTP bruteforce attacks are as popular as ever.

So I'll reiterate that these 2 methods would be kryptonite against the attack methods:

a) Block IP if more than -X- connection attempts are made to port -Y- within -Z- seconds. (example: block IP if 10 new connections are made to port 3389/TCP within 60 seconds)**

b) Block IP if more than -X- connection attempts are made to port -Y- and result in (..a particular FTP status code..) within -Y- seconds. (example: block IP if 10 connecion attempts are made to port 21/TCP and result in "530 Password Rejected" within 60 seconds)

** Note that a TCP connection is actually established-- not just attempted-- for an RDP login attempt.

You know far more about the IDP engine used by Untangle. Is this perhaps more difficult to implement than seems on the surface?
rebus9 is offline   Reply With Quote
Old 07-20-2011, 03:56 PM   #6 (permalink)
Untangle Ninja
 
Mathiau's Avatar
 
Join Date: Feb 2008
Location: Costa Frickn' Rica
Posts: 1,467
Mathiau is on a distinguished road
Send a message via AIM to Mathiau Send a message via MSN to Mathiau Send a message via Yahoo to Mathiau
Default

most FTP i have seen have built in brute force blocking.. which ftp server are you using?
__________________
Def1:Started:UT 7.1 x64 -- Current :UT 9.1 x64| Gigabyte GM-G31 mATX | Intel Q8200 | 8G DDR2 800 | 80G WD | 4x Intel Pro 1000 GT NIC's | Corsair 550W PSU | Norco RPC-250 2U Case | 50mb/50mb | 10 users
Mathiau is offline   Reply With Quote
Old 07-21-2011, 06:30 PM   #7 (permalink)
Newbie
 
Join Date: Jun 2011
Posts: 13
rebus9 is on a distinguished road
Default

Quote:
Originally Posted by Mathiau View Post
most FTP i have seen have built in brute force blocking.. which ftp server are you using?
FTP server is IIS 6, for various reasons. Unfortunately there's nothing built-in, and we don't want to install 3rd party auto-ban software onto the server. We want to block the offending IPs at the network border.

As I understand it, the majority of IPS systems can detect and block IPs for port scanning. What I'm proposing is just a subtle variation. Hit a particular port too many times in a short period of time, and you get blocked. Well, that would work for RDP. For FTP, it would have to be aware of the server's response (5xx response codes sent back to the user, which mean the remote user is probably up to bad things).
rebus9 is offline   Reply With Quote
Old 07-22-2011, 08:17 AM   #8 (permalink)
Untangle Ninja
 
hlarsen's Avatar
 
Join Date: Jul 2010
Location: sfba
URLs submitted: 1
Posts: 1,138
hlarsen is on a distinguished road
Default

feel free to file a feature request at bugzilla.untangle.com, that way it'll get looked at and considered rather than probably just languishing in this topic =)
__________________
Attention: Support on the Untangle Forums is provided by volunteers and community members.
If you need official Untangle support please call or email support@untangle.com.
hlarsen is offline   Reply With Quote
Old 07-25-2011, 06:05 PM   #9 (permalink)
Newbie
 
Join Date: Jun 2011
Posts: 13
rebus9 is on a distinguished road
Default

Huh--- didn't realize I could make a feature request that way.

Done.

Thanks for the heads-up.
rebus9 is offline   Reply With Quote
Old 07-25-2011, 10:00 PM   #10 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,457
sky-knight is on a distinguished road
Default

RDP password guessing attack?

Isn't that what VPN is for? same for FTP problem solved.

Protect weak services with a VPN and never worry about this sort of thing again.
__________________
Rob Sandling, BS:SWE, MCP
Intouch Technology
Phone: 480-272-9889
rob@intouchtechllc.com

UntangleAppliances.com
Phone: 866-794-8879

Last edited by sky-knight; 07-25-2011 at 10:05 PM..
sky-knight is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 08:20 AM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2