iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-23-2005, 04:48 PM
WebProWorld Pro
 
Join Date: May 2004
Location: Austin, TX
Posts: 199
steve0 RepRank 0
Default Anyone else noticing an increase in SSH login attempts?

Hey all,

We keep our boxes pretty tightly wrapped.. but in the last week or two, we have been seeing an increase in attempted logins via ssh.

Anyone else seeing this?

Has some 'new' exploit been published.. or are old ones just making a new resurgence.

(hmm..school back in session.. computer labs are now open..)
__________________
Hardcore Programming Solutions and Coffee Drinker
Reply With Quote
  #2 (permalink)  
Old 08-24-2005, 09:10 AM
timmathews.com's Avatar
WebProWorld Veteran
 
Join Date: Jan 2004
Location: Fresh from Manhattan
Posts: 860
timmathews.com RepRank 0
Default

I have not noticed anything... What types of sites are you niticing this on?
Reply With Quote
  #3 (permalink)  
Old 08-24-2005, 12:54 PM
WebProWorld Pro
 
Join Date: Jun 2004
Location: The Barrens of NE Ohio
Posts: 236
nottheusual1 RepRank 0
Default

We've had an enormous increase in zombie attacks from compromised machines on large ISP's in EU countries. There are tons of them all over Europe and we just saw an increse in IP's originating in Japan (up over 50% this week). It comes and goes in waves.

We've already blocked about every IP block in China and Korea to reduce dictionary attacks on two of our mail servers - customer has one of those dreaded domains that seems to get targeted frequently. Thankfully, he only does business in North America, so this was a practical thing to do. There is a comprehensive list of those IP addresses available at:

http://www.okean.com/thegoods.html

which is updated very daily. When used with APF or some other policy-based firewall it is almost 100% effective.

Funny, but the zombies seem pretty particular - we have 5 production boxes and only 3 get the major traffic from them. Two rarely get probed.

Our firewalls are now configured to let one login attempt from a non-white listed IP - if you blow it, you're out first try. This has helped, but we don't have a situation where there are any SSH users other than a small handful of admins, so the policy is effective.

I'm sure the traffic from college networks will increase over the next few weeks with all those new computers coming up at once.... Unpatched, underprotected and noobs.....
__________________
:not_the_usual1
[you decide]
________________
All in my opinion, which, when combined carefully with a $1 bill, gets you a cup of coffee at the corner store.
Reply With Quote
  #4 (permalink)  
Old 08-25-2005, 10:02 AM
WebProWorld Pro
 
Join Date: Jun 2004
Location: The Barrens of NE Ohio
Posts: 236
nottheusual1 RepRank 0
Default

Check out this link for an eye-opener:

http://www.fcw.com/article90262-08-22-05-Print

talks about attacks from overseas.
__________________
:not_the_usual1
[you decide]
________________
All in my opinion, which, when combined carefully with a $1 bill, gets you a cup of coffee at the corner store.
Reply With Quote
  #5 (permalink)  
Old 08-31-2005, 11:56 AM
MuNKyonline's Avatar
WebProWorld Veteran
 
Join Date: Jun 2004
Location: Suffolk, England
Posts: 777
MuNKyonline RepRank 2
Default

I have recently started gettin e-mails through my form on my website that are just random characters in each e-mail, all of the same length. Is this the kind of thing that you mean?
Reply With Quote
  #6 (permalink)  
Old 08-31-2005, 12:25 PM
WebProWorld Pro
 
Join Date: Jun 2004
Location: The Barrens of NE Ohio
Posts: 236
nottheusual1 RepRank 0
Default

There are some known exploits for F*Page enabled Websites that can be triggered via a form's content and subsequent posting.

Problemo is that the trolls that are doing it aren't always checking to see if the site is F*Page enabled before trying the exploit. As an example, the exploits are useless on a *nix server running the current extensions for the simple reason the exploit is to try to gain control of an unpatched M$ O/S server. Many of the zombies out there aren't being controlled by a very bright crew.

These things seem to last for a week or two and then fade away - all we can figure is that the trolls lost their lease on the zombie machnes they were using.....
__________________
:not_the_usual1
[you decide]
________________
All in my opinion, which, when combined carefully with a $1 bill, gets you a cup of coffee at the corner store.
Reply With Quote
  #7 (permalink)  
Old 09-02-2005, 03:09 PM
Easywebdev's Avatar
WebProWorld Veteran
 
Join Date: Apr 2004
Posts: 310
Easywebdev RepRank 1
Default

I have an old server that I use as a gameserver (security on it has not been hardened) and lately its been getting hammered with ssh bruteforce attacks. As has been said above, summers over and the script kiddies are back at school.

The simplest way to avoid bruteforce ssh attacks is to move the ssh port somewhere high (above 12000) as most of the scripts in the wild target the default port of 22 and most hackers will run an nmap port scan up to 443 and maybe a single probe of 3306 for mysql so moving the ssh port to somewhere high foxes a lot of the kiddies. I do this (along with disabling root logins) on all production boxes and have yet to see an ssh attack on any of these boxes.
__________________
"I have not failed. I have found 10,000 ways that don't work" - Thomas Edison.
"The secret to creativity is knowing how to hide your sources" - Albert Einstein.
Reply With Quote
  #8 (permalink)  
Old 09-02-2005, 08:12 PM
WebProWorld 1,000+ Club
 
Join Date: Jul 2003
Location: Toronto, Canada
Posts: 1,782
cyanide RepRank 0
Default

Yes, that's a good idea, Easywebdev

We've also moved ssh to another port on most of our boxes. Helps alot



Web Hosting | Webmaster Help
Reply With Quote
  #9 (permalink)  
Old 09-02-2005, 08:24 PM
WebProWorld Pro
 
Join Date: Jul 2005
Location: UK
Posts: 166
Steve W RepRank 0
Default

How do you spot an SSH attack attempt?
Which log should I look at please?
I've recently got a dedicated *nix server and could use a pointer for this topic.
Thanks
Reply With Quote
  #10 (permalink)  
Old 09-06-2005, 01:34 AM
WebProWorld Pro
 
Join Date: Jun 2004
Location: The Barrens of NE Ohio
Posts: 236
nottheusual1 RepRank 0
Default

Steve - Do you have a firewall installed? What flavor of *nix is it? Is there any control panel (like plesk or c-panel)?

I'll try to help you get it hardened from this type of stuff.
__________________
:not_the_usual1
[you decide]
________________
All in my opinion, which, when combined carefully with a $1 bill, gets you a cup of coffee at the corner store.
Reply With Quote
  #11 (permalink)  
Old 09-06-2005, 07:39 AM
WebProWorld Pro
 
Join Date: Jul 2005
Location: UK
Posts: 166
Steve W RepRank 0
Default

Hi, thanks.

It's Fedora Core and Plesk.
Reply With Quote
  #12 (permalink)  
Old 09-06-2005, 10:13 AM
WebProWorld Pro
 
Join Date: Jun 2004
Location: The Barrens of NE Ohio
Posts: 236
nottheusual1 RepRank 0
Default

First - turn everything like PHPBB and Nuke off until you know they are patched correctly. They are really wek spots if not done right.

OK - start reading here:

http://members.lycos.co.uk/bubudiu/fc3-harden/

http://www.eth0.us/

The first link refers to hardening fedora in particular and is written by a RedHat staffer.

The second link takes on the whole system. Pay particular attention to the firewall section - they recommend using APF - which really is the best way to go. Also, when you get the latest version of APF, they've integrated a few new tools (like anti-DOS and a brute force detection system).

Let me know when you've plowed through this stuff and I'll help anywhere I can.
__________________
:not_the_usual1
[you decide]
________________
All in my opinion, which, when combined carefully with a $1 bill, gets you a cup of coffee at the corner store.
Reply With Quote
  #13 (permalink)  
Old 09-06-2005, 12:00 PM
WebProWorld Pro
 
Join Date: Jul 2005
Location: UK
Posts: 166
Steve W RepRank 0
Default

Thanks, will get reading...
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum

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 On



All times are GMT -4. The time now is 12:35 AM.



Search Engine Optimization by vBSEO 3.3.0