Community discussions

MikroTik App
 
User avatar
mves
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Tue Jan 11, 2011 8:15 pm
Location: Serbia

pptp ppp attack!

Fri Jan 28, 2011 2:17 am

Hi!
I've got multiple log in attempts over pptp from multiple IP adrresses. It goes one after another every few seconds...

pptp info TCP connection established from xx.xx.xx.xx
pptp ppp info <pptp-0> waiting for call
pptp ppp info <pptp-0>terminating ...- cntrl message too big
pptp ppp info <pptp-0> disconnected

So, what ports I have to block to prevent this attempts? Can anyone help me?
 
User avatar
butche
Trainer
Trainer
Posts: 428
Joined: Fri May 28, 2004 6:14 pm
Location: Missouri, USA
Contact:

Re: pptp ppp attack!

Fri Jan 28, 2011 2:42 am

Do you have the pptp server running? If so, do you need it? If you do NOT need it, then:
/interface pptp-server server set enabled=no
 
User avatar
mves
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 91
Joined: Tue Jan 11, 2011 8:15 pm
Location: Serbia

Re: pptp ppp attack!

Fri Jan 28, 2011 3:50 am

Yes... colleague is using it often. I turned it off for now... thx.
So, is there a way to protect it from further brute force attacks? Problem is that it was from a multiple ip addresses.
 
User avatar
butche
Trainer
Trainer
Posts: 428
Joined: Fri May 28, 2004 6:14 pm
Location: Missouri, USA
Contact:

Re: pptp ppp attack!

Fri Jan 28, 2011 4:25 am

There are a number of methods that you could use. I am not vouching for the 100% security of any of them, but some ideas are:

1. Set up a port knocking application that will be required prior to accessing the pptp server (there's an example in the wiki here: http://wiki.mikrotik.com/wiki/Securing_ ... rOs_Router ) The explanation in that link isn't the most lucid, but I can't find the other one I thought was there.

2. If you know the IP addresses that will be accessing the pptp server, there is no need for port knocking. You can simply permit pptp only from those IP addresses using firewall.

3. Depending on the traffic pattern, you may be able to detect the IP addresses making these failed attempts and use some form of "hacker IP tracking" (my term) and block their access in the firewall.

4. Be CERTAIN that your pptp secrets use secure passwords and not something silly like the person's last name or phone number or whatever.

There are likely some other ideas that you could implement, but these are the first things off the top of my head.

Who is online

Users browsing this forum: 5h4k4, Bing [Bot], jmszuch1, k6ccc and 86 guests