首页 > 其他 > 详细

EasyHook Creating a remote file monitor

时间:2019-08-18 01:00:22      阅读:100      评论:0      收藏:0      [点我收藏+]

In this tutorial we will create a remote file monitor using EasyHook. We will cover how to:

使用EasyHook创建一个全局文件监控程序,包括

 
  1. Inject a managed assembly into an existing target process based on the process Id
  2. 将托管程序集(dll)注入到已存在的进程ID
  3. Inject a managed assembly into a newly created (and suspended) process using path to executable
  4. 将托管程序集(dll)注入到新创建(并且挂起)的进程(通过该进程运行的路径注入)
  5. Create local hooks within the remote process to monitor 3 file operations (CreateFile, ReadFile and WriteFile)
  6. 通过远程程序创建本地hook,完成CreateFile, ReadFile 和WriteFile3种操作
  7. Report file accesses back to the main console application using .NET inter-process communication (IPC)

For this tutorial we will be creating a solution with two projects:

  • FileMonitor: a C# console application; and
  • FileMonitorHook: a C# class library that contains the hook logic and the IPC interface. This assembly is our injection payload.

EasyHook Creating a remote file monitor

原文:https://www.cnblogs.com/code1992/p/11370966.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!