Lab 02 — Endpoint Security
Endpoints are where users interact with:
Email
Applications
Corporate Data
Cloud Services
Credentials
Business SystemsThat makes endpoints one of the most important security layers in an enterprise.
In the previous lab, you worked with:
Active Directory ↓Users ↓Groups ↓Authentication ↓PrivilegeNow you will move to the device itself.
Your security question becomes:
Is This EndpointSecure Enoughto Access Corporate Resources?Mission Information
Section titled “Mission Information”Lab: Endpoint Security
Level: Beginner → Intermediate
Estimated Time: 150–210 minutes
Environment: Authorized Windows 10/11 or Windows Server lab system
Primary Role: Endpoint Security Engineer
Supporting Roles: Windows Administrator, SOC Analyst, Microsoft Security Engineer, Incident Responder, IAM Engineer
Mission Scenario
Section titled “Mission Scenario”Your organization has deployed a Windows workstation for an employee.
Before allowing the device to access sensitive corporate applications, the security team wants it reviewed.
You have been asked to assess:
Device Identity
Operating System
Users
Local Administrators
Security Updates
Microsoft Defender
Windows Firewall
Disk Encryption
Applications
Services
Network Exposure
Security Logs
Device ComplianceYour goal is to determine:
What Is Secure?
What Is Misconfigured?
What Is Missing?
What Is Over-Privileged?
What Should Be Fixed First?Learning Objectives
Section titled “Learning Objectives”By completing this lab, you should be able to:
- Identify Windows endpoint information
- Review device identity
- Review local users
- Review local administrators
- Understand least privilege
- Review Microsoft Defender Antivirus
- Review Windows Firewall
- Review BitLocker status
- Review operating-system updates
- Review installed applications
- Review running services
- Review listening network ports
- Review security-related Windows events
- Understand endpoint compliance
- Understand device-management relationships
- Identify common endpoint-security gaps
- Create remediation recommendations
- Produce a professional endpoint-security report
Endpoint Security Mental Model
Section titled “Endpoint Security Mental Model”Think:
IDENTITY ↓DEVICE ↓CONFIGURATION ↓PRIVILEGE ↓APPLICATIONS ↓NETWORK ↓SECURITY CONTROLS ↓LOGGING ↓MONITORINGLab Architecture
Section titled “Lab Architecture” USER | v +----------------+ | Windows Device | +--------+-------+ | +-------------+-------------+ | | | v v v Identity Security Applications | Controls | | | | +-------------+--------------+ | v Corporate Data | v Cloud / Enterprise ResourcesPart 01 — Prepare the Lab
Section titled “Part 01 — Prepare the Lab”Create a workspace in PowerShell:
New-Item -ItemType Directory -Path C:\EndpointSecurityLab -ForceCreate subdirectories:
New-Item -ItemType Directory -Path C:\EndpointSecurityLab\Baseline -ForceNew-Item -ItemType Directory -Path C:\EndpointSecurityLab\Evidence -ForceNew-Item -ItemType Directory -Path C:\EndpointSecurityLab\Findings -ForceNew-Item -ItemType Directory -Path C:\EndpointSecurityLab\Reports -ForceYour structure becomes:
C:\EndpointSecurityLab├── Baseline├── Evidence├── Findings└── ReportsPart 02 — Identify the Device
Section titled “Part 02 — Identify the Device”Start with:
hostnameThen:
Get-ComputerInfoFor a focused view:
Get-ComputerInfo |Select-Object CsName,WindowsProductName,WindowsVersion,OsBuildNumber,OsArchitectureRecord:
Hostname
Operating System
Version
Build
ArchitectureWhy Asset Identification Matters
Section titled “Why Asset Identification Matters”You cannot secure an endpoint properly without knowing:
What Device Is This?
Which OS?
Which Version?
Who Owns It?
What Is Its Business Role?Part 03 — Capture Baseline
Section titled “Part 03 — Capture Baseline”Save device information:
Get-ComputerInfo |Out-File C:\EndpointSecurityLab\Baseline\ComputerInfo.txtCapture time:
Get-Date |Out-File C:\EndpointSecurityLab\Baseline\AssessmentTime.txtBaseline Principle
Section titled “Baseline Principle”You need:
BEFOREto compare with:
AFTERif remediation is later performed.
Part 04 — Determine Device Ownership and Purpose
Section titled “Part 04 — Determine Device Ownership and Purpose”Document:
Device Owner:
Department:
Business Function:
Corporate / Personal:
Managed / Unmanaged:
Production / Lab:
Data Sensitivity:Security Question
Section titled “Security Question”A finance laptop and a public kiosk should not automatically receive identical security requirements.
Use:
ASSET ROLE +DATA SENSITIVITY +THREAT MODELPart 05 — Review Current Identity
Section titled “Part 05 — Review Current Identity”Run:
whoamiThen:
whoami /groupsThis helps identify:
Current User
Group Membership
Security ContextPart 06 — Review Local Users
Section titled “Part 06 — Review Local Users”Run:
Get-LocalUserReview:
Name
Enabled
Description
Last Logonwhere available.
Local Account Questions
Section titled “Local Account Questions”For each account ask:
Who Owns It?
Why Does It Exist?
Is It Enabled?
Does It Need Interactive Login?
Does It Have Administrative Access?Part 07 — Identify Disabled and Unused Accounts
Section titled “Part 07 — Identify Disabled and Unused Accounts”Run:
Get-LocalUser |Select-Object Name,Enabled,LastLogonPotential issues include:
Unused Enabled Accounts
Old Support Accounts
Shared Accounts
Default Accounts Improperly UsedFinding Example
Section titled “Finding Example”Finding:Unused Local Account Remains Enabled
Observation:A local account remains enabled despitehaving no current documented business use.
Risk:Unused identities increase the number ofcredentials that may be abused.
Recommendation:Validate account ownership and disable orremove unused access through the approvedendpoint lifecycle process.Part 08 — Review Local Administrators
Section titled “Part 08 — Review Local Administrators”Run:
Get-LocalGroupMember -Group "Administrators"Document:
Member
Source
Account Type
Business RequirementWhy Local Administrator Matters
Section titled “Why Local Administrator Matters”A local administrator may be able to:
Install Software
Create Accounts
Change Security Settings
Disable Controls
Access Sensitive DataSecurity Principle
Section titled “Security Principle”Prefer:
Standard User ↓Approved Elevation ↓Required Administrative Taskinstead of:
Every User ↓Permanent Local AdministratorPart 09 — Evaluate Least Privilege
Section titled “Part 09 — Evaluate Least Privilege”For each administrator ask:
Does This Identity Need Local Admin?
Is It Permanent?
Can Elevation Be Temporary?
Is Administrative Activity Logged?
Is Access Reviewed?Finding Example
Section titled “Finding Example”Finding:Excessive Local Administrator Membership
Observation:A standard business user has permanentmembership in the local Administratorsgroup without a documented requirement.
Risk:Malware, credential compromise, or usererror may gain elevated control of theendpoint.
Recommendation:Remove unnecessary permanent localadministrator rights and use controlledelevation for approved administrativetasks.Part 10 — Review Device Join State
Section titled “Part 10 — Review Device Join State”Run:
dsregcmd /statusReview relevant areas such as:
Domain Join
Microsoft Entra Join
Device Identity
Tenant InformationDevice Relationship Model
Section titled “Device Relationship Model”A device may be:
Workgroup
Active Directory Domain Joined
Microsoft Entra Joined
Hybrid JoinedSecurity Significance
Section titled “Security Significance”Device identity can influence:
Management
Authentication
Compliance
Conditional Access
PolicyPart 11 — Review Domain Membership
Section titled “Part 11 — Review Domain Membership”Run:
Get-CimInstance Win32_ComputerSystem |Select-Object Name,Domain,PartOfDomainRecord:
Domain:
Domain Joined:
Workgroup:Part 12 — Review Operating-System Support
Section titled “Part 12 — Review Operating-System Support”Confirm the system is running:
Supported Windows Version
Supported Build
Approved Enterprise EditionUnsupported systems may lack:
Security Updates
Vendor Support
Modern Security FeaturesPart 13 — Review Windows Updates
Section titled “Part 13 — Review Windows Updates”Inspect update history using the approved Windows Update interface or management platform.
PowerShell environments may also expose relevant update information.
A simple installed-hotfix review can begin with:
Get-HotFix |Sort-Object InstalledOn -DescendingImportant
Section titled “Important”Get-HotFix is not a complete vulnerability-assessment tool.
It provides one piece of evidence.
Patch Assessment Questions
Section titled “Patch Assessment Questions”Ask:
When Was the Device Last Updated?
Are Updates Centrally Managed?
Are Security Updates Delayed?
Did Any Update Fail?
Is a Reboot Pending?Patch Management Workflow
Section titled “Patch Management Workflow”UPDATE RELEASED ↓TEST ↓PILOT ↓DEPLOY ↓MONITOR ↓VALIDATEFinding Example
Section titled “Finding Example”Finding:Endpoint Security Updates Delayed
Observation:The endpoint remains behind the approvedsecurity-update baseline.
Risk:Known vulnerabilities may remain exposedbeyond the organization's remediationwindow.
Recommendation:Apply applicable security updates throughthe approved update-management process andvalidate device health after deployment.Part 14 — Microsoft Defender Antivirus
Section titled “Part 14 — Microsoft Defender Antivirus”Microsoft Defender Antivirus provides endpoint malware protection capabilities on supported Windows systems.
Review:
Get-MpComputerStatusFocus on relevant fields such as:
AntivirusEnabled
RealTimeProtectionEnabled
AntispywareEnabled
BehaviorMonitorEnabled
AntivirusSignatureLastUpdatedSave Evidence
Section titled “Save Evidence”Get-MpComputerStatus |Out-File C:\EndpointSecurityLab\Evidence\DefenderStatus.txtSecurity Questions
Section titled “Security Questions”Is Antivirus Enabled?
Is Real-Time Protection Enabled?
Are Security Intelligence Updates Current?
Is Behavior Monitoring Enabled?
Is the Device Reporting Healthy?Part 15 — Understand Antivirus Limitations
Section titled “Part 15 — Understand Antivirus Limitations”Do not think:
Antivirus Enabled=Endpoint SecureEndpoint security also requires:
Patching
Least Privilege
Firewall
Encryption
Application Security
EDR
MonitoringDefense in Depth
Section titled “Defense in Depth”USER SECURITY +IDENTITY SECURITY +PATCHING +ANTIVIRUS +FIREWALL +EDR +MONITORINGPart 16 — Review Defender Preferences
Section titled “Part 16 — Review Defender Preferences”In an authorized lab:
Get-MpPreferenceThis can expose a large configuration set.
Focus on relevant security settings rather than copying the entire output blindly.
Important
Section titled “Important”Do not modify Defender exclusions without understanding their purpose.
Part 17 — Review Defender Exclusions
Section titled “Part 17 — Review Defender Exclusions”Review approved exclusions where required.
Broad exclusions can weaken endpoint protection.
Examples requiring scrutiny include exclusions covering:
Entire Drives
User Profile Trees
Temporary Directories
Broad Application PathsFinding Example
Section titled “Finding Example”Finding:Overly Broad Endpoint Protection Exclusion
Observation:Endpoint protection excludes a locationbroader than required by the documentedapplication requirement.
Risk:Malicious content within the excludedlocation may receive reduced inspection.
Recommendation:Reduce exclusions to the minimum supportedscope and periodically review theirbusiness requirement.Part 18 — Endpoint Detection and Response
Section titled “Part 18 — Endpoint Detection and Response”Antivirus primarily focuses on prevention and detection.
EDR expands visibility into behaviors such as:
Processes
Files
Network Connections
Identity Activity
Persistence
Security AlertsEDR Investigation Model
Section titled “EDR Investigation Model”ALERT ↓DEVICE ↓USER ↓PROCESS ↓PARENT ↓FILE ↓NETWORK ↓TIMELINEPart 19 — Review Windows Firewall
Section titled “Part 19 — Review Windows Firewall”Check firewall profile status:
Get-NetFirewallProfileFocus on:
Domain
Private
PublicRecord whether each profile is:
Enabled
DisabledSave Evidence
Section titled “Save Evidence”Get-NetFirewallProfile |Out-File C:\EndpointSecurityLab\Evidence\FirewallProfiles.txtFirewall Mental Model
Section titled “Firewall Mental Model”NETWORK ↓WINDOWS FIREWALL ↓APPLICATION / SERVICEPart 20 — Firewall Profiles
Section titled “Part 20 — Firewall Profiles”Windows commonly uses:
Domain Profile
Private Profile
Public ProfileThe applicable profile depends on the network context.
Security Question
Section titled “Security Question”Ask:
Is the Firewall Enabledfor Every Required Profile?Finding Example
Section titled “Finding Example”Finding:Windows Firewall Disabled
Observation:One or more required Windows Firewallprofiles are disabled.
Risk:The endpoint may accept network trafficwithout the host-level filtering requiredby the security baseline.
Recommendation:Enable the approved firewall profiles,validate necessary application rules, andcentrally manage exceptions where possible.Part 21 — Review Firewall Rules
Section titled “Part 21 — Review Firewall Rules”List enabled inbound rules:
Get-NetFirewallRule |Where-Object {$_.Enabled -eq "True" -and $_.Direction -eq "Inbound"} |Select-Object DisplayName,Action,ProfileAssessment Questions
Section titled “Assessment Questions”Why Does This Rule Exist?
Which Application Needs It?
Which Profile?
Allow or Block?
Is Its Scope Too Broad?Part 22 — Listening Network Ports
Section titled “Part 22 — Listening Network Ports”Run:
Get-NetTCPConnection -State ListenReview:
Local Address
Local Port
Owning ProcessMap Port to Process
Section titled “Map Port to Process”Example:
Get-NetTCPConnection -State Listen |Select-Object LocalAddress,LocalPort,OwningProcessThen for a PID:
Get-Process -Id <PID>Security Workflow
Section titled “Security Workflow”PORT ↓PID ↓PROCESS ↓SERVICE ↓BUSINESS REQUIREMENTImportant
Section titled “Important”A listening port is not automatically externally reachable.
Reachability also depends on:
Firewall
Network Path
Application Binding
Cloud / Network ControlsPart 23 — Review Active Connections
Section titled “Part 23 — Review Active Connections”Run:
Get-NetTCPConnection |Where-Object {$_.State -eq "Established"}Look for:
Unexpected Destinations
Unexpected Processes
Long-Lived Connections
Unknown ApplicationsSecurity Principle
Section titled “Security Principle”Do not classify an unfamiliar connection as malicious solely because you do not recognize the IP address.
Correlate:
Process
Application
Destination
Business Requirement
Security TelemetryPart 24 — Review BitLocker
Section titled “Part 24 — Review BitLocker”BitLocker helps protect data at rest.
Review:
Get-BitLockerVolumeFocus on:
MountPoint
VolumeStatus
ProtectionStatus
EncryptionPercentageSecurity Objective
Section titled “Security Objective”A lost or stolen device should not automatically expose corporate data.
DEVICE LOST ↓DISK ENCRYPTED ↓DATA REMAINS PROTECTEDPart 25 — BitLocker Recovery
Section titled “Part 25 — BitLocker Recovery”Encryption requires recoverability.
Organizations should manage:
Recovery Keys
Authorized Recovery
Key Escrow
Access Controls
AuditFinding Example
Section titled “Finding Example”Finding:Endpoint Disk Encryption Not Enabled
Observation:The system volume containing corporatedata is not protected by the organization'srequired full-disk encryption control.
Risk:Physical loss or theft of the device mayexpose locally stored information.
Recommendation:Enable approved disk encryption and ensurerecovery information is securely managedthrough the organization's endpointmanagement process.Part 26 — Review TPM
Section titled “Part 26 — Review TPM”Where relevant:
Get-TpmReview:
TpmPresent
TpmReady
TpmEnabledTPM Security Connection
Section titled “TPM Security Connection”TPM technology can support security capabilities such as:
BitLocker
Windows Hello
Device Trust
Key ProtectionPart 27 — Review Windows Security Services
Section titled “Part 27 — Review Windows Security Services”Inspect relevant services:
Get-Service |Where-Object {$_.Status -eq "Running"}Do not assume every running service is required.
Service Review Questions
Section titled “Service Review Questions”What Is the Service?
Who Installed It?
Does the Device Need It?
Does It Listen on the Network?
Does It Run with High Privilege?Part 28 — Review Enabled Applications
Section titled “Part 28 — Review Enabled Applications”List installed applications using approved inventory sources.
Use:
Enterprise Inventory
Intune
Software Management
Windows Settings
Approved PowerShell QueriesAvoid relying on only one registry location as a complete inventory.
Application Security Questions
Section titled “Application Security Questions”Is the Application Approved?
Is It Required?
Is It Current?
Who Installed It?
Does It Introduce Network Exposure?
Does It Require Administrative Rights?Part 29 — Unnecessary Software
Section titled “Part 29 — Unnecessary Software”Every unnecessary application adds:
Code
Dependencies
Attack Surface
Maintenance
Potential VulnerabilitiesFinding Example
Section titled “Finding Example”Finding:Unnecessary Endpoint Software
Observation:Software not required for the endpoint'sdocumented business role remains installed.
Risk:Unnecessary software increases endpointattack surface and maintenance burden.
Recommendation:Validate application ownership and removeunused software through the approvedsoftware-management process.Part 30 — Review Startup Applications
Section titled “Part 30 — Review Startup Applications”Review approved startup mechanisms.
One simple view is:
Get-CimInstance Win32_StartupCommandAssess:
Application
Location
User
Business PurposeSecurity Relevance
Section titled “Security Relevance”Unexpected startup execution may represent:
Legitimate Software
Management Agent
User Utility
Misconfiguration
Potential PersistenceContext matters.
Part 31 — Review Scheduled Tasks
Section titled “Part 31 — Review Scheduled Tasks”List tasks:
Get-ScheduledTaskFor security review, focus on:
Unknown Tasks
High-Privilege Tasks
Custom Scripts
Unexpected ExecutablesScheduled Task Questions
Section titled “Scheduled Task Questions”Who Created It?
Which Account Runs It?
What Does It Execute?
When?
Is the Target Script Protected?Part 32 — Review Running Processes
Section titled “Part 32 — Review Running Processes”Run:
Get-ProcessSort by CPU:
Get-Process |Sort-Object CPU -Descending |Select-Object -First 20Process Investigation Questions
Section titled “Process Investigation Questions”What Is the Process?
Who Owns It?
Where Is the Executable?
What Started It?
Does It Use the Network?
Is It Expected?Part 33 — Review Windows Defender Firewall and Services Together
Section titled “Part 33 — Review Windows Defender Firewall and Services Together”A good endpoint assessment correlates:
RUNNING SERVICE +LISTENING PORT +FIREWALL RULE =NETWORK EXPOSUREPart 34 — Review Event Viewer
Section titled “Part 34 — Review Event Viewer”Windows Event Viewer contains important security evidence.
Useful log categories include:
Security
System
Application
Microsoft Defender
PowerShellEvent Investigation Mental Model
Section titled “Event Investigation Mental Model”EVENT ↓TIME ↓USER ↓PROCESS ↓DEVICE ↓ACTIONPart 35 — Review Recent Security Events
Section titled “Part 35 — Review Recent Security Events”An authorized PowerShell example:
Get-WinEvent -LogName Security -MaxEvents 50Do not dump excessive event logs into a report.
Focus on events relevant to the assessment.
Part 36 — Security Events to Understand
Section titled “Part 36 — Security Events to Understand”Security teams often care about categories such as:
Successful Logons
Failed Logons
Account Changes
Privilege Use
Process Creation
Policy ChangesImportant
Section titled “Important”Learn:
What Happenedbefore memorizing:
Event IDEvent IDs are useful, but context matters more.
Part 37 — Review PowerShell Logging Concept
Section titled “Part 37 — Review PowerShell Logging Concept”PowerShell is a powerful administrative platform.
Security teams may use PowerShell logging to support:
Administrative Monitoring
Threat Detection
Incident InvestigationSecurity Question
Section titled “Security Question”Ask:
Can We DetermineWhat Administrative ScriptsWere Executed?according to your organization’s logging standard.
Part 38 — Review Audit Policy
Section titled “Part 38 — Review Audit Policy”Run:
auditpol /get /category:*This shows audit-policy configuration.
Review whether the environment captures required events.
Audit Areas
Section titled “Audit Areas”Potential categories include:
Account Logon
Account Management
Logon/Logoff
Privilege Use
Policy Change
Process Tracking
System EventsPart 39 — Logging Is Not Monitoring
Section titled “Part 39 — Logging Is Not Monitoring”Understand:
Logging=Events Are Recordedwhile:
Monitoring=Events Are Reviewedand Used for DetectionA device can generate excellent logs that nobody ever looks at.
Part 40 — Centralized Security Monitoring
Section titled “Part 40 — Centralized Security Monitoring”A mature endpoint design may follow:
WINDOWS ENDPOINT ↓SECURITY TELEMETRY ↓CENTRAL PLATFORM ↓SIEM / XDR ↓ALERT ↓SOCPart 41 — Device Compliance
Section titled “Part 41 — Device Compliance”Managed endpoints may be evaluated against a compliance policy.
Possible requirements include:
Supported OS
Encryption
Security Controls
Password Requirements
Threat StateCompliance Model
Section titled “Compliance Model”DEVICE STATE ↓COMPLIANCE POLICY ↓COMPLIANTorNONCOMPLIANTPart 42 — Compliance and Conditional Access
Section titled “Part 42 — Compliance and Conditional Access”Combine:
USER IDENTITY +DEVICE COMPLIANCE +APPLICATION +RISK ↓ACCESS DECISIONScenario
Section titled “Scenario”User Password Correct ↓MFA Successful ↓Device Noncompliant ↓Sensitive App Access RestrictedThis is a Zero Trust-style security model.
Part 43 — Endpoint Security Baseline
Section titled “Part 43 — Endpoint Security Baseline”Create an approved baseline covering:
OS Version
Patching
Local Administrators
Antivirus
Firewall
Encryption
Applications
Audit Policy
Logging
Device ComplianceExample Baseline
Section titled “Example Baseline”| Control | Expected State |
|---|---|
| Supported OS | Yes |
| Updates | Current |
| Standard user | No permanent admin |
| Defender | Enabled |
| Firewall | Enabled |
| BitLocker | Protected |
| Logging | Enabled |
| Compliance | Compliant |
Part 44 — Compare Baseline to Actual State
Section titled “Part 44 — Compare Baseline to Actual State”Create:
| Control | Expected | Actual | Result |
|---|---|---|---|
| Defender | Enabled | Enabled | Pass |
| Firewall | Enabled | Disabled | Fail |
| BitLocker | Enabled | Disabled | Fail |
| Local Admin | Restricted | Broad | Fail |
| Updates | Current | Current | Pass |
Part 45 — Prioritize Findings
Section titled “Part 45 — Prioritize Findings”Do not treat every gap equally.
Consider:
Exposure
Privilege
Data Sensitivity
Likelihood
Business Impact
Compensating ControlsPriority Example
Section titled “Priority Example”User Has Local Admin +Device Handles Sensitive Data +No EDR ↓Higher RiskPart 46 — Lost Laptop Scenario
Section titled “Part 46 — Lost Laptop Scenario”Scenario:
Corporate Laptop Is LostInvestigate:
Device Ownership
Encryption
User
Last Check-In
Recent Sign-In Activity
Corporate Data
Device Management StateThen follow approved procedures for:
Access Restriction
Remote Actions
Credential Response
Incident DocumentationPart 47 — Malware Detection Scenario
Section titled “Part 47 — Malware Detection Scenario”Scenario:
Endpoint Security GeneratesMalware AlertUse:
ALERT ↓DEVICE ↓USER ↓FILE ↓PROCESS ↓PARENT ↓NETWORK ↓TIMELINEDo not immediately assume every antivirus detection means a complete system compromise.
Part 48 — Firewall Disabled Scenario
Section titled “Part 48 — Firewall Disabled Scenario”Scenario:
Firewall DisabledAsk:
Who Disabled It?
When?
Why?
Was It Central Policy?
Was It Troubleshooting?
Did Exposure Increase?Part 49 — Local Admin Scenario
Section titled “Part 49 — Local Admin Scenario”Scenario:
Employee RequestsPermanent Administrator Rightsfor One ApplicationInstead of immediately granting it, ask:
Which Application?
Which Function Requires Elevation?
Can the Application Be Reconfigured?
Can Temporary Elevation Be Used?
Can a Smaller Permission Be Granted?Part 50 — Noncompliant Device Scenario
Section titled “Part 50 — Noncompliant Device Scenario”Scenario:
Device Is Noncompliantbecause Encryption Is DisabledWorkflow:
IDENTIFY CONTROL ↓VALIDATE STATE ↓REMEDIATE ↓SYNC DEVICE ↓RECHECK COMPLIANCE ↓VALIDATE ACCESSPart 51 — Security Control Validation
Section titled “Part 51 — Security Control Validation”Do not stop at:
ConfiguredValidate:
EffectiveExample:
Firewall Enabledis good.
But also ask:
Are the Rules Appropriate?Part 52 — Negative Testing
Section titled “Part 52 — Negative Testing”In an authorized disposable lab, validate that prohibited behavior is actually blocked.
Examples:
Standard UserCannot Perform Admin Task
Unapproved Inbound AccessIs Blocked
Noncompliant DeviceIs Restricted Where Policy RequiresPart 53 — Create an Endpoint Inventory
Section titled “Part 53 — Create an Endpoint Inventory”Document:
Hostname
Owner
Operating System
Build
Join State
Management State
Compliance
Security StatusEndpoint Inventory Template
Section titled “Endpoint Inventory Template”| Item | Value |
|---|---|
| Hostname | |
| Owner | |
| OS | |
| Build | |
| Domain/Entra State | |
| Managed | |
| Compliant | |
| Last Reviewed |
Part 54 — Create a Local Access Matrix
Section titled “Part 54 — Create a Local Access Matrix”| Identity | Type | Local Admin | Required | Action |
|---|---|---|---|---|
| User-A | Employee | No | No | None |
| Admin-A | Admin | Yes | Yes | Review |
| OldSupport | Local | Yes | No | Disable/Review |
Part 55 — Create a Security Control Matrix
Section titled “Part 55 — Create a Security Control Matrix”| Control | State | Expected | Finding |
|---|---|---|---|
| Defender | Enabled | Enabled | None |
| Firewall | Enabled | Enabled | None |
| Encryption | Disabled | Enabled | Yes |
| Updates | Current | Current | None |
| Logging | Review | Enabled | Review |
Part 56 — Create Application Inventory
Section titled “Part 56 — Create Application Inventory”| Application | Required | Approved | Current | Owner |
|---|---|---|---|---|
| Browser | Yes | Yes | Yes | IT |
| Office | Yes | Yes | Yes | IT |
| Unknown App | Review | Review | Review | Unknown |
Part 57 — Create Network Exposure Matrix
Section titled “Part 57 — Create Network Exposure Matrix”| Port | Process | Required | Firewall | Action |
|---|---|---|---|---|
| Review | Process | Yes/No | Allowed/Blocked | Review |
Part 58 — Finding: Excessive Local Admin
Section titled “Part 58 — Finding: Excessive Local Admin”Finding:Permanent Local Administrative Privilege
Observation:A standard business user possessespermanent local administrator access.
Risk:Compromise of the user context may provideelevated control of the endpoint and itssecurity configuration.
Recommendation:Remove unnecessary permanent privilege andprovide controlled elevation for approvedadministrative tasks.Part 59 — Finding: Firewall Disabled
Section titled “Part 59 — Finding: Firewall Disabled”Finding:Host Firewall Protection Disabled
Observation:A required Windows Firewall profile is notenabled.
Risk:The endpoint may accept unnecessary networktraffic and rely entirely on upstreamnetwork controls.
Recommendation:Restore the approved firewall profile andvalidate required application exceptions.Part 60 — Finding: Missing Encryption
Section titled “Part 60 — Finding: Missing Encryption”Finding:Full-Disk Encryption Not Enforced
Observation:The system volume is not protected usingthe organization's required disk-encryptioncontrol.
Risk:Loss or theft of the device may exposelocally stored corporate information.
Recommendation:Enable approved full-disk encryption andsecurely manage recovery information.Part 61 — Finding: Security Telemetry Gap
Section titled “Part 61 — Finding: Security Telemetry Gap”Finding:Insufficient Endpoint Security Visibility
Observation:The endpoint does not provide the securitytelemetry required by the organization'smonitoring standard.
Risk:Suspicious endpoint activity may bedifficult to detect, investigate, orcorrelate with broader incidents.
Recommendation:Enable approved endpoint telemetry andforward required security events to thecentral monitoring platform.Part 62 — Finding: Unsupported Endpoint
Section titled “Part 62 — Finding: Unsupported Endpoint”Finding:Unsupported Operating System
Observation:The endpoint runs an operating-systemversion outside the organization'ssupported security lifecycle.
Risk:The device may not reliably receiverequired security updates or modernsecurity capabilities.
Recommendation:Upgrade or replace the device with asupported operating-system release.Part 63 — Endpoint Security Report
Section titled “Part 63 — Endpoint Security Report”Your report should contain:
1. Executive Summary
Section titled “1. Executive Summary”Document:
Endpoint Assessed
Business Role
Overall Security Posture
Highest-Risk Findings
Priority Recommendations2. System Information
Section titled “2. System Information”Include:
Hostname
Operating System
Build
Owner
Device Role
Join State3. Identity Review
Section titled “3. Identity Review”Document:
Local Users
Local Administrators
Unused Accounts
Privileged Access4. Patch Status
Section titled “4. Patch Status”Document:
OS Update State
Recent Security Updates
Observed Gaps5. Endpoint Protection
Section titled “5. Endpoint Protection”Document:
Antivirus
Real-Time Protection
Security Intelligence
EDR / Security Telemetry6. Firewall
Section titled “6. Firewall”Document:
Profile Status
Relevant Rules
Observed Exposure7. Encryption
Section titled “7. Encryption”Document:
BitLocker State
Protection Status
Recovery Process8. Applications
Section titled “8. Applications”Document:
Approved Applications
Unknown Applications
Unsupported Applications
Business Owners9. Services and Network
Section titled “9. Services and Network”Document:
Running Services
Listening Ports
Relevant Processes
Unexpected Connections10. Logging
Section titled “10. Logging”Document:
Security Events
Audit Policy
Centralized Monitoring
Visibility Gaps11. Compliance
Section titled “11. Compliance”Document:
Compliance State
Failed Controls
Remediation Requirements12. Findings
Section titled “12. Findings”For each:
ID
Title
Severity
Observation
Evidence
Risk
Recommendation
OwnerPart 64 — Endpoint Security Checklist
Section titled “Part 64 — Endpoint Security Checklist”- Identified hostname
- Identified OS
- Identified build
- Identified owner
- Identified business role
- Reviewed device join state
Identity
Section titled “Identity”- Reviewed current user
- Reviewed local accounts
- Reviewed disabled accounts
- Reviewed local administrators
- Reviewed least privilege
Patching
Section titled “Patching”- Reviewed update status
- Reviewed installed hotfix evidence
- Reviewed update-management approach
- Checked for outdated OS
Defender
Section titled “Defender”- Reviewed antivirus state
- Reviewed real-time protection
- Reviewed security intelligence
- Reviewed relevant exclusions
- Understood EDR role
Firewall
Section titled “Firewall”- Reviewed firewall profiles
- Reviewed enabled inbound rules
- Reviewed listening ports
- Mapped ports to processes
- Reviewed required exposure
Encryption
Section titled “Encryption”- Reviewed BitLocker
- Reviewed protection status
- Reviewed recovery process
- Reviewed TPM where appropriate
Applications
Section titled “Applications”- Reviewed installed applications
- Reviewed application ownership
- Identified unnecessary software
- Reviewed unsupported software
- Reviewed startup applications
Services
Section titled “Services”- Reviewed running services
- Identified high-privilege services
- Correlated services with listeners
- Reviewed scheduled tasks
Processes
Section titled “Processes”- Reviewed process inventory
- Investigated unusual processes
- Correlated processes with connections
- Distinguished unknown from malicious
Logging
Section titled “Logging”- Reviewed Security log
- Reviewed audit policy
- Understood PowerShell logging
- Reviewed centralized monitoring
- Identified visibility gaps
Compliance
Section titled “Compliance”- Understood compliance state
- Compared device to baseline
- Identified failed controls
- Created remediation recommendations
Reporting
Section titled “Reporting”- Created endpoint inventory
- Created local access matrix
- Created security control matrix
- Created application inventory
- Created exposure matrix
- Documented findings
- Produced final report
Common Endpoint Security Mistakes
Section titled “Common Endpoint Security Mistakes”Avoid:
Giving Every User Local Admin
Disabling Firewall for Troubleshooting
Ignoring Disk Encryption
Ignoring Update Failures
Assuming Antivirus Is Enough
Creating Broad Defender Exclusions
Ignoring Unknown Applications
Ignoring Stale Accounts
Ignoring Startup Tasks
Ignoring Outbound Connections
Ignoring Security Logs
Assuming Enrolled Means Secure
Assuming Compliant Means Impossible to CompromiseEndpoint Security Maturity Model
Section titled “Endpoint Security Maturity Model”Level 1 — Basic
Section titled “Level 1 — Basic”Antivirus
Firewall
PatchingLevel 2 — Managed
Section titled “Level 2 — Managed”Central Device Management
Encryption
Compliance
Application Management
Least PrivilegeLevel 3 — Security Integrated
Section titled “Level 3 — Security Integrated”EDR
Conditional Access
Central Logging
Automated Remediation
Security BaselineLevel 4 — Zero Trust Endpoint
Section titled “Level 4 — Zero Trust Endpoint”Identity + Device + Risk
Continuous Evaluation
Controlled Privilege
Automated Compliance
Advanced DetectionCareer Connection
Section titled “Career Connection”This lab directly supports:
Endpoint Administrator
Endpoint Security Engineer
Windows Administrator
SOC Analyst
Microsoft Security Engineer
Incident Responder
Cloud Security Engineer
Security ConsultantInterview Scenario 01
Section titled “Interview Scenario 01”Why are local administrator rights risky?
Because administrator-level compromise may allow:
Security Control Changes
Software Installation
Credential Access
Persistence
Data AccessInterview Scenario 02
Section titled “Interview Scenario 02”Is Microsoft Defender Antivirus enough to secure a Windows endpoint?
No.
A strong endpoint requires multiple controls:
Patching
Least Privilege
Firewall
Encryption
EDR
Logging
MonitoringInterview Scenario 03
Section titled “Interview Scenario 03”Why is BitLocker important?
It helps protect data at rest when a device or drive is lost or stolen.
Interview Scenario 04
Section titled “Interview Scenario 04”How would you investigate an unknown listening port?
Use:
PORT ↓PID ↓PROCESS ↓SERVICE ↓BUSINESS REQUIREMENT ↓FIREWALL EXPOSUREInterview Scenario 05
Section titled “Interview Scenario 05”What is the difference between endpoint management and endpoint security?
Endpoint management focuses on:
Lifecycle
Configuration
Applications
Updates
ComplianceEndpoint security focuses more specifically on:
Protection
Detection
Privilege
Exposure
ResponseThey strongly overlap.
40 Endpoint Security Interview Questions
Section titled “40 Endpoint Security Interview Questions”- What is endpoint security?
- Why are endpoints important attack surfaces?
- What is endpoint management?
- What is a managed endpoint?
- What is device identity?
- How do you identify local users?
- Why are stale local accounts risky?
- How do you review local administrators?
- What is least privilege?
- Why should users normally avoid permanent local admin?
- What is Microsoft Defender Antivirus?
- What is real-time protection?
- Why must malware intelligence remain updated?
- What is EDR?
- How does EDR differ from antivirus?
- What is Windows Firewall?
- What are firewall profiles?
- Why should host firewalls remain enabled?
- How do you identify listening ports?
- How do you map a port to a process?
- What is BitLocker?
- Why is recovery-key management important?
- What is TPM?
- Why are security updates important?
- What is patch management?
- Why use phased update deployment?
- Why should installed software be inventoried?
- Why are unnecessary applications risky?
- Why should scheduled tasks be reviewed?
- What is configuration drift?
- What is an endpoint security baseline?
- What is device compliance?
- How does compliance relate to Conditional Access?
- What is Windows audit policy?
- Why is centralized logging important?
- How would you handle a lost laptop?
- How would you investigate a malware alert?
- How would you assess an endpoint with its firewall disabled?
- What controls would you prioritize on a corporate endpoint?
- How would you perform an endpoint-security assessment?
Final Endpoint Security Mental Model
Section titled “Final Endpoint Security Mental Model”When assessing a Windows endpoint, ask:
WHAT DEVICE IS THIS? ↓WHO USES IT? ↓WHO IS ADMIN? ↓IS IT PATCHED? ↓IS ANTIVIRUS ACTIVE? ↓IS EDR AVAILABLE? ↓IS FIREWALL ENABLED? ↓IS DATA ENCRYPTED? ↓WHAT SOFTWARE EXISTS? ↓WHAT SERVICES RUN? ↓WHAT PORTS ARE OPEN? ↓WHAT IS BEING LOGGED? ↓IS IT COMPLIANT?Mission Accomplished
Section titled “Mission Accomplished”You have now assessed endpoint security across:
Device Identity
Users
Local Administrators
Patching
Microsoft Defender
Firewall
BitLocker
Applications
Processes
Services
Networking
Logging
ComplianceThe most important lesson is:
Endpoint SecurityIs Not One ProductIt is the combination of:
IDENTITY +CONFIGURATION +LEAST PRIVILEGE +PATCHING +PROTECTION +NETWORK SECURITY +ENCRYPTION +MONITORINGWhat’s Next?
Section titled “What’s Next?”➡️ Lab 03 — Identity Security
In the next lab, you will move from securing the device to securing cloud identity.
You will work through:
Microsoft Entra ID ↓User Inventory ↓Groups ↓Authentication Methods ↓MFA ↓Conditional Access ↓Administrative Roles ↓Privileged Identity ↓Guest Access ↓Enterprise Applications ↓Sign-In Logs ↓Identity Risk ↓Security FindingsYour Microsoft lab sequence continues:
Lab 01 — Active Directory ↓Lab 02 — Endpoint Security ↓Lab 03 — Identity Security ↓Lab 04 — Microsoft 365 Security ↓Lab 05 — Windows Security ↓Runbook 01 — Active Directory Assessment ↓Runbook 02 — Microsoft 365 Security Review ↓Runbook 03 — Windows Security Assessment