计算机应用 ›› 2010, Vol. 30 ›› Issue (12): 3423-3426.

• 典型应用 • 上一篇    

基于Detours的文件操作监控方案

苏雪丽1,马金鑫2,袁丁3   

  1. 1. 四川师范大学计算机科学学院
    2. 四川师范大学计算机科学学院计算机软件与理论
    3. 四川师范大学计算机学院
  • 收稿日期:2010-06-30 修回日期:2010-07-15 发布日期:2010-12-22 出版日期:2010-12-01
  • 通讯作者: 苏雪丽
  • 基金资助:
    西南交通大学信息编码与传输四川省重点实验室开放研究基金

File operation monitoring schema based on Detours technology

  • Received:2010-06-30 Revised:2010-07-15 Online:2010-12-22 Published:2010-12-01

摘要: 研究了两种文件操作监控常用的API钩挂技术,通过实验指出IAT Hook技术的不稳定性,提出使用基于Inline Hook技术的Detours来解决explorer.exe错误。最后给出了文件操作监控方案的实现方法,并对Detours技术进行了详细阐述。经测实验证,该方案确实能有效实现文件的安全保护。

关键词: API钩挂, 内联钩挂, Detours技术, 文件操作监控

Abstract: Two kinds of Hook API technologies commonly used by file operation monitoring were discussed. According to experiments, the instability of IAT Hook was pointed out, and it was suggested to use Detours technology which was based on Inline Hook to solve the problem of explorer.exe fault. In the end, the paper put forward an implementation method of the file operation monitoring and had a description of Detours. The test shows that the schema is indeed effective in achieving file security protection.

Key words: Hook API, inline Hook, Detours, file operation monitoring