防止Dll C ++注入Dll [英] Prevent Dll injection from an Dll C++

查看:176
本文介绍了防止Dll C ++注入Dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对C ++中的抗dll注入有一些疑问。
我有一个基于C ++的游戏,我有黑客的dll注入的问题。
然后我需要阻止它。

I have some doubts about anti dll injection in C++. I have a game C++ based, Im having problems with hackers with dll injection. Then i need to prevent it.

我发现从那里通知钩子:

I find notify hook there from there:

a href =http://msdn.microsoft.com/en-us/library/z9h1h6ty%28v=vs.80%29.aspx =nofollow> MSDN - 通知挂钩

MSDN - Notification Hooks

但我不知道如何使用它。

But i dont have idea how to use it.

它是可能的通知钩,以防止dll注入吗?

Its is possible notify hook to prevent dll injection?

怎么可能? (与和更好的示例)。

How its possible? (With and example better).

可以从dll? (例如更好)。

Can be from dll? (With example better).

感谢您阅读那篇文章。

PS:对不起我的英语。 / p>

PS: sorry for my english.

推荐答案

忘记它,除非你做非常复杂的事情,它不会工作。通过复杂的我的意思是像Skype中使用的代码混淆,反调试技术。请查看这次讲座

Forget it, unless you do very sophisticated things, it's not going to work. By sophisticated I mean something like the code obfuscation, anti-debugging technology used in Skype. Just look at this talk.

您可以花费大量的时间试图防止DLL注入,最终有人会花费更少的时间比你和规避你的保护。我认为时间会更好地投资在一个更安全和防篡改的架构(即计算服务器上的分数,等)。

You can spend a ton of time on trying to prevent DLL injection, in the end somebody will spend less time than you and circumvent your protection. I think the time would be better invested in an architecture that's more secure and tamperproof (ie calculating scores on the server, etc).

这是一个猫和老鼠的游戏,你可以't win。

It's a cat and mouse game you can't win.

这篇关于防止Dll C ++注入Dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆