Topic 4.3 · Unit 4: Securing Devices · 20 minute session

4.3 Protecting Devices

Devices are protected by managerial controls (an acceptable use policy, a password policy and a software installation policy), by anti-malware software that matches files against a database of malware signatures, by keeping the operating system and software patched, and by a host-based firewall whose ordered rules allow or deny traffic into and out of that one device.

Big idea Protect the device as if the network around it is already compromised: policy, anti-malware, patches and its own firewall.

Course and exam description (CED) codes covered: 4.3.A.14.3.A.24.3.A.34.3.B.14.3.B.24.3.C.14.3.C.24.3.D.14.3.D.24.3.D.34.3.D.4

Last reviewed against the CED:

By the end of this session you can

  • 4.3.A Identify managerial controls related to device security.
  • 4.3.B Explain how anti-malware software can make a device more secure.
  • 4.3.C Explain why keeping a device's operating system and software updated makes it more secure.
  • 4.3.D Configure a host-based firewall.

Already know this? Jump to the checkpoint.

1. Managerial controls for devices (4.3.A)

Policy What it may include
Acceptable use policy 4.3.A.1 Blocking specific websites or types (social media, gaming); requiring software to stay updated; allowing peripheral devices; prohibiting external drives or media
Password policy 4.3.A.2 Minimum or maximum length; minimum or maximum time to keep a password; no reuse; construction rules (no dictionary words, character sets); using a password manager instead of writing passwords down
Software installation policy 4.3.A.3 Prohibiting users from installing software; a process to request software needed for a role; a list of approved software

2. Anti-malware software (4.3.B)

Anti-malware software (sometimes called antivirus) has tools to quarantine and remove malware that can corrupt, spy on or destroy a system. Malware contains indicators that make it detectable, called signatures 4.3.B.1. The software keeps a database of signatures, periodically scans the device’s files, and quarantines and removes any file that matches 4.3.B.2.

Anti-malware · scheduled scan
Scanned 48,212 files   Signatures updated: today 06:00
C:\Users\Public\Downloads\invoice_scan.pdf.exe
  Match: Trojan.Agent (signature 7741)   Action: quarantined
1 threat found · 1 quarantined · 0 removed pending

3. Updates and patches (4.3.C)

When a vulnerability is found in an operating system or software, the vendor fixes it and sends an update; a small update is called a patch 4.3.C.1. Keeping the operating system and applications on the newest version stops adversaries from exploiting known vulnerabilities 4.3.C.2.

4. Host-based firewalls (4.3.D)

  • A host-based firewall allows or denies traffic into or out of a single device, adding a layer of protection if the device is on a compromised network 4.3.D.1.
  • It is software on the device that follows an access control list (ACL): rules applied in order, first match wins, just like a network firewall 4.3.D.2.
  • It can also block specified outbound traffic, and should block every port or service the device does not need 4.3.D.3. For example, a library catalog kiosk might allow outbound traffic only to the catalog server and the update server, and deny everything else.
  • Rules can allow or deny by source or destination port or internet protocol (IP) address, service, protocol or application 4.3.D.4.

Audit a laptop’s host-based firewall below.

Lock it in: memory hooks

One picture per idea. If you remember the hook, you can rebuild the details.

  • Three device policiesUse, password, install: what you may do, how you sign in, what you may add.
  • Anti-malwareA most-wanted list: scan, match a signature, quarantine, remove.
  • Host-based firewallA bodyguard for one device, checking who comes in and what goes out, top rule first.

Common misconceptions

  • "A host-based firewall is pointless if the network already has one."

    Not quite. It adds a layer for when the device sits on a compromised network, and it can block outbound traffic from that one device.

  • "Anti-malware catches every threat."

    Not quite. It matches files against known signatures, so its database must stay updated and it can miss brand-new malware.

  • "Firewalls only control traffic coming in."

    Not quite. A host-based firewall can also block specified outbound traffic, which helps stop an adversary sending stolen data out.

Simulation · [4.3.D.1, 4.3.D.2, 4.3.D.3, 4.3.D.4]

Host-based firewall: which rules should change?

This laptop at 10.0.8.15 is used only for browsing, email and the school's learning platform. Rules are checked in order, first match wins. HTTPS is secure web traffic, DNS looks up website names, RDP is remote desktop, SSH is secure remote login and Telnet is unencrypted remote login. Tap every rule that allows something the device does not need, or that makes a later rule useless.

Host firewall · LAPTOP-S108 (10.0.8.15)swipe sideways for more
RULEACTIONDIRECTIONSOURCEDESTINATIONPORTSERVICE
  1. Fine. Secure web traffic out is exactly what this laptop needs.

  2. Fine. Looking up website names is needed for browsing.

  3. Red flag. Remote desktop open to anyone: an open port the laptop does not need. Block it.

  4. Red flag. Allows every inbound connection, so the Telnet deny below is never reached. Host firewalls should block what is not needed.

  5. Fine. Blocking Telnet is right, but rule 4 matches first, so this rule never runs until rule 4 is removed.

  6. Red flag. Outbound remote login to any server is not needed for browsing and email. Block services the device does not use.

  7. Fine. A default deny for inbound traffic at the end is good practice.

  8. Fine. A default deny for outbound traffic means anything not allowed above, such as file transfers to unknown servers, is blocked.

Exam traps

  • A policy is a managerial control even when it is about devices; anti-malware, patches and host-based firewalls are technical controls.
  • Host-based firewall rules work like network firewall rules: in order, first match wins. Blocking ports or services the device does not need is the default stance.
  • A patch fixes a known vulnerability. An unpatched device is exactly what an exploit for that known vulnerability targets.

By the numbers

Say each list out loud, then tap to check.

3 device policies Say them, then tap
4 things anti-malware does (as listed here) Say them, then tap
  • keep a signature database
  • scan files
  • match a signature
  • quarantine and remove
4 host firewall facts Say them, then tap
  • controls one device
  • rules in order (first match)
  • can block outbound traffic
  • block ports or services not needed

In 30 seconds

  1. Acceptable use policy: what users may, may not and must do on organization devices. Password policy: length, age, reuse, construction rules, use a password manager. Software installation policy: what may be installed and how to request more.
  2. Anti-malware scans files against a database of signatures and quarantines and removes matches.
  3. Vendors fix vulnerabilities with updates; a small update is a patch. Staying current blocks exploits of known vulnerabilities.
  4. A host-based firewall filters traffic into and out of one device with an ordered ACL, by port, IP address, service, protocol or application.

Cover this list, say the points out loud, then take the checkpoint without scrolling back up.

Checkpoint · 8 questions

Checkpoint: Protecting Devices

Pick an answer to mark it. Every answer is explained, and you can try any question again. Your saved score counts first tries only, and stays in this browser.

  1. A company rule says employees may not connect personal external drives to company laptops and must not visit gaming websites at work.
    1 Which managerial control would most likely contain this rule? 4.3.A.1
    Show answer

    Answer: A. An acceptable use policy describes what is permitted, prohibited or required on organization devices, such as prohibiting external drives.

  2. A school lists approved apps for staff laptops. Staff cannot install anything else, but they can submit a request form when they need new software for their role.
    2 Which of the following policies does this describe? 4.3.A.3
    Show answer

    Answer: B. A software installation policy states what software users may install, often with an approved list and a process to request new software.

  3. During a scheduled scan, anti-malware software flags and quarantines a downloaded file named invoice_scan.pdf.exe.
    3 How did the anti-malware software most likely identify the file? 4.3.B.1, 4.3.B.2
    Show answer

    Answer: C. Anti-malware software scans files and checks them against its database of malware signatures; a match is quarantined and removed.

  4. A vendor released an update three months ago fixing a known vulnerability in its web browser. An adversary uses an exploit for that vulnerability against office computers that never installed the update.
    4 Which action would most directly prevent this attack? 4.3.C.1, 4.3.C.2
    Show answer

    Answer: D. Updating to the most recent version, including the patch, prevents adversaries from exploiting a known vulnerability.

  5. 5 A school's network already has a firewall. Which of the following best explains why each laptop should also run a host-based firewall? 4.3.D.1
    Show answer

    Answer: C. Host-based firewalls allow or deny traffic into or out of a single device, adding protection when a host is on a compromised network.

  6. A laptop's host-based firewall lists these inbound rules in order. (TCP is the transmission control protocol.)
    Host-based firewall (inbound)
    RuleActionSourcePortProtocol
    1AllowALLALLALL
    2DenyALL3389TCP
    3DenyALLALLALL
    6 What happens to an inbound remote desktop (RDP) connection on port 3389? 4.3.D.2
    Show answer

    Answer: D. Host-based firewall rules are applied in order and the first match wins. Rule 1 allows all inbound traffic before the deny rule is reached.

  7. A library catalog kiosk should talk only to the catalog server and the update server. Its host-based firewall has these outbound rules.
    Host-based firewall (outbound)
    RuleActionDestinationPortService
    1Allow10.6.0.20 (catalog server)443HTTPS
    2Allow10.6.0.30 (update server)443HTTPS
    3????
    7 Which rule should the administrator add at the end so the kiosk can reach only the servers it needs? 4.3.D.3, 4.3.D.2
    Show answer

    Answer: B. Host-based firewalls can block specified outbound traffic and should block services the device does not need. A final outbound deny means anything not allowed above is blocked.

  8. 8 A company is writing its password policy. Which of the following would most likely appear in it? 4.3.A.2
    Show answer

    Answer: A. Password policies cover length, how long a password may be kept, reuse, construction rules and using password managers.

Key terms: flip the cards

Read the term, say the definition out loud, then flip to check. Struggling a little to remember is what makes it stick.

  • Acceptable use policytap to flip

    A managerial control describing what users may, may not and must do on organization devices.

    Example and CED codes
  • Password policytap to flip

    A managerial control setting password requirements: length, age, reuse, construction rules and password managers.

    Example and CED codes
  • Software installation policytap to flip

    A managerial control stating what software users may install, with an approved list and a request process.

    Example and CED codes
  • Anti-malware softwaretap to flip

    Software that scans files against a database of malware signatures and quarantines and removes matches.

    Example and CED codes
  • Signaturetap to flip

    An indicator in malware that makes it detectable; anti-malware and signature-based tools match against databases of them.

    Example and CED codes
  • Patchtap to flip

    A small software update from a vendor that fixes a known vulnerability.

    Example and CED codes
  • Host-based firewalltap to flip

    Software on a single device that allows or denies traffic into or out of it using an ordered set of rules.

    Example and CED codes
  • Access control list (ACL)tap to flip

    The ordered set of rules a firewall uses to permit or deny inbound and outbound traffic; the first matching rule is executed.

    Example and CED codes

Questions students ask

What does an acceptable use policy include?

The activities that are permitted, prohibited or required on organization devices, for example blocking certain websites, requiring updates, allowing peripheral devices and prohibiting external drives.

How does anti-malware software find malware?

It keeps a database of malware signatures, periodically scans the device's files for matches, and quarantines and removes any match.

What is a host-based firewall?

Software on a single device that allows or denies traffic into or out of that device using an ordered set of rules, adding protection if the device is on a compromised network.

Was this page helpful?

Please do not include personal details. To get a reply, email [email protected].

Contents
↑ Top

Enlarged view of the selected figure