Questions tagged [confuserex]

ConfuserEx is a free, open-source protector for .NET applications. It is the successor of Confuser project.

What is ConfuserEx?

is an open-source protector for .NET applications. It offers advanced security to applications written in C#, VB, F#, and other .NET languages. ConfuserEx is the successor to Confuser project. While Confuser is widely regarded as one of the strongest obfuscators available in .NET, ConfuserEx continues to provide excellent protections to .NET applications.


Features ConfuserEx supports .NET Framework from 2.0 - 4.5 and Mono (and other .NET platforms if enough request!). It supports most of the protections you’ll find in commerical protectors, and some more!

  • Symbol renaming
  • WPF/BAML renaming
  • Control flow obfuscation
  • Method reference hiding
  • Anti debuggers/profilers
  • Anti memory dumping
  • Anti tampering (method encryption)
  • Embedding dependency
  • Constant encryption
  • Resource encryption
  • Compressing output
  • Extensible plugin API

Interface Screenshot

Command-line interface: Command-line interface

Graphical interface: Graphical interface


Protection example

Before protection: Before protection

After protection: After protection


References

ConfuserEx Org:

https://yck1509.github.io/ConfuserEx/

https://github.com/yck1509/ConfuserEx

ConfuserEx 2(forked from ConfuserEx):

https://github.com/mkaring/ConfuserEx

34 questions
1
vote
1 answer

ConfuserEx obfuscated DLL crashes VS 2017 when referenced

I've used ConfuserEx to obfuscate the code of my DLL but if I use anything other than the minimum level of obfuscation, the DLL crashes Visual studio 2017 a few seconds after I add a reference to it with a 'bad image' exception. The same DLL will…
Damo
  • 361
  • 4
  • 16
1
vote
0 answers

Obfuscated application run slow

I'm using ConfuserEX for obfuscate my application. Actually I'm using the maximum preset and the compress functionality to add 4 dlls to my exe. When I start the app without obfuscation run very fast, but after the obfuscation the start is very…
user9493290
1
vote
1 answer

ConfuserEx CLI no output directory specified

I have a Problem with the ConfuserEx CLI tool. I want to start the CLI from a C# Programm like that: System.Diagnostics.Process p = new System.Diagnostics.Process(); //p.StartInfo.RedirectStandardOutput = true; //p.StartInfo.UseShellExecute =…
BluePalmTree
  • 299
  • 3
  • 23
1
vote
0 answers

ConfuserEx - fail to resolve dependency only on publish

Using ConfuserEx - when I build the file normally I have no problems, but when I am in publish mode I get the following error: [ERROR] Failed to resolve dependency of 'TheProgram.exe'. 1> Exception: dnlib.DotNet.AssemblyResolveException: Could…
dashnick
  • 2,020
  • 19
  • 34
1
vote
0 answers

how to using ConfuserEx source code without errors

i download "ConfuserEx" source code from : https://github.com/yck1509/ConfuserEx but if i open the project i have 101 error ! how resolve the errors ? i think i have mistake or something else i don't know. i try fix some error but i can't and i…
mr. zero
  • 3
  • 1
0
votes
0 answers

ConfuserEx 2 for confusing a .NET 6 assembly

recently I was looking for a .NET Obfuscator. I found Obfuscar, but it doesn't meet all my conditions. I found ConfuserEx 2 to be the best choice. However, I ran into some issues while trying to obfuscate my .NET 6 assembly. What I have…
Bird2
  • 3
  • 1
0
votes
1 answer

Integrating ConfuserEx in MsBuild

I am trying to integrate ConfuserEx version 1.6 in MsBuild. It suppose to obfuscate the files automatically but it's not working for me. I have added Confuser.MsBuild v1.6 nuget package to the project. Can somebody help me if I am missing any step.
0
votes
1 answer

ConfuserEx not encrypting

i have created a simple webForms(.net framework 4.5, C# , Visual Studio 2015) project to test Obfuscate ConfuserEx i followed the steps in the post How to use ConfuserEx? Tried both GUI and Command line i used DotPeak to test the Obfuscate but no…
Maher Khalil
  • 529
  • 1
  • 15
  • 28
0
votes
1 answer

ConfuserEx CLI run but no output result

I have crproj file and there is setup for confuser:
Serlok
  • 432
  • 1
  • 10
  • 24
0
votes
1 answer

Obfuscation of WPF Project with ConfuserX

Obfuscated WPF Project by giving Post-build event Commands like this: if "$(ConfigurationName)" == "Release" ($(ProjectDir)ConfuserEx\Confuser.CLI.exe $(ProjectDir)Confuser.crproj) After Succesful build and Obfuscation Created Exe got crashing if I…
Sharika
  • 1
  • 1
0
votes
2 answers

How to use GetMethod in my own class obfuscated by ConfuserEx?

I have my own DLL which I secure with ConfuserEx. In the ConfuserEx I'm using the "rename" protection: This…
g_m
  • 456
  • 1
  • 3
  • 12
0
votes
1 answer

Cannot obfuscate dll

I'm using Confuserex for obfuscate a dll, I compiled it using visual studio, then I opened ConfuserEx GUI, dropped the dll on the project tab, and then in the settings tab I added a new rule with the maximum preset. After that, I click on "Protect"…
user9493545
0
votes
4 answers

Cannot use Costura.Fody with ConfuserEx

I want reduce the assembly dimension with Costura.Fody, this working well, infact all the dll are merged in one assembly, but I have a problem with ConfuserEx that I can't solve. In particular when I open ConfuserEx, I drag the .exe on the app, add…
0
votes
0 answers

How to rename all on WinForm application for obfuscating

I started obfuscating my application and have found great free tool called Confuser, but it doesn't rename all. I tried confuse and then deobfuscate using de4dot and I can see many of the names. How can I automatically rename all the namespaces,…
Gadjid
  • 1
  • 2
0
votes
1 answer

Declarative Obfuscation in Xamarin Forms with ConfuserEx

I'm creating an Android App using Xamarin.Forms that I'm obfuscating with ConfuserEx. I wanted to use declarative obfuscation like in this example so I could change the Obfuscation properties for each of my classes. However, the System.Reflection…
cvanbeek
  • 1,796
  • 21
  • 30