Skip to content
DotNetToJScript

DotNetToJScript

github.com • November 24, 2026

You can change the name of the entry class by using the -c switch and adding the name.

You can also get the tool to add additional code to interact with the object by

specifying the -s parameter with the path to a text file containing the additional

JScript. The created object is named 'o', so for example if you wanted to call

the DoSomething method load a file containing:

The default mode is to output a JScript file which can be executed in Windows

Scripting Host. However if you want a scriptlet pass either -m (for a scriptlet

which can be used from a scriptlet moniker) or -u (for a scriptlet which can be

used from regsvr32). You can also specify the '-l vba' switch to output a VBA

file which should work in Office Macros or '-l vbscript' for VBScript.

Finally by default the tool will output to stdout, you can output direct to a file

A tool to create a JScript file which loads a .NET v2 assembly from memory.

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

Single-Bit .NET Header Change Bypasses VirtualBox Hardening and Windows Code Integrity Google Project Zero researcher James Forshaw reports that a quirk in .NET Framework version 4 loading lets a local, low-privileged user run untrusted code past VirtualBox process hardening on Windows hosts (CVE-2026-87268) and Windows User Mode Code Integrity (CVE-2026-108398). The .NET runtime falls back to loading a file from memory on one specific mapping error, which skips image checks; VirtualBox's hook returned that error for AnyCPU .NET files. Forshaw reports that clearing the IMAGE_FILE_EXECUTABLE_IMAGE bit in a .NET file header makes the Windows image-mapping call reject it while .NET still loads and runs it. For VirtualBox, he used COM hijacking in the current user's settings to get a protected VirtualBox process to load the assembly. Oracle rates CVE-2026-87268 CVSS 7.8 and lists VirtualBox 7.2.16 on Windows hosts as affected; its advisory says a successful attack can result in takeover of Oracle VM VirtualBox. The code runs inside the protected VirtualBox process and is not a guest-to-host escape. Microsoft rates CVE-2026-108398 CVSS 8.8, describing it as a local, low-privilege security-feature bypass. Both vendors fixed the flaws before the write-up: Oracle in September 2026 and Microsoft on October 13, 2026. The Windows issue needs a program willing to load the assembly and is not described as remotely exploitable over the internet. Exploitation in the wild is not reported in these articles. 2 sources 56

Extracted Entities