February 2012
Intermediate to advanced
800 pages
23h 55m
English
In this section, we’ll examine a program that writes to files from kernel space. For
malware authors, the benefit of writing to files from kernel space is that it is more difficult to
detect. This isn’t the stealthiest way to write to a file, but it will get past certain
security products, and can mislead malware analysts who are looking for telltale calls in the user
space to CreateFile or WriteFile functions. The normal Win32 functions are not easily accessible from kernel
mode, which presents a challenge for malware authors, but there are similar functions that are used
regularly in malware written from the kernel. Since the CreateFile and WriteFile functions are not available
in the kernel mode, the NtCreateFile ...