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
13
votes
2 answers

ConfuserEx: System.TypeInitializationException on Mono

I cannot get my obfuscated application running on mono. Unobfuscated works on mono. When I use the .net framework on win7 it starts without issue in both variants. This is the exception I get: Unhandled Exception: …
Tyron
  • 1,938
  • 11
  • 30
3
votes
2 answers

Newtonsoft JSON deserialization not working while using ConfuserEx

I have a JSON class like this: public class UpdateCheck { public bool UpdatesAvailable { get; set; } public string LinkOfNewVersion { get; set; } } But the value of UpdatesAvailable and LinkOfNewVersion are null when I confuse my assembly…
gave
  • 181
  • 13
3
votes
1 answer

Using a C# DLL confused with ConfuserEx

In my application project in Visual stuido, I am trying to reference a DLL confused with ConfuserEx (from another project). Even if I use the "none" preset, at runtime, when the DLL is loaded, my application crashes with the following…
3
votes
0 answers

Can't get ConfuserEx working and can't find alternative

I have a C++/CLI program that I need to obfuscate. I use ConfuserEx for my C# program and it works fine, but when I use it with my C++/CLI program, then I run the program, I just get the spinning pointer and then it goes away. Nothing seems to…
2
votes
1 answer

How i exclude part of code being obfuscated by ConfuserEx?

Im looking to how i can exclude a line of code in my project, but all i found is how to exclude a complete namespace, can you help me ?
JuulFan
  • 21
  • 7
2
votes
1 answer

How to debug a ConfuserEx assembly?

I'm using ConfuserEx for obfuscate my application, what I did is: Drag and drop the exe on the ConfuserEx software Set the rule as maximum protection (also tried the lowest protection) Clicked the "Protect". When I press on the generated exe this…
oÆÞ
  • 73
  • 9
2
votes
1 answer

How to check if Obfuscation successful in CSharp project file

Is there code I can include in my CSharp project file to check if ConfuserEx executed properly, and kill the compile process if not? Maybe use reflection to check if a class name still exists (i.e. has not been obfuscated)? Update: This is the code…
dashnick
  • 2,020
  • 19
  • 34
2
votes
4 answers

ConfuserEx With Visual Studio Installer Setup Project, Obfuscation not working properly?

I have created single layer windows form application and added one Visual Studio Install Setup Project to create the installation wizard using Visual Studio 2013. So my application contains one .exe file and number of .dll files (SQLite,…
1
vote
0 answers

obfuscating SPA (Single-Page-Application) binaries and .dll files to secure startup.cs and context.cs classes

I have developed a SPA (single-page-application) using react and Asp.net core and published to a folder as a self-contained App which will be deployed on the client desktop computer and work as desktop app. I want to obfuscate the binaries and .dll…
1
vote
0 answers

ConfuserEx - VS2019 - Obfuscating multiple project referenced in same solution

I have two projects in my solution. The startup project is successfully able to obfuscate however, the other referenced project is not able to obfuscate successfully. If I obfuscate individual projects separately in the same solution they are able…
Aryan
  • 374
  • 1
  • 2
  • 14
1
vote
1 answer

How to obfuscate symbol names with a password in confuserex?

For example, in Eazfuscator.Net you can obfuscate the symbol names with [assembly: Obfuscation(Feature = "encrypt symbol names with password XPASSWORD", Exclude = false)] but I was wondering how you can do that (doesn't matter if it includes code…
rosenishere
  • 39
  • 1
  • 7
1
vote
1 answer

ConfuserEx.exe in pre/ post build executing asynchronous in VS

I have an installer project that is generating .msi on build. In the pre-build event, I am calling Confuser.CLI.exe to obfuscate code, but exe is working asynchronous and taking too much time, and the compiler is finished before exe, so I have .msi…
Serlok
  • 432
  • 1
  • 10
  • 24
1
vote
1 answer

C# Obfuscating .NET Executable breaks the use of Loading Assemblies

I am trying to write a plugin system for my .NET 4.7.2 Framework App. I already wrote the code but there is a issue, When the app is obfuscated, the plugin system throws an error on launch. There two images below should most likely explain the…
Midas
  • 23
  • 4
1
vote
0 answers

Export to Excel features of VB.net project stopped working after obfuscation

I have an old VB.net project (with some custom C++ dlls in it as well) that was only recently obfuscated using ConfuserEx. The obfuscation led to a series of bugs, which were fixed by adding namespaces to the appropriate code sections and excluding…
1
vote
2 answers

Failed to resolve dependency of exe .Net

Hello i try to compile/protect test.exe project. using "ConfuserEx" error i got : [ERROR] Failed to resolve dependency of 'test.exe'. Exception: dnlib.DotNet.AssemblyResolveException: Could not resolve assembly: Discord.Net.WebSocket,…
Darzy08
  • 105
  • 1
  • 4
  • 14
1
2 3