Cyber Security /Security Monitoring and Defense / Lesson
Cyber Security

Endpoint Security

Learn how to protect desktops, laptops, servers, mobile devices, workstations and other endpoint systems against malware, unauthorized access, insecure configuration and other security risks.

🎯

Learning Objectives

Understand endpoint security and the endpoint attack surface.
Explain endpoint hardening and secure configuration.
Understand patch management and software updates.
Explain antivirus, EDR and XDR concepts.
Understand host firewalls and device encryption.
Apply least privilege to endpoint security.
Understand application control and removable media security.
Understand endpoint monitoring and isolation.
Apply basic endpoint security best practices.

📖

Lesson Content

Module 6 — Lesson 7: Endpoint Security

Endpoint security is the practice of protecting devices that connect to
a network or information system. These devices may include desktop
computers, laptops, servers, mobile phones, tablets, workstations,
virtual machines and cloud-based endpoints.

An endpoint can become an entry point into an organization’s wider
environment. Effective endpoint security therefore combines secure
configuration, software updates, access control, malware protection,
monitoring, encryption, user awareness and incident-response procedures.

1. What Is Endpoint Security?

Endpoint security is a collection of technologies, controls, policies
and practices used to protect individual computing devices from
security threats.

Examples of endpoints include:

  • Desktop computers
  • Laptops
  • Servers
  • Workstations
  • Smartphones
  • Tablets
  • Virtual machines
  • Cloud workloads
  • Point-of-sale systems
  • Special-purpose business devices

The objective is to reduce the likelihood that an endpoint will be
compromised and to limit the damage if a compromise occurs.

2. The Endpoint Attack Surface

The endpoint attack surface is the collection of applications,
services, accounts, network connections, files, devices and other
components that could introduce security risk.

Common sources of endpoint risk include:

  • Outdated operating systems
  • Unpatched applications
  • Malicious files
  • Phishing messages
  • Weak passwords
  • Excessive administrator privileges
  • Unauthorized software
  • Insecure browser extensions
  • Uncontrolled USB devices
  • Unsecured remote access
  • Lost or stolen devices
  • Misconfigured security settings

3. Endpoint Hardening

Endpoint hardening means reducing unnecessary functionality and
configuring a device securely before it is placed into normal use.

A basic hardening process may include:

  1. Install a supported operating system.
  2. Apply current security updates.
  3. Remove unnecessary applications.
  4. Disable unnecessary services.
  5. Use strong authentication.
  6. Limit administrator privileges.
  7. Enable firewall protection.
  8. Enable appropriate malware protection.
  9. Enable device encryption where appropriate.
  10. Configure security logging and monitoring.

4. Secure Configuration

Security depends heavily on configuration. A device may have excellent
security software installed but still be vulnerable if important
security controls are disabled or incorrectly configured.

Secure configuration should consider:

  • User privileges
  • Password and authentication policies
  • Firewall rules
  • Automatic updates
  • Screen-lock settings
  • Remote access settings
  • Application permissions
  • Logging
  • Encryption
  • Removable media controls

5. Patch Management

Patch management is the process of identifying, testing, deploying and
verifying software updates.

Security patches are important because software vulnerabilities can
become known to attackers and security researchers. Organizations
should maintain an inventory of operating systems and applications so
that important updates can be applied promptly.

A basic patch-management cycle is:

  1. Identify installed software.
  2. Monitor available updates.
  3. Assess security importance.
  4. Test updates where necessary.
  5. Deploy updates.
  6. Verify successful installation.
  7. Document exceptions.

6. Operating System Updates

Operating system updates can contain security fixes, reliability
improvements and compatibility changes.

Endpoints should normally run supported versions of their operating
system. Unsupported operating systems should be replaced, upgraded or
placed under a formally documented risk-management process.

7. Application Updates

Endpoint security is not limited to the operating system. Browsers,
document applications, media software, development tools and other
applications can also introduce vulnerabilities.

Organizations should maintain an application inventory and remove
software that is unnecessary, unsupported or unauthorized.

8. Antivirus and Anti-Malware Protection

Antivirus and anti-malware technologies help identify and block
malicious software.

Modern malware protection can use signatures, behavioral analysis,
reputation information, machine-learning techniques and other
detection mechanisms.

Malware protection should be kept updated and monitored rather than
installed and forgotten.

9. EDR and XDR

Endpoint Detection and Response, commonly called EDR, provides
continuous visibility into endpoint activity and can help security
teams detect and investigate suspicious behavior.

Extended Detection and Response, or XDR, extends detection and
investigation across multiple security data sources such as endpoints,
email, identity systems, networks and cloud environments.

These technologies are designed to improve detection and response,
not to replace secure configuration and good security practices.

10. Host Firewall

A host firewall controls network connections to and from an individual
device.

A properly configured host firewall can reduce exposure by blocking
unnecessary inbound connections and controlling inappropriate network
communication.

Firewall rules should follow the principle of least privilege. Only
necessary services should be accessible.

11. Device and Disk Encryption

Encryption protects information so that it cannot easily be read by
unauthorized parties.

Full-disk or device encryption is particularly useful for laptops and
mobile devices because these devices can be lost or stolen.

Encryption should be combined with strong authentication and secure
key-management practices.

12. Secure Boot

Secure Boot is a security feature designed to help ensure that trusted
software is used during the device startup process.

It can help protect against certain forms of unauthorized modification
to the boot process.

13. Application Control and Allowlisting

Application control limits which software is permitted to execute on
an endpoint.

Allowlisting is a model where approved applications are permitted while
unapproved applications are blocked or restricted.

This can be especially useful on systems that perform specialized
business functions and should run only a limited set of applications.

14. USB and Removable Media Controls

USB drives and other removable devices can introduce malware or create
data-loss risks.

Organizations may use policies that require:

  • Approved removable devices
  • Malware scanning
  • Encryption
  • Restricted write access
  • Device inventory
  • Business justification

15. Endpoint Inventory

An organization cannot effectively protect devices that it does not
know exist.

An endpoint inventory should identify devices and relevant information
such as:

  • Device name
  • Owner or assigned department
  • Operating system
  • Operating system version
  • Installed security software
  • Patch status
  • Encryption status
  • Last check-in time

16. Endpoint Monitoring

Monitoring helps security teams identify abnormal activity.

Examples of useful endpoint signals include:

  • Repeated failed logins
  • Unexpected administrative activity
  • Unusual processes
  • Unexpected software installation
  • Security software being disabled
  • Unexpected network connections
  • Suspicious file activity
  • Unusual system changes

17. Detecting Suspicious Processes

A process is a running program or service. Security monitoring can look
for unusual processes, unexpected parent-child relationships, abnormal
execution locations or programs running with excessive privileges.

Detection should be based on context. A process that is normal on one
endpoint may be unusual on another.

18. Malware Prevention

Effective malware prevention uses multiple layers rather than relying
on one security product.

  • Keep software updated.
  • Use reputable endpoint protection.
  • Restrict unnecessary privileges.
  • Filter dangerous email attachments.
  • Train users to recognize phishing.
  • Restrict unauthorized software.
  • Monitor suspicious behavior.
  • Maintain tested backups.

19. Ransomware Defense

Ransomware can prevent users from accessing files or systems by
encrypting data or otherwise disrupting operations.

Important defensive controls include:

  • Regular security updates
  • Endpoint protection
  • Least privilege
  • Application control
  • Email and phishing protection
  • Network segmentation
  • Offline or immutable backups
  • Restoration testing
  • Incident-response preparation

20. Phishing and Endpoint Risk

Phishing messages can convince users to open malicious files, visit
dangerous websites or provide credentials.

Endpoint security should therefore work together with user awareness
training, email security and identity protection.

21. Local Administrator Rights

Users with unnecessary administrator privileges can accidentally or
intentionally make security-sensitive changes.

The principle of least privilege recommends giving users only the
permissions required to perform their responsibilities.

Administrative accounts should be controlled separately from ordinary
user accounts whenever practical.

22. Remote Access and Remote Management

Remote administration can be useful for support and system management,
but it introduces additional security considerations.

Organizations should consider:

  • Strong authentication
  • Multi-factor authentication
  • Restricted administrative access
  • Encrypted connections
  • Session logging
  • Time-limited access
  • Monitoring of administrative actions

23. BYOD Security

Bring Your Own Device, or BYOD, allows employees or students to use
personal devices for organizational activities.

BYOD policies should define acceptable use, supported devices,
authentication requirements, data protection, security software,
remote management and procedures for lost devices.

24. Mobile Endpoint Security

Mobile devices can contain business information, authentication tokens,
contacts and other sensitive data.

Important mobile controls include:

  • Screen locking
  • Strong authentication
  • Device encryption
  • Operating system updates
  • Application controls
  • Remote wipe capability where appropriate
  • Secure wireless usage
  • Mobile device management

25. Endpoint Security and Backups

Endpoint security reduces the likelihood of compromise, while backups
help organizations recover when information is lost, corrupted or
encrypted by an attack.

Backups should be protected from unauthorized modification and should
be tested regularly. A backup that cannot be restored when needed is
not a dependable recovery control.

26. Endpoint Isolation

If an endpoint is suspected of being compromised, security teams may
isolate it from the network to limit further spread.

Isolation should be performed according to an organization’s incident
response procedures and should preserve information needed for
investigation whenever possible.

27. Endpoint Security Policies

A good endpoint security policy should define minimum security
requirements for devices.

Example policy requirements include:

  • Supported operating systems only
  • Automatic or controlled security updates
  • Approved endpoint protection
  • Device encryption where required
  • Strong authentication
  • Least-privilege access
  • Approved applications only
  • Security monitoring
  • Incident reporting
  • Secure disposal of devices

28. Defensive Endpoint Checklist

The following checklist can be used during a basic endpoint security
review:

  1. Is the operating system supported?
  2. Are security updates current?
  3. Are applications patched?
  4. Is malware protection active?
  5. Is the host firewall enabled?
  6. Is device encryption enabled where required?
  7. Are administrator privileges restricted?
  8. Are unnecessary applications removed?
  9. Are suspicious activities monitored?
  10. Are important files backed up?
  11. Are backups tested?
  12. Is the device included in the organization’s inventory?

29. Practical Defensive Example

The following simple PHP example demonstrates the type of information
that an application might record when performing a defensive system
health check. It does not exploit or attack a system.

<?php

$endpoint = array(
    'hostname'       => gethostname(),
    'php_version'    => PHP_VERSION,
    'operating_user' => get_current_user(),
    'timestamp'      => current_time('mysql'),
);

echo '<pre>';
print_r($endpoint);
echo '</pre>';

In a real enterprise environment, endpoint inventory information would
be collected through approved management tools and handled according
to privacy and security policies.

30. Endpoint Security Incident Scenario

Imagine that an employee reports that their laptop is behaving
unusually. Several applications are slow, security notifications have
appeared and files are changing unexpectedly.

A defensive response could include:

  1. Ask the user to stop using the device for normal work.
  2. Notify the security or IT team.
  3. Assess whether the endpoint should be isolated.
  4. Preserve relevant evidence according to policy.
  5. Review endpoint security alerts and logs.
  6. Determine the scope of the incident.
  7. Remove the underlying threat.
  8. Restore the endpoint safely.
  9. Reset affected credentials when required.
  10. Document lessons learned.

31. Common Endpoint Security Mistakes

  • Leaving systems unpatched.
  • Allowing users unnecessary administrator privileges.
  • Installing unauthorized software.
  • Ignoring endpoint security alerts.
  • Disabling security software without approval.
  • Using unsupported operating systems.
  • Failing to encrypt sensitive devices.
  • Not maintaining device inventories.
  • Failing to test backups.
  • Ignoring lost or stolen devices.

32. Best Practices

  • Maintain an accurate endpoint inventory.
  • Use supported operating systems.
  • Apply security patches promptly.
  • Use endpoint protection.
  • Enable host firewalls.
  • Encrypt sensitive devices.
  • Use least privilege.
  • Control applications and removable media.
  • Monitor important endpoint activity.
  • Train users about phishing and malware.
  • Maintain tested backups.
  • Prepare endpoint incident-response procedures.

33. Practical Lab

Perform a defensive endpoint security review on a computer that you
own or are authorized to manage.

Record the following information:

  1. Operating system and version.
  2. Installed security software.
  3. Firewall status.
  4. Last operating system update.
  5. Important application update status.
  6. Number of administrator accounts.
  7. Whether device encryption is enabled.
  8. Whether automatic screen locking is enabled.
  9. Whether backups exist.
  10. Three improvements you recommend.

Do not attempt to disable security controls or test malicious software
on systems you do not own or have permission to administer.

34. Knowledge Check

  1. What is endpoint security?
  2. Name five types of endpoints.
  3. Why is patch management important?
  4. What is the purpose of a host firewall?
  5. What is EDR?
  6. Why should administrator privileges be restricted?
  7. Why is device encryption important?
  8. What is application allowlisting?
  9. Why are endpoint inventories important?
  10. What is endpoint isolation?

35. Key Terms

  • Endpoint: A device connected to or participating in an information system.
  • Endpoint Security: Security controls used to protect endpoint devices.
  • Hardening: Reducing unnecessary functionality and securely configuring a system.
  • Patch: A software update that may fix vulnerabilities or improve functionality.
  • EDR: Endpoint Detection and Response.
  • XDR: Extended Detection and Response.
  • Host Firewall: A firewall operating on an individual device.
  • Encryption: Converting information into a protected form that requires appropriate credentials or keys to access.
  • Allowlisting: Restricting execution to approved applications or entities.
  • Least Privilege: Giving users and processes only the permissions they need.
  • BYOD: Bring Your Own Device.
  • Endpoint Isolation: Separating a potentially compromised endpoint from other systems to limit risk.

36. Lesson Summary

Endpoint security protects the devices that users and organizations
depend on every day. Effective protection requires multiple layers:
secure configuration, patch management, malware protection, firewalls,
encryption, application control, least privilege, monitoring,
appropriate remote-access controls and tested recovery procedures.

The strongest endpoint security programs combine technology with
policies, user education, monitoring and incident-response preparation.

Next Lesson

Module 6 — Lesson 8: Security Policies

💻

Code Example

<?php

$endpoint = array(
    'hostname'    => gethostname(),
    'php_version' => PHP_VERSION,
    'timestamp'   => current_time('mysql'),
);

print_r( $endpoint );
⭐

Key Takeaways

Endpoints are common targets and must be protected in layers.
Hardening reduces unnecessary attack surface.
Patching is an important defensive control.
EDR and XDR improve visibility and response.
Least privilege reduces the impact of compromised accounts.
Encryption protects information on lost or stolen devices.
Endpoint monitoring helps identify suspicious behavior.
Isolation can limit the spread of an endpoint incident.
Backups support recovery from destructive attacks.

Enjoying this lesson?

Sign in to your Dwallnet Academy student account to track your learning progress and mark lessons as complete.

Sign In to Track Progress