1
Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze
Unit OS7: Security
7.2. Windows Security Components and Concepts
3
Roadmap for Section 7.2. Windows Security Features Components of - - PDF document
Unit OS7: Security 7.2. Windows Security Components and Concepts Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze Roadmap for Section 7.2. Windows Security Features Components of the Security
Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze
3
4
5
6
hardware interfaces (buses, I/O devices, interrupts, interval timers, DMA, memory cache control, etc., etc.) System Service Dispatcher
Original c o pyright by Mic ro so ft Co rpo ratio n. U se d by pe rmissio n.
System Threads User Mode Kernel Mode
NtosKrnl.Exe
Object Mgr. Windows USER, GDI File System Cache I/O Mgr Device & File Sys. Drivers Plug and Play Mgr. Power Mgr. Security Reference Monitor Virtual Memory Processes & Threads Local Procedure Call Graphics Drivers Kernel Hardware Abstraction Layer (HAL) (kernel mode callable interfaces) Configura- tion Mgr (registry) WinLogon MSGINA LSASS Active Directory LSA Server SAM Server MSVC1_0.dl Kerberos.dll
LSA Policy
Event Logger
Active Directory SAM
7
WinLogon MSGINA LSASS NetLogon Active Directory LSA Server SAM Server MSVC1_0.dl Kerberos.dll
LSA Policy
Event Logger
Active Directory SAM
8
9
LanMan: \Windows\System32\Msvc1_0.dll Kerberos: \Windows\System32\Kerberos.dll Negotiate: uses LanMan or Kerberos, depending on which is most appropriate
10
WinLogon MSGINA LSASS NetLogon Active Directory LSA Server SAM Server MSVC1_0.dl Kerberos.dll
LSA Policy
Event Logger
Active Directory SAM
11
A user-mode process running \Windows\System32\Winlogon.exe that is responsible for responding to the SAS and for managing interactive logon sessions
A user-mode DLL that runs in the Winlogon process and that Winlogon uses to obtain a user's name and password or smart card PIN
Default is \Windows\System32\Msgina.dll
WinLogon MSGINA LSASS NetLogon Active Directory LSA Server SAM Server MSVC1_0.dl Kerberos.dll
LSA Policy
Event Logger
Active Directory SAM
12
13
SeLsaCommandPort/SeRmCommand port for initialization Usage of private ports/shared memory when initialization is completed
Local security authority (LSA) server SeLsaCommandPort Private comm. port Private comm. port SeRmCommandPort Private comm. port Private comm. port Security reference monitor (SRM Shared section User mode Kernel mode Set audit event Create logon session Delete logon session Write audit message Delete logon session
14
15
16
17
MSGINA MSV1_0
LSASS LPC Winlogon
SAMSRV
18
Winlogon
MSGINA Kerberos
LSASS
NTDSA
LSASS LPC
UDP
Domain Controller Local Machine
19
( SSL - Secure Socket Layer, TLS - Transport Layer Security )
20
TICKET ( SSPI - Security Service Provider Interface, GSS - Global Security Service )
21
22
23
KDC TGS Client Server
1 2 3 4 5 Typically co-located
Kc: client‘s secret key Kc,tgs: key for comm. between client and TGS {T c,tgs}K tgs: encrypted ticket for TGS Kc,s: key for client/service communication {Tc,s}Ks: encrypted ticket for service Ac: authentication info
24
User name Address of workstation Time stamp Lifetime of the ticket Address of the host running the requested service Session key for client/server communication
User name Address of workstation Time stamp
25
26
27
Chapter 8, Security Security System Components (from pp. 488) Logon (from pp. 536)
28