obfuscation
How effective is obfuscation?
I’ve discussed why I don’t think Obfuscation is an effective means of protection against cracking here: Protect .NET Code from reverse engineering However, your question is specifically about source theft, which is an interesting topic. In Eldad Eiliams book, “Reversing: Secrets of Reverse Engineering”, the author discusses source theft as one reason behind reverse engineering … Read more
Should I be obfuscating database IDs from my users?
No, you’re just making extra work for yourself. As long as you’re doing enough testing that changing an ID here or there won’t give the users access to something they shouldn’t then you’re fine having the IDs visible. In some situations it can be beneficial to hide them or have non-sequential numbers, or maybe not … Read more
How to tell proguard to keep enum constants and fields
Thanks to http://sourceforge.net/p/proguard/discussion/182455/thread/1c28f199/ I found solution for my question (<fields> must be added): -keepclassmembers class * extends java.lang.Enum { <fields>; public static **[] values(); public static ** valueOf(java.lang.String); }
How to prevent decompilation of any C# application [closed]
If you deploy .NET assemblies to your client machines, some kind of decompilation will always be possible using reflector and similar tools. However, this situation isn’t materially different to what you’d encounter if you wrote the application in native C++. It is always possible to decompile things – if it were impossible, the processor couldn’t … Read more
How to hide strings in a exe or a dll?
Welcome to the wider world of defensive programming. There are a couple of options, but I believe all of them depend on some form of obfuscation; which, although not perfect, is at least something. Instead of a straight string value you can store the text in some other binary form (hex?). You can encrypt the … Read more
How to use ConfuserEx?
Get the lastest binaries version from here : https://github.com/mkaring/ConfuserEx/releases For use in command line (Confuser.CLI.exe) : Confuser.CLI.exe myProjectFile.crproj Project file example : <?xml version=”1.0″ encoding=”utf-8″?> <project baseDir=”c:\” outputDir=”c:\Confused” xmlns=”http://confuser.codeplex.com”> <rule preset=”none” pattern=”true”> <protection id=”anti debug” /> <protection id=”anti dump” /> <protection id=”anti ildasm” /> <protection id=”anti tamper” /> <protection id=”constants” /> <protection id=”ctrl flow” /> … Read more