Repository navigation
Version 0.3.0
Rampart 0.3.0
Rampart 0.3.0 expands the native Windows x64 protector into a target-aware
pipeline for native PE, pure managed IL, and eligible Windows x64 NativeAOT
artifacts. The existing native behavior and 49-setting catalog remain available;
managed and NativeAOT inputs use explicit, conservative target policies.
Highlights
- Added managed IL protection for eligible strings, integer constants, typed
control flow, explicitly selected methods, metadata hygiene, private-member
renaming, and protector-owned integrity payloads. - Added authenticated managed runtime payloads and method-specific VM dispatch
for explicitly selected modern .NET methods, with bounded workers and
per-method applied/skipped/rejected evidence. - Added portable and embedded PDB rewriting, strong-name re-signing, exact token
maps, and reference-aware output verification without loading inspected code. - Added target classification for managed assemblies, NativeAOT, ReadyToRun,
apphosts, single-file bundles, mixed-mode images, and already protected files. - Added a conservative NativeAOT post-link backend with transactional Light
header/symbol passes and runtime-owned invariant checks. - Added the opt-in
Rampart.MSBuildpackage for managed pre-publish staging,
NativeAOT pre-compilation and post-link stages, artifact manifests, safe cache
keys, and a post-protection signing extension point.
Downloads
rampart-0.3.0-win-x64.zip: Windows CLI with the .NET runtime included.rampart.0.3.0.nupkg: .NET tool package; command namerampart.Rampart.Core.0.3.0.nupkg: .NET 8 transformation library.Rampart.MSBuild.0.3.0.nupkg: opt-in publish integration.rampart-0.3.0-source.zip: public source and documentation.SHA256SUMS.txt: checksums for the release files.
Extract the Windows archive and run rampart.exe --help. For the .NET tool, use
dotnet tool install --global rampart --version 0.3.0. The tool package includes the
Core engine.
Compatibility
Native PE protection remains limited to PE32+ AMD64 executables. Managed
protection accepts supported pure-IL assemblies and preserves unsupported methods
with reported reasons. NativeAOT post-link protection is limited to structurally
recognized Windows x64 outputs and the documented Light allowlist. Completed
ReadyToRun images, apphosts, mixed-mode assemblies, and single-file bundles are
inspection-only; protect their eligible inputs at the documented publish stage.
Rampart is experimental. Re-sign transformed artifacts, retain private maps and
symbols, and validate each protected application on every Windows version and
publish shape you support. Obfuscation and embedded runtime keys do not replace
server-side authorization or protect secrets from a hostile process owner.