我正在试图在explorer.exe中做一个IAT hook。规格:Windows 7 x64,Visual C++。我已经达到了能够从我选择的任何可执行文件(除了C:\ Windows \ Explorer.exe)之外读取thunk数据的程度。当我运行我的程序时,我在从该可执行文件读取内存时收到访问冲突。但是,当我对C:\ Windows \ system32 \ Explorer.exe和C:\ Windows \ sysWOW64 \ Explorer.exe运行此操作时,我没有任何问题。为什么是这样?是C:\ Windows \ Explorer.exe某种符号链接到另一个explorer.exe的?有什么可以阻止我阅读这个文件?Reading Explorer.exe的Thunk Data
1
A
回答
1
在我的Windows 7 X64的系统C:\windows\explorer.exe
是一个64位的二进制数,PE32+
格式,而c:\windows\syswow64\explorer.exe
是一个32位的二进制,PE32
格式。您的应用程序是否设计为同时读取PE32
和PE32+
格式?
而且当从32位进程打开C:\Windows\System32\Explorer.exe
时,该进程是重定向到c:\windows\syswow64\explorer.exe
副本。从64位进程c:\windows\system32\explorer.exe
不存在。
相关问题
- 1. Thunk和ATL Thunk?
- 2. Issue Reading JSON
- 3. Buffered Reader not reading
- 4. ExtJS Reading JSON
- 5. 发现explorer.exe的HWND
- 6. Hadoop FileSplit reading
- 7. Javascript reading multidimentional form
- 8. tf.WholeFileReader()not reading
- 9. MySQL CONCAT without reading
- 10. mv()while reading
- 11. error as reading json
- 12. Unicode String reading
- 13. Windows 7 Explorer.exe
- 14. Facebook Pixel Stats GET/Reading
- 15. php-reading xml子节点值
- 16. $ http()。catch reading response headers
- 17. TimeGlider addEvent not reading enddate
- 18. cordovaCapture captureImage not reading options
- 19. erlang webmachine not reading dispatch.conf
- 20. Inifnite loop while reading numbers
- 21. opencv video reading slow framerate
- 22. Flying Saucer not reading stylesheet
- 23. Ruby Reading CSV问题
- 24. if statement not reading variables
- 25. Reading新信息与urllib的
- 26. 的thunk不派遣
- 27. Windows 7的Explorer.exe文件API
- 28. C Program only first reading车牌
- 29. Redux-thunk操作
- 30. shinydashboard ui.R and server.R not reading Global.R
首先,真棒信息。我的过程不考虑PE32 +格式。乍一看,将所有IMAGE_HEADER结构更改为64位格式似乎很容易。你是否暗示我需要为x64编译我的程序才能读取C:\ windows \ explorer.exe或只是进行更改以支持PE32 +格式化? – user850275 2012-07-29 20:08:08
这取决于你的程序在做什么。如果你只是想解析PE32 +格式,一个32位的二进制文件可以。然而,你说IAT Hooking,这意味着将你自己的代码注入进程。在这种情况下,您注入的代码体系结构需要与正在运行的进程的体系结构相匹配。因此,32位程序的32位代码和64位程序的64位代码。 – jcopenha 2012-07-29 20:23:35
太棒了,谢谢jcopenha!我欠你一个! – user850275 2012-07-29 21:15:41