简体   繁体   English

VS2010项目配置-防逆向工程友好

[英]VS2010 Project Configuration - Anti Reverse Engineering Friendly

我在Visual Studio 2010中搜索项目设置的一些好技巧,以使二进制文件更难进行逆向工程。

有一个:在构建后事件中运行保护程序。

Turn on as much optimization as you can without making your program crash, this will make the resultant binaries MUCH harder to reverse engineer. 在不使程序崩溃的情况下,尽可能多地进行优化,这将使生成的二进制文件更难以反向工程。 You can get address-space layout randomization through the linker option. 您可以通过链接器选项获得地址空间布局随机化。 Otherwise, there are obvious things like building a release version instead of a Debug version, Since 2003 Visual Studio comes with Dotfuscator, which does a good job of protecting .NET programs. 否则,会出现明显的事情,例如构建发行版而不是调试版。自2003年以来,Visual Studio附带了Dotfuscator,它可以很好地保护.NET程序。 To add to Abyx's comment, some protectors, like Software Passport and Oreans products allow you to insert anti-tampering things during the compilation process, which is much more effective than just applying the packer to the compiled binary. 为了补充Abyx的评论,一些保护程序,例如Software Passport和Oreans产品,使您可以在编译过程中插入防篡改内容,这比仅将打包程序应用于已编译的二进制文件要有效得多。

Use Obfuscator (standard in visual studio 2010). 使用混淆器(Visual Studio 2010中的标准配置)。 It scrambles your code when compiled so when it is decompiled it will not be readable. 它会在编译时对您的代码进行加扰,因此在反编译时将不可读。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM