AP Cybersecurity
AP Cybersecurity / All lessons / Unit 3: Securing Networks
3Unit 3: Securing Networks
AP Cybersecurity topic 3.5

Detecting Network Attacks

Intrusion detection systems (IDS) watch traffic and alert on known attack signatures or unusual behavior. Intrusion prevention systems (IPS) can also block it. Analysts read logs and packet captures, look for patterns like many failed connections, and use a SIEM to collect events from many sources in one place.

Detecting Network Attacks vocabulary

  • IDS: Intrusion detection system: alerts on suspicious traffic.
  • IPS: Intrusion prevention system: detects and blocks suspicious traffic.
  • Signature-based detection: Matching traffic against patterns of known attacks.
  • SIEM: A system that gathers and correlates security logs from many devices.

AP-style practice questions

Try each one, then open the answer. To save your progress, take this quiz in the interactive course.

Skill: Detect Attacks
IDS alert summary, 01:00-01:05
Source 192.0.2.44 -> 10.1.1.0/24
TCP SYN to ports 21, 22, 23, 25, 53, 80, 110, 139, 443, 445, 3389
254 hosts probed in 47 seconds

1. Which of the following activities is indicated by this alert?

  1. (A) A port scan
  2. (B) A phishing campaign
  3. (C) A ransomware infection
  4. (D) A password reset
Show answer

(A) A port scan Probing many ports across many hosts in seconds is network reconnaissance (a port scan).

Skill: Detect Attacks

2. A school switches from an intrusion detection system (IDS) to an intrusion prevention system (IPS). Which of the following is a new risk of this change?

  1. (A) Attacks will no longer be logged
  2. (B) A false positive could block legitimate traffic, disrupting users
  3. (C) The network will lose all encryption
  4. (D) Signature updates will stop
Show answer

(B) A false positive could block legitimate traffic, disrupting users An IPS takes action automatically, so a mistaken alert can block real users.

Skill: Detect Attacks

3. A company wants one dashboard that collects and correlates logs from firewalls, servers, and laptops. Which tool meets this need?

  1. (A) SIEM
  2. (B) VPN
  3. (C) Antivirus
  4. (D) Access control vestibule
Show answer

(A) SIEM A security information and event management (SIEM) system centralizes and correlates logs.

Skill: Detect Attacks

4. Which of the following is a likely impact of relying only on signature-based network detection?

  1. (A) New attacks with no known signature may go undetected
  2. (B) Every normal activity will trigger alerts
  3. (C) Detection will require no updates
  4. (D) Encryption will stop working
Show answer

(A) New attacks with no known signature may go undetected Signatures only match known attacks, so new ones can be false negatives.

Open 3.5 in the interactive course