Redirecting you to Reddit in 5 seconds:
https://old.reddit.com/r/netsec/comments/15urtp0/good_primer_into_windows_kernel_drivers