简体   繁体   English

抓住内存中的.net进程

[英]Grab .net Process In Memory

I'm trying to secure a small-medium sized MMO i've written in c# and we are having some problems with hacking. 我正在尝试保护一个用c#编写的中小型MMO,我们遇到了一些黑客问题。 I would like to know if there is a way to grab the copy of the process that is currently in memory, and not on disk. 我想知道是否有办法获取当前在内存中而不是在磁盘上的进程副本。 We have a very secure algorithm in the game however it cannot stop people modifying the in memory version of the game. 我们在游戏中有一个非常安全的算法,但它无法阻止人们修改游戏的内存版本。

Is there any way to do this? 有没有办法做到这一点?

Of course you can access the operating memory when you have the privileges. 当然,您可以在拥有权限时访问操作内存。 Hackers can do it easily. 黑客可以轻松完成。

Step 1: Attach a debugger.
Step 2: Hack!

It is rather difficult to keep anything in your code secret when your code is running on someone else's computer. 当代码在别人的计算机上运行时,很难在代码中保留任何内容。

The MiniDumpWriteDump function can capture the entire application, inclusive of state. MiniDumpWriteDump函数可以捕获整个应用程序,包括状态。 Usually used for troubleshooting. 通常用于故障排除。

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

相关问题 从内存进程中获取文件 - grab file from memory process .NET进程的内存转储中存在大量无法解释的内存 - Large unexplained memory in the memory dump of a .NET process 远程机器进程内存使用 .net core - Remote Machine process memory usage .net core 检测内存何时在外部.NET进程中移动? - Detect when memory moves in an external .NET process? .NET 理解其他进程的内存/从其他进程读取变量 - .NET understanding memory of other process / read variables from other process 当.NET不在垃圾收集(GC)中时,如何捕获.NET进程的进程内存转储 - How to capture a process memory dump of a .NET process when .NET is not in the middle of a garbage collection (GC) 如何从 .NET Standard 2.0 和 UWP 获取进程内存? - How to get process memory from both .NET Standard 2.0 and UWP? 大型 HTTPResponseMessage 导致 .NET 核心服务器进程用完 memory - Large HTTPResponseMessage causes .NET Core server process to run out of memory 从 Linux 机器上的 .Net Core 应用程序获取 memory 进程的使用情况 - Getting memory usage of process from .Net Core app on Linux machine 单个 .net 进程的内存限制为大约 2.5 GB - Memory limitted to about 2.5 GB for single .net process
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM