-
-
[讨论]KeUserModeCallback相关问题
-
发表于:
2011-6-16 11:07
7841
-
[讨论]KeUserModeCallback相关问题
今天看了教主的《KeUserModeCallback用法详解》写的挺好的,于是想研究下KeUserModeCallback的InlineHook专门过滤WM_KEYBORAD,WM_KEYBORAD_LL,WM_DEBUG,WH_JOURNALRECORD和LoadLibrary,这几种情况都是耳熟能详的可以用来进行键盘记录的方法。
另外一篇文章 http://bbs.pediy.com/showthread.php?t=105107&highlight=WH_KEYBOARD_LL 也进行了比较详细的讲解。这篇文章下面有给出XP_SP2的callback函数对照表:
01 fnCOPYDATA
02 fnCOPYGLOBALDATA
03 fnDWORD
04 fnNCDESTROY
05 fnDWORDOPTINLPMSG
06 fnINOUTDRAG
07 fnGETTEXTLENGTHS
08 fnINCNTOUTSTRING
09 fnPOUTLPINT
10 fnINLPCOMPAREITEMSTRUCT
11 fnINLPCREATESTRUCT
12 fnINLPDELETEITEMSTRUCT
13 fnINLPDRAWITEMSTRUCT
14 fnINLPHLPSTRUCT
15 fnINLPHLPSTRUCT
16 fnINLPMDICREATESTRUCT
17 fnINOUTLPMEASUREITEMSTRUCT
18 fnINLPWINDOWPOS
19 fnINOUTLPPOINT5
20 fnINOUTLPSCROLLINFO
21 fnINOUTLPRECT
22 fnINOUTNCCALCSIZE
23 fnINOUTLPSCROLLINFO
24 fnINPAINTCLIPBRD
25 fnINSIZECLIPBRD
26 fnINDESTROYCLIPBRD
27 fnINSTRINGNULL
28 fnINSTRINGNULL
29 fnINDEVICECHANGE
30 fnINOUTNEXTMENU
31 fnLOGONNOTIFY
32 fnOPTOUTLPDWORDOPTOUTLPDWORD
33 fnOPTOUTLPDWORDOPTOUTLPDWORD
34 fnOUTDWORDINDWORD
35 fnOUTLPRECT
36 fnPOUTLPINT
37 fnINLPHLPSTRUCT
38 fnPOUTLPINT
39 fnSENTDDEMSG
40 fnINOUTSTYLECHANGE
41 fnHkINDWORD
42 fnHkINLPCBTACTIVATESTRUCT
43 fnHkINLPCBTCREATESTRUCT
44 fnHkINLPDEBUGHOOKSTRUCT
45 fnHkINLPMOUSEHOOKSTRUCTEX
46 fnHkINLPKBDLLHOOKSTRUCT
47 fnHkINLPMSLLHOOKSTRUCT
48 fnHkINLPMSG
......
我有个疑问,xp上这张callback表如何获得? 如果是在win7平台又该如何获取?
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)