Cyber Attacks and Defense in Practice

The technique in which an intruder avoids using custom malware as far as possible and works with legitimate tools already present in the OS, such as PowerShell, WMI and the standard remote administration features, is called "living off the land". Which of the following is the most appropriate way of thinking about countermeasures to this technique?

  1. AThe executables of legitimate tools are digitally signed, so installing antivirus software that checks signatures is enough to detect it
  2. BAttacks using legitimate tools cannot be detected, so give up on post-intrusion measures and invest only in defenses at the entry point
  3. CRecord who ran the legitimate tools, with which arguments and from which parent process, detect unusual use, and limit the people and devices that can use administration tools
Show answer and explanation

Answer: C. Record who ran the legitimate tools, with which arguments and from which parent process, detect unusual use, and limit the people and devices that can use administration tools

In a living-off-the-land attack the programs themselves are legitimate and signed, so methods that recognize known malware by file characteristics cannot detect it. Instead, command arguments and parent-child relationships are collected with EDR and OS logs (such as PowerShell script logging and process creation records), and detection relies on use that differs from normal work, such as "PowerShell launched by an application that opened a document" or "a long encoded command was run". In addition, limiting the users and devices that can use administration tools and allowing only approved applications to run reduce the tools available to the attacker.

  • A. Legitimate tools have valid signatures, so checking signatures cannot tell malicious use apart.
  • B. Defenses at the point of entry alone cannot stop attacks that get through. Detection and response after an intrusion are also needed.
  • C. Correct. Record who ran what and how, detect by behavior and also narrow the scope of use.
Practice this topic Back to topic

Books on Cyber Attacks and Defense in Practice Ad

As an Amazon Associate I earn from qualifying purchases.

More Cyber Attacks and Defense in Practice questions

  1. Which of the following correctly describes access control based on the idea of zero trust?
  2. The zero trust architecture of NIST SP 800-207 separates the "policy decision point (PDP)", which decides whether to allow access, from the "policy enforcement point (PEP)", which carries out the decision. Which of the following correctly describes how the two work when an employee accesses a business application?
  3. Which of the following correctly compares a traditional remote-access VPN with ZTNA (zero trust network access) as ways for remote employees to use internal systems?
  4. Which of the following correctly describes EDR (endpoint detection and response) compared with traditional antivirus software?
  5. Which of the following correctly matches SIEM, SOAR and SOC with their roles in security monitoring?

Comparisons in this topic