Free2Code
 
Time: 2009-01-06, 02:17am
Root attempts
Subject: Root attempts  ·  Posted: 2004-10-23, 03:00pm
Rank: ? (2172)
Member #: 11609
Code:
  1. Oct 23 18:07:52 server sshd[26605]: Failed password for root from ::ffff:211.174.53.81 port 52013 ssh2
  2. Oct 23 18:07:57 server sshd[26619]: Failed password for root from ::ffff:211.174.53.81 port 52069 ssh2
  3. Oct 23 18:07:57 server sshd[26621]: Failed password for root from ::ffff:211.174.53.81 port 52070 ssh2
  4. Oct 23 18:07:57 server sshd[26620]: Failed password for root from ::ffff:211.174.53.81 port 52071 ssh2
  5. Oct 23 18:07:57 server sshd[26626]: Failed password for root from ::ffff:211.174.53.81 port 52074 ssh2
  6. Oct 23 18:08:01 server sshd[26637]: Failed password for root from ::ffff:211.174.53.81 port 52135 ssh2
  7. Oct 23 18:08:01 server sshd[26638]: Failed password for root from ::ffff:211.174.53.81 port 52136 ssh2
  8. Oct 23 18:08:01 server sshd[26636]: Failed password for root from ::ffff:211.174.53.81 port 52134 ssh2
  9. Oct 23 18:08:02 server sshd[26644]: Failed password for root from ::ffff:211.174.53.81 port 52142 ssh2
  10. Oct 23 18:08:06 server sshd[26653]: Failed password for root from ::ffff:211.174.53.81 port 52200 ssh2
  11. Oct 23 18:08:06 server sshd[26654]: Failed password for root from ::ffff:211.174.53.81 port 52201 ssh2
  12. Oct 23 18:08:06 server sshd[26655]: Failed password for root from ::ffff:211.174.53.81 port 52202 ssh2
  13. Oct 23 18:08:06 server sshd[26659]: Failed password for root from ::ffff:211.174.53.81 port 52206 ssh2

Look familiar to any of you? There were a total of 735 attempts at login via SSH to this server.
They were successful in somehow making apache fork 213 child processes, causing it to hang.

How stupid can people be?

A guy gets on a bus and starts threatening everybody: "I'll integrate you! I'll differentiate you!!!" So everybody gets scared and runs away. Only one person stays. The guy comes up to him and says: "Aren't you scared, I'll integrate you, I'll differentiate you!!!" And the other guy says: "No, I am not scared, I am e to the power of x."
 
  Reply to this ·  Post link ·  Top
Subject: Re: Root attempts  ·  Posted: 2004-11-16, 04:35am
Rank: Unregistered
Does anyone know what this is?

I have seen thiese in my logs.

I think that they are some sort of bug in ssh.

I am logging into root from a non-root account on another system using an ssh-agent.

I have noticed lately (this did not used to be the case) that when I log in my agent-info file does not contain my actual environment
settings for:

$ env | grep SSH_AGENT_PID
SSH_AGENT_PID=3198

$ cat agent-info
SSH_AGENT_PID=2122

It used to be when I logged in that the agent-info file would be up to date and match my environment.

Currently they do not. Is this causing this problem?





 
  Reply to this ·  Post link ·  Top
Subject: Re: Root attempts  ·  Posted: 2005-01-18, 07:12am
Rank: Unregistered
Here's a proposed solution using iptables.
 
  Reply to this ·  Post link ·  Top
Subject: Re: Root attempts  ·  Posted: 2005-01-18, 04:06pm
Rank: ? (1533)
Member #: 15283
TY for that link AC.
If I knew your name I'd thank you personally.
An elegant solution indeed.
Cheers. _B_

Beware the Big Koala. It originated the recursive malapropism when it found itself supernumerary to a specific task and commented, "I think I'm erroneous here". -which it wasn't until it said so, but then it was, -so it wasn't. It also once won a staring contest, with a stuffed cat.
 
  Reply to this ·  Post link ·  Top
Subject: Re: Root attempts  ·  Posted: 2005-02-05, 04:38am
Rank: ? (614)
Member #: 9832
Yes indeed, I had problem at work with root attemps on one server in DMZ. I asked twice the higher-ups to fix the situation (to make the external firewall not accept that kind of stuff) but that didn't happen (Oh sorry we forgot, yes yes we'll do it and that shit)
so that prompted me to learn about IPtables. Well, the situ is now more or less under control, I learned new stuff and nobody got hurt... But it could have been a lot worse. It just happened that this problem was affecting servers run by me (security freak), almost everyone else in the company seems to think that security stuff is something that gets you arrested and should not be touched... No wonder script kiddies have fun time when sysadmins think studying IPtables or encryption is illegal... Would scaring them shitless be considered immoral or educational in this case?

Edit:

I traced many of these root attempts to South-Korean elementary school... don't know what to say about that. Well they didn't manage to crash apache, I don't even know how that can happen through SSH...

» Post edited 2005-02-05, 04:42am by Crypdoctor.

Chaos reigns within - Reflect, repent, and reboot - Order shall return
 
  Reply to this ·  Post link ·  Top
Subject: Re: Root attempts  ·  Posted: 2005-03-19, 02:16am
Rank: ? (2172)
Member #: 11609
 Crypdoctor writes...
Well they didn't manage to crash apache, I don't even know how that can happen through SSH...

They probably weren't related after all. OpenSSH is insecure though, so who knows.
I traced all those IPs to South Korea, China, and Thailand. Some of them originated from satellite networks.

A guy gets on a bus and starts threatening everybody: "I'll integrate you! I'll differentiate you!!!" So everybody gets scared and runs away. Only one person stays. The guy comes up to him and says: "Aren't you scared, I'll integrate you, I'll differentiate you!!!" And the other guy says: "No, I am not scared, I am e to the power of x."
 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

icons