-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The program cannot be started after obfuscation #141
Comments
Hey, this is because you're using protections which are working only with Mono runtime - specifically Unity, not a NET Core applications When you see log in console at the start that says - 'Protection is intended for Mono' then don't use it, it's not compatible without specific runtime runned on top of the NET |
So how can I do it, please suggest me. Copy the |
Simply install some of the mono versions, let's say the 5.2.0 After installation run the Mono.exe and provide path to your application, and it will be runned, iirc it work only with .exe files or make another dummy exe file and load your dll application via assembly load and reflection |
If I don’t need |
I guess it won't work because your application is .NET (Core) and the BitMono application is running on .NET Framework 462, to fix this issue we gonna need to add a .NET Core support in the BitMono as additional target framework |
Looking forward to supporting |
Not this month obviously, but I'll start doing this time-by-time by at least creating a new branch, thanks ; ) |
Let me know how it work with new version |
Hello, I tried it, and an error occurred. My program is packaged based on .Net 6.
|
Hey, you need to obfuscate the .dll file which contains inside all managed code for .exe file, the .exe file is kinda compiled in native code |
I only confuse the dll, but there are some error logs in the console, and the obfuscated dll file is output, and the program cannot start using the obfuscated dll file. Please see the attachment for the log |
So interesting, will see what can be done to fix that |
Hey! |
and don't forget to use BitMono-v0.19.0-alpha.34-CLI-net6.0.zip, not a net framework build |
I'm sorry to tell you that an error still occurs and the program cannot be started after obfuscation. Attach log files and protections.json files. |
From your logs: [2023-10-12 17:27:25 INF][BitMono.Obfuscation.Notifiers.ProtectionsNotifier] (10) Enabled protection(s): AntiILdasm, AntiDe4dot, ObjectReturnType, NoNamespaces, FullRenamer, AntiDebugBreakpoints, StringsEncryption, UnmanagedString, DotNetHook, BitMono
[2023-10-12 17:27:25 WRN][BitMono.Obfuscation.Notifiers.ProtectionsRuntimeMonikerNotifier] [!!!] UnmanagedString - Intended for .NET Core runtime
[2023-10-12 17:27:25 WRN][BitMono.Obfuscation.Notifiers.ProtectionsRuntimeMonikerNotifier] [!!!] UnmanagedString - Intended for .NET Framework runtime
[2023-10-12 17:27:25 WRN][BitMono.Obfuscation.Notifiers.ProtectionsRuntimeMonikerNotifier] [!!!] BitMono - Intended for Mono runtime
[2023-10-12 17:27:25 WRN][BitMono.Obfuscation.Notifiers.ProtectionsNotifier] (5) Disabled protection(s): AntiDecompiler, BitDotNet, BitMethodDotnet, BitTimeDateStamp, CallToCalli
[2023-10-12 17:27:25 INF][BitMono.Obfuscation.BitMonoObfuscator] Running on Microsoft Windows NT 10.0.19045.0, .NETFramework v6.0.21, x64 bits BitMono can not work the output file, because it works only with Mono runtime, not .NET (Core) Try to run the obfuscation only with AntiDe4dot, and test if the output file works (just for testing) |
The text was updated successfully, but these errors were encountered: