【问题标题】:Anti-Reverse Engineering反逆向工程
【发布时间】:2013-04-13 05:12:06
【问题描述】:

我试图阻止我的应用程序受到反射器,但由于某些应用程序功能不起作用,因此无法使用 .net 代码保护和混淆软件。所以请提供其他想法或技术来防止逆向工程

我有用于逆向工程的应用程序名称列表Link

目前,我参考An Anti Reverse Engineering Guide文章,但如何使用AntiRE.h不知道Link

如果你知道请帮忙。

在VS2010 vb.net中的应用

【问题讨论】:

  • 为什么需要混淆处理?在代码中隐藏信息,例如密码,通常不是一个好主意。

标签: .net .net-reflector


【解决方案1】:

利用反射发射的优势。所以你可以在IL写一些代码:

static DynamicMethod Method6()
{
    DynamicMethod method1 = new DynamicMethod("Method5", typeof(void),
        new Type[] { typeof(DateTime) });
    ILGenerator il = method1.GetILGenerator();

    il.EmitWriteLine("In function 6: ");
    il.Emit(OpCodes.Ldarg_0);
    il.Emit(OpCodes.Box, typeof(DateTime));
    il.Emit(OpCodes.Call, typeof(Console).GetMethod("WriteLine",
        new Type[] { typeof(object) }));

    il.Emit(OpCodes.Ret);

    return method1;
}

您可以使用 emit 和 UpCodes 做更多事情:

  1. http://blog.alxandr.me/2010/10/16/an-introduction-to-system-reflection-emit-and-opcodes/
  2. http://msdn.microsoft.com/en-us/library/3y322t50.aspx
  3. http://www.devx.com/dotnet/Article/28783
  4. http://en.csharp-online.net/Attributes_and_Reflection%E2%80%94Reflection_Emit

【讨论】:

    猜你喜欢
    • 2019-08-16
    • 2012-02-15
    • 2012-08-26
    • 2012-05-01
    • 1970-01-01
    • 2012-03-15
    • 1970-01-01
    • 2011-01-17
    • 2018-05-24
    相关资源
    最近更新 更多