Meet Neptune OS, an attempt to give seL4 a Windows personality transplant

Approved by the Department of Good Luck, You'll Need It

A new project dubbed Neptune OS intends to put a Windows-NT-compatible personality on top of the seL4 microkernel.

The project is still under development and doesn't actually run anything yet, but is nonetheless an intriguing prospect.

The secure embedded L4 microkernel – seL4 to its friends – is the fruit of microkernel operating system research that continued after the Mach generation, the latter being famously used inside macOS.

seL4 has its own foundation to back it and aims to be both faster and more secure than Mach. Neptune OS adds another "personality" to seL4, based on the native API of the Windows NT kernel.

In the project's own words:

It implements what Microsoft calls the 'NT Executive', the upper layer of the Windows kernel NTOSKRNL.EXE, as a user process under the seL4 microkernel. The NT Executive implements the so-called NT Native API, the native system call interface of Windows upon which the more familiar Win32 API is built.

The eventual goal of the Neptune OS project is to implement enough NT semantics such that a ReactOS user land can be ported under Neptune OS, as well as most ReactOS kernel drivers. In theory we should be able to achieve binary compatibility with native Windows executables provided that our implementation of the NT Native API is sufficiently faithful.

In other words, it hopes to run Windows applications on something that isn't Windows.

To do this, it's using code from the ReactOS project, which we've been covering for some time at The Register as it gradually grows, despite some accusations from Microsoft kernel engineers that the open-source OS uses parts of the "Windows Research Kernel" rather than being drawn from available public documentation. ReactOS previously responded to such claims by saying its code must comply with the "US standard method for reverse engineering" and that any that didn't would be rewritten. More recently, ReactOS dev Alex Ionescu spoke about methods he uses ("Reversing without reversing") here.

ReactOS itself uses some code from the WINE project to deliver Windows application compatibility.

Neptune OS is very far from that yet, though. For now, it just about manages to bring up a command prompt and let you type commands, and its developers note that "pretty much none of the shell commands actually work."

It remains a very interesting concept, though. As Microsoft seeks to encourage developers to use abstraction layers such as dot NET and WinUI, the low-level NT underpinnings may remain stable enough for third-party development teams to usefully mimic.

The increasing maturity and capabilities of WINE demonstrate this – for instance, it forms part of the Proton compatibility layer which enables commercial devices such as Valve's Steam Deck to run Windows games on Linux. ®

Broader topics

Other stories you might like

  • Experts: AI should be recognized as inventors in patent law
    Plus: Police release deepfake of murdered teen in cold case, and more

    In-brief Governments around the world should pass intellectual property laws that grant rights to AI systems, two academics at the University of New South Wales in Australia argued.

    Alexandra George, and Toby Walsh, professors of law and AI, respectively, believe failing to recognize machines as inventors could have long-lasting impacts on economies and societies. 

    "If courts and governments decide that AI-made inventions cannot be patented, the implications could be huge," they wrote in a comment article published in Nature. "Funders and businesses would be less incentivized to pursue useful research using AI inventors when a return on their investment could be limited. Society could miss out on the development of worthwhile and life-saving inventions."

    Continue reading
  • Declassified and released: More secret files on US govt's emergency doomsday powers
    Nuke incoming? Quick break out the plans for rationing, censorship, property seizures, and more

    More papers describing the orders and messages the US President can issue in the event of apocalyptic crises, such as a devastating nuclear attack, have been declassified and released for all to see.

    These government files are part of a larger collection of records that discuss the nature, reach, and use of secret Presidential Emergency Action Documents: these are executive orders, announcements, and statements to Congress that are all ready to sign and send out as soon as a doomsday scenario occurs. PEADs are supposed to give America's commander-in-chief immediate extraordinary powers to overcome extraordinary events.

    PEADs have never been declassified or revealed before. They remain hush-hush, and their exact details are not publicly known.

    Continue reading
  • Stolen university credentials up for sale by Russian crooks, FBI warns
    Forget dark-web souks, thousands of these are already being traded on public bazaars

    Russian crooks are selling network credentials and virtual private network access for a "multitude" of US universities and colleges on criminal marketplaces, according to the FBI.

    According to a warning issued on Thursday, these stolen credentials sell for thousands of dollars on both dark web and public internet forums, and could lead to subsequent cyberattacks against individual employees or the schools themselves.

    "The exposure of usernames and passwords can lead to brute force credential stuffing computer network attacks, whereby attackers attempt logins across various internet sites or exploit them for subsequent cyber attacks as criminal actors take advantage of users recycling the same credentials across multiple accounts, internet sites, and services," the Feds' alert [PDF] said.

    Continue reading

Biting the hand that feeds IT © 1998–2022