Slashdot Mirror


The "Hail Mary Cloud" Is Growing

badger.foo writes "The Australian rickrolling of jailbroken iPhones only goes to prove that bad passwords are bad for you, Peter Hansteen points out, as he reports on the further exploits of the password-guessing Hail Mary Cloud (which we've discussed in the past). The article contains log data that could indicate that the cloud of distributed, password-guessing hosts is growing. 'With 1767 hosts in the current sample it is likely that we have a cloud of at least several thousand, and most likely no single guessing host in the cloud ever gets around to contacting every host in the target list. The busier your SSH deamon is with normal traffic, the harder it will be to detect the footprint of Hail Mary activity, and likely a lot of this goes undetected.'"

9 of 102 comments (clear)

  1. Wet Nuns by byrdfl3w · · Score: 5, Funny

    Hail Mary's... Deamons... Rick Astley.. The final battle is closer than we ever imagined.

  2. Re:Put in denyhosts... by Anonymous Coward · · Score: 5, Informative

    Denyhosts will *not* protect you from Hail Mary. Read the article...this particular botnet may send you only a single login from a single IP, but the cloud as a whole will send you hundreds of attempts.
    The correct solution is to disable password login, and use pubkey auth instead.

  3. Re:How to ID an Infected Computer by geekboy642 · · Score: 4, Interesting

    It's difficult to say whether or not a given system is infected, even if you inspect a complete packet log. Your checksum plan is one of the few ways to guarantee a lack of infection. Actually even that isn't always a guarantee, depending on where the hack is hiding. It could be in the MBR or even burned into the BIOS.

    Luckily, in most cases the hackers aren't clever enough to hide their steps that well. There'll be oddly-named files in /var/www, ps and top will disagree about running processes, or you'll suddenly find yourself locked out of some system management tool.

    --
    Just another "DOJ fascist authoritarian totalitarian bootlicker" -- Zeio
  4. DenyHosts will not save you; disable passwords by Radhruin · · Score: 4, Interesting

    This is a distributed effort, and any one host will not hit your machine more than once. You could configure it to block entire country's subnets, but that's still only marginal protection.

    What you want to do is disable username/password authentication on your ssh hosts. This is one of the first things I do. Set up your machine's public and private key, copy your public key to all your other machine's authorized_keys file, and edit your sshd config and add the line "PasswordAuthentication no". Now, broken crypto libraries aside, you will be safe from this sort of attack.

  5. Re:Put in denyhosts... by MrMr · · Score: 4, Informative

    Put the trusted host in hosts.allow, and it won't be locked out accidentally.
    or fix your filesystem clients.

  6. Re:Put in denyhosts... by jimicus · · Score: 5, Informative

    Very true, but it'll only keep out an absolute moron. Anyone with half a brain will use a distributed mechanism, which means DenyHosts will only see failed password attempts from a given host a few times.

    There's plenty more to do:

    - Don't allow root logins via SSH, or limit them to key-based logins (trivially easy in /etc/ssh/sshd.conf)
    - Disable shell accounts unless they're really needed. rssh is useful here - limit what a user with SSH login authority can do.
    - Lock down other services. What good does DenyHosts do you if SSH and a separate app which can't be locked with DenyHosts both use the same password mechanism?
    - Lock accounts which have more than N failed logins. (Though if you've centralised logins such as in the above example, it'd probably be better to do this from whatever system deals with the authentication, eg. LDAP).

  7. Re:Put in denyhosts... by Predius · · Score: 5, Informative

    The nice thing about denyhosts is you can participate in the global shared DB, so one failed login on your machine, one on mine, etc, we all report the same IP, it gets flagged in the global DB, so we all block it. Machines that IP hasn't hit now won't allow login attempts from it.

  8. Re:Put in denyhosts... by jofer · · Score: 4, Informative

    Denyhosts isn't security through obscurity in any way.

    It just monitors /var/log/messages (or wherever your sshd is configured to log to) and blocks ip addresses with multiple failed logins.

    I think you're thinking of port knocking, which is security though obscurity, though it's still damned useful.

  9. Re:What has to happen? by Opportunist · · Score: 4, Insightful

    This is pretty much what I fear will happen eventually. Right after we'll all be equipped with "trusted" computers that will only run what we want if we jailbreak them, which will not only void their warranty but also open us up to trains of thought such as: If you didn't jailbreak and thus could only run software approved by The Powers That Are, you would not be susceptible to malware (or if, TPTA would have to take responsibility) and are thus fully liable.

    Sounds far fetched? Think about it. Outlawing jailbreaking will probably not really work out, even if it was outlawed, who cares (how do you want to prosecute it)? But locked down devices that, in theory, cannot be harmful being spam chuckers will essentially mean you broke the lock. And then your lawmaker may choose, either he'll slap you for breaking the lock or, if he can't do that for some odd reason like a device that you own belonging to you, will catch you with the angle that you're causing damage with it and that can incur a hefty bill.

    Don't tell me it ain't possible. If you haven't been asleep the last 10 years and when you look at the way things turned, it's anything but unlikely to become the next angle to ensure we only run what we're supposed to run.

    And if at all possible, I'd like to avoid giving anyone a reason to follow that train of thought.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.