Obfuscar 2.2 is now available on NuGet! Please read the Getting Started instructions for installing the latest version from NuGet.
Obfuscar is a basic obfuscator for .NET assemblies. It uses massive overloading to rename metadata in .NET assemblies (including the names of methods, properties, events, fields, types and namespaces) to a minimal set, distinguishable in most cases only by signature.
For example, if a class contains only methods that accept different parameters, they can all be renamed ‘A’. If another method is added to the class that accepts the same parameters as an existing method, it could be named ‘a’.
It makes decompiled code very difficult to follow. The wiki has more details about What It Does.
The current release is Obfuscar 2.x. This is a port of Obfuscar 1.5.4 to the latest Mono.Cecil library. By using this new library Obfuscar now supports .NET 4.0 assemblies. Because there are a lot of subtle changes in Cecil’s new API and patched merged from different sources, this release of Obfuscar must be considered unstable.
Since version 1.5 the attrib attribute is evaluated correctly. Be sure to check if there are any unintended attrib values from the example in your configuration file.
Its source code can be found at GitHub,
Obfuscar works its magic with the help of Jb Evain’s fantastic Mono Cecil library.
The documentation section includes the following topics,