Endpoint Security & Management

Secure every device that connects to your network. From antivirus and EDR to firewall configuration and compliance frameworks.

🚀 Phase 4 ⏱ ~20 Hours 💡 Tool Comparisons 📣 Security+ Aligned

Learning Objectives

Module 1: Antivirus & EDR Solutions

From signature-based scanning to behavioral AI — understanding the evolution of endpoint defense.

EDR vs Traditional AV

FeatureTraditional AVEDR (Endpoint Detection & Response)
Detection methodSignature-based (known malware only)Behavioral analysis + ML + telemetry
Real-time monitoringLimited (file scans on access)Continuous process/network monitoring
Threat huntingNoBuilt-in query language and dashboards
Automated responseQuarantine onlyIsolate host, kill process, block IOCs
Historical dataLimited logsTime-machine replay of all endpoint activity
CostFree – $5/endpoint$5–15+/endpoint/month
Best forHome users, basic protectionBusinesses needing breach detection & response

Platform Comparison

Built-In / Free Tier

Windows Defender / Microsoft Defender

AV Engine: Built into Windows 10/11. Uses cloud-connected intelligence with real-time protection, controlled folder access, and exploit prevention.

EDR Mode: Defender for Endpoint adds attack surface reduction rules, automated investigation, cloud-based dashboard, and threat analytics. Integrates natively with Microsoft 365 security ecosystem.

Pricing: Free (Defender) / $8–20/user/month (Defender for Endpoint plans 1-4)

Ideal for: Organizations already in the Microsoft ecosystem, SMBs, cost-sensitive deployments.

Enterprise EDR Leader

CrowdStrike Falcon

Core Capability: Cloud-native EDR platform using lightweight agent (<100MB memory). Proprietary Falcon Intelligence feed processes billions of signals daily. Offers endpoint protection, threat hunting, cloud security (CSPM/CWPP), and identity protection.

Managed Hunting: CrowdStrike's managed SOC offers 24/7 expert threat hunting as a service — analysts investigate alerts so your team doesn't have to.

Pricing: ~$6–10+/endpoint/month depending on module bundle

Ideal for: Mid-large enterprises, organizations with advanced threat concerns, companies wanting managed detection services.

Autonomous Response

SentinelOne Singularity

Key Differentiator: "Set it and forget it" autonomous response. The platform can detect, contain, and remediate threats without human intervention using its Storyline technology (creates visual attack timeline).

Offline Protection: Works fully offline — critical for air-gapped environments or devices with intermittent connectivity.

Pricing: ~$5–8/endpoint/month

Ideal for: Organizations wanting minimal SOC overhead, edge/computing environments, hybrid workforces.

Lightweight AV

ESET Endpoint Security

Strength: Extremely low resource footprint — runs well on older hardware without slowing systems. Effective detection rates matching industry leaders while using minimal CPU/RAM.

Modules: Modular design lets you pick exactly what you need: EOP (Office 365 protection), EDRi, PHP (PowerShell protection), Ransomware Shield.

Pricing: ~$5–7/endpoint/year (very competitive)

Module 2: Firewall Configuration

Firewalls are the first line of network defense. Knowing how to configure them properly separates amateurs from professionals.

Windows Firewall Deep Dive

Windows Defender Firewall with Advanced Security is a stateful packet inspection firewall built into Windows. It supports both inbound and outbound rules, profiles per network type (Domain, Private, Public), and integrates with Group Policy for enterprise management.

Profile Types

ProfileWhen AppliedRecommended Rules
DomainComputer is joined to Active Directory and can authenticate to a domain controllerAllow AD traffic, file/print sharing, Kerberos; Block unsolicited inbound
PrivateHome or work network not connected to domainAllow file sharing, discovery; restrictive inbound; allow trusted applications
PublicCoffee shop, airport, any untrusted networkMost restrictive — block most inbound connections, limit file sharing

Useful PowerShell Commands

# View current firewall status Get-NetFirewallProfile # Create an inbound rule allowing port 443 (HTTPS) New-NetFirewallRule -DisplayName "Allow HTTPS Inbound" ` -Direction Inbound -Protocol TCP -LocalPort 443 ` -Action Allow -Profile Domain,Private # Block a specific IP address New-NetFirewallRule -DisplayName "Block Suspicious IP" ` -Direction Inbound -RemoteAddress 192.168.1.100 -Action Block # List all enabled rules Get-NetFirewallRule -Enabled True | Format-Table DisplayName, Direction, Action

Linux iptables Basics

iptables is the classic Linux firewall utility using Netfilter hooks. Rules are organized into chains (INPUT, FORWARD, OUTPUT) within tables (filter, nat, mangle). Note: newer systems may use nftables or firewalld, but iptables remains widely understood and configured.

Essential iptables Commands

# View current rules sudo iptables -L -n -v # Allow established connections (stateful filtering) sudo iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT # Allow SSH (port 22) from any source sudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT # Allow HTTP/HTTPS locally sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT sudo iptables -A INPUT -p tcp --dport 443 -j ACCEPT # Drop all other inbound traffic by default sudo iptables -P INPUT DROP # Save rules (Debian/Ubuntu) sudo iptables-save > /etc/iptables/rules.v4
Critical: When configuring firewalls on remote servers, ALWAYS test rules before applying a default-deny policy. A mistaken rule can lock you out permanently. Use a console/serial connection as backup when hardening production servers.

Module 3: Patch Management Strategies

Unpatched vulnerabilities cause ~60% of breaches. Automated patch management is non-negotiable for modern IT.

The Patch Management Lifecycle

1. Identify

Maintain an complete asset inventory. Know what software runs where. Use tools like WSUS, SCCM/MECM, or third-party inventories to track every endpoint and application version.

2. Assess

Evaluate new patches for severity (CVSS score), relevance to your environment, and potential impact. Prioritize based on exploitability — is there known active exploitation in the wild?

3. Test

Never deploy patches directly to production. Test in a staging environment first. Check for compatibility issues, performance impacts, and known bugs. Maintain rollback capability.

4. Deploy

Schedule deployment during maintenance windows. Use phased rollouts (pilot group -> department -> organization). Automate where possible with WSUS, Intune, or SCCM.

5. Verify

Confirm successful installation across all endpoints. Generate compliance reports. Document exceptions for systems that couldn't be patched and why.

6. Report

Generate metrics: patch compliance rate, time-to-patch, vulnerability exposure window. Share with leadership to demonstrate security posture improvements.

Microsoft Update Categories & Timelines

Patch TypeRelease DaySLA (Days to Deploy)Examples
Critical Security UpdatesTuesday (Patch Tuesday)7 daysOS vulnerabilities, privilege escalation, RCE fixes
Important Security UpdatesTuesday14 daysInformation disclosure, DoS vector mitigations
Security Advisories (Out-of-band)Any time48 hoursActive exploitation in the wild — urgent response
Non-Security UpdatesTuesday30 daysBug fixes, feature updates, cumulative updates

Patch Management Tools

Built-In

WSUS / Microsoft Update

Free Microsoft tool for managing Windows update distribution within your network. Approve/reject specific updates, target computers by OU, schedule deployments via Group Policy.

Enterprise

Microsoft Intune (Endpoint Manager)

Cloud-based MD M + patch management. Automatically deploys quality and feature updates to Windows, iOS, and Android devices. Reports show patch compliance per device.

Third-Party

PDQ Deploy / ManageEngine Patch Manager

Third-party tools covering Windows, macOS, Linux, and third-party applications (Chrome, Java, Adobe). PDQ is great for SMBs; ManageEngine scales to enterprise.

Module 4: Device Control & USB Restrictions

Physical ports are attack vectors too. An infected USB drive can bypass every network control you have.

Device Control Strategies

Configuring USB Restrictions (Group Policy)

# Path: Computer Configuration -> Policies -> Admin Templates -> System # Removable Storage Access # Block all removable storage classes Enable: All Removable Storage classes: Deny all access # Block removable disks except fixed drives Enable: Removable Disks: Deny read access # Allow specific removable classes while blocking others Enable: Allow access to copy operations only # (Prevents data theft while still allowing authorized copying)

Module 5: Endpoint Hardening Checklist

Apply these settings to every device before it connects to your network.

Windows Hardening Checklist

Disable SMBv1 entirely (remove the protocol, don't just disable it)
Enable Controlled Folder Access (ransomware protection)
Disable Macros in Office documents from internet sources
Disable automatic runner of executables from USB (Autorun)
Enforce screen lock after 5 minutes of inactivity
Enable Windows Hello for Business (biometric login)
Restrict administrator accounts to dedicated admin devices
Disable unnecessary services (Print Spooler if no printers, Remote Registry)
Enable Credential Guard (isolates credentials from the OS)

macOS Hardening Checklist

FileVault full-disk encryption enabled on all Macs
Gatekeeper set to App Store + identified developers
Firewall enabled (System Settings -> Network -> Firewall)
Disable guest USB access and external boot options
Enable OTP for iCloud and MDM-enrolled account authentication

Module 6: CIS Controls Overview

The Center for Internet Security (CIS) Controls provide a prioritized, actionable framework for endpoint and infrastructure hardening.

CIS Controls v2 — Top 18 Prioritized Security Controls

#Control NameCategoryWhy It Matters
1Inventorize and Control Enterprise AssetsInventoryYou can't protect what you can't find. Shadow IT and forgotten devices are blind spots.
2Inventorize and Control Software AssetsInventoryTrack all installed software, licenses, versions. Eliminate unmaintained and unsupported apps.
3Protected AdministrationAccess ControlPrivileged accounts are the most valuable targets. Use separate admin devices and jump hosts.
4Data RecoveryResilienceBackups are your last line of defense against ransomware. Test restoration regularly.
5Configuration ManagementHardeningEstablish and maintain secure configurations using benchmarks (CIS Benchmarks, DISA STIGs).
6Access ControlAccess ControlLeast privilege, RBAC, regular access reviews. Principle of minimum necessary.
7Continuous Vulnerability ManagementVulnerabilityRegular scanning, triage, and remediation. Not a one-time activity.
8Audit Log ManagementAuditingCentralize logs, protect log integrity, retain for required periods.
9Email and Web Browser ProtectionsMalwareGateway filtering, browser hardening, disable macros, restrict plugins.
10Malware DefensesMalwareAnti-malware on all endpoints and servers. EDR recommended over simple AV.
11Data RecoveryResilienceMaintain encrypted backups, test restore procedures quarterly.
12Password ManagementIdentityEnforce strong passwords, MFA, and password manager adoption.
CIS Controls Implementation Groups: IG1 covers small orgs with basic hygiene (controls 1-8). IG2 adds more comprehensive controls (1-16). IG3 is for highly regulated or high-risk environments (all 18). Start at IG1 and progress upward.

Module 7: Mobile Device Security

BYOD policies, MDM platforms, and the challenges of securing portable devices.

iOS / iPadOS

Apple Device Security

  • Mandatory passcode (minimum 6 digits for business use)
  • Data protection API enables per-app encryption
  • Remote wipe available via MDM (erase device or erase only data)
  • Jailbreak detection — reject non-compliant devices
  • App store restrictions and content & privacy restrictions
  • Find My iPhone for location tracking and remote lock
Android

Android Device Security

  • Google Play Protect for malware scanning
  • Work profile isolation (separates personal from corporate data)
  • Device owner mode for full MDM control
  • Remote wipe via Google Workspace or MDM
  • Encrypt-by-default on modern Android devices
  • SELinux enforced mandatory access control

Mobile Device Management (MDM) Options

PlatformKey FeaturesBest ForPrice
Microsoft IntuneFully integrated with Azure AD, conditional access, Windows/iOS/Android/Mac supportMicrosoft 365 shops$8/user/mo (add-on) or $20/user/mo (E3/E5)
VMware Workspace ONEDeep Android customization, kiosk mode, IoT device management, cross-platformLarge enterprises with mixed fleets$5–12/device/mo
MobileIron / IvantiAdvanced app containment, content transfer between work/personal appsRegulated industries, banking$5–10/device/mo
Apple DEP + Apple School ManagerZero-touch enrollment, supervised mode, MDM push, classroom featuresiOS-only schools and businessesFree (iOS devices)

Remote Wipe Capabilities

When a device is lost or stolen, immediate action protects organizational data. Available wipe actions vary by platform and MDM:

Wipe TypeiOSAndroidWhat It Does
Smart Wipe✓✓Erases only managed/work data, preserving personal data
Full Wipe✓✓Erases entire device including personal data
Lock Device✓✓Remotely set a passcode and display a message
Locate Device✓✓Show GPS location on a map
Play Sound✓✓Ring device at maximum volume for 5 minutes
BYOD Consideration: Always offer employees the choice between a company-provided device (full MDM control OK) or BYOD with work profile isolation (limited MDM scope). Mandatory full-device wiping on personal phones creates legal and ethical complications.

Knowledge Check

Q1: Why is EDR superior to traditional signature-based antivirus?

Show Answer

Traditional AV relies on signature databases of known malware patterns. It cannot detect zero-day attacks, modified/polymorphic malware, or novel attack techniques. EDR continuously monitors endpoint behavior (process creation, network connections, registry changes) using behavioral analysis and machine learning. It detects anomalies regardless of whether the malicious code has been seen before, provides historical context for investigation, and can automatically respond to contain threats.

Q2: What is the most important consideration when creating a firewall rule on a public network profile?

Show Answer

The default posture should be deny all inbound unless explicitly required. On public networks (cafes, airports), assume every other device on the same subnet could be hostile. Only allow outbound connections to needed services (web browsing, email). Never expose file sharing, RDP, or administrative interfaces on public network profiles.

Q3: How does Conditional Access complement MDM?

Show Answer

MDM manages the device configuration. Conditional Access (Azure AD) decides whether an authenticated user should be granted access based on device compliance status. Example: A user tries to access Outlook Web. Conditional Access checks: Is their device managed by Intune? Is it compliant (BitLocker enabled, OS up to date)? Is MFA satisfied? If ALL conditions are met, access is granted. If the device is non-compliant, access is denied or restricted — even though the credentials are correct.

Hands-On Practice Checklist

☐ Complete These Labs

Resources & Further Reading

Framework

CIS Critical Security Controls v2

The authoritative prioritized list of 18 controls every organization should implement. Free download at cisecurity.org.

Benchmark

CIS Benchmarks for Windows

Detailed hardening configurations for every Windows version. Download the benchmark and use the automation scripts.

Guide

NIST SP 800-123 (Server Security)

Comprehensive guide to securing server and desktop operating systems. Covers hardware, software, firmware, and physical security.

Tool

Sysinternals Suite

Microsoft's essential toolkit: Process Explorer, Autoruns, TCPView, Ruin.exe. Every Windows admin should know these cold.

Community

r/sysadmin & r/netsec

Active sysadmin communities discussing real-world firewall configs, EDR comparisons, and patch management debates.

Practice Lab

TryHackMe — Network Penetration Testing

Learn firewall evasion, enumeration, and exploitation concepts in browser-based labs.

➔ Next Step: With endpoint security fundamentals mastered, move to Incident Response & Best Practices to learn how to handle breaches when prevention fails — because it eventually will.
Proceed to Incident Response →