Slashdot Mirror


The Windows Flaw That Cracks Amazon Web Services

Nerval's Lobster writes "Developer and editor Jeff Cogswell decided to poke around the security of Amazon Web Services, and found a potential loophole that could theoretically allow anyone — a developer, an unscrupulous Amazon employee, the NSA — to access and copy data volumes stored on the system, using a slightly modified version of the popular 'chntwp' password tool. In this article, he breaks down how he did it, and suggests some ways for those who use cloud-hosting services to keep their data a little more secure in the future. 'The key here, of course, is that an unscrupulous employee might be able to make a copy of any existing Windows volume, and go to work on it without the customer ever knowing that it happened,' he writes. 'Now let's be clear: I'm not accusing anyone of having done this; in fact, I doubt anybody has, considering I was unable to find a working copy of chntpw until I modified it.' It's a security concern, and one that's particularly insidious to patch."

72 of 114 comments (clear)

  1. Vulnerable? by cyberpocalypse · · Score: 5, Funny

    You had me at Windows

    1. Re:Vulnerable? by chuckinator · · Score: 5, Insightful

      chntpw has been in the wild since 1997. It's wonderful that the researcher just realized that it works on cloud volumes just as well as physical volumes, but this it flat out not news. It's also mitigated by deploying an Active Directory domain controller if you want to stick with windows or rolling one yourself with krb5/ldap/samba/etc. if you want your backend servers running unix of whatever variant you like.

    2. Re:Vulnerable? by h4rr4r · · Score: 1

      How does active directory prevent you from changing offline passwords for local users?

      I assume this is similar to ntpasswd, which our helpdesk folks use from time to time to reset local admin passwords on machines that are connected to the domain. Why they choose to do it that way vs just resetting the password from another account I am not sure.

    3. Re:Vulnerable? by BitZtream · · Score: 2

      Too bad it applies just as equally to Linux and every other OS.

      They have 'physical access' to the machine. You've lost already, regardless of OS. They don't need your passwords.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    4. Re:Vulnerable? by ron_ivi · · Score: 4, Insightful

      And this isn't even a vulnerability.

      The ability to share disks by copying or moving them from one machine to another is an AWS feature.

      It's common that you'd launch a high-CPU compute node (which might be windows) to prepare a set of data on a disk; and then kill that expensive high-CPU node when the data's ready; and move the disk to another machine (which might be running Linux).

      Isn't that exactly what the author described?

    5. Re:Vulnerable? by Anonymous Coward · · Score: 1

      How does active directory prevent you from changing offline passwords for local users?

      I assume this is similar to ntpasswd, which our helpdesk folks use from time to time to reset local admin passwords on machines that are connected to the domain. Why they choose to do it that way vs just resetting the password from another account I am not sure.

      Offline machines, expired computer accounts (which require them to be offline) and to teach the user to rmemeber their password. Write it on a post it with a couple extra characters for obfuscation (e.g. password123 written as password12345) and leave that in your wallet. Is it so hard? Not NSA safe, but how often will you lose your wallet and laptop at once? Only when mugged at the airport, and that mugger isn't go to crypto-analyze your password for the extra characters before pawning it...

    6. Re:Vulnerable? by chuckinator · · Score: 1

      Active directory (or some alternative) will allow you to assign admin rights to a domain user and disable local user accounts.

    7. Re:Vulnerable? by Anonymous Coward · · Score: 1

      The program is capable reverse-wiring the local Administrator account so that active directory restrictions are bypassed. This sticks until the next domain login.

    8. Re:Vulnerable? by spatley · · Score: 1

      You lost me at http://slashdot.org/topic/bi
      Dear Slashdot, stop creating your own content. You suck at it.

    9. Re:Vulnerable? by gl4ss · · Score: 2

      what the fuck does any of this matter though if you have a copy(and potential to change the original as well) of the system volume?

      the "newsflash" is really that hosted services are accessible to people hosting it...

      --
      world was created 5 seconds before this post as it is.
    10. Re:Vulnerable? by Anonymous Coward · · Score: 1

      The issue isn't that this is new, the issue is that this matters to certain security requirements, specifically PCI compliance.

      One of the rules of the highest levels of PCI compliance level 1 is that any access to Card Holder Data be logged. If you can make these copies and access the data out of system, then your system can not be PCI compliant.

      This means any company storing CC info on a cloud instance is now Ipso facto not compliant.

      This has huge implications, even if it's been a well known quality for some time.

    11. Re:Vulnerable? by hairyfeet · · Score: 1

      Well the way I understand it, and for the record its been half a decade or so since i worked with AD, is that with AD there really isn't a "local password" to speak of, so there really wouldn't be any "offline password" to use.

      Now that said I would NOT call this a "vulnerability" as it is there FOR A REASON and that is to allow both home users as well as SMBs that don't use AD to recover a system that has been locked and the password lost without having to do a full system wipe. You'd be surprised how often this is a real problem in the field and without this all those folks would lose all their data. I had a case not too long ago where a little old lady volunteer at one of the local churches saw a broadcast about how "complex passwords protect systems" and promptly changed the password on the main system and forgot what she changed it to, since they had never come to me they had NO backups and a good 4 years worth of data, a real nightmare if I wouldn't had been able to reset the password thanks to chntpw.

      The moral of the story IMHO would be don't use an OS not made for the cloud IN the cloud. Anyone who has followed my postings knows I'm a BIG believer in "right tool for the job" and in the case of the cloud Windows Server, BSD or Linux should be used, you shouldn't be using Windows Home and Pro as a cloud based OS in the first place. And if you use the cloud for backups? Encrypt the backup. I personally use and recommend the Paragon backup products, they support AES encryption as well as image splitting, which would probably be handy if you are doing cloud based backups.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    12. Re:Vulnerable? by Gr8Apes · · Score: 1

      If you're storing PCI data on anything but a highly controlled hardware in a secure network, you will not be PCI compliant. I personally don't even want to process PCI data, preferring to offload that onto systems explicitly configured for that task.

      --
      The cesspool just got a check and balance.
    13. Re:Vulnerable? by Anonymous Coward · · Score: 1

      Yep, I've experience with chntpw, used it tons of times to recover people's Windows systems when they locked themselves out. it's pretty brutal, and bypasses most everything. I've changed one of my buddy's home network admin accounts with it remotely, just to mess with him, and he was baffled that his network could be breached so easily. And yet he still uses Windows server!

      Just a note, he is extremely security minded as well (well, as security minded as you can be while still relying on Windows). He has designed networks for a living for a long time, and consulted on many massive enterprise networks. He has no idea how to mitigate this, and is still vulnerable, just as all Windows systems are.

    14. Re:Vulnerable? by davester666 · · Score: 1

      Sounds like something Windows XP was explicitly designed for.

      --
      Sleep your way to a whiter smile...date a dentist!
    15. Re:Vulnerable? by gl4ss · · Score: 1

      and if you have access to a linux installation drive(unencrypted) then surprise surprise you can change the password to whatever you want as well..

      --
      world was created 5 seconds before this post as it is.
    16. Re:Vulnerable? by hairyfeet · · Score: 1

      Didn't say you couldn't and in fact have had long essays here about how Linux doesn't magically give you security for being FOSS and how the many eyes myth is just that.

      But one advantage Linux DOES have over the legal versions of Windows is the fact you can download prebuilt images designed around all kinds of jobs including secure web servers with full disc encryption already set up and configured, you just add your own password. This is one thing that has pissed me off about MSFT for years, you get a "one size fits all" approach whereas if you go to TPB you can find countless versions built for a specific task. One really nice one is the "Tiny" versions which make great VMs, installs for old hardware, and are great to build a secure Windows around as they strip out a LOT of the unneeded cruft.

      Sadly you would probably get a call from the BSA if you tried using them in any kind of public manner so until MSFT comes out with a real tiny OS then a strip down Linux server with full disk encryption is probably the best bet.

      --
      ACs don't waste your time replying, your posts are never seen by me.
  2. And security goes on by minstrelmike · · Score: 3, Funny

    The cloud just gets more and more secure all the time. Maybe this is how Dilbert broke into the NSA servers and got all his company's data back.

  3. Cloud=magic by i+kan+reed · · Score: 1

    No, really, if you ignore all the practical problems with hosting data by letting someone else do it, those practical problems disappear. It's magic!

    1. Re:Cloud=magic by ackthpt · · Score: 1

      No, really, if you ignore all the practical problems with hosting data by letting someone else do it, those practical problems disappear. It's magic!

      Sounds suspiciously socialist

      Comrade!

      --

      A feeling of having made the same mistake before: Deja Foobar
    2. Re:Cloud=magic by i+kan+reed · · Score: 2

      Only a commie-mutant-traitor would know a word like "comerade". What's your clearance citizen?

  4. Windows volumes... by Anonymous Coward · · Score: 1

    Don't use them, problem solved. Better even, don't use windows at all, more problems solved.

    1. Re:Windows volumes... by cbhacking · · Score: 5, Informative

      Too bad the author of TFA is a flaming idiot, and this has nothing to do with Windows at all. It's a total non-story.

      He just "discovered" that if you download a cloud machine disk volume - which is completely OS-agnostic, you could do it BeOS if you wanted to - you can mount it on your own machine and go to town on the data. Unix-like OS? Cool, go read /etc/shadow and get the password hashes (or change/add your own password and re-mount it, as he suggests doing with Windows). There's absolutely nothing here Windows-specific at all except that the idiot only *just* discovered that password resetting by modifying the user login data is possible.

      --
      There's no place I could be, since I've found Serenity...
  5. This just in by Anonymous Coward · · Score: 5, Informative

    People with access to your data are able to access your data.

    1. Re:This just in by 0racle · · Score: 1

      Including you!

      --
      "I use a Mac because I'm just better than you are."
    2. Re:This just in by Cro+Magnon · · Score: 3, Funny

      Including you!

      I consider that a major security hole that needs to be fixed!

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
  6. So stupid. by MindStalker · · Score: 4, Insightful

    If you mount your Windows harddrive in Linux without using Encryption you can access all your Data?

    Not news at all. You can do this on any operating system of any type assuming your not using an encrypted system.

    1. Re:So stupid. by tgd · · Score: 4, Insightful

      If you mount your Windows harddrive in Linux without using Encryption you can access all your Data?

      Not news at all. You can do this on any operating system of any type assuming your not using an encrypted system.

      Or dupe your Linux virtual harddrive in Linux... or Windows ... or OSX... and do the same thing.

      Its a stupid flamebait article. Shame after all this time we still can't moderate the articles themselves on /.

  7. Not actually a problem with AWS. by solafide · · Score: 5, Informative

    This is no different than booting a LiveCD and changing the Windows password from a Linux LiveCD running with access to the same storage device. This is not a flaw in AWS in any fashion, other than illustrating the trust you place in AWS having access to your physical devices. Why is this news? This is a standard if-you-have-access-to-hardware-you-can-have-complete-control-over-everything-on-it-not-encrypted problem.

    1. Re:Not actually a problem with AWS. by h4rr4r · · Score: 2

      To be fair no different than changing the password on a linux machine by booting a linux live cd either.

      Yeah, does not look like anything really surprising to me either.

    2. Re:Not actually a problem with AWS. by Sir_Sri · · Score: 1

      or make a copy and then brute force the password.

  8. Not a new problem by Imagix · · Score: 4, Insightful

    Oh look, it's yet another case of "If you have physical access to the server, all bets are off.". If you can clone the volume, you effectively have physical access to the server. This isn't a new vulnerability. Just another case of "It's on the webz, it must a a completely novel thing!".

    1. Re:Not a new problem by MightyMartian · · Score: 2

      Not sure what the surprise here is. I had a Server 2003 guest go nuts on my KVM server and become pretty much unbootable. I mounted the raw image file via loop back and ntfs3g and happily copied all the data off of the virtual hd. I've done the same thing with Linux and BSD raw images, partitions and physical drives.

      If I wanted real security I would use disk encryption like TrueCrypt on the vm volume, so that even if someone could gain access to the VM host, they would be confronted with an encrypted volume, and without the pass code or key, they're hooped. Mind you, because I'm using some cloud service, if they are nefarious (or the NSA has backdoor access), they've already got my key and/or password, in which case whether or not the volume on the cloud VM is encrypted or not, they've been happily vacuuming up my data anyways.

      The moral here is that unless you have custody of your data, you ought to presume the worst.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
  9. Why make it complicated? by Empiric · · Score: 4, Insightful

    1. Take a Windows server on Amazon Web Services, make a copy of the hard drive (which Amazon calls a volume),

    If you can do this, the system is already compromised in a dozen different, less-interesting, ways.

    The question is whether you can do this without already having the passwords, with EC2's existing security. I see no evidence from the article he can.

    Without that, the claim is half gratuitous cleverness, half FUD of an attention-grabbing vendor name, to my eyes.

    --
    ~ Whence do you come, slayer of men, or where are you going, conqueror of space?
    1. Re:Why make it complicated? by Anonymous Coward · · Score: 1

      You looked at the linked article: it's a "slashdot bi" article. Dice, WTF? Get your act together. It's more like "slashdot b(usiness) s(tupidity)" or just bullshit.

    2. Re:Why make it complicated? by Anonymous Coward · · Score: 1

      Keep in mind that the claim is that an AWS employee is the one who can access your Windows volume (or any other unencrypted volume for that matter) without your knowledge. He is NOT talking about somebody from outside accessing your volumes.

      dom

    3. Re:Why make it complicated? by hawguy · · Score: 1

      Keep in mind that the claim is that an AWS employee is the one who can access your Windows volume (or any other unencrypted volume for that matter) without your knowledge. He is NOT talking about somebody from outside accessing your volumes.

      dom

      But there's no reason to make that claim - since it's well known that anyone with access to your unencrypted data has access to your data -- in a locally hosted machine, that means everyone that could pull a drive and make a copy of it. In a cloud environment, that means everyone that has access to your unencrypted volumes.

      That's not news, it's common sense.

    4. Re:Why make it complicated? by Empiric · · Score: 1

      If the overall point is that an employee of a company that has complete access to your systems, has complete access to your systems, that hardly seems to rise to the specificness of the claim "The Windows Flaw That Cracks Amazon Services". The supposed Windows flaw is irrelevant to the fact all systems are equally vulnerable in such a context, by much more mundane means.

      Still, since I have been a customer of Amazon EC2 for several years and know something about it, and have had such security discussions with my clients' CEO in originally selecting them--the article, to address its claims credibly, should at least address the actual security context as Amazon asserts it is, say, here:

      http://awsmedia.s3.amazonaws.com/pdf/AWS_Security_Whitepaper.pdf

      Amazon Corporate Segregation
      Logically,the AWS Production network is segregated from the Amazon Corporate network by means of a complex set of network security segregation devices. AWS developers and administrators on the corporate network who need to access AWS cloud components in order to maintain them must explicitly request access through the AWS ticketing system. All requests are reviewed and approved by the applicable service owner. Approved AWS personnel then connect to the AWS network through a bastion host that restricts access to network devices and other cloud components, logging all activity for security review. Access to bastion hosts require SSH public- key authentication for all user accounts on the host. For more information on AWS developer and administrator logical access,see AWS Access below.

      AWS Access
      AWS developers and administrators on the Amazon Corporate network who need to access AWS cloud components must explicitly request access through the AWS ticketing system. All requests are reviewed and approved by the appropriate owner or manager.

      Account Review and Audit
      Accounts are reviewed every 90 days; explicit re-approval is required or access to the resource is automatically revoked. Access is also automatically revoked when an employee's record is terminated in Amazon's Human Resources system. Windows and UNIX accounts are disabled and Amazon's permission management system removes the user from all systems. Requests for changes in access are captured in the Amazon permissions management tool audit log. When changes in an employee's job function occur, continued access must be explicitly approved to the resource or it will be automatically revoked.


      Certainly, this claim could be contended with or otherwise discussed as to the degree of risk posed by the "crack". Handwaving "an Amazon employee could" is rather... light, though.

      --
      ~ Whence do you come, slayer of men, or where are you going, conqueror of space?
  10. Use TrueCrypt by duke_cheetah2003 · · Score: 3, Interesting

    Going to need a copy of the VM's memory and some skill at finding the crypto keys in there in addition to the volume if you use TrueCrypt.

    I use AWS and I truecrypt my source code database that I store there.

    I lose automatic full reboot (I have to log in and manually mount that volume), but that's worth the additional privacy/security.

    1. Re:Use TrueCrypt by afidel · · Score: 1

      Or use native Bitlocker encryption, the only wrinkle there is without TPM you'd need to enter your password at boot time and AFAIK AWS doesn't give you a console session to do that. TrueCrypt would have the same problem with if you wanted to encrypt the boot volume.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    2. Re:Use TrueCrypt by MightyMartian · · Score: 1

      If AWS gave you a console session, I'm presuming someone (like, say, the NSA) already has a backdoor and can happily grab your password.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    3. Re:Use TrueCrypt by cbhacking · · Score: 1

      A slightly better option would be to use Encrypting File System (EFS) plus a *really* strong password (something you can't break with a rainbow table, since they can dump the password hashes). That doesn't require any boot-time stuff, and if the attacker resets the accounts password, all those files are gone forever (unless you can crack AES).

      Of course, a clever attacker could instead insert spyware that catches the login credentials and/or the decrypted files and sends you those instead, at which point you are, once again, fucked.

      Oh, and none of this is Windows-specific in the lest except for the specific tool this idiot (or, perhaps, "tool") used.

      --
      There's no place I could be, since I've found Serenity...
    4. Re:Use TrueCrypt by duke_cheetah2003 · · Score: 1

      There's no passwords on my AWS linux VM. All the accounts (root and my own) are passwordless, no password works. You have to have the ssh key to log in. So even if some joker had console on my VM, it's rather worthless. *I* can't even login if I had console.

      And na, who cares about crypting the boot volume.. its just a linux distro, nothing sensitive there. Only crypt sensitive volumes. (like /home for example)

      I'm not fond of any solution that is 'automatic', cuz if it's automatically set to decrypt my volumes, then its a lot easier to tinker with and eventually break in. If you only have ONE CHANCE, and if the VM reboots the keys are gone until I put them back in...yeah. Not getting in to that easily.

    5. Re:Use TrueCrypt by TubeSteak · · Score: 1

      Going to need a copy of the VM's memory and some skill at finding the crypto keys in there in addition to the volume if you use TrueCrypt.

      If the key was ever written to your hard drive, the fine folks at Elcomsoft will find it for you
      http://www.elcomsoft.com/efdd.html

      --
      [Fuck Beta]
      o0t!
  11. Mr Mackey says by Anonymous Coward · · Score: 1

    Cloud is bad.
    Don't do cloud.

  12. New definition of "Accessibility" by Zero__Kelvin · · Score: 4, Interesting

    This can all be done simply without Linux using Windows and without chntpw. Simply add the drive to a system you own, move Magnify.exe out of the way (for later restoration), and copy command.exe to Magnify.exe then boot of the modified drive and choose to use the "Accessibility Tool". Instant command shell with full priveledge escalation. I have personally done this on Windows Server 2008. I do not know if they finally got smart and added code to prevent this in Server 2012, but I wouldn't be surprised if it works on every version of Windows that has the "Accessibility Options" on the login screen.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    1. Re:New definition of "Accessibility" by omnichad · · Score: 1

      Does using Explorer.exe instead of command.exe log get you in with a full shell and start menu?

    2. Re:New definition of "Accessibility" by BitZtream · · Score: 1

      You do realize that when you started copying files around on the volume that you already have full access right?

      Why would you bother with replacing magnify.exe when when you have complete access to the system without needing any passwords at all?

      When someone has direct physical access to your 'hardware' (virtual or otherwise), you can't stop them from getting at it.

      Doesn't matter if its a machine at your colocation datacenter or a VM 'in the cloud'.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    3. Re:New definition of "Accessibility" by glavenoid · · Score: 1

      I don't know if you're trying to be funny by illustrating a needlessly convoluted process,, but in case you're serious, you already won at this step: "Simply add the drive to a system you own," and the rest was just wasting your time.

      --
      I, for one, am looking forward to the inevitable /. beta rollout fallout.
    4. Re:New definition of "Accessibility" by The+MAZZTer · · Score: 1

      You need Administrator access to replace magnify.exe. If you have Administrator access, you don't need to replace magnify.exe, you already can do anything you want directly. "It rather involved being on the other side of this airtight hatchway."

    5. Re:New definition of "Accessibility" by Zero__Kelvin · · Score: 1

      Why are you asking me? I doubt it, though. When you open a shell I don't believe that you authenticate (or it wouldn't work, sans password) The shell assumes you already have if I'm not mistaken.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
    6. Re:New definition of "Accessibility" by tgd · · Score: 1

      You do realize that when you started copying files around on the volume that you already have full access right?

      Most people who think they've found some sort of vulnerability in systems seem to lack an understanding of security barriers and what it means when you're on one side of one or the other.

      Can't tell you how many times I've seen people start a security report of a vulnerability in one application or another with "if the user is root / administrator or can use an root / administrator exploit of some kind"... and completely missing the fact that the vulnerability doesn't matter one bit if that's the case.

    7. Re:New definition of "Accessibility" by omnichad · · Score: 1

      Why are you asking me?

      Because you may have tried it before. You had started the online discussion on the topic.

      I don't think any app requires authentication, but a lot require HKEY_CURRENT_USER - which isn't populated until you actually log in. So maybe this is what prevents explorer.exe from bringing up a full shell. I don't know. Thought maybe you had tried it.

    8. Re:New definition of "Accessibility" by bws111 · · Score: 1

      He did not 'miss the point', because you have no point. All you did was show that if you have unrestricted access to a disk you can make a system insecure. Well no shit Sherlock. You can do that on ANY OS. If you want to do it on a Unix system replace getty or xdm with a version that has a backdoor in it.

      There is nothing special about what you did, and it is not a vulnerability, and there is nothing to 'get smart' about.

    9. Re:New definition of "Accessibility" by Anonymous Coward · · Score: 1

      You cannot, however, easily make modifications to SQL Server setups, password information, etc. for example.

      Umm, yes, you can. Just because you don't know how to do so (or don't have the toolset to do so) does not make your statement true. With access to the hard drive, it's trivial to reconfigure windows for autologin as the local Administrator account for example (this is actually true of any OS). You also can extract any domain account credentials for which services have been configured to run as, just from the HDD.

    10. Re:New definition of "Accessibility" by bws111 · · Score: 1

      Nowhere did I say those were the same things. All you did was take the system down, install a vulnerability, and bring the system back up. No magic. Of course you now have full access to the running system, but the ONLY reason you have that is because FIRST you had full access to the disk, and YOU created a vulnerability.

      And again, you can do that on ANY OS. Take down Linux, replace (for example) /etc/init.d/firstboot (or any other automatically started service) with a simple script that starts vncserver, reboot Linux. Now you can magically connect to the system through vnc, and you will be logged in AS ROOT, without a password (or using a vnc password that you set). Don't want to use vncserver? Replace a pam module with one that doesn't actually do anything. Presto magico! You now have full access to the running system. Amazing!

      You have not demonstrated any vulnerability, other than the vulnerability of letting an idiot have full access to your drive.

    11. Re:New definition of "Accessibility" by bws111 · · Score: 1

      Everybody understands your intent. Nobody understands why you think there is anything special about what you did, or why you think it is some sort of vulnerability. It is obvious to EVERYONE that an administrator (which you were as soon as you mounted the disk on your own system) can do ANYTHING, including making the system vulnerable.

    12. Re:New definition of "Accessibility" by Zero__Kelvin · · Score: 1

      "I agree there are benefits to full privileges on a running system, vs. local disk access only, but they're mostly matters of convenience only;"

      Yes. It is exactly like having legs. You can get around in a wheelchair and do everything you do every day; legs are merely a matter of convenience.

      --
      Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  13. Earth-shattering by davidbrit2 · · Score: 3, Insightful

    Unencrypted volumes can be easily modified when mounted on a different system; film at 11.

    1. Re:Earth-shattering by RightSaidFred99 · · Score: 1

      Yeah, I'm amazed this junk article is somehow being posted to Slashdot's front page. It's a joke to anyone even casually familiar with, well, computers at all.

  14. About Jeff by PetiePooo · · Score: 2

    Jeff Cogswell is the author of several tech books including “C++ All-In-One Desk Reference For Dummies,” “C++ Cookbook,” and “Designing Highly Useable Software.” A software engineer for over 20 years, Jeff has written extensively on many different development topics. An expert in C++ and JavaScript, he has experience starting from low-level C development on Linux, up through modern Web development in JavaScript and jQuery, PHP, and ASP.NET MVC.

    Good job, Jeff! Welcome to the exciting world of security research!

    I applaud you for (re)discovering these techniques on your own. Your out-of-box thinking and problem solving are to be commended, but your research skills could use some polish. Please don't let the negative comments above discourage you from exploring this rewarding field of knowledge, however I would recommend you run your findings by some existing security folks before announcing your next big discovery, lest you find you're just rehashing something else that has long been known.

    Seriously; good job! I enjoyed reading how you worked your way up to your conclusions, even though I knew from the start how it would end...

    1. Re:About Jeff by shutdown+-p+now · · Score: 1

      Yes, but did he try JavaScript?

    2. Re:About Jeff by cbhacking · · Score: 3, Insightful

      Really? You "enjoyed" a reading the "discoveries" of somebody who didn't even realize that psexec requires Admin, at which point the whole thing is completely moot? You want to know how else I can replace the password on the Administrator account? Computer Management (mmc.exe, as Admin please), Local Users and Groups, Users, Administrator, right-click, Reset password.

      But that doesn't let him talk about how 1337 he is for tweaking an outdated program to work on a modern Windows version... Seriously, the guy is a bit of an idiot. Calling it a Windows vuln was icing on the cake; if anything, this kind of "exploit" is actually easier on Linux.

      There's "out-of-the-box thinking and problem solving" and then there's "I don't know what the fuck I'm talking about but have you heard of this cool program that lets you totally break Windows security guys?!?" I hang out a lot in the security community, and I see this sort of shit all the time. I've never seen anybody who started out spewing this kind of idiocy ever actually amount to anything even years later, though. They never actually learn. That garbage he posted in the article? that's probably as smart as he will ever get with regard to security, because he doesn't even understand the basic concept of what user accounts or access permissions *are*. Not doesn't understand them - hell, at least on Windows, that's hardly anything unusual - he doesn't even know what they are. For example, you can access the SAM just fine without using SYSTEM at all; just use Admin privileges to modify the ACLs on the SAM registry key. He's not even aware that there *are* such things as ACLs; he just thinks it's "magic" that SYSTEM can do some things that everybody else (because he runs as Admin, because he doesn't have any idea why you wouldn't) can't do.

      --
      There's no place I could be, since I've found Serenity...
    3. Re:About Jeff by PetiePooo · · Score: 1

      I did say his research skills could use some polish. And I figure one more developer that is at least semi-aware of security is a good thing. Many don't even consider the security implications of what they write.

      Yes, I did enjoy it. So you didn't. To each his own.

      p.s. Vitriol is no way to go through life, son.

    4. Re:About Jeff by cbhacking · · Score: 1

      Eh... developers who are semi-aware of security are the kind of people who write the most insecure code, in my (professional) opinion and experience. Well, second most insecure I guess, the ones who copy-paste something off the web are worse. But at least their bugs are easy to spot. The people who are semi-aware of security are the ones who do things like TLS with certificate validation turned off (because it's still encrypted, right?) or store salted and hashed passwords (possibly even using a decent key derivation function rather than just a single round of SHA1) but have XSS all over their site and don't mark their cookies with the Secure flag. They are the dangerous ones: they don't know that they don't know.

      Mind you, I suppose they're job security (though both they and I, and expecially their users, would prefer that a preemptive review, rather than an incident reponse, be the first time somebody actually competent in security looks at their code). It's easier to convince the ones who know that they don't know security that they actually need such a review, too.

      I suspect you work somewhere related to security (or possibly as a dev in a security-conscious company) but not actually in the business of ensuring things are secure (or breaking them)... do that, and you get really jaded about people being dumber than a pile of rocks when it comes to security. It's a lot easier to be optimistic about half-baked security analysis like this one when you know somebody competent will take a look too.

      Fair point on the vitrol. I forget what I needed to get out of my system, but it's out now. I did show the story to some of my co-workers, and they laughed, so I was probably just in a bad mood. Mind you, it wasn't a kind laugh - it's the kind of laugh you'd do at some idiot who drives away from the gas pump without removing the nozzle, or watching a kid flee in pants-wetting terror after throwing rocks at a big dog and discovering it wasn't actually leashed - but they did enjoy it anyhow.

      --
      There's no place I could be, since I've found Serenity...
  15. Uhhh, sure, nice Cloud FUD by psydeshow · · Score: 1

    Newsflash: If you run servers in Amazon's cloud, you have to trust Amazon.

    There's no flaw in AWS that enables this hack by untrusted parties. You have to have access to the AWS account in order to clone a volume, just like you'd have to have physical access to a physical server to clone a volume.

    The only interesting point here is that an Amazon employee could do this without you knowing it. But come on, how obvious is that? Their sysadmins could do a lot more than just clone your hard drive and change the password, you know.

    Thanks for updating chntwp, though.

  16. Re:Windows flaw? by cbhacking · · Score: 1

    It's not. On Linux/BSD/whatever I'd just go hit /etc/shadow for the equivalent of the Windows SAM; it's easier to get at, in fact. This whole "article" is bullshit aside from providing yet more evidence that "the cloud" is a bad idea for anything sensitive.

    --
    There's no place I could be, since I've found Serenity...
  17. News flash by viperidaenz · · Score: 1

    Attacker with full access to an unencrypted system volume has full access to the data stored on it.

  18. Mod up, please by cbhacking · · Score: 1

    Too true. Sadly, most people - even on /. these days, it seems - don't know a damn thing about OS security. If the idiot of an article author had pulled a Linux volume and gone fucking about in /etc/shadow to do exactly the same thing, though, then it wouldn't have appealed to the general /. groupthink nearly so well...

    --
    There's no place I could be, since I've found Serenity...
  19. Fail article... by steppin_razor_LA · · Score: 1

    The commentary on resetting passwords in windows is useful/interesting, but this article really doesn't have any special relevance the cloud. Whether or not the storage is a local physical volume or "floating around on dem internets" doesn't make a difference.

    --
    Evolution: love it or leave it
  20. This is simply risible. by RightSaidFred99 · · Score: 1

    Wow, you mean if someone can get a copy of your unencrypted hard drive they can get your data? And this even includes _system administrators_ (who can get your data anyway)?

    What in the world is this person going on about, and why is this posted as an article? It's infantile.

  21. Why is this news? by Vrtigo1 · · Score: 1

    Any why does it specifically call out AWS? There would be the same vulnerability with any hosting service where someone other than you has access to the hardware. Rule #1 of system security has been all bets are off if someone has physical access to the system for quite a while.