News for hackers. Stuff that matters.
Re:Simplevisor: Intel x64 Windows-specific hypervisor by speeder on Wednesday May 04, 2016 @01:07PM (#11629766)
Can someone explain to me what this is for? The article explicitly mentions that it is not intended to emulate a machine like bochs/vmware or running windows on linux...

So what is this for? Everyone I talked about this subject or use it to run windows apps on *nix ( osx included ) or to create multiple servers in a single machine. What else a hypervisor can do?

EDIT: for the people pointing me the motivation section... well, that is the section I am quoting in first place.

I did read it, but the guy is awfully vague.

And I never used a hypervisor before anyway, thus you can't assume I will understand random jargon.

Re:Simplevisor: Intel x64 Windows-specific hypervisor by givinguflac on Wednesday May 04, 2016 @01:18PM (#11629867)
From the motivation section:

Too many hypervisor projects out there are either extremely complicated (Xen, KVM, VirtualBox) and/or closed-source (VMware, Hyper-V), as well as heavily focused toward Linux-based development or system. Additionally, most (other than Hyper-V) of them are expressly built for the purpose of enabling the execution of virtual machines, and not the virtualization of a live, running system, in order to perform introspection or other security-related tasks on it.

Re:Simplevisor: Intel x64 Windows-specific hypervisor by chocolatebunny on Wednesday May 04, 2016 @01:52PM (#11630179)
What exactly falls under the "other security-related tasks" section? The only thing I can think of would be for a privileged application to try and hide things from the OS.
Re:Simplevisor: Intel x64 Windows-specific hypervisor by halomru on Wednesday May 04, 2016 @02:05PM (#11630305)
Apart from being able to hide from the OS a hypervisor is also safe from manipulation by the OS and can observe and manipulate anything the OS does.

This opens a few doors: debugging or reverse engineering the OS or kernel modules, sandboxing a system you don't trust, detecting rootkits, protecting your antivirus solution from malware, etc.

Re:Simplevisor: Intel x64 Windows-specific hypervisor by malka on Wednesday May 04, 2016 @02:06PM (#11630313)
You could use it to load an image abd inspect how it behaves maybe ?
Re:Simplevisor: Intel x64 Windows-specific hypervisor by martius on Wednesday May 04, 2016 @01:15PM (#11629846)
There is a comprehensive "motivation" section on the linked page of the project.
Re:Simplevisor: Intel x64 Windows-specific hypervisor by 0x0 on Wednesday May 04, 2016 @02:35PM (#11630564)
Sounds a lot like the underappreciated and only lightly documented OSX "hypervisor.framework"

https://developer.apple.com/library/mac/documentation/Driver...

Re:Simplevisor: Intel x64 Windows-specific hypervisor by LeoPanthera on Wednesday May 04, 2016 @04:52PM (#11631682)
"Veertu" is a VMware/Parallels competitor that uses this: https://itunes.apple.com/us/app/veertu-native-virtualization...

But as far as I know it doesn't support attaching to USB devices so I'm still stuck with VirtualBox.

Edit: There's also xhyve: https://github.com/mist64/xhyve which is a port of FreeBSD's bhyve.

Re:Simplevisor: Intel x64 Windows-specific hypervisor by capitalisthakr on Wednesday May 04, 2016 @04:23PM (#11631439)
Docker for OS X is using this, so not really that underappreciated.
Re:Simplevisor: Intel x64 Windows-specific hypervisor by duaneb on Wednesday May 04, 2016 @04:10PM (#11631336)
Why do you call it "underappreciated"?
Re:Simplevisor: Intel x64 Windows-specific hypervisor by Razengan on Wednesday May 04, 2016 @09:05PM (#11633230)
Probably because OS X is full of cool tech that seems to be weakly documented, underexposed (in terms of API, like the built-in dictionary) or underutilized (because most developers or users aren't always aware of it.)

I really appreciate that Apple doesn't just keep dropping less used features after just 1 OS release like Microsoft does, but I really wish they overhauled their documentation and improved the discoverability of the cool stuff.

Re:Simplevisor: Intel x64 Windows-specific hypervisor by duaneb on Thursday May 05, 2016 @03:41AM (#11634540)
I guess I just consider the hypervisor.framework to be not at all exciting. How long has virtualization been out now? When is container.framework coming? I'd also accept jail.framework.

Of all the cool things to do with virtualization or code isolation, they haven't encouraged (or really even enabled) any of it except via the app store sandbox, which isn't even very useful outside of security concerns. 10 years ago I was emulating distributed software on freebsd, including network delays; it's still a damn hassle to do the same setup on darwin.

Re:Simplevisor: Intel x64 Windows-specific hypervisor by seabrookmx on Wednesday May 04, 2016 @11:17PM (#11633800)
> after just 1 OS release like Microsoft

Can you give an example? I always found Windows' backwards compatibility to be stellar, though I haven't developed any desktop apps since the Windows 8 introduction.

Re:Simplevisor: Intel x64 Windows-specific hypervisor by Razengan on Thursday May 05, 2016 @09:53AM (#11636064)
I don't remember their exact names, but Vista had some apps that were gone in Windows 7, like the Sidebar (a UX paradigm that Apple continues to make arguably better use of in OS X) and some collaboration thing plus others.

I admit that "after just one release" was a bitter exaggeration, but Silverlight, CardSpace, WPF, PhotoDraw and other tech has been unceremoniously dropped or forgotten by MS after a relatively short time.

Apple is guilty of discontinuing apps too, but at least their OS features and platforms are more resilient. For example the Dashboard is still available even though the Notification Center is supposed to supersede it.

Re:Simplevisor: Intel x64 Windows-specific hypervisor by seabrookmx on Thursday May 05, 2016 @11:50PM (#11641562)
> Sidebar, CardSpace, PhotoDraw

Those are applications. Applications get dropped all the time and usually for good reason IMO

WPF and Silverlight are totally still around. Silverlight is languishing for sure, but for good reason (and largely the same reasons as flash).

What I meant by backwards compatibility was that Microsoft rarely breaks or removes API's, so from a developers perspective they aren't any worse than Apple.

Re:Simplevisor: Intel x64 Windows-specific hypervisor by Razengan on Friday May 06, 2016 @02:36AM (#11642109)
> What I meant by backwards compatibility was that Microsoft rarely breaks or removes API's, so from a developers perspective they aren't any worse than Apple.

It's been ages but I remember being annoyed when they sort of nerfed DirectInput into XInput [1]. The earlier API had way more features for advanced force-feedback and some other features. Why cripple things like that at all?

I think the Vista Sidebar vs. OS X Dashboard is a good example; Apple has kept it around for people who might still prefer it, and the widgets made for it still work, whereas any work that developers had put into making Sidebar (and Sideshow [2]) widgets has been negated by Microsoft. I actually liked the Sidebar.

In each of those cases, Microsoft seems to have crippled or took out features and APIs mostly to force something else on us; XBOX and the Windows 8 Start Screen, respectively.

[1] https://en.wikipedia.org/wiki/DirectInput#DirectInput_vs_XIn...

[2] https://en.wikipedia.org/wiki/Windows_SideShow

Re:Simplevisor: Intel x64 Windows-specific hypervisor by ed_blackburn on Wednesday May 04, 2016 @01:28PM (#11629959)
Wow. Labour of love? Can't say I've ever had the motivation to delve into writing a hyper visor but for anyone else who is interested what a superb reference!
Re:Simplevisor: Intel x64 Windows-specific hypervisor by dman on Wednesday May 04, 2016 @02:56PM (#11630727)
Any recommended project of the same complexity that works on linux?
Re:Simplevisor: Intel x64 Windows-specific hypervisor by 4ad on Wednesday May 04, 2016 @07:42PM (#11632872)
Lguest: http://lguest.ozlabs.org. It's in the linux kernel.
Re:Simplevisor: Intel x64 Windows-specific hypervisor by dman on Wednesday May 04, 2016 @07:43PM (#11632874)
Thanks!
Re:Simplevisor: Intel x64 Windows-specific hypervisor by hilmipilmi on Thursday May 05, 2016 @06:45AM (#11635038)
One that seems reasonably simple is: https://lwn.net/Articles/578295/
Re:Simplevisor: Intel x64 Windows-specific hypervisor by coverband on Wednesday May 04, 2016 @04:38PM (#11631550)
Question: I see "x86 versions of Windows are expressly not supported", but does it allow for executing x86 VMs within the hypervisor?
Re:Simplevisor: Intel x64 Windows-specific hypervisor by joombaga on Wednesday May 04, 2016 @08:17PM (#11633032)
"to support dynamic hyperjacking and unhyperjacking (that is, virtualizing the host state from within the host)."

What? Hyperjacking is a malicious attack against a hypervisor, right? Why is this a design goal? Am I missing something?

Re:Simplevisor: Intel x64 Windows-specific hypervisor by simcop2387 on Wednesday May 04, 2016 @08:58PM (#11633205)
Based on my minimal understanding of what it's doing and it's code; It's turning on virtualization, setting up a minimal environment, and then taking the current OS and "moving" it to the virtualized environment. The purpose of doing this in this case is to show how to do it in a minimal fashion, and give it as a jumping off point to create other projects with. Some things that come to mind is a debugger that can't be detected, an easier way to debug a device driver since you could set the hypervisor to log communications with the device somewhere. Or to reverse engineer software that detects normal debuggers being attached and determine what it's actually doing (this is common in malware research I believe).