Networking Forums

Networking Forums > Computer Networking > Linux Networking > Blocking UDP dictionary attack

Reply
Thread Tools Display Modes

Blocking UDP dictionary attack

 
 
CptDondo
Guest
Posts: n/a

 
      01-01-2008, 01:51 PM
I am running OpenVPN. I've started experiencing a 'dictionary attack' -
someone is determined to get in. This is more of a nuisance than
anything, but I would like to figure out a way to block UDP attacks,
similar to the SSH blocks.

They've been hitting me twice a second for days now. I'm getting annoyed.

UDP is stateless though - any way to figure out how to block these
attacks at the firewall?

--Yan
 
Reply With Quote
 
 
 
 
Joe Pfeiffer
Guest
Posts: n/a

 
      01-01-2008, 04:06 PM
CptDondo <(E-Mail Removed)> writes:

> I am running OpenVPN. I've started experiencing a 'dictionary attack' -
> someone is determined to get in. This is more of a nuisance than
> anything, but I would like to figure out a way to block UDP attacks,
> similar to the SSH blocks.
>
> They've been hitting me twice a second for days now. I'm getting annoyed.
>
> UDP is stateless though - any way to figure out how to block these
> attacks at the firewall?


Are they coming from a single IP address? That could be filtered.

Another option is to move your openvpn to a nonstandard port, and
leave them a honeypot at the standard port to break in to.
 
Reply With Quote
 
AHappyCamper
Guest
Posts: n/a

 
      01-01-2008, 06:46 PM
CptDondo wrote:
> I am running OpenVPN. I've started experiencing a 'dictionary attack' -
> someone is determined to get in. This is more of a nuisance than
> anything, but I would like to figure out a way to block UDP attacks,
> similar to the SSH blocks.
>
> They've been hitting me twice a second for days now. I'm getting annoyed.
>
> UDP is stateless though - any way to figure out how to block these
> attacks at the firewall?
>
> --Yan


can't wait to see someone block the insane idiot with the cross posts of
M'I5!
 
Reply With Quote
 
Chris Davies
Guest
Posts: n/a

 
      01-02-2008, 04:12 PM
CptDondo <(E-Mail Removed)> wrote:
> I am running OpenVPN. I've started experiencing a 'dictionary attack' -
> someone is determined to get in. [...]


> UDP is stateless though - any way to figure out how to block these
> attacks at the firewall?


I don't think you can block them at the firewall - unless you can do
some IP based filtering. (Perhaps you know the IP address range for
legitimate OpenVPN connections.)

On the other hand, OpenVPN already has a pre-authentication feature;
take a look at HMAC authentication and the --tls-auth option. Does this
help you at all?

Chris
 
Reply With Quote
 
David Brown
Guest
Posts: n/a

 
      01-02-2008, 06:04 PM
CptDondo wrote:
> I am running OpenVPN. I've started experiencing a 'dictionary attack' -
> someone is determined to get in. This is more of a nuisance than
> anything, but I would like to figure out a way to block UDP attacks,
> similar to the SSH blocks.
>
> They've been hitting me twice a second for days now. I'm getting annoyed.
>
> UDP is stateless though - any way to figure out how to block these
> attacks at the firewall?
>
> --Yan


A very practical way to hinder dictionary attacks is to put limits on
the connection rate for the incoming non-related packets. I can't
remember the iptables syntax for this (I use shorewall on my firewall,
which makes it a bit easier to get all the rules right), but I'm sure
google will help (http://www.debian-administration.org/articles/187 for
example). Limiting incoming traffic to, say, 3 new connections per
minute with a burst of 3 will make most dictionary attackers give up
quickly - the attack would just take too long to succeed.

It's a little odd that you are getting this sort of attack on openvpn
ports, however - openvpn normally uses certificates and is therefore
immune to dictionary attacks. It's more common on ssh ports and other
password-based authentication.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
blueyonder have re-written the English dictionary Gonz Broadband 3 12-16-2006 12:29 PM
Selective SSH dictionary attack deterrent Smythe de Winter Linux Networking 13 02-24-2006 05:07 PM
www server hit by dictionary attack - suggestions? Peter Broadband 12 12-12-2005 01:17 PM
What is difference of SYNC, ASYNC, BLOCKING, NON-BLOCKING sockets? kevin Linux Networking 0 11-21-2005 09:56 AM



1 2 3 4 5 6 7 8 9 10 11