Slashdot Mirror


Godfather of Xen On Why Virtualization Means Everything

coondoggie writes "While conventional wisdom says virtualized environments and public clouds create massive security headaches, the godfather of Xen, Simon Crosb, says virtualization actually holds a key to better security. Isolation — the ability to restrict what computing goes on in a given context — is a fundamental characteristic of virtualization that can be exploited to improve trustworthiness of processes on a physical system even if other processes have been compromised, he says."

150 comments

  1. OS design fail by Animats · · Score: 5, Insightful

    If OSs hadn't failed so bad on isolation, we wouldn't need so much virtualization. "Virtual machine monitors" are just operating systems with a rather simple application API. Microkernels, if you will.

    1. Re:OS design fail by bolthole · · Score: 4, Interesting

      True.

      Plus the minute you start sharing things within a virtual machine
      (ie: apache, cgi-type middleware, database all on the same machine), you've just lost all "extra" security from virtualization. You may keep the top level OS "protected", but who cares, you've lost private data from your database, through a hole in apache(or whatever). OOoops....

      The problem of security is slightly improved, if you run each thing on separate virtual machines on the same hardware. You should in theory get relatively fast interconnects. If you VM is any good, that is. But you're still losing efficiency, unless you're doing "zones" or something like that.
      And it's 3x the headache to manage 3 separate instances of OSs, for what is in effect just one top level system anyway.

    2. Re:OS design fail by White+Flame · · Score: 3, Insightful

      OSes haven't failed as a whole. The current desktop/server ones just haven't caught up to and rediscovered the proper design principles of the old mainframes.

    3. Re:OS design fail by Hatta · · Score: 1

      Indeed. And operating systems are moving in that direction with more and more emphasis on sandboxing. Full virtualization is really overkill for privilege separation.

      --
      Give me Classic Slashdot or give me death!
    4. Re:OS design fail by betterunixthanunix · · Score: 3, Informative

      Funny how virtualization was started on mainframes...

      --
      Palm trees and 8
    5. Re:OS design fail by jd · · Score: 3, Informative

      You're correct. A security kernel that is provably (and proven) correct is hard to design, but has been doable for a long time. Any "Trusted" (as opposed to "Trustable" - which means "you can't actually trust it at all") OS is built around a verifiable level of isolation. (For example, if prior to the Common Criteria, you'd wanted Linux to be an A1-class OS, you could have done it even though Linux wasn't specified out from the start. A1 was perfectly achievable if the security kernel alone was specified from the start and the rest of the OS was merely audited to prove everything went through it.)

      Even that is unnecessary, though. GRSecurity went belly-up because there were not enough developers interested in it and no funding for it at all. Problems any of the commercial distros could have fixed in a heartbeat and any of the major vendors (IBM, you listening?) SHOULD have fixed in a heartbeat. That wasn't perfect isolation but it was vastly superior to what we currently have which is too limited in scope and too limited in usage.

      Remember, though, this last bit only applies to Linux. Some of the BSDs have MAC of some sort, but not all, though all of them could have it tomorrow if they wanted.

      Windows - the only relationship it has with MAC is the British image of a dirty old man in a raincoat. But even there, where was the necessity? It has a built-in hardware abstraction layer and a few other key areas that could, quite easily, have all linked up with a proper security kernel. Instead, we've got BS and I don't mean it earned a degree.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    6. Re:OS design fail by NeoMorphy · · Score: 1

      I agree. Most people don't realize that a proper OS shouldn't need virtualization for security. They're basically saying that it's impossible to make an OS secure, and then they create a solution that is really an OS that can run other OSes. Except this OS is "different".

      I can understand virtualization being used to consolidate multiple servers onto larger servers, you can use less network adapters and even aggregate them, decrease the network cabling/switch infrastructure. You can have multiple megaservers and move virtual servers to balance workloads or to recover from hardware failures or to migrate from old hardware to new. Essentially, you're replacing bulky infrastructure with chips.

      But to use for security? That's as lame as installing anti-virus software because you know your OS can't handle security. And since Mcafee is in favor of this, I'm sure it's a scam to get companies to pay for yet another layer that can cause system problems that nobody can figure out.

    7. Re:OS design fail by OzPeter · · Score: 1

      If OSs hadn't failed so bad on isolation, we wouldn't need so much virtualization. "Virtual machine monitors" are just operating systems with a rather simple application API. Microkernels, if you will.

      Sounds like the solution might be enforcing some sort of (hmm what would you call it?? Dirt box? Dust box?? ahh thats it!!) Sandbox on applications in order to achieve the isolation you desire.
       
      I bet if I'm quick, then I might able to patent the iAmSparticus sandbox technique.

      --
      I am Slashdot. Are you Slashdot as well?
    8. Re:OS design fail by bmo · · Score: 1

      Uh...

      Virtual machines started on Big Iron. You know, the places where "real operating systems" started.

      VMs have nothing to do with the failings of operating systems and security is a /side effect/.

      --
      BMO

    9. Re:OS design fail by Grishnakh · · Score: 2

      I can understand virtualization being used to consolidate multiple servers onto larger servers

      Except that, in theory, you should never need to do this: if you have a bunch of servers running various processes, and want to consolidate them onto a single, larger server, you should be able to run all those processes at once on the big server. You shouldn't need to run separate OS instances for each one. The whole reason the timesharing multiuser system was invented was so that one computer could be used by lots of different people for different things all at the same time, without any of them affecting each other (except for resource constraints--the disk and CPU are shared).

      The fact that we're turning to virtualization means that OSes have failed in their mission.

    10. Re:OS design fail by causality · · Score: 1

      Even that is unnecessary, though. GRSecurity went belly-up because there were not enough developers interested in it and no funding for it at all.

      Do you refer there to a company that was also called GRSecurity? Because I'm running a Gentoo Hardened system right now with both PaX and GrSecurity integrated into the kernel (coupled with a hardened toolchain and various userspace features). That is one reason it was worthwhile to me to build from source -- well that and USE flags but this would be another discussion.

      If the company going under was what caused the work of the same name to become GPL software, this may have actually increased its availability and usage.

      --
      It is a miracle that curiosity survives formal education. - Einstein
    11. Re:OS design fail by Anonymous Coward · · Score: 0

      Emphasis on sandboxing? Well, really, what there is is a set of OSes (UNIX-like ones, VMS, etc.) that had seperate users and groups for stuff that should be seperated (on a modern Linux distro, apache & mysql have their own users for instance), all of which are seperated from each other, can only read each other's files based on permissions, can not modify the kernel and such, or access memory outside their memory space. I.e. sandboxed. Chroot jails can also be used to ensure things stay seperated. But, since OSes like Windows do not use these capabilities (NT *does* have the permissions, they just don't seem to use them properly...) now it's like "Oh, apps have to be sandboxed!!!(one)1..." and this whole seperation is reimplemented in Java, or .NET, or app-container-of-the-week. Then, THAT wasn't trusted and now it's "Oh, completely seperate virtual machines are needed for security!!"

                I won't speak ill of virtual machines, I think they are nice and useful. But, I don't think they are a panacea (as Simon Crosb contends), and converseley they certainly don't create any more security headaches than having the similar number of physical machines.

    12. Re:OS design fail by causality · · Score: 2

      But to use for security? That's as lame as installing anti-virus software because you know your OS can't handle security.

      I've said for some time that anti-virus is not security. It is damage control, at best. The way it is currently marketed and commonly used, it really is a terrible substitute for the inability of an OS to maintain security. As damage control it isn't even very useful because the only correct response to a successful intrusion is to reformat and reinstall from (read-only) media that is reasonably known to be good. It is only in the Windows world of ignorant users and routine infections that anyone desires to doubt this, and even then only as an excuse to avoid many more reinstalls than already occur (which includes licensing/activation hassles and then the joy of separately reinstalling each application with no central package manager). Yet the truth is, it is a general principle and Windows is not a special exception.

      The real question is, when will the general public wake up to this fact? Given enough time I consider it inevitable. So, it's just a matter of when. I wonder how McAfee and Norton and others will respond then?

      --
      It is a miracle that curiosity survives formal education. - Einstein
    13. Re:OS design fail by causality · · Score: 1

      If OSs hadn't failed so bad on isolation, we wouldn't need so much virtualization. "Virtual machine monitors" are just operating systems with a rather simple application API. Microkernels, if you will.

      Sounds like the solution might be enforcing some sort of (hmm what would you call it?? Dirt box? Dust box?? ahh thats it!!) Sandbox on applications in order to achieve the isolation you desire. I bet if I'm quick, then I might able to patent the iAmSparticus sandbox technique.

      Does Windows provide no functional equivalent to a *nix chroot? That would be a good place to start, especially if you can harden it against known methods of circumvention like you can with Linux and Grsecurity. Or would a chroot be as important when you're using an OS in which not everything is a file?

      If Windows has no such function out-of-the-box, are there generic third-party sandboxes that can be used with any application? For example, I understand that the Chrome browser runs in a sandbox but I don't believe you could use this same sandbox to apply appropriate (different) restrictions to something like MS Office.

      --
      It is a miracle that curiosity survives formal education. - Einstein
    14. Re:OS design fail by Anonymous Coward · · Score: 2, Insightful

      The higher security certifications start to have WEIRD consequences for a general purpose system, we went over these a bit in computer science.

                For instance, under the (apparently now obsolete) orange book ratings, C2 is pretty normal, NT4 (not on a network) was certified to this level, and a certified version of HP-UX, Irix, VMS, etc. were sold back in the day at level C1.

                To get a B1 rating? Well, for one example, "covert communications" channels are banned -- so, no pipes, no sysv shared memory .. but ALSO no conventional UNIX signals, a B1 OS cannot even tell you a load average, CPU usage, or other types of info "top" shows, because a process could modulate it's CPU usage or renice/unrenice itself to pass information covertly.

    15. Re:OS design fail by chentiangemalc · · Score: 2

      But this just replaces the same issue - now I just hack the hypervisor or host of the virtual machines and I can gain control of all machines...

    16. Re:OS design fail by Anonymous Coward · · Score: 0

      Lying? Or a complete and total lack of research on your part? http://en.wikipedia.org/wiki/Mandatory_Integrity_Control

    17. Re:OS design fail by gweihir · · Score: 1

      I completely agree. Not only OS failure, also application development failure on top of that. Even today most academic programs producing people that will architect/design/write software do not include mandatory software security lectures. There are also whole important areas of operational security where virtualization does exactly nothing. One is preventing applications from being hacked and used as SPAM-relays or to hack other systems. For this you do not need a root-compromise, just hacking an application that is allowed to open network connections is quite enough.

      And, as I found, sometimes rather worse stability. I have run into network problems with qemu, UML and KVM (not tries Xen so far). The same application does fine when run natively with the same kernels, so I can only assume flaws in the virtualized network hardware. I know of people having similar issues with VmWare.

      My personal bottom line is that as with most other things, virtualized (i.e. faked) hardware is always inferior to real hardware.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    18. Re:OS design fail by gweihir · · Score: 1

      Actually privilege separation done right is far superior, as you can do application-integrated intrusion detection rather easily at the internal interfaces on the separation lines. Virtualization does not give you anything like that or the fine-grained access control model either.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    19. Re:OS design fail by Eil · · Score: 1

      The problem of security is slightly improved, if you run each thing on separate virtual machines on the same hardware. You should in theory get relatively fast interconnects. If you VM is any good, that is. But you're still losing efficiency, unless you're doing "zones" or something like that.
      And it's 3x the headache to manage 3 separate instances of OSs, for what is in effect just one top level system anyway.

      Well, nobody (or at least, nobody sane) does it like that. There is no non-trivial datacenter that virtualizes the different components of their server stack on the same physical machine just because they think it's going to buy them any extra security. They're going to have a web server farm over here, some application server blades over there, a database cluster on the other side of the room, and perhaps a row dedicated to SAN, document storage, backups, and so on.

      Virtualization is more typically used as key part of a larger system to rapidly deploy new hosts on demand and take better advantage of the incredible power of today's hardware by partitioning it down into smaller chunks. The only time "security" enters into it is the fact that you always separate hosts based what they do and who should have access to them, which you would do with physical machines anyway.

    20. Re:OS design fail by NeoMorphy · · Score: 2

      It's not the OS that failed, it's the applications. Different applications want the system settings changed to what they think is best, and you can't make them all happy. Granted, it should be possible, but today's application developers can be total idiots who have an egocentric view of the OS. I have Oracle support telling us we should increase the maxuproc to 16384, when it's obvious that the system will die long before that many oracle processes are running, which is defeating the purpose of maxuproc. "It's good practice", no it's not you checklist jockey. Networking settings are hard to set globally for everyone. You would think that any decent application would use setsockopt, but not too many do.

      Another problem is applying patches. If you have too many applications running in the same virtual machine, forget about finding a common window to apply them. A lot of vendors aren't that quick about supporting the OS at the latest patch level, you can even have multiple applications that can't run on the same version of Linux or AIX because one requires the latest version and another hasn't been certified on the latest so they still only support a much older version.

    21. Re:OS design fail by Anonymous Coward · · Score: 0

      Only if your secure megaserver is the same OS as the former servers.

      The biggest use we have right now at my work is consolidating multiple servers running different OS's under different names and configurations into beefier, healthier hardware while we gradually reduce, upgrade, or merge software together.

      Admittedly there are some things that can be done, but what do you do when you have a legacy app that needs Sql 2000 and Office 2000 for its reporting system while you also need exchange 2010 for the mail server; and Office 2007 requirements for the primary business app and terminal services for 4 or 5remote connections? No matter the level of security of the underlying OS; conflicting requirements makes virtualization a good choice in condensing hardware at times.

    22. Re:OS design fail by Bengie · · Score: 2

      It's not just about isolation, it's also about fail-over, live-migration, etc for any program without requiring the programs to understand.

      Some of the biggest things virtualization can give is live-migrations and fail-over with no configuration.

    23. Re:OS design fail by Grishnakh · · Score: 1

      Right, but again this is an OS failure. It shouldn't (in theory) matter what version of an OS you have, as long as it's not too old; there should be no such thing as a "legacy app" that only runs on a legacy OS, it should be possible to run the old app on a new OS version without any issues whatsoever. The fact that this isn't the case shows that there's a giant failure in OSes.

    24. Re:OS design fail by jd · · Score: 1

      MIC is not MAC as defined under the Rainbow books. As noted before, questioning my research is more likely to show deficiencies in yours than in mine.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    25. Re:OS design fail by jd · · Score: 2

      In theory, there are exceptions. In practice, you're so close to 100% right that I'd need extended floats to find the exceptions.

      By the time you get into the Bs and As, which is where MAC gets involved, MAC is considered to encompass ALL communications, ALL memory management as well as ALL program access, except where otherwise noted. (Orange Book doesn't cover all the uses of MAC, so the Orange Book definitions alone aren't enough.)

      Thus, it is possible to have SYSV shared memory in B1, but all processes sharing memory have to have MAC labels such that you can't violate MAC through shared memory AND the memory being shared has itself to be in a region of memory that is authorized for access by that MAC label. In fact, you're supposed to have to security label even TCP/IP packets and not permit access control violations via regular networking. (This is in part why the anonymous coward's reference to MIC doesn't cover Orange Book-rated MAC.) Because nobody in their right minds implements Unix pipes or SYSV SHM with security labeling, only those in their left minds have non-covert forms of these. The rest of the population, as you correctly say, can't use top, kill, or almost anything else that forms the lifeblood of Unix use.

      Because Orange Book MAC is bi-directional (unlike MIC, which is uni-directional), you cannot access material that is on either side of the MAC classification. This is good, in some respects. You can't transfer a virus from an unknown source to a destination that has a different MAC classification, for example. The net result is that anyone going for B-rated OS' under Orange Book is likely to go with the weaker-end of the spectrum. The higher-end is simply too restrictive or, because there's a hell of a lot of overhead involved in de-coverting all the Unix communications channels, too expensive on the CPU and on the wallet.

      In consequence, even though solutions to the covert communications channel problem are permitted by the Rainbow series, almost nobody uses them.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    26. Re:OS design fail by jd · · Score: 1

      No, it was the GPL patch folk. If you look through the old news, you'll see the announcement that they lost their sponsor. They later announced - I think on LWN - that they were indeed stopping all work. Well, obviously they got the money they needed so fortunately I'm wrong in thinking that this had continued into the present day. Nonetheless, for a while they were zombified.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    27. Re:OS design fail by drsmithy · · Score: 2

      Right, but again this is an OS failure. It shouldn't (in theory) matter what version of an OS you have, as long as it's not too old; there should be no such thing as a "legacy app" that only runs on a legacy OS, it should be possible to run the old app on a new OS version without any issues whatsoever. The fact that this isn't the case shows that there's a giant failure in OSes.

      If someone writes their application to use deprecated (or, worse, undocumented) APIs and features, then its failure to run in more recent versions where said APIs and features no longer exist, or no longer have the same quirks, is not a failure of the OS.

      The use of hardcoded paths is another major screwup applications developers seem to love making.

    28. Re:OS design fail by drsmithy · · Score: 1

      I've said for some time that anti-virus is not security. It is damage control, at best. The way it is currently marketed and commonly used, it really is a terrible substitute for the inability of an OS to maintain security.

      They are two completely different aspects of security.

      OS security is the fences, the gates and the locks. It's there to stop the bad guys getting in at all.

      AV security is the motion detectors, the dogs and the security guards. It's there to try and minimise the damage once the bad guys are in.

    29. Re:OS design fail by Grishnakh · · Score: 1

      Well first, if there's undocumented APIs, that's absolutely an OS failure. There shouldn't be any undocumented APIs, period. There's no good technical reason for such a thing.

      Anyway, APIs shouldn't be deprecated. Programs written for the standard C library on a Unix system back in the 80s will probably still compile and run fine on a modern Linux system now. And if there's "quirks" in the APIs, that again is an OS failure; the behavior of every API should be documented and well-defined.

      As for hardcoded paths, what applications have that problem? I've honestly never heard of that. That's definitely an application problem.

    30. Re:OS design fail by Nikker · · Score: 1

      Maybe if you are used to setting up development systems but as far as enterprise they are all different machines. You might have both an IIS server as well as an Apache server feeding off of a common database, you don't want a fault in one client to take down more than one system and the list goes on. If you only plan to have 3 clients you might not want to hire a specialist but for such a small VM but as long as you are taking nightly snapshots there is not too much that can go wrong that you can't fix with a basic knowledge of your hosting VM, maybe it's worth sending out your Sys Op out for a training session? It might not be right for every business but it does have it's purpose.

      --
      A loop, by its nature, continues. If that didn't make sense, start reading this sentence again.
    31. Re:OS design fail by drsmithy · · Score: 1

      Well first, if there's undocumented APIs, that's absolutely an OS failure. There shouldn't be any undocumented APIs, period. There's no good technical reason for such a thing.

      Of course there is. Functionality and features only meant to be used within the OS by other OS components and not by third party applications.

      Anyway, APIs shouldn't be deprecated.

      Why not ? Why should new capabilities always be tacked onto existing ones, building up an ever more fragile and complex environment ? Why should redundant or unnecessary functionality not be removed ?

      You're essentially arguing API have to be done once, perfectly and never changed thence. Hardly reasonable.

      Programs written for the standard C library on a Unix system back in the 80s will probably still compile and run fine on a modern Linux system now.

      I doubt that's true for any code doing anything particularly complicated.

      As for hardcoded paths, what applications have that problem? I've honestly never heard of that. That's definitely an application problem.

      Hardcoded paths are rife in consumer software. Heck, Microsoft had to go out and build a whole emulation/redirection layer for Vista so they could make the shift to a least-privileged user by default without breaking applications trying to write to either system directories, or hardcoded user paths (eg: C:\Documents and Settings\$USER vs C:\Users\$USER).

    32. Re:OS design fail by Anonymous Coward · · Score: 0

      Whatever happened to the seL4 kernel?

    33. Re:OS design fail by jd · · Score: 1

      Good question. You've got me curious now, I'll look that up. It was one of the L4-based Linux microkernels?

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    34. Re:OS design fail by JamesTRexx · · Score: 2

      Try Sandboxie.
      I've had good success with running apps and games in a sandbox with it. The only thing it lacks (although it's better security wise) is being able to pipe files between the boxes so you'll have to install programs multiple times if it's needed in more than one box (think PDF reader, zip stuff, etc.).

      --
      home
    35. Re:OS design fail by Anonymous Coward · · Score: 0

      Yeah, it was based on that but had formal proofs, I've been really interested in it but they're only releasing papers and the proofs about it. http://ertos.nicta.com.au/research/sel4/

    36. Re:OS design fail by goddidit · · Score: 1

      But to use for security? That's as lame as installing anti-virus software because you know your OS can't handle security.

      I've said for some time that anti-virus is not security. It is damage control, at best.

      Damage control is security at its finest. We do not aim for the theoretically secure and perfect locked-down-restricted-with-airgap situation if implementing that security would be more costly than the damages in case of a compromise.

      --
      This .sig is exactly 120 characters long.
    37. Re:OS design fail by TheRaven64 · · Score: 4, Interesting

      The difference is, mainframes did it properly. The first system to support virtualisation was VM/360. It didn't just support virtualisation, it supported recursive virtualisation. This meant that any VM could contain other VMs, so you could use the same abstraction for isolation at any level. Operating systems provide a very limited form of virtualisation: processes. A userspace process is basically a VM for a paravirtualised architecture. Any time it wants to talk to the hardware, it has to go via the kernel. The problem is, it stops there. A process can't contain other processes which can only contact the kernel via the parent process, so programs end up adding their own ad-hoc isolation mechanisms. Things like the JVM, web browsers, even office apps all need to run untrusted code but have to isolate it without any help from the hardware. Fortunately, modern systems are providing things like capsicum, sandbox, and systrace, so it is now possible to create a child process with very restricted privileges.

      --
      I am TheRaven on Soylent News
    38. Re:OS design fail by causality · · Score: 2

      Try Sandboxie. I've had good success with running apps and games in a sandbox with it. The only thing it lacks (although it's better security wise) is being able to pipe files between the boxes so you'll have to install programs multiple times if it's needed in more than one box (think PDF reader, zip stuff, etc.).

      Thanks for the link. You can probably tell I don't use Windows myself and haven't for some time now (back in the day I used to dual-boot with Win98 until months went by without ever using the Windows system, so I reformatted it ext2 because ext3 didn't exist at the time). So, I'm not terribly informed about specific software available for that platform.

      Still, am I the only one who thinks it's terrible, borderline irresponsible that Windows doesn't come with something like this out of the box? Configured to work with major browsers and other widely-used programs? I mean compared to writing the OS, how much more effort would that have taken on the part of Microsoft? In this age of widespread malware? It's a shame that Microsoft Security Essentials doesn't provide something like this that can recognize common programs and correctly sandbox them. At least for software that is also written by Microsoft like Office.

      --
      It is a miracle that curiosity survives formal education. - Einstein
    39. Re:OS design fail by dbIII · · Score: 1

      It's not the OS that failed, it's the applications. Different applications want the system settings changed to what they think is best

      That's the sort of thing Solaris zones is for. Whether it delivers or not is a question for somebody else that has used them extensively.

    40. Re:OS design fail by Anonymous Coward · · Score: 0

      Lawl.. repeated myself. This is what happens at 11pm.

    41. Re:OS design fail by Anonymous Coward · · Score: 0

      Stating that a security problem can be resolved by an extra layer of abstraction (embeding its own critical vulnerabilities) is a joke.

      Or, if it isn't a joke, that's a scam.

    42. Re:OS design fail by zmooc · · Score: 1

      OSs don't fail that bad at all. They are simply aimed at another task, namely making processes cooperate. A system designed for that task will never be the best solution for another task that aims to achieve the opposite, namely to make processes completely invisible to each other. Virtualization has nothing to do with OSs failing bad, they're just not designed to make a single piece of hardware look like 20 pieces of hardware you can rent out to 20 different customers.

      VMMs therefore are not just operating systems with a rather simple application API; the simplicity of that API is one of their main features.

      --
      0x or or snor perron?!
    43. Re:OS design fail by Anonymous Coward · · Score: 0

      No they were never zombified, they got funding the same day they said they needed. I know, our company and several others stepped right up the day they asked for help. Work never stopped.

    44. Re:OS design fail by Anonymous Coward · · Score: 0

      Worked on that back then. They took security rather seriously. Which is why it will fail on on PC's like every other attempt to get security through sandboxing.

    45. Re:OS design fail by NeoMorphy · · Score: 1

      The problem with Solaris zones is that a kernel panic takes everything down. They have a lot less overhead than a hyperviser solution, but the cost is stability. I first hated Solaris zones when a ZFS filesystem caused a kernel panic and brought all of the zones down. Then, through the miracle of Solaris Cluster, it was brought up on another machine and when the ZFS filesystem was imported, another kernel panic and all of those zones went down as well!

    46. Re:OS design fail by Anonymous Coward · · Score: 0

      no non-trivial => trivial

    47. Re:OS design fail by todorb · · Score: 1

      well said.

    48. Re:OS design fail by Anonymous Coward · · Score: 0

      All MIC is is MAC with a different name. You are being difficult for no reason.

    49. Re:OS design fail by Grishnakh · · Score: 1

      Of course there is. Functionality and features only meant to be used within the OS by other OS components and not by third party applications.

      If there's a genuine cause to have functionality only available to the OS and not applications (third-party or not is irrelevant), then there should be some mechanism to prevent applications from accessing that functionality, rather simply trusting them not to.

      The problem is that you're talking about Microsoft having undocumented APIs that are meant to allow their applications to work better than 3rd-party applications, and that's wrong. That should never exist, and the fact that it does is a failure of the government to properly regulate and punish an abusive monopoly.

      Why not ? Why should new capabilities always be tacked onto existing ones, building up an ever more fragile and complex environment ?

      Again, OS failure: the "environment" shouldn't be fragile just because of some old APIs; these should be kept in, perhaps, some extra library files which are only loaded if apps needing these APIs are run, and otherwise not loaded or used. But they shouldn't make the "environment" (the OS) unstable in any way due to their presence. They might be a maintenance headache for the OS designers however, but they should have done a better job in the beginning with their API design. Maybe after some point, they could release these old API files to the application people under an open-source license and let them include them in their application (like we do now with static libraries), so the OS people don't have to bother maintaining them any more. This probably wouldn't be very efficient, but I'm not arguing for efficiency, I'm arguing for stability. If the app people want their app to run better, they need to use more modern shared libraries, and it's up to the user to choose good apps instead of crappy slow ones.

      You're essentially arguing API have to be done once, perfectly and never changed thence. Hardly reasonable.

      Not perfectly, just supported forever. It's not unreasonable: disk space is cheap; a few libraries to support an old API are not going to consume all your disk space. But as I said before, maybe if the API's really that bad, it could be separated into a different library or compatibility layer, and maybe just given to the app people as an open-source library they can statically include. Now if the app people aren't even around any more (the company has gone belly-up), then I don't see how anyone has an obligation to ensure your old, unsupported app continues to run on modern systems. As I said before about apps written for the standard C library in Unix, even old ones can easily be recompiled to run on modern systems; this doesn't mean the binaries will work as-is, as the CPU architectures have changed, the executable file formats have changed (ELF), etc. So if you don't have the source code, then you need to find another vendor, and this time make sure they give you the source code or at least put it in escrow, otherwise realize that you're buying something with a very limited lifespan.

    50. Re:OS design fail by jd · · Score: 1

      No, you do not understand the nature of MAC as defined under the Rainbow books. MIC is NOT the same thing. It is an extremely limited, unidirectional subset.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    51. Re:OS design fail by Em+Adespoton · · Score: 1

      Added to this, VMs on the same hardware are dependent on the security of the virtualization system -- you move from having multiple points of failure on separate hardware to a single point of failure. All it takes is one attack on the VM itself, and ALL your guests are compromised. Plus, if one guest is hit with denial of service, the entire host is likely to go down.

      The benefit of VMs is that since the hardware is virtualized, you can move the actual images to wherever makes the most sense, whenever you want. This homogeneous virtual architecture means one set of architecture to defend, but also means only one set of architecture for attackers to target.

    52. Re:OS design fail by jd · · Score: 1

      Ok. I'd heard otherwise, but if you were actually involved then you've direct knowledge and that's always better than indirect reports.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    53. Re:OS design fail by jd · · Score: 1

      Bar stewards! (Actually, just been to their site. They're distributing kernel binaries, if you dig around some, which means they're legally required to provide the source code for the kernel on request, though they're not required to provide the source code for the security kernel if it is a module. They have to if it's solidly built into the code, though.)

      Because the security kernel is the only part that actually has to be formally proven for A1 or EAL7, provided the security kernel totally isolates the protected facilities from the rest of the kernel, an audit and a few mods to the various Linux testing tools out there should be able to show SEL4 as EAL7-compliant. And even though IBM would never market such a version, they've already had Linux certified up to EAL5+ and there would be considerable bragging-rights if they were able to produce an EAL7-certified version. (Just as JCB doesn't sell their GT sports model backhoe but uses it for promotional stunts and drag racing, IBM could - in principle - do likewise with Linux. Well, not the drag racing part, although cars -are- becoming more computerized...)

      I'm using IBM as an example here because they're the ones with the buckets of cash needed for Common Criteria certification, although any major company could do it. I'm also less concerned about such certification for "practical" usage of SEL4 as I am in certification schemes of any kind being usable as proof that given standards of security can actually be met in the real world. There's a huge difference between thinking something might be doable and seeing something that has already been done.

      I'm glad you mentioned this project because there is so much fascinating work out there that is too damn obscure! Doesn't matter if I'm wrong on what level of compliance they'd get, the mere fact that the project exists and that segments of the code have been formally proven could lead to all kinds of fascinating and neat developments in Linux and other OS'. Provided, of course, kernel developers learn that things like this actually exist.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    54. Re:OS design fail by Anonymous Coward · · Score: 0

      Glad to be of help? I've always wanted to see more come of it then what I've seen. Not all ACs are bad :)

    55. Re:OS design fail by jd · · Score: 1

      I know that and I'm always grateful for new information. (I devour new information like most programmers devour pizza. This means my brain is overweight and a slob, but very happy when fed.)

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    56. Re:OS design fail by jd · · Score: 1

      Oh, and their license agreement states that in order to download the software you have to renounce all Open Source rights and agree not to pursue them. Now, I personally didn't see any clause in there saying I couldn't forward the info to the FSF guys for them to pursue, I just had to agree that I wouldn't.

      (If they're not going to make any meaningful use of the project, I'm sorely tempted to take the risk and let the Gnu folk know what's going on. The risk being that the developers take the website down and claim it's a private project, which would deprive everyone else of the use of even the binaries. It's a hard one. I don't want to irk people who are doing valuable work, but if they're not doing any valuable work any more and the code is bit-rotting, it seems better to take the gamble than not. What's your take on it?)

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    57. Re:OS design fail by Anonymous Coward · · Score: 1

      The first system to support virtualisation was VM/360.

      I don't think there was ever anything such as "VM/360". However, there was a much later product called VM/370.

      Long before that, there was CP-67/CMS. And I think there may have been other computer companies that did virtualization before it was done on IBM mainframes. Wikipedia has some details.

      http://en.wikipedia.org/wiki/CP/CMS

    58. Re:OS design fail by badkarmadayaccount · · Score: 1

      GO for it.

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  2. I doubt it... by Yaa+101 · · Score: 2

    "While conventional wisdom says virtualized environments and public clouds create massive security headaches, the godfather of Xen, Simon Crosb, says virtualization actually holds a key to better security. Isolation — the ability to restrict what computing goes on in a given context — is a fundamental characteristic of virtualization that can be exploited to improve trustworthiness of processes on a physical system even if other processes have been compromised, he says"

    Given the track record of the companies in IT, I really doubt his words.
    It will probably become mass breaches of security made easy.

    1. Re:I doubt it... by Jailbrekr · · Score: 1

      I rolled my own RHEL5 desktop cloud. If an engineer does something stupid, the VM he has reserved dies and he reserves a new one. He doesn't impact the other virtual desktops and the VM that he crashed gets rebuilt from a single master image. This is the benefit of isolation, and it can be extended to security if you plan it right. It all boils down to the competency of the admins.

      --
      Feed the need: Digitaladdiction.net
    2. Re:I doubt it... by Yaa+101 · · Score: 1

      Most people will not have the luxury of deploying their own cloud but are stuck in some IT company it's cloud.

    3. Re:I doubt it... by jd · · Score: 1

      His words are fine. You CAN use virtualization as a way to strengthen security, just as you can use concrete to make really strong structures. The problem is that concrete, on its own or poorly-utilized, is worthless for making much of anything.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    4. Re:I doubt it... by Anonymous Coward · · Score: 0

      Sure they have that luxury, if they want it. I'm sure there's plenty of cases where various groups all want root, but none of them actually have enough load to give an individual server a serious workout. In this case "the (so-called) cloud" could just be a single server with lots of RAM after all (with "lots of RAM" for strictly Linux VMs being what could be a normal amount of RAM for just a single 2008 Server instance...) Preferably with a spare box of course.

    5. Re:I doubt it... by gl4ss · · Score: 1

      the breaking security model probably comes from that now all the security is in one place.
      it's just the cloud management that has to be broken and then they got everything.

      virtualisation is neat for development though. but mostly it's still the old timeshare shit in new form.

      --
      world was created 5 seconds before this post as it is.
    6. Re:I doubt it... by Alex+Belits · · Score: 0

      Congratulations, you are a VMWare jockey, a Windows admin that pretends he can manage Linux servers!

      Please kill yourself.

      --
      Contrary to the popular belief, there indeed is no God.
    7. Re:I doubt it... by Anonymous Coward · · Score: 0

      Having 3 digits in your ./ id doesn't permit you to be a neckbearded a-hole. You should know better than to make assumptions about a business's security model or their knowledge (and by extension acceptance of risk) behind virtualization and sharing resources in an organization. What is wrong with VMWare jockey's administering Linux VDIs? We all start somewhere.

        Furthermore, reading between the lines: no one gives a crap that you've seen this all before and time flows like a river and history repeats.... I remember when it was said to be cute that one knew Linux (aka BabyUNIX^^tm, MyFirstUNIX^^tm, EasyBakeUNIX^^tm, LightBrightUNIX^^tm) as a qualification. I personally think it's cute when a Linux admin pretends he has the first clue about other enterprise class UNIX systems.

      Finally, if you want to be a neanderthal when the sun sets on what you perceive to be the way IT deployments virtualize that's fine by me. Just don't be surprised when the latest pendulum swing towards centralization passes you by. Plenty of neanderthal's in my own org have expired or found themselves on the outside looking in making comments such as yours.

    8. Re:I doubt it... by Alex+Belits · · Score: 1, Flamebait

      What is wrong with VMWare jockey's administering Linux VDIs?

      Incompetence.

      We all start somewhere.

      That "somewhere" should not be a production environment that other people depend on.

      --
      Contrary to the popular belief, there indeed is no God.
    9. Re:I doubt it... by Alex+Belits · · Score: 1

      I personally think it's cute when a Linux admin pretends he has the first clue about other enterprise class UNIX systems.

      Linux IS the result of modern Unix evolution, and currently a pinnacle of Unix and Unix-like OS development. I worked with enough commercial Unix systems to confirm that (and this is why I have a 3-digits ID -- I am old). Before Linux it was Solaris, but now it's Linux, all the TOG bullshit notwithstanding.

      --
      Contrary to the popular belief, there indeed is no God.
  3. what. by Anonymous Coward · · Score: 0

    >trustworthiness of processes on a physical system even if other processes have been compromised

    What.

    You can't improve that.

    It's zero.

    1. Re:what. by bws111 · · Score: 2

      Zero? Based on what? IBM has EAL5 on their mainframe LPARs, which would seem to be more than zero trustworthiness.

    2. Re:what. by TheInternetGuy · · Score: 1

      Does not a trustworthiness of zero, imply that there is infinite room for improvement?

      --
      If my comment didn't sound as good in your head as it did in mine, then I guess we all know who's to blame
    3. Re:what. by Anonymous Coward · · Score: 0

      That is self-evident, not by any relation to zero, but infinite untrustworthiness of human endusers and their ability to stand on the shoulders of their predecessors in development of new ways to circumvent security measures. Any form of security (especially related to computers) is inherently reactive, and can be nothing more.

      Hacker gains access using new exploit, admin recovers and patches said exploit, hacker devises new exploit (with time the only variable), admin swears, rinses and repeats ad infinitum. Hackers (real ones) make the best admins when it comes to security, but its still a hopelessly lost battle of one man versus millions.

      The overwhelming odds are that if you connect a computer to the internet, given sufficient time it will be hacked regardless of what measures you take, particularly if there is value for a hacker in gaining unauthorised access.

  4. Hmm... by fuzzyfuzzyfungus · · Score: 2

    Is the "Godfather of Xen" the guy I need to talk to if I need the Buddha 'removed from this cycle of suffering and reincarnation', so to speak?

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

      No, I'm pretty sure this is the giant alien fetus you have to fight at the end of Half-Life. He sure wasn't thinking about how "virtualization means everything" when I split his head open and shot his brain.

    2. Re:Hmm... by BitZtream · · Score: 2

      You do know the difference between Xen and Zen ... right?

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    3. Re:Hmm... by Anonymous Coward · · Score: 0

      I'm pretty sure you were in god mode when you did that.

    4. Re:Hmm... by Anonymous Coward · · Score: 0

      You do know the difference between Xen and Zen ... right?

      The morbidly obese, end-user, group-thinking, lowest-common-demoninator, soft-minded, passive, functionally illiterate world is still struggling with such fine and advanced distinctions as loose/lose, there/their/they're, and legal vs. moral/ethical. They have yet to master these simple, basic, everyday things.

      I think they have several more steps to take before they are ready to tackle Xen/Zen. Or any other branch of Mahayana Buddhism. Or any other branch of computer science. Baby steps, man. Baby steps.

    5. Re:Hmm... by Anonymous Coward · · Score: 0

      You might be thinking of Xen DomU, or XenU, for short.

    6. Re:Hmm... by Compaqt · · Score: 1

      Yeah, it's where the Ultimate Entity watches over all entities in the known universe, and recycles them when they die. And the other is a virtualization program.

      --
      I'm not a lawyer, but I play one on the Internet. Blog
    7. Re:Hmm... by BitZtream · · Score: 1

      Wasn't asking you, was asking the guy who apparently thinks some virtualization software has something to do with Buddhism because he's unaware that Xen and Zen are two entirely different things.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    8. Re:Hmm... by Compaqt · · Score: 1

      No problem, I just saw an in to make a joke.

      --
      I'm not a lawyer, but I play one on the Internet. Blog
  5. ad infinitum by More+Trouble · · Score: 3, Insightful

    And if the current level of virtualization isn't secure enough, adding another virtual layer will certainly improve security even more.

    1. Re:ad infinitum by gweihir · · Score: 1

      And if the current level of virtualization isn't secure enough, adding another virtual layer will certainly improve security even more.

      No problem, qemu supports this. And you can get really low execution speeds too!

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  6. Partioning and utilization by _LORAX_ · · Score: 2

    To me the biggest security win with VM's is the ability to properly size a system for what it is actually doing. No more adding "just one more" service to a box because it's got more horsepower than it needs. By doing more logical partitioning of the software you limit the commingling of data, administration, and crash risk between different services.

    1. Re:Partioning and utilization by BitZtream · · Score: 1

      No more adding "just one more" service to a box because it's got more horsepower than it needs

      Yet, with virtualization, that is EXACTLY what you're doing. The only difference is that you're not just adding an Apache instance to the machine as that 'one more service' you're also adding an entire OS as well.

      doing more logical partitioning of the software you limit the commingling of data, administration, and crash risk between different services.

      Isn't that what your OS is supposed to be doing? Why do you think another layer can do something that the one you're already using is incapable of.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    2. Re:Partioning and utilization by Compaqt · · Score: 1

      >Isn't that what your OS is supposed to be doing? Why do you think another layer can do something that the one you're already using is incapable of.

      Well, it's like this: OS-level partitioning is when you've got your stuff locked in your car, and another guy's stuff is in another car. Sure, they're "locked", but someone can always find his way in.

      VM-level partitioning is like your car is in a totally different universe. Eerily familiar, yet different in subtle ways. Such as which car is parked in a given parking spot. (Xen is the multiverse in this car analogy.)

      --
      I'm not a lawyer, but I play one on the Internet. Blog
    3. Re:Partioning and utilization by BitZtream · · Score: 1

      Except, its not in different universe. Its in fact its still on the same planet, just at the parking lot next door, now instead of being in a normal parking lot, its in a multidecked parking lot with a whole bunch of other cars they can break into at the same time because when you drive into this parking lot, everyone has to give the keys over to the parking attendant and trust that they will hold the keys securely.

      You fail to understand how computers work and you suck at analogies.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    4. Re:Partioning and utilization by Compaqt · · Score: 1

      The rest of your comment was fine, but just because you hold a skeptical view of hypervisors doesn't mean you need to impute I don't know how a computer works. And yes, I've paid my dues, including memorizing 8088 machine language (not assembly).

      Given that some people actually think we are living in a computer simulation, I believe the universe analogy was particularly apt.

      Also, someone else mentioned there's never been a Xen hack.

      --
      I'm not a lawyer, but I play one on the Internet. Blog
  7. If you're the hypervisor by Anonymous Coward · · Score: 0

    who will hypervise the hypervisors?

    1. Re:If you're the hypervisor by Alex+Belits · · Score: 1

      It's hypervisors all the way down.

      And one Windows desktop has to manage all of them.

      --
      Contrary to the popular belief, there indeed is no God.
  8. overkill...but necessary by Radical+Moderate · · Score: 1

    Among other things, I'm responsible for a cluster of windows terminal servers, which users never fail to find creative ways of breaking. Yes, Windows sucks, but it's necessary to run the software my customers use, so there is no alternative. Virtualization may be overkill in theory, but in reality it may be the only way to keep users from hosing our systems. Would be different if MS knew how to properly design an OS, but if wishes were ponies......

    --
    Never let a lack of data get in the way of a good rant.
    1. Re:overkill...but necessary by wmbetts · · Score: 1

      Yes, Windows sucks, but it's necessary to run the software my customers use, so there is no alternative.

      VOTE WITH YOUR WALLET! Refuse to use that software and stand strong! /s

      --
      "Ubuntu" -- an African word, meaning "Slackware is too hard for me". - stolen from Dan C alt.os.linux.slackware
    2. Re:overkill...but necessary by bigstrat2003 · · Score: 2

      It's software his customers use, so it's not his decision. If he refuses to support it, his customers will indeed vote with their wallets, but it won't be Microsoft that loses in that bargain.

      --
      "16MB (fuck off, MiB fascists)" - The Mighty Buzzard
    3. Re:overkill...but necessary by Anonymous Coward · · Score: 0

      It's software his customers use, so it's not his decision. If he refuses to support it, his customers will indeed vote with their wallets, but it won't be Microsoft that loses in that bargain.

      I hope the MS fanboys understand one thing: THIS is why Microsoft sucks so bad. All you Softies who talk about features just don't fucking get it but you want to pretend you get it. They are all about the vendorlock because they are terrified of open competition on a level playing field. That should tell you how much faith they have in the merits of their products. Why you brainwashed fanboy apologists have more faith than they do is quite a mystery. Maybe you see them as "your team" so now they are an extension of your own ego? If so you are a useful idiot to their marketing machine.

      If the discussion were about any sort of Unix or Unix-like system, you could just about substitute any one of them for another as a drop-in replacement. It is Microsoft that hates the kind of standards compliance that would mean having such choices. They don't want you to have a choice. That is not how they do business. They want to corner you. It's exploitative. It only happens because most end-users and PHBs who make these purchasing decisions have no clue about how different OSes and technologies work. It is the product of ignorance. People who are well informed might make different choices, might seen vendorlock for the trap that it is (and the customer-hostile practice that it is) and not get locked-in in the first place. Microsoft thrives on ignorance and lack of choice.

    4. Re:overkill...but necessary by gweihir · · Score: 1

      For Windows, I actually agree.

      And I have seen one other important application on Windows: Assume you have some MS server software than can only handle 200 users or so (there are a few). If you have, say, 20'000 users but only ever 100 active concurrently, with a traditional Unix server software, you would just use it directly. With Windows, you can put 100 virtualized installations on the same hardware.

      I am halfway convinced that this example is the real reason virtualization is so successful, namely lack of scalability in the MS world.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    5. Re:overkill...but necessary by shentino · · Score: 1

      Not to mention hardware vendors that get away with making shitty circuitry and then hiding the problems behind windows only drivers.

    6. Re:overkill...but necessary by wmbetts · · Score: 2

      /s denotes sarcasm.

      --
      "Ubuntu" -- an African word, meaning "Slackware is too hard for me". - stolen from Dan C alt.os.linux.slackware
    7. Re:overkill...but necessary by bigstrat2003 · · Score: 2

      Fair enough. Sorry, didn't know.

      --
      "16MB (fuck off, MiB fascists)" - The Mighty Buzzard
    8. Re:overkill...but necessary by jellomizer · · Score: 1

      And go out of business!

      Show me a man who stands strong on all his principals and I'll show you a man who is hated and doesn't have anything.

      Your principals need to be prioritized and the ones lower on the list may need to be bended more and more. For most mentally healthy people using a computer OS that you don't like is low on the list of principals.

       

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    9. Re:overkill...but necessary by jellomizer · · Score: 1

      I though you were trying to search for something.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    10. Re:overkill...but necessary by Anonymous Coward · · Score: 0

      /s denotes sarcasm.

      Or you can read it as, I'm not very good at sarcasm so here is a tag. Here is a little hint, good sarcasm doesn't need a tag.

    11. Re:overkill...but necessary by Anonymous Coward · · Score: 0

      You have a sarcasm sign!?!

    12. Re:overkill...but necessary by Anonymous Coward · · Score: 0

      It's software his customers use, so it's not his decision.

      He can decide to not support his customers and find an other job.

  9. Plenty does by Sycraft-fu · · Score: 2

    Reason is that money isn't a concern there, reliability is. So you can throw tons of technology at making something work well. There's plenty of stuff that mainframes do that we'd love to see on normal computers. The problem is being able to implement it at an acceptable level of performance and at an acceptable cost.

  10. I know why without reading anything! by BitZtream · · Score: 2

    Godfather of Xen On Why Virtualization Means Everything

    Well, HE thinks it means everything because without it meaning everything he is irrelevant.

    He also seems to think his OS is different than every other OS that came before it.

    Virtualization is just another layer of software to exploit, the real problem is that it allows idiots who may have separated services onto physically separate devices due to incompatibilities with various bits of installed software on the machines, now they are once again back on the same hardware with shared memory ...

    Virtual machines are useful for utilizing under utilized hardware for doing trivial things you wouldn't want to waste full hardware for and that are unimportant. ISPs are a great place for virtualization as they let the ISP 'sell a machine' with a lot less effort than would traditionally be required. Using the current 'virtualization' tech for security purposes just shows your ignorant.

    Adding more software and bugs does not add security, especially since you're just doing the exact same thing the original OS was supposed to do. So your argument becomes 'I'm better at it than you', and when ever that happens I run the other direction as fast as possible. If you have to tell me you're important, you aren't.

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    1. Re:I know why without reading anything! by Bengie · · Score: 2

      "Virtualization is just another layer of software to exploit, the real problem is that it allows idiots who may have separated services onto physically separate devices due to incompatibilities with various bits of installed software on the machines, now they are once again back on the same hardware with shared memory ..."

      There are many real world scenarios that are currently only supported by virtulization. If all these people think virtulization is such a crutch, then they can solve the problem. Currently they have no answers and they only QQ

    2. Re:I know why without reading anything! by gweihir · · Score: 2

      I completely agree. And from what I have seen so far, the available virtualization systems are all actually less reliable than the same OS run on bare hardware (at least if the OS is Linux ;-). That would also imply they are less secure. For that reason, I don't think you can regard virtualization that runs as root as much of a security/isolation gain. It may even represent a net loss, except that the attackers have to invest a bit more into research. But they may gain portable attacks as a benefit.

      The two I know that are different are QEMU (runs as user and should be really, really hard to break out of, slow though as it is full software emulation) and UML (basically a kernel that runs as a user-process). Both do not run as root and UML even has decent speed. I use both for isolation purposes.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    3. Re:I know why without reading anything! by GPLHost-Thomas · · Score: 1

      Virtualization is just another layer of software to exploit

      But it's a WAY smaller than the kernels you may run. On my laptop, Xen is a bit over 650KB, but the initrd image for my kernel is about 11MB. That is, 16 times smaller. I believe that Xen is more than 16 times safer than the kernel, since absolutely zero "root" exploits have been found (if you don't use PCI passthrough, which historically, has been quite worrisome).

      Adding more software and bugs does not add security, especially since you're just doing the exact same thing the original OS was supposed to do.

      The point is, Xen doesn't. It does only virtualization, not drivers, where most of the security exploits have been found.

      So your argument becomes 'I'm better at it than you'

      It's not that, I'm afraid. The Linux kernel is full of various useless, but yet exploitable, (often old) device and (often old) protocol drivers, written by various people from various vendors that maybe didn't care much but to do an (as fast as possible) quick and dirty work. Just look at exploits history, and you'll see what I'm talking about. The Xen hypervisor doesn't have to suffer from this at all: the set of contributors is much smaller, the code-base is smaller too.

      But that's only one side of it and not the main one. Often, you'd get root on a server because one of the service that is running has flows. Not because of a kernel root exploits. In this case, having things isolated means you'd get root only on a server running a single service. For example, you wouldn't have root access to the MySQL database files if it was installed on another server. And that's the main point everyone is making about security: exploits have limited consequences, since not everything is running on the same server.

    4. Re:I know why without reading anything! by GPLHost-Thomas · · Score: 1

      I completely agree. And from what I have seen so far, the available virtualization systems are all actually less reliable than the same OS run on bare hardware (at least if the OS is Linux ;-). That would also imply they are less secure.

      Citation needed. Please care showing everyone grave security exploits in Xen (as much as I know, there's none that are very serious if you don't use PCI passthrough, just few hard to exploit DoS).

      For that reason, I don't think you can regard virtualization that runs as root as much of a security/isolation gain. It may even represent a net loss, except that the attackers have to invest a bit more into research. But they may gain portable attacks as a benefit.

      One thing you seem to fail to understand, is that to get this type of exploit, you'd need to 1/ get root (hard already) then 2/ get to the hypervisor level. So please explain to me how this is LESS safe, when you have 2 layers of exploits to find instead of just one.

    5. Re:I know why without reading anything! by TheRaven64 · · Score: 2

      On my laptop, Xen is a bit over 650KB, but the initrd image for my kernel is about 11MB.

      Two things here. First, the initrd image is a RAM disk containing a recovery filesystem. If you want to compare it to Xen, you need to compare it to the Xen admin tools as well as the kernel - and they are written in Python so come with 5MB of Python dependencies before you even get them to start. Secondly, 90% of the size of any modern kernel is device drivers. Xen does not contain any device drivers - it delegates all of that to the domain 0 guest (or to multiple driver domains).

      I'm actually quite surprised that Xen is 650KB. That seems a lot bigger than it should be for what it actually does: schedule VMs to run on the physical CPUs and allocate pages of physical memory to them.

      Often, you'd get root on a server because one of the service that is running has flows. Not because of a kernel root exploits. In this case, having things isolated means you'd get root only on a server running a single service

      This makes no sense. If you compromise, say, Apache, then you can control Apache, but nothing else. Apache runs in a chroot, so you can't even see the rest of the filesystem. You only get root if there is also a local privilege escalation vulnerability in the kernel, or if the user was stupid enough to run Apache as root (and if they're going to misconfigure services in an OS, what makes you think they won't misconfigure VMs?).

      --
      I am TheRaven on Soylent News
    6. Re:I know why without reading anything! by gweihir · · Score: 1

      "Less reliable" is a personal observation. I have so far managed to crash the network stack of every hypervisor I tried within a week in a specific set-up. (Sorry, cannot tell you about it.) The observations do not include XEN (have not tried it) but most definitely include KVM and qemu and may therefore well be applicable to XEN. I have not managed to crash a natively running network stack in any Linux kernel version I tried.

      Unreliability transfers to exploitable at a rate of about 1:1000. Or rather 1 exploitable bug/1000 bugs. This is a soft and unproven, but a well-respected estimate in the IT security research community.

      As to me failure to understand anything, it seems that the one not understanding things is you. I was rather obviously talking about attacks against the virtualized networking hardware, and those are independent of the OS running. So, no, you do not have to get root. This idea is a common fallacy among proponents of virtualization as security isolation measure. Also note that wile attacking actual network hardware is very, very hard, in part due to the number of different devices out there, attacking virtualized hardware is a lot easier, as it is far more homogeneous.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    7. Re:I know why without reading anything! by GPLHost-Thomas · · Score: 1

      Since it seems you didn't get it, let me explain again. Let's say you need to run service A, B and C. If you don't have virtualization, you'd run them all on the same server. Then if A, B and C are each running as their own user, you need to get an attack vector on let's say A, get root, then you can affect B and C. If you have virtualization isolating A, B and C, each on their VM, then you need to find an attack vector in A, get root, then find an exploit in the hypervisor if you want to reach B or C. That's one more step, hence the added security.

      As for what Xen does, I think you are really missing a lot of parts in the PC architecture that needs to get virtualized (like APIC, MSI, console, serial, the paravirtualized drivers themselves, etc.).

      As for the python code, it's slowly fading away, being replaced by Ocaml code (see xl replacing xm).

    8. Re:I know why without reading anything! by GPLHost-Thomas · · Score: 1

      In 7 years of using Xen (since 2.07) and selling VPS, I've seen many things crash, but never the network stack of Xen, which I believe was the part that was the most easy to virtualize, and that has been reliable for years. Now, maybe with Qemu, but I don't use it (I use PV).

    9. Re:I know why without reading anything! by BitZtream · · Score: 1

      Citation needed.

      I'm sorry, no one is going to teach you the basics of software design just to show you up on slashdot.

      More code means more bugs, which means a larger attack surface.

      You seem to confuse 'not having some major public exploit to date' with 'secure' and that means you really don't need to be in this discussion as you're disconnected from the way reality actually works.

      One thing you seem to fail to understand, is that to get this type of exploit, you'd need to 1/ get root (hard already) then 2/ get to the hypervisor level. So please explain to me how this is LESS safe, when you have 2 layers of exploits to find instead of just one.

      Because you only need to exploit EITHER of them, not both. You didn't add another defense mechanism, you added another place for a hole. If I can find a bug in the network code in your hypervisor that allows the virtual machines to communicate with the real networks then I can own ALL of your VMs and I don't need a login anywhere potentially.

      You simply don't understand security, sorry, its unlikely I could teach you enough to make it clear anytime in the near future. I can safely say this because you seem to think that the fact that you are unaware of current root exploits that they don't exist. I assure you, this is not the case.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    10. Re:I know why without reading anything! by GPLHost-Thomas · · Score: 1

      If I can find a bug in the network code in your hypervisor that allows the virtual machines to communicate with the real networks

      Then you need to be root to start a new network driver module...

      You simply don't understand security, sorry, its unlikely I could teach you enough to make it clear anytime in the near future.

      Thanks, but I don't need a teacher. Your condescending tone is quite impolite by the way.

      I can safely say this because you seem to think that the fact that you are unaware of current root exploits that they don't exist.

      NO! I've been asking for past security exploit that have (not) been found for Xen, in order to be able to compare the kernel exploits and the one in Xen. OF COURSE, you just tell in reply that you can't show me... Easy enough...

    11. Re:I know why without reading anything! by gweihir · · Score: 1

      That is nice for you, but the article was not only about XEN, but about virtualization as security isolation method. From my perspective, there is indication that every virtualizer that needs parts to run as root is less secure than an application that does not run as root in the first place.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  11. BSD Jails by Anonymous Coward · · Score: 0

    I can't believe that nobody here has mentioned BSD Jails. A spectacular display of the tripe incompetence that slashdot has become.

    You guys better go bitch and "Occupy Wallstreet" instead of working and reading.

    1. Re:BSD Jails by PaddyM · · Score: 1

      ?
      I can't believe you are nobody?

    2. Re:BSD Jails by Anonymous Coward · · Score: 0

      and yet Jails are not available on OpenBSD. Why do you think that is?

      Hell, OpenBSD, supposedly the most secure, doesn't even support nullfs (the equivalent of --bind mounts in Linux) so you can't even do filesystem isolation.

  12. purpose of VMs by Anonymous Coward · · Score: 0

    Aren't VMs more about reiability (availability) and protecting the user from themself?

    Its already been alluded to in other comments, but if something stuffs up on a pyewta, sometimes it requires a restart, or if a pyewta is infected by a virus, sometimes it requires a rebuild. Since the whole "cloud" phenomenon is about taking server resources out of small businesses and the like and putting them into big datacenters where they belong, its pretty hard for a user to fix their pyewta if its 1000 miles away or on a different continent. Using VM tools to blow away the broken VM and start a new one seems like a pretty useful feature since it reduces the amount of work for the datacenter and hence manhour costs can be reduced.

    Also, from what I've learned VM failover can be (virtually) instantaneous with no loss of sessions or program states (using live migration), which is pretty important given the lack of patience of most computer users nowadays.

    Its also pretty hard to make a perfectly secure OS because everybody knows the user is the most untrustworthy element of the system, but they can also be the most ingenious clever buggers, and trying to predict how a user might exploit your server is a futile crysal ball exercise.

  13. Creator of X says that x is the best thing by tokul · · Score: 2

    In other conferences Microsoft says that Windows Advanced server is the best tool for the job, drug dealers show benefits of increased cocain use and Hitler says that final solution to the Jewish question improves German ecosystem.

    Virtualization also leads to resource overbooking. If I run on two physical X5355 Xeons, I know that I have two physical X5355s at my disposal. If I run on two virtual X5355, I can't tell if provider does not use same X5355s for other clients.

    1. Re:Creator of X says that x is the best thing by bWareiWare.co.uk · · Score: 1

      If you can't tell then why dose it matter?
      If you can tell, but your provider is lying then you have bigger problems anyway.

    2. Re:Creator of X says that x is the best thing by TheRaven64 · · Score: 1

      Simon Crosby is not the creator of Xen. It was created by Keir Fraser while he was doing his PhD, under supervision by Ian Pratt (it was actually created as the result of a drunken bet between Keir and Ian). They then went on to found XenSource, which was bought by Citrix. Simon Crosby (yes, his name does have a y on the end - well edited Slashdot) was brought in to do marketing for XenSource. He had very little to do with the technical side.

      --
      I am TheRaven on Soylent News
  14. About the Article (ATA) by Anonymous Coward · · Score: 0

    The article is a whole load of marketing BS, he obscures the real truth by telling half truth to feed the marketing machine

    its all bs

    1. Re:About the Article (ATA) by TheRaven64 · · Score: 1

      Not surprising. Simon Crosby was the CTO of XenSource before it was purchased. He was in charge of marketing. Kier Fraser and Ian Pratt were the two who were in charge on the technical side.

      --
      I am TheRaven on Soylent News
  15. Bad day for Unix by Anonymous Coward · · Score: 0

    First Fedora guys said Unix is bad -- you bad, bad, bad girl, your file systems are all bad, bad, bad.

    Next VM (not the real VM, the Virtual Memory VM, the virtual VM) guy says -- you bad, bad, bad girl your protections are bad, bad, bad (I don't care how I write my programs, though).

    Unix is going to cry all day and all night.

    1. Re:Bad day for Unix by king+neckbeard · · Score: 1

      It's okay, since worse is better

      --
      This is my signature. There are many like it, but this one is mine.
  16. Inception by superfastdude · · Score: 1

    We need to go deeper!

    1. Re:Inception by wagnerrp · · Score: 1

      There has to be a porn joke in there somewhere.

    2. Re:Inception by Noughmad · · Score: 1

      And turtles.

      --
      PlusFive Slashdot reader for Android. Can post comments.
    3. Re:Inception by gweihir · · Score: 1

      No problem. Just add one "really" per qemu layer as in "really, really,.... slow".

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  17. Who Says That? by bill_mcgonigle · · Score: 1

    "While conventional wisdom says virtualized environments and public clouds create massive security headaches

    Huh? Nobody I know understands this to be 'conventional wisdom'. What are they smoking?

    the godfather of Xen, Simon Crosb, says virtualization actually holds a key to better security. Isolation

    Yeah, we all knew that a decade ago. My simple SOHO office server is in the process of migrating from two linux boxes to one VM server with 8 VM's for role isolation. I'm no visionary or security genius - I did this for clients 3-4 years ago (I had to wait for hardware prices to fall for in-house stuff) when the technology became commodity and performant.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  18. Still an open research question by Kanel · · Score: 1

    you want to virtualize a computer, run the program and then check that:
    * the computations have not been hampered with
    * nobody has been snooping in your computations
    This goal is currently out of reach. It is an open problem in computer science if it's even possible!

    The exact term is "encrypted computation". Imagine if you could not only encrypt a file, but run it after it's been encrypted! You could send the file to some cloud and run it there, without revealing _what_ is being computed or what data you use. You get the result back and safely decrypt it on your own PC.
    Now if someone in the cloud tried to attack your computer program, with a buffer overflow say, or the hardware it ran on was faulty, the encrypted result would be garbage and you wouldn't be able to decrypt it. That's actually great, because it gives you a way to check if the program ran correctly or not. Just like how checksums assure you that a file has been transmitted correctly. If we had this capability, we could run any program on fast, cheap, but error-prone hardware. We could run anything on graphic cards, which make a mistake now and then, overclock CPUs far more than today, or maybe even run faster and cheaper hardware that nobody has yet built, because it would be too error prone.

  19. You come here on my daughter's wedding day... by Anonymous Coward · · Score: 0

    So what you're saying is that the Godfather of Xen has an offer we can't refuse?

  20. Attack surface by Ramin_HAL9001 · · Score: 1

    The OS+hypervisor has a larger attack surface than the OS alone, period. Unless you can prove your hypervisor is un-hackable (don't make me laugh), a virtualized system is less secure.

    Even Windows, at the kernel level, is quite secure, and should be more secure than using it with a hypervisor; even a hypervisor made by Microsoft for Windows (or should I say "especially a hypervisor made by Microsoft") will be less secure than the OS alone.

    Face it, most modern operating systems are secure enough to run on metal without ever allowing unauthorized access to hardware. The real hacks to worry about are at the application level and the human level, and virtualization has nothing to say about isolation there.

    If Crosby were making the case that virtualization makes it easier to manage operating system instances and thus reduce human error in cloud-computing services, I would agree with him. But isolation provided by a hypervisor will never be more secure than a properly designed and tested OS running on metal.

    1. Re:Attack surface by Courageous · · Score: 1

      > The OS+hypervisor has a larger attack surface than the OS alone, period. Unless you can prove your hypervisor is un-hackable (don't make me laugh), a virtualized system is less secure.

      This is a fair point. On the other side of it, though, you have emerging new features such as the ability to install your anti-malicious software tools up at the hypervisor level, which can, in theory treat the VM as a sort of honey pot. You can also install the hypervisor's mgmt system onto a private network.

      The other thing that is starting to happen in virtualization/cloud environments is that people are beginning to treat the VM's as disposable. So if they are owned, you either delete them or roll them back using a check point mechanism.

      Very soon now the approach to detecting the bad guy will be virus scanners that aren't installed in the OSses, and network attack scanners that aren't installed in the OSes, and software firewall devices not installed in the OSses. That whole part of the enterprise is about to transform in one fell swoop.

      So while what you are saying is technically true (more attack services), the ability of the enterprise to cope with attacks, with lower amounts of staff, is currently in the process of shooting up, in part due to virtualization. Overall security isn't just about vulnerabilities. It's also about bad guy detection, and getting them out.

      The net result will be more security, and not less.

      Mr. Crosby has a good crystal ball. He is right.

  21. Virtualization has its limitations by Anonymous Coward · · Score: 0

    Virtualization will always come with a hardware and network overhead in the case of multimedia mainly. Also Virtualization is great in a static desktop world not a rich desktop world. Needless to say there are some serious issues to overcome if you were to roll out virtualization to a greater diversity of users.

  22. Nested virtualization for Intel x86 machines by paleshadows · · Score: 1

    The Turtles project, from IBM, allows nested virtualization on x86 Intel machines; see: http://www.youtube.com/watch?v=FbH63kVGTek

  23. Nonsense.... by Anonymous Coward · · Score: 0

    We've been running Xenserver in production for 3 years without any issues at all. Performance has been fantastic and the platform has been extremely stable under heavy loads. Plus, we can role out new environments in minutes as opposed to a week. Xenserver rocks.

  24. Recursive virtualization is now a Linux Feature by nutznboltz · · Score: 2
  25. how's that news? by luxifr · · Score: 1

    Qubes OS anyone?

  26. Wait a minute... by Tyrannicsupremacy · · Score: 1

    I thought Gordon Freeman took care of this guy already!

    --
    http://i.cubeupload.com/T6cyLu.png
  27. YOU need to read THIS by Anonymous Coward · · Score: 0

    "It is no measure of health to be well adjusted to a profoundly sick society" - Jiddu Krishnamurti

  28. vendor lock-in by Onymous+Coward · · Score: 1

    You're insightful. You see the problem clearly. Including the possible "team identification" urges.

    And you're lashing out at them.

    Take your insight to the next level? Look at how you're presenting your information. Are you just venting, or are you trying to effect change? If you were intentional about effecting change, would you still heartlessly condemn those you were trying to persuade?

  29. and you can run 100 firefoxes? by cheekyboy · · Score: 1

    100 bash logins, yeah no problem.

    100 firefox instances? make sure you have 64gig ram for that dude.

    Though if you need 20,000 users who mainly run 1 app and use office, then go for web O365 and webify your app.

    --
    Liberty freedom are no1, not dicks in suits.