sunnamed434 / BitMono

Unlock new level of security with BitMono. Advanced code obfuscation that protects your intellectual property like never before. Try now!

Home Page:https://bitmono.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BitMono logo
Free open-source obfuscator that targetting Mono, and maybe whole .NET

BitMono

Build status Test status Codefactor DeepSource Gitter Chat MIT License BitMono Discord

BitMono is a free open-source C# obfuscator that in most cases works only with Mono - well known as a fork of .NET framework (which runs popular platforms such as Unity, etc), you can still use this for a whole .NET, but be careful that something working not as intentional, because the main target of the this project is Mono (actually some protections don't work with Mono but work with .NET Core). Which uses AsmResolver for assembly manipulation (not a dnlib as you might already think). If you have any questions/issues please let me know there. You can install the latest version of BitMono here.

Before and after obfuscation preview by BitMono

Before and after obfuscation preview by BitMono 2

CLI

Configuration

Usability

BitMono breaks the most popular tools using just one packer, such as:

  • dnSpy;
  • dnlib;
  • AsmResolver;
  • MonoCecil;
  • ILSpy;
  • PEBear;
  • DetectItEasy;
  • CFF Explorer
  • Perhaps, some dumpers?
  • and many, many more...

So, if you will add more protection to the file, I think it would seem like total magic. :D

Documentation

Read the docs to read protection, functionality, and more.

How your app will look since BitMono obfuscation - just in a few words

  • Looks like C++ application but is an actual C# application;
  • Crash of decompilers when analyzing types;
  • Broken decompilers;
  • Broken IL Code;
  • Invisible types;
  • No code

Features

  • StringsEncryption
  • UnmanagedString (based on existing protection)
  • BitDotNet (based and improved on existing protection)
  • BitMethodDotnet (based and improved on existing protection)
  • DotNetHook (based on existing protection)
  • CallToCalli
  • ObjectReturnType
  • NoNamespaces
  • FullRenamer
  • AntiDebugBreakpoints
  • AntiDecompiler
  • BitDateTimeStamp
  • BitMono
  • BillionNops

Usage

Pre-Require

Set one of setting from protections.json to true.

Using CLI

BitMono.CLI <path to file>/drag-and-drop

Always drop dependencies in libs directory in the same path where file for obfuscation is located

Your obfuscation directory structure will look something like this:

specially_created_folder_for_obfuscation/
├─ your_app.exe
└─ libs/
  ├─ ImportantLibrary.dll
  ├─ SuperImportantLibrary.dll
  └─ ...

Copy all libraries (.dll) from the building application folder and paste them into the libs directory (if it doesn't exist yet create it), or even create the libs directory yourself with a custom name for example - myLibs, and then specify it in BitMono, however, if you will use libs then by default BitMono looking for a libs directory, so it will save your time.

Using CLI Commands

  -f, --file         Required. Set file path.

  -l, --libraries    Set libraries path.

  -o, --output       Set output path.

  --help             Display this help screen.

  --version          Display version information.

Basic example

$ BitMono.CLI -f C:\specially_created_folder_for_obfuscation/your_app.exe -l specially_created_folder_for_obfuscation/libs

In case when you already have a directory with the name libs (specially_created_folder_for_obfuscation\libs) BitMono will catch it automatically, so, you don't need to specify it anymore, but you can in case if you made another directory with libs somewhere on the disk or even just for "visibility".

$ BitMono.CLI -f C:\specially_created_folder_for_obfuscation/your_app.exe

Specify custom libs directory

$ BitMono.CLI -f C:\specially_created_folder_for_obfuscation/your_app.exe -l C:\mythings\obfuscation\superLibsDirectory

Specify file, libs and output. If output directory doesn't exist BitMono will create it automatically and even open it on the top of the screen, if you want you can disable opening of the directory on the of top of the screen in obfuscation.json - and set OpenFileDestinationInFileExplorer to false.

$ BitMono.CLI -f C:\specially_created_folder_for_obfuscation/your_app.exe -l C:\mythings\obfuscation\superLibsDirectory -o C:\specially_created_folder_for_obfuscation/output

Want more? Simply read the docs.

Troubleshooting

Having issues? Get more help here.

Detailed build status

If you want to build the BitMono by your own - click here for detailed info

Branch AppVeyor
main Build status
dev Build status

Supported Frameworks

Feel free to use BitMono on frameworks which described below. Be careful using some protections because some might work on .NET Framework only, some on .NET (Core) only, some on all frameworks, some on Mono only - if the protection is unique to its platform/framework you will get a notification about that.

Framework Version
.NET (Core) 6.0
.NET Framework 462
netstandard 2.0
netstandard 2.1

Credits

JetBrains has kindly provided licenses for their JetBrains Rider IDE to the contributors of BitMono. This top-tier tool greatly facilitates and enhances the process of software development.

0x59R11 for his acquaintance in big part of BitDotNet that breaks files for mono executables!

Gazzi for his help that me asked a lot!

Elliesaur for her acquaintance in DotNetHook that hooks methods.

Weka for his advices, help and motivation.

MrakDev for the acquaintance in UnmanagedString.

ConfuserEx and their Forks for most things that I watched for the architecture of BitMono and the obfuscator engine as an application and solving plenty of User solutions which I would be knew in the very long future after much fail usage of BitMono and reports by other Users. Day-by-day I'm looking for something interesting there to improve myself in knowledge and BitMono also.

OpenMod Definitely, openmod inspired this project a lot with services and clean code, extensive similar things to openmod.

Kao and his blogs thanks a lot of these blogs.

drakonia for her costura decompressor.

About

Unlock new level of security with BitMono. Advanced code obfuscation that protects your intellectual property like never before. Try now!

https://bitmono.readthedocs.io/en/latest/

License:MIT License


Languages

Language:C# 100.0%