1 / 14

Windows kernel

Windows kernel. Windows Driver Model Nisec liangge. Agenda. The limits about today’s presentation What differences between ring0 and ring3 How OS Startup How driver works. Limits. Win2000/ xp /2003, no Vista X86, no details WDM, no WDF Basic, no complex 32-bit, no 64-bit.

allan
Download Presentation

Windows kernel

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Windows kernel Windows Driver Model Nisec liangge

  2. Agenda • The limits about today’s presentation • What differences between ring0 and ring3 • How OS Startup • How driver works

  3. Limits • Win2000/xp/2003, no Vista • X86, no details • WDM, no WDF • Basic, no complex • 32-bit, no 64-bit

  4. What differences-ring0 and ring3 • Advantage • The whole instructions • The whole memory • The details about OS • A lot of routines • More things can do

  5. What differences-ring0 & ring3 • Disadvantage: • More time to work on • More dangerous for machine • More challenge

  6. What differences – Win & UNIX • Advantage • Microsoft • Strong man • Market

  7. What differences – Win & UNIX • Disadvantage: • Little source code • excellent documentation • Microsoft

  8. How OS startup • Setup system • MBR • Boot sector • Kernel • Ntldr-load boot driver • NtOskrnl.exe

  9. Ntoskrnl • Phase0 • No interrupt • Initialize • Phase1 • Allow interrupt • IoManager initialize

  10. IoManager • boot driver, system start driver, service auto driver, service demand start • Enumeration • Recursion • Devnode • From top to root

  11. How driver works • See WORD

  12. Further Reading • Mark E. Russinovich and David A. Solomon, Microsoft Windows internals,4th Edition, MS press • Walter Oney Microsoft Windows driver model, 2th edition, MS press • DDK document, source code

  13. Useful website • http://msdn.microsoft.com • http://www.osronline.com • http://www.msdnaa.net/curriculum/pfv.aspx?ID=6191 • http://www.driverdevelop.com

  14. End • Thanks! • QA

More Related