Endpoint Hardening Techniques


Hardening is the process of putting an operating system or application in a secure configuration.

  • important to keep in mind the devices intended use
    • hardening can restrict a system’s access and capabilities
  • for a device in a given role, a standardized secure configuration should be established
    • called a secure baseline
    • can be applied automatically for a consistent reliable process
  • system should only run protocols and services for its required use and no more
    • minimizes attack surface

Protecting Ports/Interface

  • Interfaces provide a connection to the network
  • may have more than one interface
    • wired and wireless
  • involves restricting the physical interfaces/ports
  • explicitly disable non-required interfaces
  • port control software
    • allows only authorized devices to connect
  • can leverage device firmware settings to:
    • disable physical ports
    • require a password before a device can boot from a nonstandard source
      • e.g., USB drive
  • firewalls

Services

  • Services provide a library of functions for different types of applications
  • unused services should be disabled

Application Ports

  • Application service ports allow client software to connect to applications over a network
  • should either be disabled or blocked at a firewall if remote access is not required
  • server might be configured with a non-standard port
    • e.g., HTTP server might be configured to use 8080 rather than 80
  • intrusion detection system should detect if network data does not correspond to the expected protocol format

Encryption Techniques

Accounts

  • Accounts should be checked and reviewed to determine:
    • whether account is needed
    • whether the account has properly configured privileges
  • unused/unneeded accounts should be disabled or removed

Host-Based Firewalls and IPS

  • Host-Based Firewall
    • use implicit deny/default deny policies
      • block all traffic unless explicitly allowed
      • ensures that only approved services and applications can communicate
    • Configuring firewalls to block or allow traffic based on port numbers is also critical
      • minimize entry points for attack
    • Advanced host-based firewalls often include application control features which permit only trusted applications to communicate
  • Host-Based IDS & IPS (HIDS-HIPS)
    • monitor for known malicious patterns or anomalies in network traffic
  • vital elements of endpoint hardening
    • provide controls for incoming and outgoing network traffic
    • essential for detecting potential attacks
  • Traffic filtering
    • enables firewalls and IPS to sift through traffic based on parameters like IP addresses, protocols, and services to block malicious traffic or only allow traffic to use secure protocols
  • logs generated by host-based firewalls and IPS support rapid detection and response when integrated with other security tools like security information and event management (SIEM) systems

Installing Endpoint Detection

  • Deploying and managing endpoint protection agents requires:
    • strategic planning
    • adherence to established best practice configuration and management practices
  • Best practices:
    • Create a Deployment Plan
      • consider:
        • deployment order
        • time frames
        • use stages to limit disruptions
    • Standardize Configurations
      • ensure consistency in protection levels
      • simplify compliance management
    • Automate Deployments
      • using tools like
        • Microsoft System Center Configuration Manager (SSCM)
        • Group Policy
        • third-party solutions
    • Updates and Patches
      • to endpoint protection agent software and definitions are required
        • to ensure the highest levels of protection against the latest known threats
    • Monitor endpoint protection agents
      • check for alerts or signs of potential security incidents
      • verify that agents are running
      • ensure that updates and patches are applied successfully
    • Centralize Management
      • to provide a comprehensive view of endpoint configurations, updates, and status
      • allows administrators to enforce global security policies

Changing Defaults and Removing Unnecessary Software

  • Change default passwords
  • remove unnecessary software
    • keep only software needed for intended function
    • disable unneeded features or services in remaining software
    • this simplifies patch management

Decommissioning

  • data sanitization
    • secure erase
  • reset devices back to factory settings
  • update inventory records

Maintenance

  • important to establish a maintenance cycle for each device
  • keep up to date with new security threats and responses for software on device
  • verify hardware and software versions are actively supported
  • remove End of Support and End of Life devices and software