Obfy 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Obfy --version 1.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Obfy --version 1.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Obfy&version=1.0.2
                    
nuke :add-package Obfy --version 1.0.2
                    

Obfy

Professional .NET obfuscation tool for protecting C# assemblies and source code.

Installation

dotnet tool install --global Obfy

Quick Start

# Basic obfuscation (standard protection)
obfy MyApp.dll -o output/

# Aggressive protection
obfy MyApp.dll -l aggressive -o output/

# With configuration file
obfy MyApp.dll -c obfy.json -o output/

Protection Levels

Level Description
minimal Symbol renaming only
standard String encryption + symbol renaming + metadata removal
aggressive All protections at maximum intensity
custom Configure via flags or config file

Features

  • String Encryption - AES-256 or XOR encryption of string literals
  • Control Flow - Switch dispatchers and opaque predicates
  • Symbol Renaming - Types, methods, fields, properties, parameters
  • Anti-Debug - Debugger detection and response
  • Metadata Removal - Strip debug info and attributes

Configuration

Generate a config file:

obfy config generate -o obfy.json

Example obfy.json:

{
  "level": "aggressive",
  "stringEncryption": { "enabled": true, "algorithm": "Aes256" },
  "controlFlow": { "enabled": true, "intensity": 75 },
  "symbolRenaming": { "enabled": true, "preservePublicApi": true },
  "protection": { "antiDebug": true },
  "metadata": { "removeDebugInfo": true }
}

Documentation

Document Description
CLI Reference Complete command-line options
Configuration Full JSON schema and examples
Techniques How each obfuscation technique works
Advanced Exclusions, best practices, troubleshooting

License

MIT License - see LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.6 277 12/31/2025
1.0.5 206 12/31/2025
1.0.4 195 12/31/2025
1.0.3 200 12/31/2025
1.0.2 196 12/31/2025
1.0.1 203 12/31/2025
1.0.0 205 12/31/2025