Slashdot Mirror


How To Prevent Being Hacked Via Backups?

Popsikle writes "A few days ago one of the Web's largest hosting discussion forums was supposedly hacked via their backup servers. From the story: 'We've since learned that this very deliberate, sophisticated and calculated hack against Web Hosting Talk was carried out by gaining access to our offsite backup servers. From our backup servers, the hacker gained access to the WHT db server. The malicious attacker deleted all backups from the backup servers within the infrastructure before deleting tables from our db server. We were alerted of the db exploitation and quickly shut down the site to prevent further damage.' What sort of security do you put on your backup infrastructure? Looking at your backup solution could you be completely taken down by either someone obtaining a backup or accessing your backup servers? What sort of recommendations does everyone have for this not to happen?"

214 comments

  1. Easy fix by bingbong · · Score: 5, Insightful

    Offline and offsite storage (i.e. iron mountain) is a simple (though sometimes costly) way of doing things.

    it'll solve this problem quite easily.

    --
    "Omnis tuus capsa sunt inesse nos"
    1. Re:Easy fix by QuantumRiff · · Score: 4, Interesting

      Even easier.. put a external HD with Truecrypt under your bed. Maybe take a second one into the office, Lock it in a drawer, just in case your house burns down..

      Every week or so, use 1 to backup. Alternate which one. Add more drives, or more often backups until you get to the point you sleep easy at night.

      --

      What are we going to do tonight Brain?
    2. Re:Easy fix by travisb828 · · Score: 1

      Until an email is sent to the data center distro list asking if someone has seen one of the iron mountain containers that usually end up being found in a closet or something. But a lost box of tapes is easier to deal with then data sitting on a hard drive connected to the rest of the world.

    3. Re:Easy fix by Architect_sasyr · · Score: 1
      Why not just start with the simple stuff:

      iptables -A INPUT -s $SITERANGE -j ACCEPT
      iptables -A INPUT -s $OFFICEGW -j ACCEPT
      iptables -A INPUT -j DROP

      I don't see why my offsite backup solution should be such an issue - it is just a bunch of windows servers sitting behind an OpenBSD firewall with pretty much exactly those kinds of rules loaded into it (more restrictions on ports etc.). Also, if I screwed up those iptables, see sig ;)

      --
      Me failed English...
      FreeBSD over Linux. If my comments seem odd, this may explain...
    4. Re:Easy fix by seifried · · Score: 1

      Great so I lose up to 2 weeks of work. Unless you're a small business with paper backups or something that won't fly to well.

    5. Re:Easy fix by morcego · · Score: 0, Flamebait

      I'm sorry, but however recommends using an HD as a backup solution, shouldn't be talking about backup.

      HDs are NOT backup media.

      If you want to encrypt your tape backups, you can use openssl, pgp or several other solution for it. I have opeessl encrypted backups on one of my sites, and they work great.

      --
      morcego
    6. Re:Easy fix by DaveDerrick · · Score: 1

      Always done it, always will. Good advice.

    7. Re:Easy fix by Xest · · Score: 1

      Just don't use Maxtor drives if you actually want to be able to retrieve your data at any point.

      Where I used to work we had 6 dead Maxtor drives in as many months. Luckily this was spread across 3 servers which had 4 backup drives each but it certainly taught a lesson that some hard drive manufacturers are less than reliable.

      It's probably also worth pointing out we had some Seagate drives bought at a different time, stored along with all the Maxtor drives and used in the same way without a problem, so it didn't seem to be anything we were doing, but then this was also around the time that Maxtor were dropping their warranty to 1 year from 3 years whilst Seagate was upping theres to 5 years from 3 years which speaks volumes.

      The moral of the story is though, always check your backup media regularly too, and don't rely on just one or two backup drives if your data really is that important.

    8. Re:Easy fix by tepples · · Score: 4, Insightful

      HDs are NOT backup media.

      Please provide a citation that hard disks are noticeably worse than tape, which you appear to otherwise recommend.

    9. Re:Easy fix by QuantumRiff · · Score: 4, Insightful

      No, they are not, you are correct. In my post, I was assuming that this was a small website or business, not a mission critical company product. I didn't mention software, or tape libraries, or hot backups. I think sometimes its better to have some backups, then none at all. An external drive can be bought for next to nothing.. really, I can get a 500GB HD for about the cost of a couple of tapes, but then I have to buy 2 tape drives (in case one has hardware failure).

      Believe me, I could go on about backup windows, media, and techniques, but was hoping by keeping it simple, they would not be overwhelmed. By not being overwhelmed, they might start the process.

      Also, by not using a computer based backup, they would not have the same problem as the site mentioned in the linked article, where someone first cracked their backup servers, and deleted their only backups.

      --

      What are we going to do tonight Brain?
    10. Re:Easy fix by wisty · · Score: 1

      Hard drives are cheaper per G, and have been since 2002. Hard drives do fail, but usually due to impacts, or while in use.

      It's like all those people who insist that putting objects in RAM will be slower than a "real" database...

    11. Re:Easy fix by moxley · · Score: 1

      This is definitely true in that they should not be relied on as a primary or sole backup, but they can be used as a second backup that is easier and quicker to restore.

      The IT dept that I run does cross server backups to DLT tapes, as well as backups to a NAS.

      The DLTs are taken offsite and stored in a fireproof safe and would be used for something catastrophic, but the NAS backups are used if we need to restore a file here or there because somebody does something stupid.

      This way somebody doesn't have to bring in the DLT tape, mount it and restore that way - although I still (as a test) do a restore from DLT a couple of times a year just to make sure everything is working as well as the logs and my perception tells me it is. Unfortunately when I do these test restores it's only files and not restoring the entire system, so other than knowing that it works well for files and expecting that it would work properly for restoring from bare metal I haven't had to actually do it (which I am not complaining about - but I would like to go through the process in a non-critical situation to really know, because you really don't know if your backups are worth anything until you try to restore them).

      Does anybody know if I could test such a full restore in a a virtual environment?

    12. Re:Easy fix by cenc · · Score: 1

      Hard drive, with USB cable that passes through the back of a safe, and is bolted to the concrete floor next to the server. Very simple, very inexpensive. Additionally I swap two large capacity hot swap drives and place one in my second office about every 15 days. Once a month, I place copy in removable drive and mail it out of the region.

    13. Re:Easy fix by Ephemeriis · · Score: 1

      HDs are NOT backup media.

      Why not?

      Obviously you can't plug in a single external HDD, leave it in the building all the time, do nightly dumps to it, and call it a backup. That's wrong for at least a half-dozen reasons.

      But what's wrong with buying a pile of external drives and using them just like you would a tape? Plug one in every day, run the backup, and then store it someplace safe offsite. Seems to me that it would work just the same as a tape.

      --
      "Work is the curse of the drinking classes." -Oscar Wilde
    14. Re:Easy fix by Antique+Geekmeister · · Score: 1

      They're too easy to wipe when attached. But yes, they're fabulous live image repositories, and they're good staging media to do a fast snapshot or rsnapshot or database dump and make the tape from the live media. It's then vastly, vastly faster to export the live disk for people to recover files from than it is to mount tapes or run fancy recovery clients with.

    15. Re:Easy fix by cperciva · · Score: 1

      We must have different ideas of what "easy" means. To me, "set up a cron job which stores a backup online every hour" is easy, while "buy two hard drives and drive them between buildings each week" sounds like a lot of work.

    16. Re:Easy fix by Anonymous Coward · · Score: 0

      i'm sorry, but whoever doesn't know the difference between however and whoever shouldn't be talking at all

    17. Re:Easy fix by dougmc · · Score: 1

      Seems to me that it would work just the same as a tape.

      Yes, it would. I think the guy you're responding to is referring only to drives left accessible (especially mounted) in a computer 24x7.

      Of course, a tape drive has the same problem -- if a bad guy gets into your backup server, he can erase any tape in the drive, and if there's an automatic robot, he can tell the system to erase every tape it has access to. (Might take a while, however.)

      So, take his rant and replace `HDs are NOT backup media' with `Backups need to be kept offline when not in use for maximum security' and it becomes more accurate. Of course, that totally changes his rant, so maybe it can't be saved ...

    18. Re:Easy fix by sorak · · Score: 1

      Even easier.. put a external HD with Truecrypt under your bed. Maybe take a second one into the office, Lock it in a drawer, just in case your house burns down..

      Every week or so, use 1 to backup. Alternate which one. Add more drives, or more often backups until you get to the point you sleep easy at night.

      Or hire a midget to follow you around with a backpack full of backups. Then hire an ogre to protect the midget. Carry a gun in case the ogre and the midget mutiny against you, and keep a cyanide capsule in your tooth filling, in case either one of them gets the gun.

    19. Re:Easy fix by dougmc · · Score: 1

      If you have to go to the other building anyways, it's not so much work.

      Offsite backups are needed in case your building burns down. (A nuke would take out your other building too, but at that point you may not care.)

      The problem with a cronjob (only) backup system is that it needs online storage (doesn't matter if it's tape or disk), and if the backup system can alter the backup, then so can a bad guy who gets in (and certain failure types could too, depending on the specifics.) Sure, there's some ways you can obfuscate and harden this, but the only backup that's truly safe from a determined bad guy is locked in a safe, in another building, not online in any way, and was made before he got access to your system. (And yes, I realize that that last thing especially is difficult to guarantee.) And of course, even that's not *truly* safe -- for more safety, you have multiple backups in multiple secure locations, all protected by men with guns ...

      Also, one set of backups isn't enough. What if things broke before the last backup, and you need to go back further?

      Ultimately, depending on how important the data is, backups can be easy, or they can be hard. Copying your work to a flash drive once in a while might be sufficient for some, where a company might spend millions of dollars on a backup system that keeps multiple revisions of stuff in multiple locations across the country.

    20. Re:Easy fix by Anonymous Coward · · Score: 0

      The idea is that someone actually got access to the machine, which in turn would be able to access the usb port which follows into the safe, which connects to the hard drive, which contains the data ....

    21. Re:Easy fix by cperciva · · Score: 1

      Also, one set of backups isn't enough. What if things broke before the last backup, and you need to go back further?

      The phrase "set of backups" is rather ambiguous here -- but if you're using an intelligent backup system (like tarsnap) you'll have multiple snapshots stored.

    22. Re:Easy fix by Hamish910 · · Score: 1

      Hard drive, with USB cable that passes through the back of a safe, and is bolted to the concrete floor next to the server.

      So I just plug a laptop into the USB cable and copy and/or format/erase that drive?

    23. Re:Easy fix by Anonymous Coward · · Score: 0

      How do you backup people? If our building were lost, we'd have backups, but probably no people :P

    24. Re:Easy fix by Joe+U · · Score: 1

      HDs are NOT backup media

      Since when? Disaster recovery should, in theory, be spread out over HDD, Tape and Optical. Long term storage should be mirrored between optical and HDD, with regular refreshes.

    25. Re:Easy fix by Bandman · · Score: 1

      I do a very similar thing.

      My backup machine does nightly archives to tape, but it's also got an array of disks for nightly backups. If the backup server dies, those hard drives are instantly mountable on any of the machines by just plugging them in.

      The details in the link above aren't right, especially the gordian bash-knot, since I've been moving to AMANDA, but the premise is the same. Nightly backups to multiple media, full weekly backups to long term storage media.

    26. Re:Easy fix by Anarke_Incarnate · · Score: 1

      Ok, go talk to Falconstor, EMC, HP, IBM, SUN/STK, etc and tell them that virtual tape libraries are shit and that nobody should use them. Perhaps you should say "Single disk backup solutions are bad" but not that hard drives are not backup media. When you dedupe your backups and sync across continents, do you want to read 40 800GB tapes per week? I sure as shit don't. Deduping tape is horrendous. Deduping large arrays is relatively painless and when you can make the bar codes match the virtual tape device and the off site tape that is cut after the backup to disk (Yes, a Tiered approach) you make life so much easier.

    27. Re:Easy fix by magisterx · · Score: 2, Informative

      I would respectfully beg to differ. For my personal computer, I have two layers of backup, one goes to an external harddrive and works quite well to protect me from harddrive failure or being stupid and overwriting the wrong file. The other is burning a set of DVDs every now and then and store elsewhere, which protects me from physical destruction of my house.

      At my last job we had 3 layers of backups; the first was to a large harddrive (actually a RAID away, but still an array of harddrives.) Then from there we made tape backups for short term storage and less frequent tape backups for long term offsite archival. But again, the harddrives where the first layer.

      In short, I find harddrives make an excellent first layer of backup protection. They are faster and (depending on setup) easier to use than most other backup solutions, and very affordable.

      Of course, I would never recommend relying on harddrives as your only layer of backups when dealing with mission critical data, but then I would never rely on any one layer of backups for truly mission critical data. Harddrives probably provide one of the best first layers in that case.

      If you are dealing with less critical data and working on a budget then you may be able to accept just one layer of backups, and in that case then which way you choose to go depends on a number of factors but harddrives are a strong contender even there.

    28. Re:Easy fix by Anonymous Coward · · Score: 0

      HDs are NOT backup media.

      Please provide a citation that hard disks are noticeably worse than tape, which you appear to otherwise recommend.

      You take your harddrive , I'll take my tape. We'll both drop them from four feet to the floor a couple times and then see which one still works.

      Harddrives are OK for backups, but they do not replace tapes

    29. Re:Easy fix by Anonymous Coward · · Score: 0

      Because if you drop a hard drive from 4 feet, boom, it's dead. If you get a hard drive wet (like say, there's a fire and the sprinkler system goes off,) it's dead. If the motor on your hard drive goes out, it's dead.

      Tapes do not suffer from these problems. If the data you are backing up is worth significantly more than the $10,000 a good tape backup system (including LTO3/4 autoloader and software) then you go with tape. If the motor on your tape drive goes out, you buy a new tape drive. If the tape gets wet, you dry it off. You could probably drop an LTO3 tape off the top of a building without it breaking.

      If your data is worth less than that, by all means, hard drive rotations work wonders (especially with the WD passport drives; those things are tiny and don't need a power cord.) But it all depends what you're talking about.

      DVDs, on the other hand... those are not backup media. Ever.

    30. Re:Easy fix by morcego · · Score: 2, Informative

      Ok, there were several replies to my post and, since I'm not going to reply to all of them, I decided to pick one that is clear and definitively worth discussing with.

      I do agree with your backup strategy. It is sound. I use that one some sites, having backup made to tapes, and a secondary storage area (or a pre-backup staging area) on a NAS, for fast recovery of trivial files. Restoring files from the NAS is usually fasted, as you stated, than from a tape.

      Using BOTH HDDs and tapes to supplement each others, specially for added redundancy is very sound.

      However, HDDs don't replace tapes. They are too prone to fail, specially if left powered off for long periods of time. It is a catch 22 if I ever saw one. If you keep them powered on, they will fail sooner. If you keep them powered off, they will also fail sooner (than tapes). Also HDs are much more sensitive than tapes to storage condition. Although if you are worth your salt, you probably have a storage vault/room/facility with controlled humidity, temperature, EM-free and all that.

      Not can stop you from calling your HDD "a backup", the same it we can't stop you from calling it "Bob".

      Yes, as a side note, (newer) HDDs are more reliable than some old tape backup technologies, like DDS. At least on my experience. But if you are running backups on DDS tapes, you are in enough trouble already.

      For those that want to argue that tape technologies change too much, I would like to invite them to read the data from a RLL HDD I have here on my cabinet. I also have a MFM HDD, but I don't want to push the issue too much.

      --
      morcego
    31. Re:Easy fix by WuphonsReach · · Score: 1

      The big advantage of hard drives for offsite storage is that they are a standard, self-contained unit, that can be attached to nearly any computer on the planet. They're also inexpensive, easy to grow (you don't have to replace a tape drive when you need the next size up), and very appealing to small businesses.

      The downside is transportation costs along with bulk and no robotic mass handling of the units.

      On the upside, if a solitary hard drive fails, you're only out the data on that drive. If a tape reader fails, it could take multiple tapes with it. Or, if you don't have a spare tape drive, you could be basically be stuck with oodles of tape that can't be read.

      Tape makes sense once you reach the point where you have enough tapes to need automation. Where you're shipping data offsite every night in an express envelope or courier. Where you're locking away tapes every week/month for years at a time and the data isn't kept "live".

      But for smaller shops with under 200-400GB worth of data, that is only growing a few dozen GB per year. Tape is simply overkill if not required by regulations. They're not interested in spending thousands on tape drives and thousands more on tape software and media. They'll be happy with half a dozen portable drives that they take offsite in a weekly rotation. Toss in a bit of nightly/weekly rsync (or rdiff-backup) to an offsite location and you're pretty much covered for a minimum of fuss.

      --
      Wolde you bothe eate your cake, and have your cake?
    32. Re:Easy fix by Anonymous Coward · · Score: 0

      HDs are NOT backup media.

      Please provide a citation that hard disks are noticeably worse than tape, which you appear to otherwise recommend.

      Well I can't give you a link, but I work in a banking data center. We use HD arrays for a lot of our backup, but for stuff that we (legally) HAVE to keep stored long term, we still use tape exclusively.

    33. Re:Easy fix by SMS_Design · · Score: 1

      See, I just tend to not throw my shit around for fun. For half the cost of your tape system, I'll buy two hard drives and back up to both of them. Tell ya what, I'll even carry them separately.

    34. Re:Easy fix by asdfghjklqwertyuiop · · Score: 4, Funny

      You take your harddrive , I'll take my tape. We'll both drop them from four feet to the floor a couple times and then see which one still works.

      ...At which point we'll observe that the hard drive failed. Then I'll pull out one of the several other copies of it which I was able to make thanks to the large amount of money I saved by not using tape. We'll finish by making a note not to repeatedly throw backup media on to the floor from four feet and conclude that hard drives are a fine backup medium.

    35. Re:Easy fix by Jay+L · · Score: 1

      At which point we'll observe that the hard drive failed. Then I'll pull out one of the several other copies of it which I was able to make thanks to the large amount of money I saved by not using tape.

      Don't sell yourself short! Because it's stored on a hard drive, which can be continuously online without suffering wear or stretching, you were already automatically verifying the backup's integrity every week. So you already knew that the hard drive failed - the day that it failed. You were able to use the other copies long before the tape guy got his tape mounted.

    36. Re:Easy fix by NT+Colonel · · Score: 1

      Offline storage is a good first step.

      The other parts of their problem are
      A) that the db's user name and password were available in their backups
      and
      B) that db user had permission within the database to perform DDL operations.

      Part B is pretty easy to fix...just change your permissions within the db server. Part A requires that you stop putting the db user's password in the connection string.

      In Windowsland, you can user Windows Integrated Security. In Unixland, you'll have to set up Kerberos.

      Either way, the web server's service process logs onto the database with the credentials of its own user account (a Kerberos ticket), providing no password. The attacker cannot log in to the database server unless they manage to get logged in AS the web server's user account. This is much harder to do than just snagging the db logon info out of some plain-text script or configuration file.

      In this case, if they had used trusted connections between their machines, they would have only lost their backups, not their production data as well.

    37. Re:Easy fix by lawaetf1 · · Score: 1

      And if you're a bigger business you use a WORM solution. Technology - it's flexible.

      --
      CommentBot 0.7a running with args "-module irritate,disagree -target random"
    38. Re:Easy fix by vux984 · · Score: 1

      What part of "Add more drives, or more often backups until you get to the point you sleep easy at night." confused you?

    39. Re:Easy fix by Anonymous Coward · · Score: 0

      But what if the cyanide capsule decides it wants a piece of the action?

    40. Re:Easy fix by styrotech · · Score: 1

      Either way, the web server's service process logs onto the database with the credentials of its own user account (a Kerberos ticket), providing no password. The attacker cannot log in to the database server unless they manage to get logged in AS the web server's user account. This is much harder to do than just snagging the db logon info out of some plain-text script or configuration file.

      Please excuse my ignorance, but what is the difference?

      If the plain text file is only readable by the webserver account (and root), then the attacker still needs to obtain the webservers privileges (or root). Same as with Kerberos.

      As far as I can tell, all you've done is put the credentials in a slightly more obfuscated format (a keytab file). Any security comes from restricting access to the credentials themselves.

      OK it has some advantage in potentially confusing the stupider script kiddies, so it might not be totally pointless after all.

    41. Re:Easy fix by Cheech+Wizard · · Score: 2, Interesting

      I'm sorry, but however recommends using an HD as a backup solution, shouldn't be talking about backup.

      HDs are NOT backup media.

      I just finished up taking about 40 hard drives that I have used for backup over the years and consolidating them onto 2TB drives. Every drive (the oldest is about 10 years old) spun up and all data transferred without a problem.

      I've been using hard drives to back up data for years and never had a problem.

    42. Re:Easy fix by Cramer · · Score: 2, Informative

      HDs are not archive media. They don't fair too well left sitting on a shelf (unpowered) gathering dust for a few years. Magnetic tapes can (and DO) last decades in storage. Yes, they are slow and far more expensive, but they are, without a doubt, the best option for offline archives and backups.

      In fact, most "cost effective" (read: cheap) IDE/SATA drives tend to last about 3 years in normal/typical operation. They become highly unreadable if left powered off for 6+ months. Tapes, on the other hand, last for decades.

    43. Re:Easy fix by NT+Colonel · · Score: 1

      Please excuse my ignorance, but what is the difference?

      Between Windows Active Directory (Windows Integrated Security) and Kerberos? For the sake of my argument, there is none, because AD IS a Kerberos server. You can even authenticate Linux machines against it.

      If the plain text file is only readable by the webserver account (and root), then the attacker still needs to obtain the webservers privileges (or root). Same as with Kerberos.

      Not if its in a clearly readable backup file on another running machine, Chief. That's how they got compromised, remember? The backup crapped up their security model. If your text config file has no password in it, due to you using "trusted connections", the attacker can't read it, no matter where you store it on the network.

      Any security comes from restricting access to the credentials themselves.

      Exactly my point. You must restrict access to the credentials themselves, as they are the keys to everything in your network. Those credentials are attacker gold.

      Best practice is to have a separate machine (physical or virtual) that does nothing but authentication (Kerberos) and authorization (LDAP) of principals (logon accounts) for the network. No Apache, no db server, no DNS, nothing goofy, just handles security requests.

      Your separate security server would only be SSH or console accessible, using Kerberos authentication only, so the attacker couldn't brute-force his way in through SSH. Even then only the Network Admin(s) would even have logon rights to that one machine.

      If that sounds like work...well, it is. But is it more work to try to undo the untold damage some knucklehead did to their production servers? I'd be willing to bet their admins would LOVE to have their sleepless nights back.

    44. Re:Easy fix by styrotech · · Score: 1

      Between Windows Active Directory (Windows Integrated Security) and Kerberos? For the sake of my argument, there is none, because AD IS a Kerberos server. You can even authenticate Linux machines against it.

      No, the question is what's difference in security between a text file only readable by the webserver account and a Kerberos keytab file only readable by the webserver account.

      Not if its in a clearly readable backup file on another running machine, Chief. That's how they got compromised, remember? The backup crapped up their security model. If your text config file has no password in it, due to you using "trusted connections", the attacker can't read it, no matter where you store it on the network.

      Wouldn't the same backup have the Kerberos keytab file in it? If the attacker gets the keytab, they can impersonate the webservers service principal (and any others stored in the same keytab) all they like.

      Best practice is to have a separate machine (physical or virtual) that does nothing but authentication (Kerberos) and authorization (LDAP) of principals (logon accounts) for the network. No Apache, no db server, no DNS, nothing goofy, just handles security requests.

      Your separate security server would only be SSH or console accessible, using Kerberos authentication only, so the attacker couldn't brute-force his way in through SSH. Even then only the Network Admin(s) would even have logon rights to that one machine.

      Yeah, that's the security for the passwords stored in the KDC handled. But the attacker doesn't need to crack the KDC and get the password for the webservers service principal - they already have the keytab file containing the tickets for the service principal because it was in the backup.

      That's why I don't (yet at least) see the difference between a DB user account password stored in a text file on the webserver, and storing a Kerberos ticket for a service principle in a keytab file on the webserver. Both methods rely on neither the webserver nor its backups getting compromised.

      I know Active Directory doesn't use keytab files for the service accounts the same way Unix does, but the same kind of info contained in a keytab has to get registered and stored on the webserver somehow. It's part of becoming a domain member, and registering service accounts with services after entering the password of the service account when you configure the service.

      Now for a secure option with Windows servers (I remember trying this out on NT4 back in the day so I presume it still can be done on later versions), there is/was a utility to encrypt enough about the servers SAM in such a way that the server needed a passphrase entered on the console or read from a floppy to decrypt them before it could carry on booting. That should solve the pilfered backup problem, but of course it is such a huge hassle when managing remote servers and applying services packs etc that I can't imagine it really being used much.

    45. Re:Easy fix by Anonymous Coward · · Score: 0

      In the small to medium sized company I work for we have two external drives, one connected, one not and stored a floor away. Once every 3 months we buy a new drive, and send one of the existing ones to Iron Mountain. That covers about 500GB of data, of which maybe 50GB is very important and changes frequently. Per external drive - 10 copy rotation per drive of the important data, two rotated copies of the rest.

      We *also* have a tape drive, backing up just the very important data, with the usual rotation and offsite storage.

      End users know the difference between the part of the datastore that is for very important data, and the stuff that doesn't change as often. There are common locations for different types of data. There are no quota's configured. An admin spend 5 minutes once a week to review the changes in files created and deleted, and directory size changes. End users are educated where necessary.

      In the past few years, drive size increases have outpaced our storage growth needs :)

      Tape is *not* keeping up, not without putting into it an order of magnitude increase in cost.

    46. Re:Easy fix by NT+Colonel · · Score: 1

      Ok, I see what you're getting at.

      The service's key is only known from the service and the KDC. It means that the keytab should
      be created with proper rights : only the service which requires it should be allowed to read the
      keytab. If not, any person (or service) having read access to this keytab could spoof the service's
      identity.

      http://www.kerberos.org/software/adminkerberos.pdf, page 25.

      So, your're right about the attacker spoofing through the keytab, that's no better than a password in the open in the insecured backup.

      I guess you could just refuse to back up those keytabs on the client machines. In a disaster recovery, couldn't you just re-export the keys from the KDC? It looks easy enough.

    47. Re:Easy fix by styrotech · · Score: 1

      I guess you could just refuse to back up those keytabs on the client machines. In a disaster recovery, couldn't you just re-export the keys from the KDC? It looks easy enough.

      Yep, that could work and you could even automate it to a degree.

      But (for disaster recovery purposes) you've still got to be able to back up the KDC securely, so if you can do that you may as well just back up the webserver securely too :)

      Although I suppose you could strip the passwords from the KDC backups, and recreate them all after a recovery too. For a site with mostly service principals (gah - I keep typoing that as "principles") it could be ok to automate, but lots of user principals would be a pain.

      IMO there is a bit of a blind spot amongst typical Windows admins about how Kerberos works (I'm still somewhat hazy about it) because they are so shielded from it. Getting a *nix machine working with your AD via Kerberos is a very useful exercise as the internal workings are more exposed.

    48. Re:Easy fix by Trixter · · Score: 1

      Hard drives do not withstand anywhere near the amount of shock that tapes can. If you are going to offsite your backups using a commercial facility (ie. a person that transports containers in a truck every day), you would be a fool to offsite hard drives instead of tape.

      Hard drives are obviously the correct choice when you need online or "near-line" access to your data. But proper offline archival to an Iron Mountain-style facility is done with tape for a reason.

    49. Re:Easy fix by zen-theorist · · Score: 1

      Even easier.. put a external HD with Truecrypt under your bed.

      I sleep with a giant magnet under my pillow, you insensitive clod!

  2. Tachikoma by Anenome · · Score: 5, Insightful

    Take a lesson from Ghost in the Shell, hire digital Tachikoma to protect you :) Problem solved!

    --
    "I Don't Have Enough Faith to be an Atheist"
    1. Re:Tachikoma by pembo13 · · Score: 2, Funny

      Those Tachikoma will do what ever it takes, especially once they gain individuality.

      --
      "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
    2. Re:Tachikoma by KahabutDieDrake · · Score: 2, Informative

      Once they gain individuality, they tend to kill themselves in spectacular ways. I'd prefer a security system that didn't self destruct on top of the intruder, at least assuming there was another option.

    3. Re:Tachikoma by 228e2 · · Score: 1

      aye, but what kind of security system will work for you even after you choose to get rid of it? I kinda like the idea of a security guard that will take a bullet for ma after i've fired him.

      --
      Since when does being a Socialist mean 'someone who has a different opinion than me'?
  3. See also: The classic answer to computer problems by dmomo · · Score: 5, Funny

    >>What sort of security do you put on your backup infrastructure?

    It depends.

    I guess it depends how valuable the data is, how current it needs to be. Does it need to be kept secret or simply kept uncorrupted? How fast do you need to access these backups. The harder for you, potentially the more secure.

    For starters let's have a copy off-line in a location where the servers are not. Heck, choose another location for more security. I am thinking: A tape and a DVD in a safe with a lock on it. And another somewhere else.

    If you really need to keep it safe, commit it all to memory and then shoot yourself in the temple.

  4. Encrypt it by micksam7 · · Score: 5, Insightful

    Encrypt your backups.

    Don't let your backup system have access to your main system.

    Allow your main system write-only access to your backup system, for the sole purpose of delivering new backups.

    1. Re:Encrypt it by micksam7 · · Score: 2, Insightful

      Ammendum:
      Anything else needing to be done would require a admin to do it, and that's the point.

    2. Re:Encrypt it by cperciva · · Score: 1

      And if you can't figure out how to do the above, use tarsnap, which is designed around the principle of an untrusted (and potentially conspiring with the NSA) backup system.

    3. Re:Encrypt it by JackBoro · · Score: 1

      Online backup is the current best method for backing up your data (remote access, prevention of theft, hardware failure, flood, fire), but you need to make sure your provider offers encryption.

      Make sure the online backup service encrypts your data before it leaves your computer, stores your files encrypted on their servers, and that they do not keep your encryption password.

      If a hacker compromises your providers' systems, at least you know they cannot access your files - ever. MyOtherDrive.com and Carbonite, both provide this level of encryption.

    4. Re:Encrypt it by Znork · · Score: 2, Insightful

      Don't let your backup system have access to your main system.

      Ah, but this is a large company, and presumably they use 'enterprise' products. Some (most?) of those tend to be secured with rexec equivalent security (nsrexecd and .nsrhosts, coincidence eh?) for jobs executed from the backup server, and any better security is an afterthought. But they have good salesmen, and they're 'enterprise', and they cost a lot of money so they must be safe to use right...

      The sad state of affairs is that at many large corporations it's probably as easy as sticking a laptop into the right network port, configuring the same IP address as the backup servers and you've got root access on every machine they back up, either through script facilities or through the simple capability of pushing a restore of a (completely unchecked) home-made passwd or any other file.

      Perhaps it's changed in the last few years, but last I checked there were no host keys to authenticate servers and clients, there were at best simple passwords for the server to make the client do whatever it wanted and there were no checksums to verify that only previously backed up files got pushed to the client. I may also have missed some more capable system.

      Then again, many large companies separate responsibility for backup and storage systems from system administration, and/or the people deciding what backup system to use have little experience with system security. Leading to exactly this kind of problem, with huge gaping security holes. Monitoring software is another one of those huge holes.

      Preventing being hacked from the backup system is, of course, fairly trivial. The first part of which would be, don't use any backup system that creates huge security holes on your servers, or at least don't put the security hole, or 'backup client' on the servers.

      For the second part I'm leaning towards multi-stage backups, particularly if you have separate areas of responsibility; have the server admins being responsible for delivering production data securely to an intermediate storage area (perhaps coalesce the data into a single compressed encrypted, signed file), then let the people responsible for backups dump it to tape/archive it.

      It creates a whole other bunch of problems and potential issues of course (and solves another bunch of issues with backup clients that don't understand all file types, file systems, metadata, etc), and you may have to take a serious look at database backups and such, but in the choice between bad and some more bad, at least such a solution won't lube you up for a penetration, it'll be fairly cheap (licenses vs. diskspace), it gives you much flexibility on how to backup which data, and it should keep your data safe. It may cost more man hours on the system side, but it'll probably save them on the storage side with fewer backup clients. The joy the first time you get to do a several-minute restore instead of getting an 'oops-saved-the-data-on-every-tape-in-the-silo' experience waiting a day for less than a hundred gigabytes of small files getting restored will just be another bonus.

  5. eggs in multiple baskets by jgercken · · Score: 5, Interesting

    1) divide your eggs in at least two baskets, thoughtfully designed to protect their integrity
    2) keep your baskets in physically isolated locations
    3) take steps to protect your eggs from theft
    4) after retrieving your eggs, inspect them for tampering before using them in your souffle
    5) purchase insurance for the off chance you get yolk on your face

    --
    Never ascribe to malice what can be adequately attributed to ignorance. -Napoleon
    1. Re:eggs in multiple baskets by socceroos · · Score: 1

      Thats a heck of a pain if all you want to do is make soufflé.

    2. Re:eggs in multiple baskets by Anonymous Coward · · Score: 0

      We were on the point of closing a deal with a customer and they were supposed to call back the next day. We called them after a week. Apparently, they had backups, but they stored them in-house, in a place safe from earthquakes and fire. Unfortunately, they forgot about crazy truck drivers. Some guy drove his truck right into their office and wrecked everything; the backup room was fire-proof and it was designed to resist the roof and walls falling on it, but the truck did more damage than they could think of.

    3. Re:eggs in multiple baskets by Captian+Spazzz · · Score: 1

      1) divide your eggs in at least two baskets, thoughtfully designed to protect their integrity
      2) keep your baskets in physically isolated locations
      3) take steps to protect your eggs from theft
      4) after retrieving your eggs, inspect them for tampering before using them in your souffle
      5) purchase insurance for the off chance you get yolk on your face

      6) ???
      7) PROFIT!!!!
      Sorry, had to be said.

    4. Re:eggs in multiple baskets by Anonymous Coward · · Score: 0

      You're making me hungry.

  6. Why were your backup servers by Jane+Q.+Public · · Score: 5, Insightful

    accessible in the first place? Somebody in IT was not doing their job.

    1. Re:Why were your backup servers by Anonymous Coward · · Score: 0

      The submitter isn't affiliated with the company with the compromised backup servers.

      Follow the quotes, it's pretty easy once you get the hang of it.

      For example, you said "Why were your backup servers accessible in the first place? Somebody in IT was not doing their job."

      To which, I reply, "Duh".

    2. Re:Why were your backup servers by CAIMLAS · · Score: 4, Interesting

      There are a couple ways to 'automate' your backups being "offline" but still automated; not perfect, but better than what they apparently had.

      Server on the Internet, with a private subnet behind said server where your backup server(s) are. Internal interface on server must have absolutely zero services running, and the connection must not be routable.

      However, backup servers also need to be not kept "online" when not backing up. You can:

      * Keep them powered off and only power them on (automatically) when you're doing backups (which occur on a schedule from the main server).
      * Keep them on, but with the network interface down.
      * If the backup servers use external storage but are kept on, have those on a separate power unit that powers up only on schedule as well.

      Personally, this sounds like an "inside job": it's malicious and performed with a great deal of knowledge of the operation. That speaks of a disgruntled employee to me, not some kiddie at it for kicks. There are a lot of steps which can be taken, but realistically, you're not going to be able to deal with something like this unless you've got your data backups completely 'unattached'.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    3. Re:Why were your backup servers by mokus000 · · Score: 2, Interesting

      "Their" is not singular, you cretin. Use "his": it's a perfectly fucking good word.

      Oh, come off it. Quit wasting the world's time.

      --
      Additive identity, multiplicative cancellation, distributive multiplication over addition: pick any two (unless 1 = 0)
    4. Re:Why were your backup servers by JumpDrive · · Score: 1

      Yeah, but you've also got to remember that we have users.
      My users demanded that they have access to backups. So they could access files they just deleted or that Office corrupted.
      So basically now I have a third backup, which they can't get to or access. But it wasn't easy to sneak that into the budget.

  7. Isolate the Backup Servers by StCredZero · · Score: 2, Insightful

    Why were your backup servers accessible from the outside network? Your backup servers are arguably even more valuable than your production servers. They should be behind yet another firewall. You can even have the production servers connect to them through a separate network interface. (Network interfaces and Cat5 cables are cheap.) If you are really paranoid, you can create folders where the server can upload data, but can't erase or overwrite what it has uploaded.

    1. Re:Isolate the Backup Servers by RiotingPacifist · · Score: 1

      offsite backup much?

      --
      IranAir Flight 655 never forget!
    2. Re:Isolate the Backup Servers by StCredZero · · Score: 1

      Have onsite backup behind it's own firewall, accessible through a separate network interface AND offsite backup. Recovery time using the onsite backup will be much faster, and you'll have additional redundancy.

  8. Prevention for exploit via backups by Junior+J.+Junior+III · · Score: 4, Funny

    Easy, don't do backups! 99% of the world is already way ahead of you on this. Hard drive failure is a myth, anyway.

    --
    You see? You see? Your stupid minds! Stupid! Stupid!
    1. Re:Prevention for exploit via backups by dvhh · · Score: 1, Funny

      even better install Bonzi Buddy on your servers, and better yet discard your firewall, they are for pussies anyway. And who the need those lunix servers, windows 95 "should be enough for everyone"

    2. Re:Prevention for exploit via backups by PingPongBoy · · Score: 1

      That's the total paradox - do backups and be screwed or don't and be screwed.

      Well, for what it's worth, if you really must, use a different OS to run the backup. This other OS is always not networked, always booted from a read-only drive, or whatever is required to keep it from being corrupted. You have to tolerate some downtime though, so maybe copy your working files to another machine if possible. Security and reliability are a bitch, but combating entropy has its price.

      --
      Know your pads. One time pad: good for cryptography. Two timing pad: where to take your mistress.
    3. Re:Prevention for exploit via backups by JAlexoi · · Score: 1

      That's the total paradox - do backups and be screwed or don't and be screwed.

      Well. The fact that you are alive, means that someone got screwed. Therefore, life is a total paradox!

    4. Re:Prevention for exploit via backups by Anonymous Coward · · Score: 0

      Easy, don't do backups! 99% of the world is already way ahead of you on this. Hard drive failure is a myth, anyway.

      Haha. Despite having occasional hard drive failures, my company has one server with a scsi raid5 array with three 9 gigabyte disks. It has run flawlessly for 11 years without any disk issues.

      I don't have the heart to put it out to pasture.

  9. Well, if it ws me... by rlanctot · · Score: 1

    I'm no expert, but if it were me, my off site backups wouldn't be accessible via the net at all, they'd be completely offline. I'd back up locally to a system not connected to the Internet at all then move my backups off site manually.

    1. Re:Well, if it ws me... by theNetImp · · Score: 1

      Oh yea that works good until you have 30TB of data. We ran an image storage solution for a company, we had 12 NAS devices each with 5TB of storage. 6 for production data, 6 for backups. If someone had hacked us and deleted all that data we'd have been screwed, luckily it was attached to a server that had no access to the internet directly, so they'd have had to get through 2 firewalls and ssh key only access to the the front ends from our office and a few other remote locations (ie my house). I never want to manage that much data ever again.

    2. Re:Well, if it ws me... by Anonymous Coward · · Score: 0

      Oh yea that works good until you have 30TB of data. ... I never want to manage that much data ever again.

      I suspect within 10 years, 20 at the outside, that much data will seem trivial. After all, 1TB drives are already becoming common, next year no doubt 2TB will be common, etc.

    3. Re:Well, if it ws me... by rlanctot · · Score: 1

      Well, considering the application they're running, ie a discussion board, I doubt they'd have 30TB of data. In this particular situation, I think it's a viable solution. My point was that if they're worried about their data, they shouldn't have it accessable via the intertubes =p. Ymmv, but if it was me, and I had 30TB of data, I wouldn't be backing it up remotely over the net anyway.

    4. Re:Well, if it ws me... by maxwell+demon · · Score: 1

      What about having both a local and a net backup? In most cases, the local, non-networked backup should work just fine, and it would be really bad luck if the data, the local backup and the external backup would be destroyed at the same time.

      --
      The Tao of math: The numbers you can count are not the real numbers.
  10. Re:See also: The classic answer to computer proble by TheGratefulNet · · Score: 5, Funny

    If you really need to keep it safe, commit it all to memory and then shoot yourself in the temple.

    hey, the guy might NOT be jewish.

    did you consider that?

    --

    --
    "It is now safe to switch off your computer."
  11. Obvious Oversight by WHT by Revotron · · Score: 5, Informative

    There was a very blatant oversight and an unfortunate assumption on the part of WHT and iNET Interactive.

    They quite obviously overlooked the fact that the WHT servers (and ONLY the WHT servers) would ever need routine access to the backup servers. Therefore it was an obvious security hole that could have been plugged by restricting traffic through iptables to only iNET-affiliated IPs. Any teleworkers who needed access should simply use a VPN to iNet's offices if they really need access to the backup systems. If under some extreme circumstance (such as the loss of a database) an outside party needs access to the backup servers, the system admin can then add an exception under iptables.

    And on that note, the other incredibly thoughtless assumption was that any traffic coming from the backup servers would be approved traffic. So once the attacker gained access to the backup servers, the database servers were one insecure hop away.

    I think this proves the following very important points to the entire IT industry:
    1) Internal infrastructure should remain just that - internal! Restrictions should always be put in place as to who can (or can't) access a system.
    2) No traffic can be guaranteed authorized or authentic. It's one thing to add an SSH keyfile to your home servers, but in an enterprise environment everything must be highly scrutinized. It's no longer a matter of protecting systems from users - it's now a matter of protecting systems from other systems as well.

    I was personally affected by the loss of information at WHT and while it's annoying, it's a fact of life and can't be undone. All that's left now is to pick up the pieces, secure the site as best they can and move on with lessons learned.

  12. Re:See also: The classic answer to computer proble by dmomo · · Score: 5, Funny

    Well done sir. Either way, it'd be a horrible way to parish.

  13. Air gap with physical delivery. by Anonymous Coward · · Score: 0

    have backups delivered to backup site physically, with backup site not actually connected to any network.

    so basically unless they nab your delivery guy or show up at the site with guns, it should be safe(tm).

    in my mind this is half-funny/half-hmmmm-maybe

    1. Re:Air gap with physical delivery. by MichaelSmith · · Score: 1

      Yeah but then they will get left in a car outside a strip club or something.

    2. Re:Air gap with physical delivery. by MiniMike · · Score: 1

      It and the MacPro are both chained to a metal pole

      I think he's already storing it in a strip club.

      As a bonus, occasionally he finds a dollar bill in the MacPro.

  14. Re:See also: The classic answer to computer proble by George+Beech · · Score: 1

    >>What sort of security do you put on your backup infrastructure?

    It depends.

    I guess it depends how valuable the data is, how current it needs to be. Does it need to be kept secret or simply kept uncorrupted? How fast do you need to access these backups. The harder for you, potentially the more secure.

    For starters let's have a copy off-line in a location where the servers are not. Heck, choose another location for more security. I am thinking: A tape and a DVD in a safe with a lock on it. And another somewhere else.

    If you really need to keep it safe, commit it all to memory and then shoot yourself in the temple.

    I think you are missing an even bigger problem. How many of your servers does your backup infrastructure have admin access to - or if not admin elevated access? Are your backups a push or pull? If they are a pull you now have INBOUND firewall rules from your backup segment into your other network segments allowing the backup server to talk and start the pull. Or if you have a backup segment, there is not firewall protection, except host based firewalls, which have rules to allow the backup server to talk.

    Yes having multiple copies is a good idea, but backups are a very dangerous thing security wise if not done right and secured properly.

  15. Simple solution.... offline backups by Fallen+Kell · · Score: 1

    The simple solution is to have backups that go to physical media which is offline and not accessible from any computer system without human physical intervention. The only way to tamper with this backup would be to get physical access to it, which is much harder and much more dangerous/risky than cracking into a system remotely. A periodic rotation of tapes offline will prevent this kind of attack from succeeding in bringing your systems down and loosing all your data.

    --
    We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
    1. Re:Simple solution.... offline backups by mysidia · · Score: 2, Interesting

      If your system is compromised for an extended period of time, and you don't know about it, your backups can still get tainted.

      i.e. the hacker might modify your backup process in a subtle way, like getting random bits corrupted on the tape, sufficient to make it useless for restoring.

      Hardly anyone actually completely tests their backups, to make sure they'll work.

      After 6-12 months, the hacker hoses the real DB, not expecting their trap, you try to load from backup from physical media, only to make the situation even worse.

      It could take you quite a long time to find a backup that's not hosed (assuming you keep physical media backups older than 12 months)

    2. Re:Simple solution.... offline backups by Fallen+Kell · · Score: 1

      I didn't even mention backup tests because I just assumed that these were being done... I guess that is just something I take for granted because we have always done this. Some products have this ability built into the system to test the integrity of the backup by reading the files off the backup media and checksuming them vs the original files.

      --
      We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
    3. Re:Simple solution.... offline backups by russotto · · Score: 1

      Some products have this ability built into the system to test the integrity of the backup by reading the files off the backup media and checksuming them vs the original files.

      Anything man can create, man can fsck up. Someone motivated enough could not only set up the system to silently corrupt the backups, but modify the testing system to report "OK" anyway. Set up the system, wait one full backup cycle, nuke the original, and the target is hosed.

      Most backup solutions are designed to protect against accidental data loss, not a determined attacker. Though bugs which subtly corrupt things until they ultimately screw them up altogether sometimes do a convincing imitation of a determined attacker.

  16. You did it wrong. by Anonymous Coward · · Score: 0

    Your backup server should have no access whatsoever to your production server. Your production server should access your backup, not the other way around.

    1. Re:You did it wrong. by mysidia · · Score: 1

      Your backup server should have no access whatsoever to your production server. Your production server should access your backup, not the other way around.

      Actually, there are two ways to handle it, either (A) give the backup server read-only access to the live server, or (B) give the live server write-only access to today's backup directory on the backup server.

      The design should be such that damage should be minimized (should any server be compromised)

      Unfortunately, backups normally inherently contain sensitive files like /etc/shadow which could be used by an attacker to gain access to the live server (Brute force attack)

      Possibly a database used by some application in the environment utilized plaintext passwords, so the backups _could_ contain a password that just so happens to be the one needed for the hacker to get into the live equipment....

      Just b/c access to the backup server lead to access to the real one doesn't necessarily mean the backup server 'had access' to the active one.

      However, backup servers should be guarded like the crown jewels, and not made accessible from the internet, period, except if and until the backup need be brought into service (as some type of public server).

    2. Re:You did it wrong. by cperciva · · Score: 1

      Unfortunately, backups normally inherently contain sensitive files like /etc/shadow which could be used by an attacker to gain access to the live server (Brute force attack)

      This is why backups should be encrypted.

    3. Re:You did it wrong. by Antique+Geekmeister · · Score: 1

      Don't forgot user passwords stored in cleartext by Subversion and unencrypted SSH passwords. When I'm in an NFS environment, I like to run a check for user home directories with passwords and passkeys stored that way, to use it to explain to people they shouldn't use their Subversion passwords for anything else, and to explain in very, very harsh terms that they need to encrypt their SSH keys.

    4. Re:You did it wrong. by cperciva · · Score: 1

      This is why backups should be encrypted.

      Don't forgot user passwords stored in cleartext by Subversion and unencrypted SSH passwords.

      Err... as I was saying, the fact that people have sensitive information on their systems is why backups should be encrypted...

  17. Hackers. by Anonymous Coward · · Score: 0

    Was the best movie of all time.

  18. Guard/Isolate the backup... by Anonymous Coward · · Score: 0

    Even if you need to use rsync where read access to the main server is needed...Use NFS to export the RO file system from the main server to the backup. No write access from backup whatsoever.

    Also, firewall the backup heavily. Backup should really only needed to make outgoing NFS connection, and incoming SSH perhaps.

    Turn off the backup when not needed. Wake up on ACPI Alarm (or less ideal, WOL by others). This should make it more secure, and saving some powers too. *Potentially* this makes it stronger against electrical strike too.

  19. Lock that shit down. by w0mprat · · Score: 1

    If you have adequate physical security in meatspace, then it's reasonable to assume your backups are not significantly more vulnerable over and above your main cubical farm.

    It is also an reasonable initial assumption when setting up shop, that backups of any kind should be situated in a more bomb/fire/quake/flood/theft proof place than your main operation. That goes for external intrusions to your hot failover systems too.

    --
    After logging in slashdot still does not take you back to the page you were on. It's been that way for 20 years.
  20. Re:See also: The classic answer to computer proble by Anonymous Coward · · Score: 0

    OK, I think we've done this one to death.

  21. A: The same way you protect any other resource by carlzum · · Score: 1

    Why would there be a different security policy for the backup server or media?

  22. Re:See also: The classic answer to computer proble by BluBrick · · Score: 5, Funny

    I think you need to altar your attitude.

    --
    Ahh - My eye!
    The doctor said I'm not supposed to get Slashdot in it!
  23. Why were all the backups online? by pembo13 · · Score: 4, Interesting

    I understand why the most recent backup would be online, but I assumed it was standard procedure to have the remaining archive offline.

    --
    "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
    1. Re:Why were all the backups online? by Anonymous Coward · · Score: 0

      That's what they restored from. They only lost 800 posts or so.

  24. -Jim by Anonymous Coward · · Score: 0

    Use SSH to connect to your backup server, do not use port 22, but something higher than 10,000. Generate a large key 4000-6000 bit range, to connect up...no passwords allowed. Do not use Root but rather generate a random user name..not "backup". Also, you can set your IP's in the hosts.allow file on the backup servers to futher restrict who can connect. Unless I'm missing something, this is quite foolproof..even to a talented fool.

  25. I use duplicity for offisite and nfs for onsite by Britz · · Score: 1

    I couldn't care less if any of those machines got compromised. Ok, the onsite nfs backup servers would be kind of weird, since they are behind my firewall. So if they compromise my backup servers they could as well compromise any other machine on that lan. Offsite backups are stored via ftp using Duplicity. Even if they compromise the backup servers they would still have to break my n-digit random passprase in order to look into it. And even if they took a look inside my backups it still wouldn't compromise my network, since none of the passwords are stored in clear text.

  26. Why was this possible? by RAMMS+EIN · · Score: 3, Insightful

    I don't understand. The attackers gained access to the database...through the backup servers? That leaves me with two questions:

    1. Why were the backup servers accessible to the attacker?
    2. Why was the database accessible from the backup servers?

    It seems to me that the only way you need to access the backup servers is through some mechanism that allows you to transfer data to and from them. A single open port, which you need a password (or key) to use seems all that should be exposed. That shouldn't be too hard to secure.

    It also seems to me that the backup server has no business accessing the database, and therefore shouldn't be able to access the database.

    Unless, of course, the way the system works is that the backup server accesses the production server to retrieve the data from it. That doesn't seem the most obvious design to me, but it would at least explain why the backup server could access the database. Maybe that is a good reason not to design the system that way (on the other hand, it saves complexity on the production server, which is good). At any rate, it doesn't answer the first question, which is why the attackers were able to access the backup server.

    My sympathy goes out to the WHT administrators. Good luck on recovering from this and figuring out what went wrong. I hope you will keep us posted, so that we can all learn from this incident.

    --
    Please correct me if I got my facts wrong.
    1. Re:Why was this possible? by Anonymous Coward · · Score: 0

      I don't know if that's the case, but I thought that maybe they have their database accessible to the internet (e.g. mysql listening in public interface instead of localhost or a private subnet). If an attacker gained access to a backup, he could have the root db password and ... profit!

      I'd be surprised if that's the case, looks like a very noob error.

    2. Re:Why was this possible? by tapanitarvainen · · Score: 2, Insightful

      Unless, of course, the way the system works is that the backup server accesses the production server to retrieve the data from it. That doesn't seem the most obvious design to me, but it would at least explain why the backup server could access the database. Maybe that is a good reason not to design the system that way

      That is a rather common design in backup systems, and there are good reasons for it: mainly, it allows securing the backup server better, especially in the (common) situation where one backup server handles several production machines.

      If the backup servers offer only read-only access to anyone over the net (or not even that if recovery from backup is rare enough to be initiated from backup server console), it can be secured much easier than when if offers write access to clients backing themselves up.

      [...] it doesn't answer the first question, which is why the attackers were able to access the backup server.

      You are right there, though.

    3. Re:Why was this possible? by Johnny00 · · Score: 0

      You never trust your production servers. So the production server -cant- connect to the backup servers. The obvious design is to have the backup server (or some 3rd system) be the one that connects to the production server. The real question is why was the backup server reachable from the public internet.

      --
      I live life on the edge ... of my desk.
    4. Re:Why was this possible? by Anonymous Coward · · Score: 0

      I agree with this, the only thing that i want to add is that, if you were using offsite backups through a third party vendor, you should have an SLA in place so that if hackers delete your backups, it is a breach of the SLA and you get $$$. Otherwise you are better off creating your own offsite storage that only your network has access to...

  27. Re:See also: The classic answer to computer proble by halk · · Score: 1

    If he was Jewish mocking him about the events of 70 AD this way would be pretty damn insensitive!

  28. Re:eggs in multiple baskets tsarkon by wickerprints · · Score: 2, Funny

    It's a special, copyrighted, variant spelling of soufflé. Apparently it also requires equally special baskets and eggs.

  29. Johnny Mnemonic... by meuhlavache · · Score: 1

    If you really need to keep it safe, commit it all to memory and then shoot yourself in the temple.

    ... was here!

  30. Several layers by ducomputergeek · · Score: 1

    We have a back up server the hosting company provides, and that is on a seperate subnet, no external facing ip. In addtion, we have an FTP server at another hosting co, and finally the emergancy back up in the office, which gets backed up to an external hdd and DVD.

    --
    "The problem with socialism is eventually you run out of other people's money" - Thatcher.
  31. Not backups. by Anonymous Coward · · Score: 0

    What they describes is DR, not a backup. Backup is offline media not online servers.

  32. RTFA, they don't know much about security by itsme1234 · · Score: 1

    "Passwords are hashed with salt. It would be an unprecedented event to reverse engineer our passwords."

    Yea, sure, like most users will choose good passwords when registering for such forums. Having the salt will slow down an attack against all passwords at the same time, but that's all. A normal brute force attack even against a "light" dictionary will probably reveal enough passwords for any evil purpose (like spam).
    And really for a forum that's called "WebHostingTalk" they should be better at, well, WebHosting. And really the security of the backup server is trivial compared to the production server. Of course it needs to be considered seriously but it is a much easier problem: you don't have to deal with tons of services, demons, mysql, tangled forum/gallery/etc software and most importantly you need to keep it online only a fraction of the time and it doesn't need such a fast connection if you do the backups with any intelligence.
    What's more you can encrypt everything towards a public key (it can be done either by the production machine or by the backup server). The secret key can be safely backup up in any fashion you like offline (it's a tiny, tiny file).

  33. Re:See also: The classic answer to computer proble by biggknifeparty · · Score: 1

    There's a cool way you can have backups that you can bring only very quickly with FreeBSD. You build a jailed environment, then just tarball, then encrypt the whole thing. Then host it in another country.) If your server fails, you simply bring another one online and load the same jail (userspace vm). You can automate database backups, and just make sure that they are encrypted, and sshtunnel>>ftpd to a secure firewalled location. Backup your VM whenever you make a software change, and backup the database and scripting files daily (or as needed). Encrypt whatever you need, and store the files in a location where they cannot be executed or accessed without secured access. The backups can be automated from the host system crontab, (ex: tar -czf $date-jailbackup.tar.gz /path/to/jail). Since the Jail has no access to the host system, and the secured backup server has no access to the host either, then it's relative secure.

  34. Insider by chirone · · Score: 2, Funny

    Probably was a former employee who did the job. At work we always joke to make a backdoor, ready to delete all backups in case we get fired. Unfortunately we have fireproof safes and off-site backups...

    1. Re:Insider by Anonymous Coward · · Score: 0

      Remember kids! The UL standard for fire-resistant safes is designed to keep paper from combusting.

      Data tapes, however, will have long since melted ;)

  35. Redundancy? by thogard · · Score: 1

    You don't do backups, you do redundancy. If your IT model depends on one server doing its thing right, you have already gone down the path the doom.

    1. Re:Redundancy? by 1s44c · · Score: 1

      You don't do backups, you do redundancy. If your IT model depends on one server doing its thing right, you have already gone down the path the doom.

      You need point in time backups of all code and user data as well. Even the brightest people delete or alter the wrong thing every once in a while.

  36. Re:See also: The classic answer to computer proble by dougisfunny · · Score: 4, Funny

    Too soon?

    --
    This is not the funny you're looking for.
  37. Can I hire him? by Anonymous Coward · · Score: 3, Funny

    Dunno, but our backups are so secure that even the DBAs are usually unable to restore them. We might need this evil hacker to teach them a trick or two.

    1. Re:Can I hire him? by lamapper · · Score: 1

      Very funny and sadly true for many....

      If a site has not actually restored their systems from backups to verify that the backups are actually valid and good....than their backups just may be so secure no one can get them.

      Having experienced this first hand with a commercial backup product (#1 in its industry) from a very large and respected company with a heck of a good track record...thus you sorta expect it to work...

      Not fun at all. Since the team had existed before I came on board, I was surprised no one before me had attempted to restore data from the backups. Amazing, but it does happen.

      I have also been asked where the Any key is? One person could not wrap their mind around the fact that there was not any key on the keyboard called the Any key; seeing their lack of understanding and dismay at my reply that there was NOT an Any key; I took a different perspective and corrected myself. I pointed to the space bar on their keyboard and told them that was the ANY KEY.

      Based on the relieved smile I received in return, I guess I helped them, even if the answer was both wrong and right. At least now they had a key to press, whenever they read press any key in a manual. Problem solved.

      --
      Is your Internet Throttled? Install DD-Wrt, OpenWRT or Tomato to learn the truth! Google: 1Gbps/1Gbps: 5 Communities
  38. It's obvious by 1s44c · · Score: 1

    It is goes off site encrypt it. That's what I do.

    You have to compress the data first as the tape drive can't do its own compression on encrypted data.

    The only exception is content that's meant to be public in the first place.

    1. Re:It's obvious by mlts · · Score: 2, Interesting

      The one thing about encryption -- key management is just as important as the algorithm used. A business has to figure out how they are going to manage keys. Are they going to use a passphrase that only the backup admins will know, or are they going to use some type of RSA key functionality? If private keys are used, how are they backed up?

      There are a lot of factors involved, and one important thing is not depending on one single person as one doesn't depend on one single server. There should be some type of mechanism put in place to deal with an employee gone missing (or even worse, rogue.) For a smaller business, the risks may be low, but its something that should be thought about when planning a backup infrastructure and implementing it.

    2. Re:It's obvious by cperciva · · Score: 1

      If private keys are used, how are they backed up?

      This is less of a problem than it sounds. Your private keys don't change very often (in many cases, never); you don't need to access your backup-reading keys very often (ideally, never); and your private keys are small. It's a PITA to store your daily backups by printing them out and storing the paper in a safe deposit box; but that's an entirely reasonable thing to do with your private keys.

  39. transparent virtual point-to-point link by Anonymous Coward · · Score: 0

    set up this with your isp.

  40. Re:eggs in multiple baskets tsarkon by ais523 · · Score: 1

    Slashdot doesn't support Unicode, so the e-acture came out mojibake-style. (As for why Slashdot doesn't support Unicode in 2009, see if you can think up a decent explanation, I can't...) It's not the grandparent's fault.

    --
    (1)DOCOMEFROM!2~.2'~#1WHILE:1<-"'?.1$.2'~'"':1/.1$.2'~#0"$#65535'"$"'"'&.1$.2'~'#0$#65535'"$#0'~#32767$#1"
  41. About Web Hosting Talk by Anonymous Coward · · Score: 0
    I work in IT security, and although I'm not a member of WHT, it's a board that I often end up looking at for my research.

    Quite often the service providers being discussed are organized criminal rings (e.g. RBN) or are simply fraudulent. I am guessing that WHT accidentally upset one of these criminal web hosters which would explain the attack.

    I really do hope that they catch the people responsible.

  42. Backups by ledow · · Score: 2, Insightful

    Tape drive (or even other external device) with encrypted data. There, problem solved. Do you see why such devices/features are standard on anything that has the word "backup" on it?

    However, if you insist on having servers running all day long that you want to backup to, then at least make sure they are a million times more secure than your production servers - as the name suggests, they are your BACKUP if anything goes wrong. This means - encrypted data, locked-down networking (i.e. absolute minimum necessary - one port, one user, one ultra-secure key), proper permissioning (it might not be a bad idea to set the permissions so that you can append to a file but can't read it, thus forcing you to have physical access in order to restore any data from backup, or certainly that you can't overwrite existing files) and physical security (i.e. properly hosted in a decent hosting outfit and/or securely placed in an offsite location where they can't be got at - even if this is in a secure cage in a branch office).

    And letting the backup server have ANY permissions on your local network is just stupid. Push, don't pull. Tell the backup server what to backup, don't let it pick and choose and require access back to your network - it's a backup device not "just another machine". A simple "nothing outbound" firewall rule on that machine would have stopped them coming back to you, providing the backup was encrypted (I'm assuming they actually piggy-backed onto your network than stole the db passwords from your backups). And the backup should ALWAYS be encrypted because it might well contain information such as your passwords in it, especially so if you are storing other people's data.

    Yeah, it costs money to do this properly, but that's the price you pay for not losing thousands of people's data. I imagine the kick-back from that data loss will run to more than the price of a tape drive or two in the long run. What they had was NOT a backup. It was a rapid-restore machine. That's fine to have *as well as* a backup, but no better than hanging a 250Gb USB drive off the database server (in fact, worse, because that machine was able to be remotely-compromised).

    1. Re:Backups by Ol+Olsoc · · Score: 1

      Tape backup is 100 percent secure. I've never had a successful restore, so the data is safe, if useless. No need to encrypt.

      --
      Why is this even on SlashDot?... Why is this even on Slashdot?...Why is this even on Slashdot?
  43. My Solution by Wingsy · · Score: 1

    As a design engineer (self employed, work from home) my stuff goes into a Firewire drive via Time Machine. It and the MacPro are both chained to a metal pole, so that covers theft I would think. About every 3 months or so I make an incremental backup to yet another DVD and give it to my sister who keeps it at her house, and that covers fire. I'm comfy with that, and none of my stuff is in the hands of some vulnerable cloud computer.

    --
    If I didn't have absolutely NOTHING to do, I wouldn't be here.
  44. Re:See also: The classic answer to computer proble by Anonymous Coward · · Score: 0

    Freakin' nice...

  45. Does anyone know? by iamflimflam1 · · Score: 1

    Did the hacker attack the backup servers through the internet? Or did he gain physical access to the servers?

    Makes a big difference - you can secure the machine from the internet, it's hard to secure it from someone sat at the keyboard...

    --
    "Some days even my lucky rocketship underpants don't help."
  46. Use Bacula! by Anonymous Coward · · Score: 0

    Bacula - In comes in the night and sucks the essence out of your servers

    open source enterprise backup software, supports SSL transport encryption, and AES storage encryption. Supports most any type of media, optical, tape or files on an hdd.

    seems like a much better solution.

  47. Re:eggs in multiple baskets tsarkon by Anonymous Coward · · Score: 0

    (As for why Slashdot doesn't support Unicode in 2009, see if you can think up a decent explanation, I can't...)

    Chinese spam

  48. The "5:erocS" problem by tepples · · Score: 1

    (As for why Slashdot doesn't support Unicode in 2009, see if you can think up a decent explanation, I can't...)

    Slashdot is written in English, whose native words do not use characters outside US-ASCII. Characters outside US-ASCII have been used to attack the site in the past. Therefore, Slashdot staff put no effort into making sure that characters outside US-ASCII can be used in comments.

    1. Re:The "5:erocS" problem by Thundersnatch · · Score: 1

      Slashdot is written in English, whose native words do not use characters outside US-ASCII.

      Bulshitt. Slashdot is a technical forum, meaning quite a few non-ASCII characters are potentially needed. Some examples are Â,Â,±,Î",â and even £ and â.

      Oh wait, that's "degree symbol","micro symbol", "plus-or-minus","delta","almost-equal", and "pound currency" and "Euro currency" symbols.

    2. Re:The "5:erocS" problem by Civil_Disobedient · · Score: 1

      Oh wait, that's "degree symbol","micro symbol", "plus-or-minus","delta","almost-equal", and "pound currency" and "Euro currency" symbols.

      Hmm...

      &deg; ==
      &micro; ==
      &plusmn; == ±
      &Delta; ==
      &pound; == £
      &euro; == €

      Looks like slashcode is fucking up HTML entities as well, which (if memory serves) don't provide much in the way of "attack vectors."

      NICE JOB DUDES!

    3. Re:The "5:erocS" problem by maxwell+demon · · Score: 1

      You can write control characters using e.g. &x200F;
      However, it should completely suffice to filter out control characters.

      --
      The Tao of math: The numbers you can count are not the real numbers.
  49. They're not backups unless they're TESTED by tepples · · Score: 1

    it might not be a bad idea to set the permissions so that you can append to a file but can't read it, thus forcing you to have physical access in order to restore any data from backup

    Even for a restore to a sandbox system for testing the backup media?

  50. Re:See also: The classic answer to computer proble by lewko · · Score: 1

    Excuse me being lame, but can you please explain the reference?

    --
    Do you or your partner snore? - Visit www.snoring.com.au
  51. truncate immediately visible post length by unity100 · · Score: 0, Offtopic

    i had to scroll 5 pages through troll spam until i was able to get to any real comment in 2 of the stories i read today. this is getting annoying. we should either truncate the immediately visible length of posts to some low number enough for a paragraph so spamming wont necessitate scrolling. or ban their ips.

  52. Re:See also: The classic answer to computer proble by Dibblah · · Score: 1

    If you think jail is secure, you really need to not be working in the security field.

  53. Re:See also: The classic answer to computer proble by Sandbags · · Score: 4, Interesting

    First off, lets focus on one thing, if your company is already at a size, complexity, or business need of having backup data electronically replicated offsite (whether this is a true hotsite you're replicating to, or just a method for not rotating tapes through your front door every day), then we're not talking about USB drive data protection schemes here...

    OK now, the offsite system should NOT be an administrator access node of your existing backup solution. It should receive replicated data sets and have the ability to operate as a DR server to recover them, but it should be controlled remotely from YOUR site, and should not be able to initiate backups, restores, or make operations changes to another site's DR servers. This is handled by wither firewall rules or user structures.

    Second, Physical access at the DR site needs to be as or more strict than at your primary site. If you don;t own the building (or host services through someone like SunGuard) they should have your units in locked racks. Insist that anyone with access has passed Government C2 or higher clearance, and DO NOT give ANYONE outside your organization passwords to those systems.

    Next, If the system allows, the user accounts at the hot site should not be the same at any of your other sites.

    Next, You STILL NEED TO ARCHIVE DATA, preferably monthly at worst, weekly may be needed depending on your data set size. Replicated systems can corrupt data, and replicated date sets typically only contain your current data set (no rollback copies). Generally, if your replication system is handling moving data automatically, you can leave your local DR copies in your building in a secure area. Daily backups should be archived to local disks so if you have a DR server failue you still have something to recover from (recovery over the WAN is usually not an option). If you have a fire or disasterous event, your offsite systems is your #1 backup, last month/week's archive is your #2.

    I've spent a lot of time working with multiple DR companies, and I've supported medium and enterprise class businesses alike (my current employer has 12 mainframes, a couple hundred AIX servers, and over 2000 x86/64 boxes. DR is a BIG thing around here!) Once you enter enterprise class, we're not typically talking "backups" as you know them, more SAN replication and disk write journaling. Recovering 400TB from backups simply isn't an option in a 24-48 hour recovery model! However, if you've got less than 50TB, you can VERY REASONABLY build a great solution out of DPUs (Data Protection Units) made by Unitrends (unitrends.com). They're totally tapeless systems, can share jobs between multiple units at multiple sites, have secure packet level replication technology, and can use 256bit real time encryption as 8GB/minute (per chassis!) with up to 7 concurrent jobs running (per chassis!). a 50TB environment would use 4-8 DPUs (usually departmentalized) conencted to a SAN, and another 1-2 units offsite to handle replication and DR recovery. They also support P2V and V2P recovery and dissimilar recovery. Fully integrated BareMetal backup (they actually invented and patented that one!), and support for 40 operating systems in one multi-site seamless DR solution. You should REALLY look into them. For small sites (less than 1TB data) you can get into one of these units for around $15K with all the bells and whistles (another 10K for replication). There are NO PER CLIENT OR PER AGENT LICENSING FEES, it's ALL inclusive, the only thing you license is storage. Oh, their Data Vault unit can handle up to 40 sites, and each site can be run by a different company with different accounts, and their data can be logically seperated on the vault making it impossible for one customer to interfere with another's data, you can even lock the vault operator out of the solution. This has been validated by the DOD as a secure solution...

    --
    There is no contest in life for which the unprepared have the advantage.
  54. Critical = Technical Architect by Anonymous Coward · · Score: 0

    If you have critical data in systems, hire a reputable technical architect to work with you on:
    - Importance of your backups; the criticality of the data will determine your budget
    - RTO/RPO - google it if your don't know these terms
    - Disaster Recovery - if you had a workable DR plan, your systems would be running now - not posting questions to /.
    - Encrypt at the source
    - Near/Online backups; Far/Offline backups - both have there place
    - Physical separation **is important** and for some systems, 500+ miles is important
    - Limit access to the back store(s) on top of encryption. Don't use a trivial password for the data either
    - Use Physical access controls and/or firewall rules to limit access.
    - Use ssh tunnels with key exchange (no passwords) to control login access
    - A tape in a non-networked vault can't be hacked remotely.
    - Design your systems such that a single failure anywhere doesn't prevent them from working.
    - Never under estimate the bandwidth of a station wagon full of tapes.
    - TEST THE RESULTS - if you don't test your DR or backup efforts, you just wasted a bunch of time for ZERO return. After going through all this for a few years, then the day comes and you can't recover from your backups, how cool is that?

    If you have just a few TB to store, this is a trivial problem. There are trade offs between ease, security, viability, and recovery time.

    You can google on each of these things to build a backup solution. It can be done with free tools, but it is much easier and usually more reliable to pay someone, an expert, to set this up. I consider myself an expert, so we're doing our enterprise DR/backups with free tools and validate the solution every time we upgrade a system. I take the last full backup and perform the upgrade on that image on a different system as a test before touching the real production system.

  55. Don't do offsite backups with an all-purpose ISP by enselsharon · · Score: 1

    I shopped around for a few months for my offsite, online backups, and most providers were adjuncts of larger ISPs, and the backups were generally stored on larger, general purpose servers.

    Usually this was in conjunction with all sorts of extra "services" tied to the backup. But the bottom line was, I was storing files on a server that was running imap and pop and PHP and all manner of other services and ports open, etc.

    That's a mistake. The backup provider I use now (rsync.net) has three services running (I nmap my target regularly):

    - ftp (I don't use it)
    - ssh
    - https

    No php, no app servers, no mail servers, etc., and when I asked them, they confirmed that their ftpd is just plain old FreeBSD built-in.

    Oh, and I encrypt the backups with duplicity, which is absolutely fantastic.

  56. My little layout. by mnslinky · · Score: 1

    For backups where I work, we've got a few different systems in place. We've done away with tape backups long ago, and our primary backup system is a disk-based system. Twelve drives in a RAID 6+0 for maximum availability and ability to recover from disk issues. This system keeps a daily snap shot from the past week, a weekly snap shot for the past month, and a monthly snap shot for the past six months. We then place the most recent daily snap shot on a USB external disk drive, which we carry off-site each day. This disk is encrypted and not connected to a network or otherwise available except physically.

    This has worked well, and if the proverbial crap does hit the fan, we've got our off-site disk for last-chance recovery if the world comes to an end.

  57. Re:See also: The classic answer to computer proble by Anonymous Coward · · Score: 0

    Look up Jewish temple.

  58. Re:truncate immediately visible post length by Anonymous Coward · · Score: 0

    I'm glad at least you add an interesting comment... Ohwait. No, you're adding to the spam by posting offtopic rants.

    Besides that, you might want to have a look at the thresholds, that way you can define exactly what content you want to see.

    But no, whining is easier uh.

  59. Clarification by Shoten · · Score: 1

    Okay, let's sort something out here. They didn't get hacked by "backups," which would imply that somehow the backups themselves got trojaned or modified to cause compromise. They got hacked normally; the backup servers were just the means by which this took place. This is nothing new or exotic, since backup software is software like any other, and prone to vulnerability. In fact, there have been a lot of issues found with software from many vendors. Unfortunately, companies rarely patch their backup systems, and so these vulnerablities tend to stick around a while.

    What makes it all worse is the fact that backup servers have access to read just about everything as a matter of necessity. After all, if they can't access the whole filesystem, they can't back it up. So you have the combination of durable vulnerabilities with a system that pretty much has the keys to the kingdom.

    Oh, and earlier suggestions related to offsite backup storage? Irrelevant.

    --

    For your security, this post has been encrypted with ROT-13, twice.
  60. Re:See also: The classic answer to computer proble by biggknifeparty · · Score: 1

    Please elaborate, you've caught my eye.

    I think using an ecrypted jail is a very effective way to rapidly restore a lost server (a true backup) and is not inherantly insecure in anyway.

    However, I am curious how it is that a FreeBSD jail is insecure? Certainly the userland isolation can't hurt security?

  61. What do encrypted backups solve? by phorm · · Score: 2, Insightful

    A lot of people are suggestion that backups be encrypted and I assume they mean the actual files/volumes, but I *really* don't see the usefulness of this case. Encryption backups may protect the data from being stolen, but it isn't going to protect it from being *wiped* in most cases. If you have root access then assumedly there's also raw access to device the backups reside on, in which case you can still nuke it with something as simple as "dd if=/dev/zero of=/dev/backup"

    Now maybe if the backup server further connects onward to a mass-storage device that isn't at-all accessible until logged-in, perhaps, but it doesn't seem a likely scenario for most cases.

    1. Re:What do encrypted backups solve? by benjamindees · · Score: 1

      What do encrypted backups solve?

      That solves the problem of having to read anything more than the story title.

      --
      "I assumed blithely that there were no elves out there in the darkness"
    2. Re:What do encrypted backups solve? by phorm · · Score: 1

      Um, kinda how I read the title, the summary, and even TFA?

      Yes, encryption may have prevented access to the actual data in the backups, provided one set things up to mount the encrypted volume when backing up, without having a password somewhere the cracker could see it.

      However, if you had read *MY* comment, other than the title, I was referring to the issues of having the backups wiped-out and/or gaining access to the production servers (it was not indicated that this was done through data in the backups themselves).

      From a point of saving the user's data,encryption is a smart idea in general. From a point of preventing your backups from being nuked, I still fail to see how it helps.

    3. Re:What do encrypted backups solve? by Anonymous Coward · · Score: 0

      *whoosh* /. has reached the critical mass of stupidity where no one knows if anyone else is being sarcastic or is actually an idiot.

  62. Open Air Policy for Backups by kenp2002 · · Score: 1

    Borrowing from the military mindset this is my suggestion:

    "Any online backup locations shall have a physical break in the networking infrastructure that must be phsyically connected as needed. Once operations are complete the physical connection is again broke until it is needed."

    (IMPLEMENTATION A)
    From an implementation standpoint what you have at the core switching rack is a RED cable in the switch that is the connection to the backup server (onsite, i.e. disk to disk) that is unplugged at all times except when the backups are to run.

    (IMPLEMENTATION B)
    Tapes, removeable disks, are stored off site, offline. In the event that they are needed they are either order and shipped, or a temporary connection is made to the dat warehouse and the data delivered via VPN\SSH. Once the restore is completed the data is taken offline and stored.

    (IMPLEMENTATION C)
    Using a pair of hardware VPN routers, at each endpoint (server site, backup site) they sit, unconnected to the networking fabric until a request is made or the scheduled backup\restore windows are near.

    YOu cannot remote hack (normally) devices that are stand alone.

    --
    -=[ Who Is John Galt? ]=-
  63. Re:See also: The classic answer to computer proble by complete+loony · · Score: 4, Funny

    Christ, you guys are merciless. Next you'll be wanting to nail him to a tree or something.

    Jesus, I come here for the intellectual discussion. I didn't expect this kind of Spanish Inquisition.

    --
    09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
  64. I love it... by jginspace · · Score: 1

    I lost all respect for WHT years ago. It went down the tubes after Chicken left. Note they're well in with Rackspace who capitulated to SCO. Couldn't happen to nicer people.

  65. nonsensical question by Anonymous Coward · · Score: 0

    what sort of security do you put on your backup infrastructure? the same security you put on your primary infrastructure, of course. it's still your data isn't it? your customers' private information? you're still charged with the duty of securing and maintaining that data due to hipaa and sox requirements aren't you? how is backup data any less valuable to an attacker?

  66. Re:See also: The classic answer to computer proble by Psycardis · · Score: 1

    Nobody expects the Spanish Inquisition!!

  67. Re:See also: The classic answer to computer proble by Anonymous Coward · · Score: 0

    I think you need to altar your attitude.

    Well played sir.

  68. Misdirected frothing. by Civil_Disobedient · · Score: 2, Insightful

    HDs are NOT backup media.

    It appears you've taken the oft-repeated mantra that RAID is not a backup solution and gone a step further by suggesting that hard drives themselves aren't backup media.

    Which, by the way, is ludicrous. Hard drives use tried-and-true technology, they're cheap as hell, and transfer speeds are outrageously faster than any other media in contention. Suggesting that they don't make good backup media is well, I'll give you the benefit of the doubt and say misguided.

    1. Re:Misdirected frothing. by sjames · · Score: 1

      I have to agree. Tape made a lot of sense back in the days when a single tape was larger than a single HD. They still had the edge when it took a few tapes to do a full backup because they were overall more reliable.

      These days, they're not really more reliable at all compared to HDs for backup use. They may or may not be better for archival storage but most backups are not archival. Tapes are definitely not cheaper or more convenient. That, in practice, means backups to tape happen less often than they should. Both media have an unfortunate habit of being all or nothing. One might think tape would show warning signs and such but from my experience they generally read perfectly or not at all, just like an HD.

      My ideal solution is a RAID for availability backed up with either an external HD or a large backup server.

  69. Any problems with my current solution? by daoine_sidhe · · Score: 1

    My offsite backup server is currently running Ubuntu Server with full disk encryption. The only access it has is with key based SSH on a non-standard port, restricted to a specific subnet. There are no ports forwarded to this machine; instead, it initiates a VPN connection from it's location directly to my local network. It gets a static IP on the VPN subnet, and that IP is the only subnet SSH will listen to.

    I use a combination of Rsync over SSH and rsnapshot server side.

    I'm not storing any hyper-critical data here, just backups for a webmail/website combo I run for a dozen friends or so. I just like it to be fairly secure. Anything I'm missing here?

    1. Re:Any problems with my current solution? by Anonymous Coward · · Score: 0

      Offsite protected storage of the logs of this machine, so you can detect an intrusion and sort out what happened if anything does go wrong.

  70. Re:See also: The classic answer to computer proble by russotto · · Score: 1

    If you think jail is secure, you really need to not be working in the security field.

    Yeah, jails are totally insecure; they're full of criminals.

  71. If you want a job done - do it yourself! by Anonymous Coward · · Score: 0

    Anyone that lets other third parties do stuff for them, is essentially trusting someone else to do a job properly. This is most likely a bad idea if you are dealing with mission critical data. Also the question should be asked...what happens when it goes wrong? When would you know of a problem? It can be difficult for people to own up to things when they make a bo bo... especially if they don't even directly work for the company in question.

    A critical task such as backup of customer DB should be done locally and the backup taken off site. For a 99.9% peace of mind you would check the data integrity before taking off site. Of course any data should be encrypted using a reasonable number of bits for the key. The number of bits would be relative to the value of the data.

  72. how to categorize your backups by v1 · · Score: 1

    Treat your backups, and your backup servers, with every bit of seriousness that you treat your main systems. Use the same level of monitoring, management, and security. Investing good practice in your system while slacking on your backup only narrows the attack window, it doesn't tighten the security - your security is only as strong as your weakest link.

    And someone needs to add a filter to slashdot to ban IPs that submit >10kbyte posts with "obama" in them in every single new article on slashdot. I'm getting sick of seeing the first 10 pages of every new thread by some retards going off on obama. AGAIN.

    --
    I work for the Department of Redundancy Department.
  73. steveo by Anonymous Coward · · Score: 0

    You guys are morons.

    "Therefore it was an obvious security hole that could have been plugged by restricting traffic through iptables to only iNET-affiliated IPs. "

    Do some google searches, wht was rooted back in august, it can be done internally.

  74. Who needs backups? by shellster_dude · · Score: 1

    Really? Who actually backs things up? *Ducks for cover*

  75. Backup Servers == Gmail storage by Frankie70 · · Score: 1

    I am pretty sure these people using Gmail's huge storage as their backup server.
    I don't see any other reason why their backup server was accessible to the outside world.

    And if you are thinking about they got access to the production boxes by hacking the backup server(gmail)
    - it's pretty simple. They have emailed their production server passwords to their GMail ID, just so that
    they don't forget it.

  76. Tapes Are Rubbish by zentigger · · Score: 2, Insightful

    yes, because people regularly break into my NOC, pull the drives out of my backup servers and practice juggling. Tapes are rubbish. Tape is expensive and unreliable. Anyone that tells you otherwise is selling the stuff.

    Hard drives have replaced tapes around here. For decades we juggled tapes in a vain attempt to maintain useful backups only to find that EVERY SINGLE TIME we needed critical data from backup, the data was unrecoverable.

    For the past few years now, we have been backing up all of our critical data to a low powered server with TB drives in mirrored arrays. Security on this server is exteremly high. The only service it runs is SSH, backups are all done as pulls from the servers, has no untrusted local users and sits on an extremely restriced network segment.

    With the thousands we have saved not replacing tape media and drives (not to mention the amount of overtime not wasted screwing around in the middle of the night trying to find a working tape to restore from) we are adding a mirror for this archive offsite.

    --

    the above is my personal opinion and does not necessarily reflect that of the little voices in my head

    1. Re:Tapes Are Rubbish by Cramer · · Score: 2, Insightful

      Tape is expensive and unreliable.

      Expensive, sure. But they most definately are reliable. Your experience may have been tainted by cheap PC crap intended for stupid home users -- QIC-80 anyone? Modern DAT, AIT, DLT, and LTO tapes are infinately more reliable than a hard drive. I have aging Exabyte 8mm tapes that are over 20 years old and still perfectly readable. (if you can find a drive old enough to read 'em.) The only drives I have approaching that age that are still functional are highly expensive SCSI drives.

    2. Re:Tapes Are Rubbish by UnrefinedLayman · · Score: 2, Informative

      Tapes are rubbish. Tape is expensive and unreliable. Anyone that tells you otherwise is selling the stuff.

      I hope nobody confuses your inability to think beyond your world with fact, because this is the hugest crock of shit.

      I have about 12 TB of data that I am required to be able to restore to any day within the last five weeks. One week of backups = 20 TB. In addition, I must:

      1) always have at least four weeks' worth of data in different building on the same site
      2) always have at most one week's worth of data in the rack
      3) always have at least one full backup from within the last five weeks at an off-site storage facility
      4) retain every fifth backup for one year
      5) retain every 52nd backup for seven years

      What are my options?

      Option 1 (your option): Buy a minimum of 442 TB of additional disks (102 TB for five weeks of storage [1 & 2 above]; 200 TB for [4]; 140 TB for [5]; 37 times more storage than we currently use), plus the SAN, plus the network, power, and cooling systems to support it. When rotating media, physically remove the drives and carry them around. Carefully. Because one backup weighs thirty pounds. Media cost: $132,000 ($300 per); SAN cost: $50,000.

      Option 2 (my option): Buy a tape library and 442 TB of tapes (one library, 368 tapes). When rotating media off-site, throw the tapes into a bag. Carelessly. Because they weigh 15 pounds and don't break. Media cost: $20,600 ($56 per); Library cost: $20,000

      Looking at the last 600+ rotations I've done for various systems in the last five years, the failure rate is far, far, far lower than hard drives already; when you take into account the fact that 20% of all tapes are transported 60 miles per year and 50% of all tapes are transported between local sites at least twice per month, the failure rate of hard drives would be through the roof. Further, while I have had tapes fail during a write operation, I have never had a tape fail during a data restore, even on tapes overwritten hundreds of times and tapes stored for years. Perhaps your backup administrator has never heard of data verification or proper media storage, but if he had perhaps you wouldn't have experienced all those repeated failures of your backup system.

      Try being a backup administrator, not just playing pretend like you are now, before being so glib.

    3. Re:Tapes Are Rubbish by Anonymous Coward · · Score: 0

      2TB western digital green drives are $300 now and falling.
      your 442TB = 221 drives. $66,300. im sure you get discounts for buying 200+ drives.
      you have insane and stupid requirements for your full restores. for 20TB of data a week you do NOT need half a petabyte. i doubt your 1 yr old tapes can restore jack shit after going thru rotations.

    4. Re:Tapes Are Rubbish by UnrefinedLayman · · Score: 1

      You can't buy 2 TB Western Digital SATA drives and just toss them into a SAN and expect to go. To get a SAN you're looking at a cost of about $300 per 1 TB (PDF link: http://www.berghell.com/whitepapers/Projecting%20the%20Cost%20of%20Magnetic%20Storage%20Over%20the%20Next%2010%20years.pdf).

      Those "insane and stupid requirements" are what mission critical requirements are, and it's ill-advised to assume it's "insane and stupid" just because you can't imagine systems that would require it (financial processing systems, clinical applications in hospitals).

      But don't let me bore you with actual experience or first hand knowledge. Please continue telling me I've got my job all wrong.

    5. Re:Tapes Are Rubbish by JWSmythe · · Score: 1

          I agree totally with you on the tape problem.

          Many times when I've tried to restore from tape, the tape failed. Well, the tape, the drive, or maybe even the backup software wasn't writing anything. Most have been installations that I had nothing to do with, but was asked to help in the recovery.

          Tapes are expensive too. I've tried to sell the idea of using tapes to back up the hard drive based backups. It's hard to say to the boss, "you need to spend $x, that will sit in an off-site safe, and you will never recover the cash, other than having the peace of mind knowing that you have your data on tapes that may actually work when you need to restore them."

          My latest tape experience reinforced my old opinions. I found a tape changer. It was a beautiful device, just sitting in a back room doing absolutely nothing. It had 9 tapes sitting in their slots, and none in the drive. I asked around, and finally found the answer to why it wasn't being used. "Oh, because we never managed to make it work."

          Well, obviously idiots were working it. :) Just kidding if you happen to be reading this. I was able to make the changer work. Unfortunately, as it turned out, the drive didn't work properly. Once I got it online and working correctly, it was able to read and write to three tapes, before the fourth jammed. Not just jammed. I had to disassemble the tape drive itself to remove the tape. I checked everything over, put it back together, and it again went through about 3 tapes fine before another jammed.

          I did a little research, and this was a known problem with that particular drive. Since the changer could hold two tape drives, I put in a request for two upgrade drives, so we could use higher capacity tapes. Veto'd within 24 hours. I modified my request, and again it was shot down. I spelled out the wonderful reasons to have a tape archive of the hard drive based backup solution, with a reason of possible "what if" scenarios. Still, veto'd. it simply wasn't happening, even with replacing the drive with an original size drive. The drive itself was just too expensive.

          So, what happens when your nice tape drive fails, and you can't get a new one in? Backups stop, and the data you have on tape is worthless. What happens when they stop making that media, and/or that type of drive. Your old backups are worthless.

          I like the hdd solution. Most data needs to be recovered within 30 days as an outside window. Most people want the backups from 10 minutes ago (good luck with that), but are satisfied with one from within 24 hours. Really, they don't have the patients to wait for a tape to be delivered from the off-site storage facility, or even downloaded if that facility has means to play your tape. "My data is gone now, I need it back NOW!" God forbid you have two (or 10) pieces of data on different tapes that need to be recovered immediately.

       

      --
      Serious? Seriousness is well above my pay grade.
  77. Probably wasn't a backup by Jazz-Masta · · Score: 1

    The server itself probably wasn't a backup so much as a hot spare.

    This is extremely common with web servers currently. You get 1 server with The Planet and one somewhere else and use the faster/better one as your main one and mirror your changes to the spare.

    The article states the backups were deleted off the backup server and then the person gained access to the main server.

    There was probably a mysql master/slave scenario using the same login/pass for easy sharing.

    There was also probably a shared drive between the two servers to perform automatic, scheduled VSS backups over the Internet.

    I have seen hundreds of these setups from 'companies' or small hosting places that cannot afford a real cluster or multiple servers in multiple locations.

  78. Re:See also: The classic answer to computer proble by aynoknman · · Score: 1

    If you really need to keep it safe, commit it all to memory and then shoot yourself in the temple.

    hey, the guy might NOT be jewish.

    did you consider that?

    Works for Shikhs, Hindus, Buddhists and Mormons too!

    --
    We need a "+1 -- nice sig" moderation.
  79. Re:truncate immediately visible post length by unity100 · · Score: 2, Insightful

    i dont want thresholds. i want to be able to see valid comments even if some fanboi mods someone's valid, insightful comment -1 due to fanboi spirit.

  80. Pretty simple answer... by jeremywc · · Score: 1

    Don't treat your backup/disaster recovery systems as any less critical than your production ones. I didn't find out anything about how their "backup" system worked from the forum post, can't think of a good reason to not lock things in both places or technical hurdle that would make it overly difficult to do.

  81. Re:See also: The classic answer to computer proble by Metabolife · · Score: 2, Funny

    Keep a 3 day backup and cross your fingers.

  82. Thanks and Update by robfarrell · · Score: 1

    All of the feedback and suggestions here are great. Thanks for the support and suggestions. You can read the latest on what's going on over at WHT here - http://www.webhostingtalk.com/showthread.php?t=729727 Rob Farrell iNET Interactive

  83. Re:See also: The classic answer to computer proble by Anonymous Coward · · Score: 0

    get thee to a punnery.

  84. Re:See also: The classic answer to computer proble by Rich0 · · Score: 1

    I suspect this problem was the result of outsourcing of some kind.

    Companies figure that there is no way they could possibly get backups right, and don't want to pay to have somebody run them or set them up with an automated solution.

    So, they outsource. Of course, they pick the CHEAPEST vendor out there. That vendor probably helps them punch some holes in their firewall so that they can remotely connect, log into servers using administrative passwords, and copy off data. That cheap vendor probably doesn't have robust internal security, and they have access of some kind into every one of their clients (who are too cheap to have decent security of their own). This sort of situation is just a disaster waiting to happen.

    Bottom line is that you get what you pay for. Hire the admin willing to work for the lowest salary and you don't get a very good admin. Pay the cheapest rate available for outsourcing and you get cheap service. Cheap stuff can be a way to save money - but usually only when you have somebody competant to figure out when you can and can't get away with it. Hire cheap staff and cheap services and mix that with cheap stuff and you're going to get what you paid for.

  85. Re:See also: The classic answer to computer proble by Anonymous Coward · · Score: 0

    No one expects the Spanish Inquisition

  86. Re:See also: The classic answer to computer proble by Anonymous Coward · · Score: 0

    Nobody expects the Spanish Inquisition!

  87. Social engineering + SW skills == Ownage by Anonymous Coward · · Score: 0

    If you can gain access to the onsite backups of an organization, pollute them with your hacks and then cause some disruption to their system (Slashdot effect HD meltdown?) they will most likely put blind faith in that onsite backup as being pure and untainted until events transpire which lead them to question their security. By that time a well crafted hack will have served its purpose. This is why we should all be nice to the friendly IT folks in our organizations.

  88. It's The Data, Stupid by bobdehnhardt · · Score: 1

    A lot of companies tend to treat backup or development environments as less important than their production environments, and have less protection for them.

    Huge mistake.

    You need to look not at the environment, but the data. If the data in your backup environment is the same as production, the protection needs to be the same. Same controls. Same technology. Same standards. Same restrictions. Same monitoring. Because the data in backup is just as valuable as the data in production.

    "Don't need to worry about that stuff, it's just the backup." If someone steals it, do they still get credit card numbers, SSNs, account credentials? Can they still hurt the business if they delete it? Then you need to protect it like it's production.

    Don't think about where the data is. Think about WHAT the data is. It's not about the environment, or the use. It's about the data.

  89. Re:truncate immediately visible post length by Cheech+Wizard · · Score: 1

    Yeah - I'm visiting /. less these days other than to read the 'headlines'. Too much garbage in threads.

  90. It's a secret by pubwvj · · Score: 1

    I could tell you but then I would have to kill you... Okay, you still want to know... Just don't say I didn't warn you! Each successive backup is made to alternating magnetic media and then periodically to optical media on a daily, weekly, monthly, quarterly, annual schedule. Each backup sequence is protected at separate, isolated mountain underground cave locations by 10 ninja guardian dogs and 100 ferocious, vicious, man eating attack pigs. If you get through those two rings of defenses then the marauding chickens will peck out your eyes while pooping down your throat. Survivors will be composted, along with the failures. So far nobody has stolen any of our backups so it must be working. The DVD optical backup does kind of make sure that nobody can erase the backups unless they manage to get through the rings seven rings of defenses. ("Seven you ask? Seven? He only described three rings...?" Yes, well, I'm not going to forewarn you about all the secret defenses! :) ) Seriously though, optical is much more permanent.

  91. off site and a vendor by teknosapien · · Score: 1

    Seriously if your data is that important to the daily operations of your business then off site with third party vendor that specializes in archiving is the only way to go it removes some of the liability from you as a whole if they are the ones to let your system be compromised Generally the places they keep the medium in a place thats more secure than a bank(our vendor has an old silo with armed guards in an undisclosed location and yea I've been there). If this is to pricey then you should probably rent a safe deposit box and as part of the routine rotate the tapes

    --
    no matter how good it is, it is human nature always wants to make things better
  92. Offsite backups? by Chili-71 · · Score: 1

    Are you nuts? You got exactly what you deserve. There is NO security if you don't have physical security. Bring your backup severs in house and keep your backup tapes in a security site (such as Iron Mountain).

  93. Re:See also: The classic answer to computer proble by Anonymous Coward · · Score: 0

    NOBODY expects the Spanish Inquisition!

  94. Re:See also: The classic answer to computer proble by palegray.net · · Score: 1

    Hey, when it comes to backups you're preaching to the choir (see sig).