First protection job

Obfuscate a .NET DLL or EXE for the first time

Start with a small, repeatable test. Keep the original build, run the protected copy on a target machine, and add more protection only after it behaves as expected.

1. Prepare a managed assembly

Use an unprotected managed IL build of software you developed or are authorized to protect. For a .NET 8–11 executable, the managed entry DLL next to the Windows launcher is usually the input. For .NET Framework, select a managed EXE or DLL. Do not feed an already obfuscated or Native AOT binary back into the normal protection workflow.

Example: If your build contains both MyApp.exe and MyApp.dll, inspect the managed MyApp.dll first. The correct choice depends on how your app was published.
Confuser Studio input assemblies and protection options in English
Follow Input assemblies, Protection options, Output location, and Obfuscation and log in the left workflow.

2. Run a balanced first job

  1. Under Input assemblies, add your file. If you add several files, place the main assembly first.
  2. In Protection options, start with the Balanced protection preset. Make a test list for public APIs, reflection, serialization, and UI bindings.
  3. Choose an output folder separate from the originals. Use Preview deployment files to see what will be copied.
  4. Save the settings as a .cfsprj project, then start obfuscation and inspect the log.

3. Test the deployment result

The deployment folder contains files to ship; private contains name maps and transformation reports for your own diagnostics. Replace related files from the same protection job together. Your app may still need original configuration files, data, or native dependencies.

CheckHow to test
StartupCompare the original and protected app on the same target machine.
Key featuresExercise real paths such as opening files, network calls, and plugin loading.
Errors and speedInspect logs and measure first use separately from repeated calls.

If the protected build fails, run the same original through the Compatibility first preset to narrow the cause. See the full first-build manual and the troubleshooting guide.

User manual