med0x2e/GadgetToJScript
A tool for generating .NET serialized gadgets that can trigger .NET assembly load/execution when deserialized using BinaryFormatter from JS/VBS/VBA based scripts. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2524
- days_rel: n/a
- days_push: 1864
- n_releases_24m: 0
Adoption not part of the score
1133 stars · 177 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
GadgetToJScript is a C# tool that generates .NET BinaryFormatter serialized gadget payloads embedded in JS/VBS/VBA/HTA scripts, triggering .NET assembly load and execution on deserialization. It is designed for red team weaponization of WSH scripts, including AMSI and .NET 4.8+ type-check bypasses.
Use cases
- generate jscript payloads that execute a .NET assembly via BinaryFormatter deserialization
- weaponize WSH scripts for red team initial access
- bypass AMSI and .NET 4.8 assembly load controls in script payloads
- create VBA/VBS droppers that run shellcode loaders
- automate registration-free .NET COM activation in scripts
When to choose
- you are a red teamer needing serialized .NET gadget payloads in JS/VBS/VBA scripts
- you need to bypass .NET 4.8+ ActivitySurrogateSelector type checks
- you target Windows environments with .NET Framework 3.5 through 4.8+
When to avoid
- you need a general-purpose deserialization vulnerability scanner
- you want defensive detection tooling rather than offensive payload generation
- your targets are non-Windows or non-.NET environments
Facets
cli-tool · maturity maintenance
security serialization cryptography security penetration-testing windows windows dotnet cli offensive-security red-team deserialization binaryformatter wsh amsi-bypass dotnet initial-access gadget-chains
1 source
- readme: https://github.com/med0x2e/GadgetToJScript · fetched 2026-08-28 · e8d1c714edf4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| med0x2e/GadgetToJScript | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="med0x2e/GadgetToJScript")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem