Slashdot Mirror


Distributed, Low-Intensity Botnets

badger.foo writes "We have seen the future of botnets, and it is distributed and low-key. Are sites running free software finally becoming malware targets? It all started with a higher-than-usual number of failed ssh logins at a low-volume site. I think we are seeing the shape of botnets to come, with malware authors doing their early public beta testing during the last few weeks."

7 of 167 comments (clear)

  1. Nothing abnormal about SSH probes... by knarf · · Score: 5, Insightful

    I've seen SSH probes on my one-man-and-a-dog site for aeons. I don't think there's anything out of the ordinary, the scum has been trying (and failing) to get in for as long as I've had something listening on the 'net - and that is a long time. There's also nothing new in them trying to root FLOSS-sites as those sites - with their fixed IP addresses, good uptime, high reliability and abundance of crappy PHP-scripts to open the doors - make for good C&C hosts for their flock.

    So all I read from this flog is that a grumpy BSD user should probably check his logs more often. This is nothing new.

    --
    --frank[at]unternet.org
  2. Re:Old news by Sancho · · Score: 5, Interesting

    I've noticed a significantly increased number of brute-force attacks in the last week or so. They're also spacing the number of attempts per IP address out, however I'll get several attempts in a row for the same invalid username from several different IP addresses within seconds of each other. Then all of the addresses will back off for a couple of minutes, and then they'll retry with a new username.

    It's gotten to the point where I have finally installed Denyhosts. Prior to this week, I got away with limiting the number of new connections to port 22 per IP address per minute, but with the backoff that they're doing now, that no longer works.

    Denyhosts is fantastic, though. Since I last evaluated it, they've added the ability to sync with a centralized server, meaning that I can potentially block attackers before they even hit me. I wish that everyone would use it, now.

  3. Re:Easy was to stop 90% of SSH attacks by geekgirlandrea · · Score: 5, Funny

    Yeah, because Switzerland is such a notorious source of attacks. I think you meant .cn.

  4. Re:SSH probes are nothing new by ShaunC · · Score: 5, Interesting

    Yeah, same here, except right now there's a rather humongous distributed bruteforce campaign going on. The 20-30 attempts I tend to see have skyrocketed to several thousand per day. It's actually pretty impressive - it's clearly a distributed sequential dictionary attack. Most of the IPs will only try once or twice, in an effort to avoid exactly the sort of reactive firewalling you mention.

    Dec 1 11:17:57 shaunc sshd[35178]: Failed unknown for illegal user griffin from 196.211.53.74 port 20893 ssh2
    Dec 1 11:18:17 shaunc sshd[35262]: Failed unknown for illegal user griffith from 92.50.243.18 port 40689 ssh2
    Dec 1 11:18:30 shaunc sshd[35308]: Failed unknown for illegal user griffith from 82.207.103.151 port 60822 ssh2
    Dec 1 11:18:33 shaunc sshd[35354]: Failed unknown for illegal user grizelda from 65.203.231.41 port 60602 ssh2

    Many thousands of these, seconds apart, all day long. It got so bad that for the time being I've moved sshd to a different port.

    --
    Thanks to the War on Drugs, it's easier to buy meth than it is to buy cold medicine!
  5. Re:Go install fail2ban by Yath · · Score: 5, Informative

    Please read more of the article before posting. The activity being described is a brute-force SSH login attack that is distributed across a botnet.

    (Yes, the title of the article is misleading, as botnets are by definition distributed; the interesting bit is that SSH brute-force attacks against a specific host don't seem to have been distributed before.)

    Here's the relevant bit:

    See for example the attempts to log on as the alias user, 14 attempts are made from 13 different hosts, with only 70-46-140-187.orl.fdn.com trying more than once. Then thirteen attempts are made for the amanda user, from 13 other hosts.

    fail2ban is not effective against this.

    --
    I always mod up spelling trolls.
  6. Re:Nothing new, move along by ShaunC · · Score: 5, Insightful

    Okay, how is this different than previous patterns of hacking activity, other than the fact that they're aquiring compromised machines via a bot net?

    You're sort of missing the point, I think, in that what's different about this pattern of activity is precisely the fact that it's being done with a botnet.

    For one thing, there's a new level sophistication, primarily in that this bruteforce campaign is not the least bit random. I'm being hit by thousands of distinct attackers, yet the progression of usernames being attempted is undeniably alphabetical. Occasionally a particular username is attempted more than once, but it's typically sequential. One attempt per username with the attacking hosts only making one attempt every few hours.

    The level of coordination required for this sort of attack is unprecedented. Across thousands of bots, each one at any given moment is able to determine:

    • That I am among the pool of targets to be probed
    • That I am, at this precise second, the next target to be probed
    • That this particular bot hasn't probed me recently and is now eligible to probe me again
    • Which usernames have already been probed on my machine
    • The next username, in sequence, that should be attempted on my machine

    In the past, brute force SSH attacks have always been obvious. Typical hit and runs. One host will spew hundreds or thousands of attempts at a target, typically in quick succession, typically focusing on system accounts, and typically trying a shitload of passwords against each account. Firewalls and IDS deployments far and wide will now easily detect (and often block) these attacks immediately because they're so easy to recognize.

    This attack is very different. It's not targeting system accounts, it's hoping to get lucky against a vast list of potential userland lognames. It's only trying once or maybe twice per account. And it's distributing these attempts, round-robin style, across an impressive number of sources, with enough logic so that bot B will not attack host H unless all other bots in the network have sequentially exhausted their "token" attempt on host H.

    What we're seeing is flying under the radar of a shit-ton of IDS/firewall implementations, and is harder to fight.

    I would love to get my hands on the C&C database being used to coordinate all of this. Much as I hate to admit it, the architecture of this attack is unique and innovative, and I'd like to see what makes it tick.

    --
    Thanks to the War on Drugs, it's easier to buy meth than it is to buy cold medicine!
  7. Re:Isn't that... by weetabeex · · Score: 5, Interesting

    You could also be interested in port knocking.

    Turned out to be quite handy when I had that same issue with bots connecting to my ssh port all day long.