|
系统统计
|
| 收录文章:124 | | 注册用户:1 | | 当前在线:1 | | 最高在线:830 | | 峰值:2010-1-4 5:29 |
|
|
显示文章
|
Subject:x86 Limit trap - Keyboard Interrupt hook
Editor:admin Time:2007-9-28 20:20 Read:4617 Score:0 Print Writer:chpie Excerpt:http://www.rootkit.com/
|
|
Preface: x86 Limit trap - Keyboard Interrupt Hook.....
|
|
Content: x86 Limit trap - Keyboard Interrupt Hook
x86 Architecture says if an Interrupt vector beyonds the Limit of IDTR, #General Protection fault is raised.
Then swapping our handler with the #GP Handler, We can monitoring every interrupts on the system.
there will be an bottle-neck situation created, every interrupt is our own. :)
Essential Point is it includes the Keyboard interrupt...
- Sequence -
1. Hook #GP(vector 0xD) to our handler 2. cli 3. sidt 4. Modify the limit by 0xFF // only 0 to 31 are allowed. // if it isn't, may the Double fault exception raised, // #DF cause #DF, it will be a Dead-lock. 5. lidt 6. sti 7. Have fun.
src and binaries are on my vault http://www.rootkit.com/vault/chpie/x86_LimitTrap.zip
ps. KOREAN keyboard hooking forum is available http://cafe.naver.com/inphook.cafe
|
|
|
相关附件
|
| 没有相关附件 |
|
|
相关文章
|
| 没有相关文章 |
|
|
发表评论
|
| 游客在该版块没有评论权限 |
|
|
打分
|
|
|
相关评论
|
| 暂时没有关于本文的评论 | |
|
|