首页
社区
课程
招聘
[旧帖] [新手求助]在驱动中如何查询设备(比如键盘)的中断号 0.00雪花
发表于: 2008-12-4 15:24 4990

[旧帖] [新手求助]在驱动中如何查询设备(比如键盘)的中断号 0.00雪花

2008-12-4 15:24
4990
首先说明我的用意,我想要 hook 键盘中断,但是听说不同的 windows 系统,键盘的中断号不是一样的,有没有什么办法获取 键盘的中断号是多少。 其他的设备呢 有没有相应的办法查询其中中断号(我所指的中断号是 idt 里的那个) 。
哪位大牛能帮帮忙,稍微指点一下。

[培训]《安卓高级研修班(网课)》月薪三万计划,掌握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法

收藏
免费 0
支持
分享
最新回复 (2)
雪    币: 198
活跃值: (13)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
2
顶顶顶顶顶顶
2008-12-5 09:55
0
雪    币: 256
活跃值: (11)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
《Rootkits: Subverting the Windows Kernel》第8章里说了:

The first task in sniffing a keystroke is to determine the interrupt that fires when a key is pressed. On my Win2k machine, this interrupt is 0x31. However, every machine is different. The only sure-fire way to detect the proper interrupt is to determine what interrupt is tied to IRQ 1 in the PIC (Programmable Interrupt Controller). IRQ 1 handles the keyboard. One method of doing this involves parsing the HAL.DLL image in the kernel.
最后给的结论是说:分析一下HAL.DLL,看一下IRQ1到底挂在哪个中断号上了?
2008-12-23 18:02
0
游客
登录 | 注册 方可回帖
返回
//