Lab 05 — Windows Security
Windows systems are deeply integrated into enterprise environments.
They may function as:
Employee Workstations
Administrative Workstations
Servers
Jump Hosts
Application Servers
Domain-Joined Systems
Cloud Virtual MachinesSecuring Windows therefore requires more than installing antivirus.
A secure Windows system combines:
Identity
Authentication
Privilege
Configuration
Endpoint Protection
Network Security
Encryption
Logging
Monitoring
HardeningIn this lab, you will perform a structured Windows security assessment and convert technical observations into professional security findings.
Mission Information
Section titled “Mission Information”Lab: Windows Security
Level: Beginner → Intermediate
Estimated Time: 180–240 minutes
Environment: Authorized Windows 10/11 or Windows Server lab
Primary Role: Windows Security Engineer
Supporting Roles: SOC Analyst, Incident Responder, Security Consultant, Endpoint Engineer, Microsoft Security Engineer
Mission Scenario
Section titled “Mission Scenario”Your security team has been asked to review a Windows system before it is approved for enterprise use.
The system may contain:
Local Users
Administrative Accounts
Security Policies
Applications
Services
Network Listeners
Scheduled Tasks
PowerShell
Security Logs
Microsoft Defender
Windows Firewall
BitLockerYour mission is to answer:
Who Can Access the System?
Who Has Administrative Rights?
How Is Authentication Protected?
Which Services Are Exposed?
Are Security Controls Active?
Can Important Activity Be Audited?
Are Persistence Mechanisms Controlled?
Does the System Meet the Security Baseline?Learning Objectives
Section titled “Learning Objectives”By completing this lab, you should be able to:
- Identify Windows system information
- Review local users and groups
- Review local administrator access
- Understand local security policy
- Review authentication settings
- Review user rights assignments
- Review Microsoft Defender
- Review Windows Firewall
- Review BitLocker
- Review audit policy
- Understand PowerShell security
- Review running services
- Review network exposure
- Review startup mechanisms
- Review scheduled tasks
- Understand common persistence locations
- Review Windows security logs
- Identify security misconfigurations
- Create remediation recommendations
- Validate changes
- Build a professional Windows security report
Windows Security Mental Model
Section titled “Windows Security Mental Model”Think:
SYSTEM ↓IDENTITY ↓AUTHENTICATION ↓PRIVILEGE ↓SECURITY POLICY ↓PROTECTION ↓NETWORK ↓APPLICATIONS ↓PERSISTENCE ↓LOGGING ↓MONITORINGLab Architecture
Section titled “Lab Architecture” WINDOWS SYSTEM | +----------------+----------------+ | | | v v v Identity Security Services | Controls | | | | +----------------+----------------+ | v Applications | v Network Access | v Security LoggingPart 01 — Prepare the Lab
Section titled “Part 01 — Prepare the Lab”Create a dedicated workspace:
New-Item -ItemType Directory -Path C:\WindowsSecurityLab -ForceCreate:
New-Item -ItemType Directory -Path C:\WindowsSecurityLab\Baseline -ForceNew-Item -ItemType Directory -Path C:\WindowsSecurityLab\Evidence -ForceNew-Item -ItemType Directory -Path C:\WindowsSecurityLab\Findings -ForceNew-Item -ItemType Directory -Path C:\WindowsSecurityLab\Reports -ForceYour workspace becomes:
C:\WindowsSecurityLab├── Baseline├── Evidence├── Findings└── ReportsPart 02 — Record Assessment Context
Section titled “Part 02 — Record Assessment Context”Document:
Hostname:
System Owner:
Business Role:
Operating System:
Environment:
Domain / Workgroup:
Assessment Date:
Assessor:Security Principle
Section titled “Security Principle”Before assessing configuration, understand:
WHAT IS THIS SYSTEM?A domain controller, finance workstation, kiosk, and development server should not automatically have identical security requirements.
Part 03 — Identify the System
Section titled “Part 03 — Identify the System”Run:
hostnameThen:
Get-ComputerInfo |Select-Object CsName,WindowsProductName,WindowsVersion,OsBuildNumber,OsArchitectureSave evidence:
Get-ComputerInfo |Out-File C:\WindowsSecurityLab\Baseline\ComputerInfo.txtPart 04 — Review System Uptime
Section titled “Part 04 — Review System Uptime”Run:
Get-CimInstance Win32_OperatingSystem |Select-Object LastBootUpTimeLong uptime may indicate:
Pending Reboots
Missed Maintenance
Delayed Patchingbut should always be interpreted in context.
Part 05 — Review Domain Membership
Section titled “Part 05 — Review Domain Membership”Run:
Get-CimInstance Win32_ComputerSystem |Select-Object Name,Domain,PartOfDomainDocument whether the system is:
Workgroup
Active Directory Domain Joined
Cloud Managed
Hybrid ManagedPart 06 — Review Current User
Section titled “Part 06 — Review Current User”Run:
whoamiThen:
whoami /groupsThis identifies:
Current Identity
Group Membership
Security ContextPart 07 — Review Local Users
Section titled “Part 07 — Review Local Users”Run:
Get-LocalUserReview:
Name
Enabled
Description
LastLogon
PasswordRequiredwhere available.
Security Questions
Section titled “Security Questions”For every local account ask:
Who Owns It?
Why Does It Exist?
Is It Enabled?
Does It Need Interactive Access?
Is It Administrative?Part 08 — Identify Dormant Local Accounts
Section titled “Part 08 — Identify Dormant Local Accounts”Create a review list:
Get-LocalUser |Select-Object Name,Enabled,LastLogonPotential issues include:
Old Support Account
Unused Local Admin
Former Employee Account
Temporary Account Left EnabledFinding Example
Section titled “Finding Example”Finding:Dormant Local Account Remains Enabled
Observation:A local identity with no current documentedbusiness use remains enabled.
Risk:Unused identities increase the availablecredential attack surface.
Recommendation:Validate business ownership and disable orremove unused local accounts through theapproved access lifecycle.Part 09 — Review Local Groups
Section titled “Part 09 — Review Local Groups”Run:
Get-LocalGroupIdentify groups relevant to:
Administration
Remote Access
Backup
Event Log Access
Remote ManagementPart 10 — Review Local Administrators
Section titled “Part 10 — Review Local Administrators”Run:
Get-LocalGroupMember -Group "Administrators"Document:
| Member | Source | Type | Required | Review |
|---|---|---|---|---|
| Administrator | Local | User | Review | |
| Admin-A | Domain | User | Yes | |
| SupportGroup | Domain | Group | Review |
Part 11 — Assess Least Privilege
Section titled “Part 11 — Assess Least Privilege”For each administrator ask:
Does This Identity Need Administrator Access?
Is It Permanent?
Could a Standard User Account Work?
Could Elevation Be Temporary?
Is Activity Audited?Finding Example
Section titled “Finding Example”Finding:Excessive Local Administrative Privilege
Observation:A standard user has permanent membershipin the local Administrators group withouta documented technical requirement.
Risk:User or credential compromise may result inelevated control of the Windows system.
Recommendation:Remove permanent local administrator accessand use approved privilege-elevationmechanisms where administrative activity isrequired.Part 12 — Review Built-In Administrator Use
Section titled “Part 12 — Review Built-In Administrator Use”The built-in Administrator account should be understood and controlled according to the organization’s security baseline.
Review:
Enabled State
Usage
Remote Access
Password Management
MonitoringSecurity Principle
Section titled “Security Principle”Do not rely on:
Account Renaming Aloneas a security control.
Focus on:
Access
Authentication
Usage
MonitoringPart 13 — Windows LAPS Concept
Section titled “Part 13 — Windows LAPS Concept”Organizations can use Windows Local Administrator Password Solution capabilities to help manage local administrator credentials.
The security objective is:
UNIQUE LOCAL ADMIN PASSWORD +CONTROLLED STORAGE +AUTHORIZED RETRIEVAL +ROTATIONinstead of:
Same Local Admin PasswordAcross Every EndpointSecurity Risk
Section titled “Security Risk”Password reuse across systems can significantly increase the impact of credential compromise.
Part 14 — Review Local Security Policy
Section titled “Part 14 — Review Local Security Policy”Open the approved Local Security Policy interface where available:
secpol.mscReview areas such as:
Account Policies
Local Policies
Audit Policy
User Rights Assignment
Security OptionsImportant
Section titled “Important”Do not modify production-like security settings simply for experimentation.
Use the lab environment and document:
Current State
Expected State
Proposed ChangePart 15 — Password Policy
Section titled “Part 15 — Password Policy”Review concepts such as:
Password Length
Password History
Password Requirements
Password AgeSecurity design should reflect the organization’s current authentication strategy.
Security Principle
Section titled “Security Principle”Password controls should work together with:
MFA
Account Lockout
Credential Protection
MonitoringPart 16 — Account Lockout Policy
Section titled “Part 16 — Account Lockout Policy”Review:
Lockout Threshold
Lockout Duration
Reset CounterSecurity Trade-Off
Section titled “Security Trade-Off”Too weak:
Repeated Password GuessingToo aggressive:
Unnecessary User Lockouts+Potential Denial of ServicePart 17 — Review User Rights Assignment
Section titled “Part 17 — Review User Rights Assignment”Windows can grant specific rights to users and groups.
Review permissions such as:
Log On Locally
Log On Through Remote Desktop Services
Access This Computer from the Network
Back Up Files and Directories
Debug Programs
Shut Down the System
Log On as a ServiceSecurity Question
Section titled “Security Question”Ask:
Who Has This Right?
Why?
Is It Required?Part 18 — High-Impact User Rights
Section titled “Part 18 — High-Impact User Rights”Some user rights can provide significant capability.
For sensitive assignments, document:
Assigned Identity
Business Reason
System Scope
Review DateFinding Example
Section titled “Finding Example”Finding:Excessive User Rights Assignment
Observation:A user or group is granted a sensitivelocal user right not required for itsdocumented responsibilities.
Risk:The assignment may enable actions beyondthe intended security role.
Recommendation:Remove unnecessary rights and align userrights with the approved least-privilegebaseline.Part 19 — Review Remote Desktop Access
Section titled “Part 19 — Review Remote Desktop Access”Review local membership:
Get-LocalGroupMember -Group "Remote Desktop Users"Then ask:
Who Can Connect?
Does the System Need RDP?
Is Network Access Restricted?
Are Administrators Using It?
Is Authentication Strong?Part 20 — Review RDP Exposure
Section titled “Part 20 — Review RDP Exposure”Check whether the system is listening for remote desktop connectivity where applicable.
Run:
Get-NetTCPConnection -State Listen |Select-Object LocalAddress,LocalPort,OwningProcessDo not assume:
Port Listening=Internet ExposedActual reachability also depends on:
Windows Firewall
Network Firewall
Cloud Security Rules
RoutingPart 21 — Microsoft Defender Antivirus
Section titled “Part 21 — Microsoft Defender Antivirus”Review:
Get-MpComputerStatusFocus on:
AntivirusEnabled
RealTimeProtectionEnabled
BehaviorMonitorEnabled
AntivirusSignatureLastUpdatedSave:
Get-MpComputerStatus |Out-File C:\WindowsSecurityLab\Evidence\DefenderStatus.txtPart 22 — Review Defender Configuration
Section titled “Part 22 — Review Defender Configuration”Run:
Get-MpPreferenceReview security-relevant areas including:
Exclusions
Cloud Protection
Scanning Configuration
Protection Settingsdepending on the environment.
Part 23 — Defender Exclusions
Section titled “Part 23 — Defender Exclusions”Broad exclusions may weaken security.
Review:
Excluded Paths
Processes
ExtensionsAsk:
Who Requested It?
Which Application Requires It?
Can It Be Narrower?
Is It Still Needed?Finding Example
Section titled “Finding Example”Finding:Overly Broad Defender Exclusion
Observation:Endpoint protection excludes a filesystemlocation broader than required by thedocumented application dependency.
Risk:Malicious files in the excluded locationmay receive reduced protection.
Recommendation:Reduce the exclusion to the minimumsupported scope and periodically review itsbusiness requirement.Part 24 — Windows Firewall
Section titled “Part 24 — Windows Firewall”Review:
Get-NetFirewallProfileCheck:
Domain
Private
PublicExpected Security Question
Section titled “Expected Security Question”Are Required Firewall Profiles Enabled?Save evidence:
Get-NetFirewallProfile |Out-File C:\WindowsSecurityLab\Evidence\FirewallProfiles.txtPart 25 — Review Enabled Inbound Rules
Section titled “Part 25 — Review Enabled Inbound Rules”Run:
Get-NetFirewallRule |Where-Object {$_.Enabled -eq "True" -and $_.Direction -eq "Inbound"} |Select-Object DisplayName,Action,ProfileAsk:
Which Application Needs the Rule?
What Port Is Used?
Which Profile?
What Source Scope?
Is the Rule Still Required?Part 26 — Review Network Listeners
Section titled “Part 26 — Review Network Listeners”Run:
Get-NetTCPConnection -State Listen |Select-Object LocalAddress,LocalPort,OwningProcessUse:
PORT ↓PROCESS ↓SERVICE ↓APPLICATION ↓BUSINESS REQUIREMENTPart 27 — Map Process to Listener
Section titled “Part 27 — Map Process to Listener”For a selected PID:
Get-Process -Id <PID>Document unexpected listeners rather than automatically calling them vulnerabilities.
Finding Example
Section titled “Finding Example”Finding:Unnecessary Listening Service
Observation:A service listens on a network port despitehaving no documented business requirementon the assessed system.
Risk:The service increases network attacksurface and may expose additional softwareto remote interaction.
Recommendation:Validate the service requirement anddisable or restrict unnecessary networklisteners.Part 28 — BitLocker
Section titled “Part 28 — BitLocker”Review:
Get-BitLockerVolumeFocus on:
VolumeStatus
ProtectionStatus
EncryptionPercentage
KeyProtectorSecurity Objective
Section titled “Security Objective”Protect:
DATA AT RESTif the system or storage media is lost.
Part 29 — BitLocker Recovery
Section titled “Part 29 — BitLocker Recovery”Verify that recovery processes are:
Documented
Secure
Controlled
AuditableEncryption without a sound recovery process can create operational problems.
Finding Example
Section titled “Finding Example”Finding:System Drive Not Protected by Full-DiskEncryption
Observation:The Windows operating-system volume doesnot meet the organization's required diskencryption baseline.
Risk:Physical loss or theft of the device couldexpose locally stored corporate data.
Recommendation:Enable approved full-disk encryption andsecurely manage recovery information.Part 30 — Review TPM
Section titled “Part 30 — Review TPM”Run where applicable:
Get-TpmReview:
TpmPresent
TpmReady
TpmEnabledTPM capabilities can support:
BitLocker
Credential Protection
Device Trust
Windows HelloPart 31 — Review Installed Updates
Section titled “Part 31 — Review Installed Updates”Run:
Get-HotFix |Sort-Object InstalledOn -DescendingRemember:
Get-HotFixis useful evidence but is not a complete vulnerability-management solution.
Patch Review Questions
Section titled “Patch Review Questions”Is the OS Supported?
When Were Updates Last Applied?
Are Security Updates Managed?
Are Reboots Pending?
Were Any Updates Repeatedly Delayed?Part 32 — Review Installed Applications
Section titled “Part 32 — Review Installed Applications”Use approved inventory sources to identify software.
For each application ask:
Is It Approved?
Is It Required?
Is It Supported?
Is It Current?
Who Owns It?Part 33 — Attack Surface Reduction
Section titled “Part 33 — Attack Surface Reduction”Every unnecessary application or component adds:
Code
Dependencies
Services
Potential VulnerabilitiesReduce unnecessary software where business requirements allow.
Part 34 — Review Services
Section titled “Part 34 — Review Services”Run:
Get-ServiceReview active services:
Get-Service |Where-Object {$_.Status -eq "Running"}Ask:
What Does It Do?
Does It Need to Run?
What Account Runs It?
Does It Listen on the Network?
Does It Start Automatically?Part 35 — Review Service Configuration
Section titled “Part 35 — Review Service Configuration”Use appropriate Windows administrative tooling to examine selected services.
Security-relevant fields include:
Service Name
Startup Type
Executable
Service Account
Business OwnerService Account Principle
Section titled “Service Account Principle”Avoid unnecessarily running applications as:
Highly Privileged Identitywhen:
Restricted Service Identitywould work.
Part 36 — Unquoted Service Path Concept
Section titled “Part 36 — Unquoted Service Path Concept”Security assessments may review service executable paths for insecure configuration.
The broader lesson is:
Service Configuration +Filesystem Permissions +Privilegemust be assessed together.
Do not treat a suspicious-looking path alone as proof of exploitability.
Part 37 — Review Scheduled Tasks
Section titled “Part 37 — Review Scheduled Tasks”Run:
Get-ScheduledTaskFocus on:
Custom Tasks
Unknown Tasks
Administrative Tasks
Tasks Running as Privileged UsersScheduled Task Review
Section titled “Scheduled Task Review”For each sensitive task identify:
Task Name
Trigger
Action
Run-As Identity
Executable / Script
OwnerPart 38 — Scheduled Task Security
Section titled “Part 38 — Scheduled Task Security”Potential risks include:
Unknown Script
Writable Script Location
Over-Privileged Run-As Account
Abandoned Task
Unexpected BinaryFinding Example
Section titled “Finding Example”Finding:Unmanaged Privileged Scheduled Task
Observation:A scheduled task runs with elevatedprivilege but has no documented technicalowner or current business purpose.
Risk:The task may provide unnecessary privilegedexecution or become difficult to monitorand maintain securely.
Recommendation:Validate ownership and necessity, reduceprivilege where possible, and removeobsolete scheduled tasks.Part 39 — Review Startup Applications
Section titled “Part 39 — Review Startup Applications”Run:
Get-CimInstance Win32_StartupCommandReview:
Name
Command
Location
UserPart 40 — Persistence Awareness
Section titled “Part 40 — Persistence Awareness”Common Windows persistence locations may include:
Startup Entries
Scheduled Tasks
Services
Registry Run Locations
User Startup FoldersSecurity analysts should be familiar with these because both:
Legitimate Softwareand:
Threat Actorsmay use them.
Part 41 — Review Registry Startup Locations
Section titled “Part 41 — Review Registry Startup Locations”In an authorized training environment, review relevant startup locations through approved Windows tooling.
The purpose is to determine:
What Executes Automatically?
Who Configured It?
Is It Expected?
Is Its File Location Protected?Part 42 — Persistence Does Not Mean Malware
Section titled “Part 42 — Persistence Does Not Mean Malware”Remember:
Auto-Start≠MaliciousMany legitimate applications use persistence mechanisms.
Assess:
Publisher
Path
Owner
Business Purpose
Creation Time
Security TelemetryPart 43 — Review Running Processes
Section titled “Part 43 — Review Running Processes”Run:
Get-ProcessA focused review:
Get-Process |Sort-Object CPU -Descending |Select-Object -First 20Process Analysis Model
Section titled “Process Analysis Model”PROCESS ↓PATH ↓USER ↓PARENT ↓NETWORK ↓BUSINESS PURPOSEPart 44 — Review PowerShell Version
Section titled “Part 44 — Review PowerShell Version”Run:
$PSVersionTableDocument the PowerShell environment used for administration.
Part 45 — PowerShell Security
Section titled “Part 45 — PowerShell Security”PowerShell is both:
A Powerful Administrative Tooland:
A Valuable Security Telemetry SourceSecurity controls may include:
Script Logging
Module Logging
Transcription
Constrained Administration
Code-Signing Policiesdepending on organizational design.
Part 46 — PowerShell Execution Policy
Section titled “Part 46 — PowerShell Execution Policy”Review:
Get-ExecutionPolicy -ListImportant
Section titled “Important”Execution Policy should not be treated as:
A Complete Security BoundaryIt is one layer in a broader PowerShell security strategy.
Part 47 — Review Script Locations
Section titled “Part 47 — Review Script Locations”If administrative scripts exist, assess:
Owner
Filesystem Permissions
Change Control
Source Control
Secrets
Execution ContextSecurity Risk
Section titled “Security Risk”A privileged task executing a script from a location writable by ordinary users can create security problems.
Part 48 — Review Windows Audit Policy
Section titled “Part 48 — Review Windows Audit Policy”Run:
auditpol /get /category:*Save:
auditpol /get /category:* |Out-File C:\WindowsSecurityLab\Evidence\AuditPolicy.txtAudit Areas
Section titled “Audit Areas”Review categories such as:
Account Logon
Account Management
Logon/Logoff
Object Access
Policy Change
Privilege Use
Process Tracking
SystemPart 49 — Audit Design Principle
Section titled “Part 49 — Audit Design Principle”Ask:
Which Events Matterfor This System's Threat Model?More logs are not automatically better if:
Nobody Monitors ThemPart 50 — Review Security Event Log
Section titled “Part 50 — Review Security Event Log”Run:
Get-WinEvent -LogName Security -MaxEvents 100Do not copy all events into your report.
Identify security-relevant activity.
Security Event Questions
Section titled “Security Event Questions”Who?
What?
When?
Where?
Result?
Privilege?
Context?Part 51 — Review Failed Logons
Section titled “Part 51 — Review Failed Logons”Look for patterns involving:
Repeated Failures
Unexpected Accounts
Remote Sources
Administrative Accounts
Unusual TimesImportant
Section titled “Important”Failed logons can result from:
User Error
Old Password
Service Configuration
Mapped Drive
Scheduled Task
Credential GuessingInvestigation requires context.
Part 52 — Review Successful Logons
Section titled “Part 52 — Review Successful Logons”Successful authentication can be more important than failures.
Review suspicious cases such as:
Unexpected Remote Access
Privileged Account Use
Unusual Hours
Unexpected Logon TypePart 53 — Review Account Changes
Section titled “Part 53 — Review Account Changes”Security monitoring should include:
Account Created
Account Enabled
Account Disabled
Password Changed
Group Membership ChangedPart 54 — Review Privilege Changes
Section titled “Part 54 — Review Privilege Changes”Investigate changes involving:
Administrators Group
Remote Desktop Users
Sensitive User Rights
Service AccountsPart 55 — Review Process Creation Logging
Section titled “Part 55 — Review Process Creation Logging”Where appropriately configured, process creation events can help answer:
Which Program Ran?
Which User Ran It?
When?
What Command Was Used?This can significantly improve incident investigation.
Part 56 — Review Windows Defender Events
Section titled “Part 56 — Review Windows Defender Events”Windows Defender-related logs can help identify:
Detection
Remediation
Protection Changes
Configuration EventsUse Event Viewer or approved PowerShell log access.
Part 57 — Review System Events
Section titled “Part 57 — Review System Events”The System log may help identify:
Service Changes
Driver Problems
Startup Events
Shutdown Events
System FailuresPart 58 — Review Application Events
Section titled “Part 58 — Review Application Events”Application logs can help correlate:
Security Event +Application Behaviorduring troubleshooting or investigation.
Part 59 — Time Synchronization
Section titled “Part 59 — Time Synchronization”Accurate time is essential for:
Authentication
Logging
Forensics
Incident TimelinesReview:
w32tm /query /statusSecurity Principle
Section titled “Security Principle”Poor time synchronization can make event correlation significantly harder.
Part 60 — Review Network Configuration
Section titled “Part 60 — Review Network Configuration”Run:
Get-NetIPConfigurationReview:
IP Addresses
DNS Servers
Gateway
InterfacePart 61 — Review DNS
Section titled “Part 61 — Review DNS”Run:
Get-DnsClientServerAddressUnexpected DNS configuration can cause:
Authentication Problems
Name Resolution Problems
Security Monitoring ConcernsPart 62 — Review Routes
Section titled “Part 62 — Review Routes”Run:
Get-NetRouteUnderstand:
Default Route
Local Networks
Unexpected RoutesPart 63 — Review Established Connections
Section titled “Part 63 — Review Established Connections”Run:
Get-NetTCPConnection |Where-Object {$_.State -eq "Established"}Correlate:
Destination
Port
Owning Process
Business FunctionPart 64 — Windows Security Baseline
Section titled “Part 64 — Windows Security Baseline”Create an expected-state matrix.
| Control | Expected State |
|---|---|
| Supported OS | Yes |
| Security Updates | Current |
| Local Admin | Restricted |
| Defender | Enabled |
| Firewall | Enabled |
| Disk Encryption | Enabled |
| Audit | Enabled |
| Unnecessary Services | Disabled |
| Time Sync | Healthy |
| Logging | Available |
Part 65 — Compare Baseline to Actual State
Section titled “Part 65 — Compare Baseline to Actual State”Example:
| Control | Expected | Actual | Result |
|---|---|---|---|
| Local Admin | Restricted | Broad | Fail |
| Defender | Enabled | Enabled | Pass |
| Firewall | Enabled | Enabled | Pass |
| BitLocker | Enabled | Disabled | Fail |
| Audit Policy | Baseline | Partial | Review |
| Updates | Current | Delayed | Fail |
Part 66 — Prioritize Windows Findings
Section titled “Part 66 — Prioritize Windows Findings”Consider:
Privilege
Network Exposure
Data Sensitivity
Likelihood
Business Impact
Ease of Abuse
Existing ControlsHigh-Risk Example
Section titled “High-Risk Example”Permanent Local Admin +Unpatched System +Weak Monitoring +Sensitive Data ↓High PriorityPart 67 — Finding: Local Admin
Section titled “Part 67 — Finding: Local Admin”Finding:Excessive Local Administrative Access
Observation:A standard user retains permanent localadministrator rights without an approvedbusiness requirement.
Risk:Credential compromise or malicious coderunning in the user's context may gainelevated control over the endpoint.
Recommendation:Remove unnecessary permanent privilege andprovide controlled administrativeelevation where required.Part 68 — Finding: Firewall Gap
Section titled “Part 68 — Finding: Firewall Gap”Finding:Required Windows Firewall Profile Disabled
Observation:A network firewall profile required by theorganization's endpoint baseline isdisabled.
Risk:The system may accept network traffic notpermitted by the approved host-securitypolicy.
Recommendation:Enable the required firewall profile andvalidate necessary business applicationrules.Part 69 — Finding: Encryption Gap
Section titled “Part 69 — Finding: Encryption Gap”Finding:System Volume Not Encrypted
Observation:The Windows operating-system volume is notprotected by the organization's approvedfull-disk encryption control.
Risk:Loss or theft of the device may exposelocally stored business data.
Recommendation:Enable approved disk encryption andsecurely manage recovery information.Part 70 — Finding: Logging Gap
Section titled “Part 70 — Finding: Logging Gap”Finding:Insufficient Windows Security Auditing
Observation:The endpoint does not record all securityevents required by the approved auditbaseline.
Risk:Security incidents may be more difficult todetect, investigate, and reconstruct.
Recommendation:Apply the approved Windows audit policy,validate event generation, and integraterequired logs with centralized monitoring.Part 71 — Finding: Unnecessary Service
Section titled “Part 71 — Finding: Unnecessary Service”Finding:Unnecessary Windows Service Enabled
Observation:A service remains active despite having nodocumented business dependency.
Risk:Unnecessary services increase system attacksurface and administrative complexity.
Recommendation:Validate the service requirement anddisable unnecessary components throughapproved change management.Part 72 — Finding: Unmanaged Scheduled Task
Section titled “Part 72 — Finding: Unmanaged Scheduled Task”Finding:Unmanaged Privileged Scheduled Task
Observation:A scheduled task executes with elevatedrights but lacks a documented owner orcurrent business requirement.
Risk:The task may provide unnecessary privilegedexecution or become a persistence andmaintenance risk.
Recommendation:Validate ownership, inspect the executedcontent, reduce privilege where possible,and remove obsolete tasks.Part 73 — Remediation Workflow
Section titled “Part 73 — Remediation Workflow”For each finding use:
IDENTIFY ↓VALIDATE ↓ASSESS IMPACT ↓BACKUP / ROLLBACK ↓CHANGE ↓TEST ↓MONITOR ↓DOCUMENTPart 74 — Do Not Harden Blindly
Section titled “Part 74 — Do Not Harden Blindly”A security setting can break:
Legacy Applications
Authentication
Remote Administration
Business ServicesTherefore apply:
TEST ↓PILOT ↓DEPLOY ↓VALIDATEPart 75 — Validate Local Administrator Changes
Section titled “Part 75 — Validate Local Administrator Changes”After approved remediation:
Get-LocalGroupMember -Group "Administrators"Compare:
Before
AfterPart 76 — Validate Defender
Section titled “Part 76 — Validate Defender”Run:
Get-MpComputerStatusConfirm the required protection state.
Part 77 — Validate Firewall
Section titled “Part 77 — Validate Firewall”Run:
Get-NetFirewallProfileConfirm expected profiles are enabled.
Part 78 — Validate BitLocker
Section titled “Part 78 — Validate BitLocker”Run:
Get-BitLockerVolumeConfirm protection state where remediation was performed.
Part 79 — Validate Services
Section titled “Part 79 — Validate Services”Run:
Get-ServiceConfirm unnecessary services were removed or disabled only through approved change procedures.
Part 80 — Validate Audit Policy
Section titled “Part 80 — Validate Audit Policy”Run:
auditpol /get /category:*Compare against the approved baseline.
Part 81 — Negative Testing
Section titled “Part 81 — Negative Testing”In an authorized disposable lab, confirm security restrictions actually work.
Examples:
Standard UserCannot Perform Admin-Only Action
Unapproved Inbound ConnectionIs Blocked
Disabled AccountCannot Authenticate
Restricted UserCannot Use Unauthorized Remote AccessPart 82 — Build System Inventory
Section titled “Part 82 — Build System Inventory”Create:
| Item | Value |
|---|---|
| Hostname | |
| Owner | |
| OS | |
| Build | |
| Domain | |
| Business Role | |
| Assessment Date |
Part 83 — Build Local Account Matrix
Section titled “Part 83 — Build Local Account Matrix”| Account | Enabled | Admin | Owner | Required |
|---|---|---|---|---|
| User-A | Yes | No | Business | Yes |
| Admin-A | Yes | Yes | IT | Yes |
| OldSupport | Yes | Yes | Unknown | No |
Part 84 — Build Security Control Matrix
Section titled “Part 84 — Build Security Control Matrix”| Control | Expected | Actual | Status |
|---|---|---|---|
| Defender | Enabled | ||
| Firewall | Enabled | ||
| BitLocker | Enabled | ||
| Audit | Baseline | ||
| Updates | Current | ||
| Local Admin | Restricted |
Part 85 — Build Service Matrix
Section titled “Part 85 — Build Service Matrix”| Service | State | Account | Network | Required |
|---|---|---|---|---|
| Service-A | Running | Local Service | No | Yes |
| Service-B | Running | System | Yes | Review |
Part 86 — Build Persistence Review Matrix
Section titled “Part 86 — Build Persistence Review Matrix”| Mechanism | Item | Owner | Expected | Action |
|---|---|---|---|---|
| Startup | App-A | IT | Yes | Keep |
| Scheduled Task | Task-B | Unknown | No | Review |
| Service | Service-C | App Team | Yes | Keep |
Part 87 — Build Network Exposure Matrix
Section titled “Part 87 — Build Network Exposure Matrix”| Port | Process | Service | Required | Firewall |
|---|---|---|---|---|
| Review | Process-A | Service-A | Yes/No | Review |
Part 88 — Windows Security Report
Section titled “Part 88 — Windows Security Report”Your final report should include:
1. Executive Summary
Section titled “1. Executive Summary”Document:
System Assessed
Business Role
Overall Security Posture
Highest-Risk Findings
Priority Actions2. System Information
Section titled “2. System Information”Document:
Hostname
Operating System
Build
Domain
Owner
Business Function3. Identity and Privilege
Section titled “3. Identity and Privilege”Include:
Local Users
Local Groups
Administrators
Remote Access
Sensitive User Rights4. Authentication
Section titled “4. Authentication”Document:
Password Policy
Lockout
Administrative Authentication
Credential Management5. Endpoint Protection
Section titled “5. Endpoint Protection”Document:
Defender State
Real-Time Protection
Exclusions
Protection Health6. Network Security
Section titled “6. Network Security”Document:
Firewall
Inbound Rules
Listening Ports
Established Connections
Network Configuration7. Encryption
Section titled “7. Encryption”Document:
BitLocker
TPM
Recovery Process8. Software and Services
Section titled “8. Software and Services”Document:
Installed Applications
Running Services
Service Accounts
Unnecessary Components9. Persistence Review
Section titled “9. Persistence Review”Document:
Startup Entries
Scheduled Tasks
Services
Other Auto-Start Mechanisms10. Logging and Auditing
Section titled “10. Logging and Auditing”Document:
Audit Policy
Security Events
Defender Logs
System Logs
Time Synchronization
Central Monitoring11. Findings
Section titled “11. Findings”For each:
Finding ID
Title
Severity
Observation
Evidence
Risk
Recommendation
Owner
Target Date
ValidationWindows Security Checklist
Section titled “Windows Security Checklist”System
Section titled “System”- Identified hostname
- Identified OS
- Identified build
- Identified owner
- Identified business role
- Reviewed domain membership
Accounts
Section titled “Accounts”- Reviewed local users
- Reviewed disabled users
- Reviewed dormant users
- Reviewed local groups
- Reviewed local administrators
- Reviewed built-in admin usage
Privilege
Section titled “Privilege”- Applied least-privilege review
- Reviewed sensitive user rights
- Reviewed remote desktop access
- Reviewed privilege separation
- Understood Windows LAPS concept
Authentication
Section titled “Authentication”- Reviewed password policy
- Reviewed lockout policy
- Reviewed administrative access
- Reviewed credential-management practices
Defender
Section titled “Defender”- Reviewed Defender status
- Reviewed real-time protection
- Reviewed security intelligence
- Reviewed exclusions
- Reviewed protection health
Firewall
Section titled “Firewall”- Reviewed all profiles
- Reviewed inbound rules
- Reviewed listeners
- Mapped ports to processes
- Reviewed network exposure
Encryption
Section titled “Encryption”- Reviewed BitLocker
- Reviewed system volume
- Reviewed recovery process
- Reviewed TPM
Patching
Section titled “Patching”- Reviewed OS support
- Reviewed installed updates
- Reviewed patch-management state
- Checked maintenance status
Applications
Section titled “Applications”- Reviewed installed software
- Reviewed application ownership
- Identified unnecessary applications
- Identified unsupported software
Services
Section titled “Services”- Reviewed running services
- Reviewed startup types
- Reviewed service identities
- Identified unnecessary services
- Correlated services with network ports
Persistence
Section titled “Persistence”- Reviewed startup commands
- Reviewed scheduled tasks
- Reviewed services
- Reviewed auto-start mechanisms
- Validated unknown entries
PowerShell
Section titled “PowerShell”- Reviewed PowerShell version
- Reviewed execution policy
- Understood logging controls
- Reviewed administrative scripts
- Reviewed script permissions
Logging
Section titled “Logging”- Reviewed audit policy
- Reviewed Security log
- Reviewed System log
- Reviewed Defender events
- Reviewed important account changes
- Reviewed privilege changes
- Reviewed time synchronization
Reporting
Section titled “Reporting”- Created system inventory
- Created local account matrix
- Created control matrix
- Created service matrix
- Created persistence matrix
- Created network exposure matrix
- Documented findings
- Validated remediation
- Produced final report
Common Windows Security Mistakes
Section titled “Common Windows Security Mistakes”Avoid:
Giving Users Permanent Local Admin
Reusing Local Admin Passwords
Disabling Firewall to Fix Applications
Creating Broad Defender Exclusions
Ignoring BitLocker
Ignoring Scheduled Tasks
Ignoring Startup Entries
Leaving Unnecessary Services Enabled
Ignoring Unsupported Software
Assuming Every Unknown Process Is Malware
Ignoring Security Logs
Collecting Logs Without Monitoring Them
Hardening Without Testing
Changing Production Security SettingsWithout Rollback PlanningWindows Security Maturity Model
Section titled “Windows Security Maturity Model”Level 1 — Basic
Section titled “Level 1 — Basic”Supported Windows
Patching
Antivirus
FirewallLevel 2 — Hardened
Section titled “Level 2 — Hardened”Disk Encryption
Least Privilege
Security Baseline
Service Reduction
Audit PolicyLevel 3 — Managed
Section titled “Level 3 — Managed”Central Endpoint Management
Credential Management
Security Telemetry
Configuration Enforcement
Compliance MonitoringLevel 4 — Enterprise Security
Section titled “Level 4 — Enterprise Security”EDR / XDR
Privileged Access Management
Automated Detection
Continuous Hardening
Centralized Incident ResponseCareer Connection
Section titled “Career Connection”This lab directly supports:
Windows Security Engineer
Endpoint Security Engineer
Microsoft Security Engineer
SOC Analyst
Incident Responder
Security Consultant
Windows Administrator
Cloud Security EngineerInterview Scenario 01
Section titled “Interview Scenario 01”Why is local administrator access a security risk?
Because it may allow:
Software Installation
Security Control Modification
Credential Access
Persistence
System-Wide ChangesInterview Scenario 02
Section titled “Interview Scenario 02”What is Windows LAPS intended to improve?
It helps organizations manage local administrator passwords so systems do not rely on the same unmanaged local credential across many devices.
Interview Scenario 03
Section titled “Interview Scenario 03”Why should Windows services be reviewed?
Because services can:
Run Automatically
Use Privileged Accounts
Listen on the Network
Increase Attack SurfaceInterview Scenario 04
Section titled “Interview Scenario 04”What is the difference between logging and monitoring?
Logging=Recording EventsMonitoring=Analyzing Eventsfor Security-Relevant ActivityInterview Scenario 05
Section titled “Interview Scenario 05”How would you investigate an unknown Windows startup item?
Review:
Name
Executable Path
Publisher
Owner
User
Creation Context
Business Purpose
Security Telemetrybefore determining whether it is legitimate or suspicious.
40 Windows Security Interview Questions
Section titled “40 Windows Security Interview Questions”- What is Windows security?
- Why should Windows systems use a security baseline?
- What is least privilege?
- Why are local administrators risky?
- What is Windows LAPS?
- Why is local administrator password reuse dangerous?
- What is Local Security Policy?
- What are user rights assignments?
- What is account lockout?
- Why should RDP access be restricted?
- What is Microsoft Defender Antivirus?
- What is real-time protection?
- Why are Defender exclusions important to review?
- What is Windows Firewall?
- What are firewall profiles?
- How do you identify listening ports?
- How do you map a port to a process?
- What is BitLocker?
- Why is BitLocker recovery important?
- What is TPM?
- Why is Windows patching important?
- What is attack-surface reduction?
- Why should unnecessary applications be removed?
- Why should unnecessary services be disabled?
- What is a Windows service account?
- What is a scheduled task?
- Why are scheduled tasks security relevant?
- What are startup entries?
- What is persistence?
- Does persistence automatically mean malware?
- Why is PowerShell important for security?
- Is PowerShell Execution Policy a complete security control?
- What is Windows audit policy?
- Why are Windows Security logs important?
- What information is useful in process-creation logging?
- Why is time synchronization important?
- How would you investigate repeated failed logons?
- How would you review Windows remote access?
- How would you validate Windows hardening changes?
- How would you perform a Windows security assessment?
Final Windows Security Mental Model
Section titled “Final Windows Security Mental Model”When assessing Windows, ask:
WHAT SYSTEM IS THIS? ↓WHO CAN LOG IN? ↓WHO IS ADMIN? ↓HOW IS AUTHENTICATION CONTROLLED? ↓IS THE OS SUPPORTED? ↓IS IT PATCHED? ↓IS DEFENDER ACTIVE? ↓IS THE FIREWALL ACTIVE? ↓IS THE DISK ENCRYPTED? ↓WHAT SOFTWARE EXISTS? ↓WHAT SERVICES RUN? ↓WHAT PORTS LISTEN? ↓WHAT STARTS AUTOMATICALLY? ↓WHAT IS AUDITED? ↓CAN SECURITY EVENTS BE INVESTIGATED?Mission Accomplished
Section titled “Mission Accomplished”You have now completed the Microsoft security lab sequence:
Lab 01 — Active Directory ↓Lab 02 — Endpoint Security ↓Lab 03 — Identity Security ↓Lab 04 — Microsoft 365 Security ↓Lab 05 — Windows SecurityAcross these labs, you have worked through:
Active Directory
Endpoint Security
Cloud Identity
Microsoft 365
Windows Host SecurityThe key lesson from this final lab is:
Windows SecurityIs Not a Single Settingor Security ProductIt is the coordinated protection of:
IDENTITY +AUTHENTICATION +PRIVILEGE +CONFIGURATION +ENDPOINT PROTECTION +NETWORK +DATA +LOGGING +MONITORINGWhat’s Next?
Section titled “What’s Next?”➡️ Runbook 01 — Active Directory Assessment
You will now move from guided labs into repeatable professional security procedures.
The first runbook will provide a structured methodology for assessing an enterprise Active Directory environment.
You will work through:
Assessment Preparation ↓Domain Discovery ↓Domain Controller Review ↓User Assessment ↓Privileged Group Review ↓Service Account Review ↓Computer Review ↓OU and Delegation Review ↓Group Policy Review ↓Authentication Review ↓Logging and Monitoring ↓Risk Prioritization ↓Remediation ↓Retesting ↓Final Security ReportYour Microsoft runbook sequence begins:
Runbook 01 — Active Directory Assessment ↓Runbook 02 — Microsoft 365 Security Review ↓Runbook 03 — Windows Security Assessment