Courseiva
Network Intrusion Analysis →mediumMultiple Choice

200-201 Network Intrusion Analysis Practice Question

A security analyst is reviewing PCAP data and sees a TCP stream with interactive shell commands such as 'whoami', 'ls -la', and 'cat /etc/passwd'. The session appears to be bidirectional with a remote IP. Which type of attack is most likely occurring?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Reverse shell

Interactive shell commands over TCP indicate a reverse shell, where the attacker has a command shell on the victim.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Reverse shell

    Why this is correct

    A reverse shell is an outbound connection from the victim to an attacker-controlled listener, carrying interactive commands such as whoami, ls -la and cat /etc/passwd. The bidirectional stream to a remote IP matches this pattern rather than inbound exploitation.

  • ✗

    DNS tunnelling

    Why it's wrong here

    DNS tunnelling carries data inside DNS queries and responses, typically to a resolver on port 53, so it cannot produce a bidirectional TCP stream containing shell commands. It is tempting because it also enables covert command-and-control, and would be correct if the PCAP showed long, encoded subdomain labels or TXT record abuse instead of interactive shell traffic.

  • ✗

    SQL injection

    Why it's wrong here

    SQL injection targets database queries through application input fields, not an interactive TCP shell. The observed commands — 'whoami', 'ls -la', 'cat /etc/passwd' — are operating-system reconnaissance typical of a reverse shell, so no SQL parser is involved. SQL injection would fit a scenario where crafted input manipulates a web application's database queries.

  • ✗

    Man-in-the-middle attack

    Why it's wrong here

    A man-in-the-middle attack intercepts or relays existing traffic between two parties, so the PCAP would show a victim's session being proxied or altered, not a remote host issuing shell commands. It is tempting because MITM also involves a remote IP and bidirectional traffic, and would be correct if the analyst saw ARP spoofing or certificate substitution.

About these practice questions

One of 968 original 200-201 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-201 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-201 exam.