Day 4 Flashcards
ntoskrnl.exe
the kernel process
HAL.DLL (hardware abstraction layer)
a kernel-loadable module that operates between the hardware and the executive so that applications an device drivers don’t have to be aware of hardware-specific information.
Kernel
lower layer of ntoskrnl.exe has 4 main responsibilities: Thread scheduling Interrupt and exception handling Low-level processor synchronization power failure Recovery
Windows executive
the upper layer of ntoskrnl.exe and is the Windows system call handler that verifies and provides kernel services.
Windows executive components
Object manager, security reference monitor, process manager, virtual memory manager, I\O manager, asynchronous local inter-process communication, configuration
object manager
provides standardized interface for every system object
security reference monitor
enforces local computer security policy
process manager
creates, manages, and terminates processes and threads
virtual memory manager
provides private address space for each process
I\O manager
processes all file and I\O requests; responsible for dispatching to device drivers as well as plug and play capabilities
asynchronous local inter-process communication (ALPC)
passes messages between client and server processes on the same computer
configuration manager
responsible for implementing and managing the registry
object criteria
Each object belongs to a statically defined class
Objects are kernel services that multiple processes can share.
A process references objects via handles
Objects use pointers to reference and use other objects within kernel mode
Objects use hierarchical directories and naming structures
Objects are protected by object-based security and support synchronization.
Object manager
key responsibilities: standardizing the interface with all objects, object retention, and object security.
each object has an object header and object body
object header and object body
the object header stores data used by the object manager to manage objects regardless of their type or class. Key object header fields: Name security descriptor handle count reference count
the executive manager responsible for creating the object controls the object body.
object header attributes
object type: points to the type of object it is
type object attributes
methods: one or more routines that the object manager calls at certain points in an objects lifetime.
(the actions or routines the objects can perform)