Free lesson · CompTIA A+ 220-1202 · 3:49

Threats: DoS, Evil Twin, On-Path, Injection and More

The threats in CompTIA A+ 220-1202 objective 2.5: denial of service and distributed denial of service, evil twin, spoofing, on-path attacks, brute-force and dictionary attacks, SQL injection, cross-site scripting, insider threats, business email compromise, supply chain attacks and zero-day attacks.

Narration uses an AI-generated voice; every lesson is checked against published sources.

What you will learn

  • The difference between DoS and DDoS
  • Evil twin, spoofing and on-path attacks
  • Brute-force versus dictionary password attacks
  • SQL injection and cross-site scripting (XSS)
  • Insider threats, business email compromise, supply chain and zero-day attacks

PRACTICE TESTS

Ready to drill it?

Practice tests for CompTIA A+ Core 1 and Core 2, every answer explained and checked against published sources. $19.95 for 30 days, plus sales tax where it applies; one payment, nothing renews.

See the 30-day pass

Try 10 sample questions

Chapters

  1. 0:00DoS and DDoS
  2. 0:33Evil twin, spoofing, on-path
  3. 1:02Brute-force and dictionary attacks
  4. 1:26SQL injection and cross-site scripting
  5. 1:57Insider threat, BEC, supply chain, zero-day
  6. 2:38Quick drill and recap

Exam objectives covered

  • Core 2 (220-1202) objective 2.5, Security

Transcript

Read the full lesson narration

DoS and DDoS

Not every attack starts with tricking a person. Some go straight for the network, the password, or the code.

Start with availability. A denial of service attack, DoS, tries to make a service unavailable, often by flooding it with more traffic or requests than it can handle. A distributed denial of service attack, DDoS, does the same thing from many machines at once, often a botnet of infected computers. That makes it much harder to stop, because there's no single source to block.

Evil twin, spoofing, on-path

Next, attacks that fake an identity or sit on the network. An evil twin is a rogue wireless access point that imitates a real one, so people connect to the attacker instead. Spoofing means faking an identity, like an email sender, an IP address, or a MAC address. And an on-path attack puts the attacker between two parties, where they can read or change the traffic. You may also hear it called man in the middle.

Brute-force and dictionary attacks

Then there are password attacks. Brute force tries possible combinations, one after another, until one works. A dictionary attack tries a list of likely passwords instead, like common words and passwords leaked in past breaches. Long, unique passwords, account lockout, and multifactor authentication help defend against both.

SQL injection and cross-site scripting

Some attacks target the code behind a website. SQL injection slips database commands into an input field, like a login or search box, so the database runs them. That can expose or change data. Cross-site scripting, XSS, injects malicious script into a web page, so it runs in other visitors' browsers, where it can steal session information or redirect them. Developers defend against both with safe coding, like parameterized queries, output encoding, and input validation.

Insider threat, BEC, supply chain, zero-day

The last group abuses trust and timing. An insider threat is someone with legitimate access, like an employee or contractor, who misuses it, on purpose or by accident. Business email compromise, BEC, uses a hijacked or spoofed business email account to trick staff into sending money or data, often with a fake invoice or changed payment details. A supply chain attack compromises a trusted vendor, software update, or build pipeline, so the attack arrives through something you already trust. And a zero-day attack exploits a flaw the vendor hasn't fixed yet, so there's no patch to install.

Quick drill and recap

Quick drill. Say the answer before I do. Thousands of infected computers flood one website? DDoS. A fake Wi-Fi network named like the coffee shop's? Evil twin. Someone secretly relaying traffic between you and your bank? On-path. Commands typed into a login box to read the database? SQL injection. A flaw attackers exploit before any patch exists? Zero-day.

Lock in these four. One. DoS usually comes from one source, DDoS from many. Two. Evil twin fakes the Wi-Fi, spoofing fakes an identity, on-path sits in the middle. Three. Brute force tries combinations, dictionary tries the likely list. Four. SQL injection targets the database, cross-site scripting targets other users' browsers.

That's the threat list. Now go prove it. Practice questions are waiting for you in Drill Sergeant.

PRACTICE TESTS

Ready to drill it?

Practice tests for CompTIA A+ Core 1 and Core 2, every answer explained and checked against published sources. $19.95 for 30 days, plus sales tax where it applies; one payment, nothing renews.

See the 30-day pass

Try 10 sample questions

Related lessons

Found a mistake in a lesson? Email support@drillsgthq.com with the lesson and what is wrong.

Drill Sergeant is an independent study resource. It is not affiliated with, endorsed by, or sponsored by CompTIA, Inc. CompTIA and A+ are trademarks or registered trademarks of CompTIA, Inc.