Securing the endpoint

8 min 5 sections 4 practice questions 9 sources citedISC2 objective 4.2

An endpoint is any device a person or program uses at the end of a network connection: a laptop, a phone, a server, a till. No background is assumed. A security professional needs it because laptops and phones leave the building, and encrypted traffic hides attacks from network sensors. Protection therefore has to run on the device itself.

By the end of this unit you will be able to:

  • Match each host-based control to the threat it stops
  • Tell apart anti-malware, host intrusion detection and endpoint detection and response
  • Explain what full disk encryption protects and when it does not help
  • Choose mobile device management controls for a lost phone and for a personally owned phone

The laptop left on the train

An illustrative example

A home-care agency gives each of its thirty care coordinators a laptop holding the visit schedules and medication notes for their clients. One coordinator leaves her laptop on a train on Friday evening. It is switched off and has not connected to anything since.

The agency's network is well protected: a firewall, filtered email and a monitored internet link. None of it touches a laptop on a luggage rack.

Which control, set up before the loss, would keep the clients' notes private now?

Network defences stop at the device

An endpoint is a device at the end of a network connection, where people or programs actually use data. Desktops, laptops, servers, phones, tablets, printers and shop tills are all endpoints. Endpoint security is the protection that runs on, or is enforced on, each of these devices. Controls that run on the device itself are called host-based, because a device that holds programs and data is a host.

Network controls such as and network guard the routes between devices. They cannot guard the device in four common cases.

  • The device is outside the building: at home, on hotel or on a train.
  • The traffic is , so a network sensor sees addresses and sizes but not the attack inside.
  • The attack arrives on a USB stick or in a file the user opens, never crossing the monitored link.
  • Two devices on the same subnet talk directly, past any firewall.

A guarded building and a courier's bag

Guards at the gates protect the warehouse. Once a courier walks out with a parcel, only the lock on the parcel protects it. Endpoint controls are the locks that travel with each parcel.

Six controls that run on the host

Malware is software written to harm a device or its owner, such as a , a worm or ransomware. Most host-based controls exist to stop it running, spot it, or limit what it reaches.

Host-based controls and what each stops
ControlWhat it doesWhat it stops
Host-based firewallFilters traffic into and out of this one deviceConnections from neighbours on the same network; programs calling out unexpectedly
Anti-malwareScans files against signatures of known malware, and watches behaviour for unknown malwareKnown malware and much new malware, when it is updated
Host-based IDS or IPSWatches this device's logs, running programs, files and settings; an also blocksChanges to system files, suspicious logins, unusual processes
Endpoint detection and response (EDR)Records activity on every device centrally, raises alerts and lets analysts investigate and isolate a deviceAn intrusion that got past prevention, before it spreads
Application allow-listingOnly programs on an approved list may run; everything else is refusedUnknown programs, including malware no scanner recognises
Host data loss preventionInspects data leaving the device by USB, upload, print or emailSensitive data copied out by mistake or on purpose

Anti-malware works in two ways. A signature is a pattern that identifies one known piece of malware; matching it is reliable but misses anything new. Heuristic or behaviour-based detection judges what a program does, such as encrypting hundreds of files in a minute, and catches new malware at the cost of more false alarms.

reverses the usual rule. A block list names what is forbidden and allows the rest. An allow list names what is permitted and denies the rest, so it suits fixed-purpose devices such as tills and control-room computers.

A hardened, patched and encrypted device

A hardening baseline is the agreed secure configuration for one type of device: services switched off, default passwords changed, settings fixed. Published checklists, called benchmarks, exist for common operating systems. Each new device is built to the and checked against it, so that any later change stands out.

Patch management finds, tests, installs and confirms the updates that suppliers release to fix flaws. An unpatched flaw on any endpoint is an open door for as long as it stays unpatched.

Full disk encryption encrypts everything stored on a device's disk, so that a lost or stolen device yields nothing without the key. Encryption can also cover one volume or chosen files and folders. It protects data at rest only. Once the owner has unlocked the device, its data is readable to the owner and to any malware running as the owner.

Removable media control limits or forbids USB sticks and external drives, for example allowing only encrypted drives the organisation issued. Storage devices with no identifiable owner are banned outright.

Users work without administrator rights. A program they run cannot then install software or switch off the controls above.

Mobile device management controls phones from a distance

Mobile device management (MDM) is a central service that enrols phones and tablets and enforces the organisation's settings on them. Larger suites that also manage apps and content are called enterprise mobility management.

  • Require a screen lock and encryption before the device may reach company data.
  • Install, update and remove work apps, and block apps from unapproved stores.
  • Detect a jailbroken or rooted device, one whose built-in restrictions have been removed, and refuse it access.
  • Wipe the device after a set number of wrong passcodes.
  • Wipe it remotely when it is reported lost or stolen.

changes what is acceptable. With corporate-owned, personally enabled (COPE) devices the organisation owns the phone and may manage all of it. With bring your own device (BYOD) the phone belongs to the employee. Wiping it, or reading its personal contents, is out of proportion.

With choose your own device (CYOD) the employee picks a device from a list of models the organisation approves and supports. With corporate-owned, business only (COBO) the organisation owns the device and allows no personal use, giving it the most control.

For personally owned phones, containerisation keeps work apps and data in a separate encrypted area. The organisation manages and can wipe that area alone. Managing only the work apps, not the whole device, is called mobile application management.

Endpoint and network controls depend on each other

Each side covers the other's blind spots. Network checks a device's posture, such as level and running anti-malware, before letting it join, and the endpoint's own agent supplies that evidence. engines use device health as one input to every access decision.

In the other direction, network show a device talking to an address it never used before, even when the device's own tools have been switched off by malware.

Common misconception

“An endpoint with up-to-date antivirus is secure.”

Antivirus is one of several layers. It cannot stop a thief reading an unencrypted disk or a user copying files to a USB stick. Nor does it stop an unpatched flaw being used, or an intruder with stolen credentials. Hardening, patching, encryption, allow-listing and EDR cover those.

When a question asks which single control fits, match the control to the threat. A lost device calls for encryption. An unknown program calls for allow-listing. An intrusion already under way calls for EDR.

A question, worked through

A charity's fundraisers carry laptops holding donors' bank details to events across the country. Two laptops were stolen from cars last year, switched off. The charity already runs anti-malware and a host firewall on every laptop and has just bought an endpoint detection and response service.

Which control BEST protects donor data on the next laptop that is stolen?

  1. Full disk encryption with a password required at start-up
  2. Remote wipe triggered as soon as a loss is reported
  3. Endpoint detection and response with automatic device isolation
  4. Application allow-listing enforced on every fundraiser's laptop
Decide on your answer, then open the reasoning
  1. The question asks how to keep data private on a laptop in a thief's hands, switched off.
  2. Rule out d: allow-listing controls which programs run on the laptop. A thief who removes the disk does not run its programs.
  3. Rule out c: EDR watches a running, connected device. A laptop that is switched off sends it nothing.
  4. Between a and b: remote wipe works only if the laptop connects to the internet again before the thief reads the disk. Full disk encryption protects the data whether or not the laptop ever connects.
  5. Encryption protects the data at rest in every case, so a is the best answer.

Answer: A. Full disk encryption with a password required at start-up

Choosing between good answers

A device is lost or stolen and the question is about the data on it
choose full disk encryption. Remote wipe helps only if the device connects again.
Only a fixed set of programs should ever run on a device
choose application allow-listing over anti-malware.
An intrusion has passed prevention and must be investigated and contained
choose endpoint detection and response.
Staff use their own phones for work
choose containerisation or application management over full device control and full wipe.
Traffic is encrypted end to end and the attack must be seen
choose a host-based control, because a network sensor cannot read the content.

Check your understanding

4 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 4

A supermarket's tills run one point-of-sale program and nothing else. The security manager wants no other program to run on them, including malware that no scanner yet recognises.

Which host control meets this aim?

What to remember

  • Endpoint security is protection running on, or enforced on, each device, because network controls cannot see a device outside the building, encrypted content or a USB stick.
  • Host firewalls, anti-malware, host IDS and IPS, EDR, allow-listing and host data loss prevention each stop a different threat.
  • Signature detection is precise for known malware; heuristic detection catches new malware with more false alarms.
  • A hardening baseline, prompt patching, removable media control and users without administrator rights keep the device itself in order.
  • Full disk encryption protects data on a lost device that is switched off, not on one that is unlocked.
  • Mobile device management enforces locks, encryption and remote wipe. Personally owned phones get a managed container instead of full control.

Say it from memory

  1. List the main host-based endpoint controls and the threat each one stops.

    Host firewall: unwanted connections to and from the device. Anti-malware: known and suspicious malware. Host IDS or IPS: changes and suspicious activity on the host. EDR: intrusions that got through, by recording, investigating and isolating. Allow-listing: unapproved programs. Host DLP: data leaving. Hardening, patching, full disk encryption, removable media control and MDM keep the device itself secure.

    Read this part again

  2. In which four common cases can network controls not guard an endpoint?

    When the device is outside the building, at home, on hotel Wi-Fi or on a train. When the traffic is encrypted, so a network sensor sees addresses and sizes but not the attack. When the attack arrives on a USB stick or in a file the user opens. When two devices on the same subnet talk directly, past any firewall.

    Read this part again

  3. What is a hardening baseline, and what does full disk encryption protect and not protect?

    A hardening baseline is the agreed secure configuration for one type of device: services switched off, default passwords changed, settings fixed. Full disk encryption protects data at rest, so a lost or stolen device yields nothing without the key. Once the owner unlocks the device, its data is readable to the owner and to any malware running as the owner.

    Read this part again

  4. Tell apart COPE, BYOD, CYOD and COBO, and say what containerisation does.

    COPE: corporate-owned, personally enabled; the organisation may manage all of it. BYOD: the employee owns the phone. CYOD: the employee picks from approved models. COBO: corporate-owned, business only, with no personal use and the most control. Containerisation keeps work apps and data in a separate encrypted area that the organisation alone manages and can wipe.

    Read this part again

  5. Which single control fits a lost device, an unknown program and an intrusion already under way?

    A lost device calls for encryption. An unknown program calls for allow-listing. An intrusion already under way calls for endpoint detection and response (EDR).

    Read this part again

Sources