CND (312-38) Network Defense Simulation
Network Scenario
You are a network administrator monitoring edge traffic using Wireshark via a span port off the main firewall. You suspect a threat actor is probing the external-facing web server (192.168.50.80) to bypass standard firewall logging by using packets that do not conform to standard TCP handshakes.
You need to write a Wireshark display filter to identify packets involved in a "Null scan" against the web server.
Traffic & Logs
Question
Expert Analysis
1. What is happening in the network: The packet capture snippet shows an external IP address (203.0.113.45) sending a TCP packet to the internal web server with Flags [none]. This means the URG, ACK, PSH, RST, SYN, and FIN flags are all cleared.
2. Identify attack or behavior: This is a TCP Null Scan. Attackers use this reconnaissance technique to determine if ports are open or closed while attempting to bypass stateless firewalls and logging mechanisms that only inspect SYN or ACK flags.
3. Why correct answer is correct: A. tcp.flags==0x000 is the correct display filter syntax. Wireshark uses the 0x prefix to denote hexadecimal values. When no flags are set, the TCP flags field value is mathematically 0. Therefore, 0x000 isolates packets matching this anomaly.
4. Why others are wrong: Options B (x0000), C (000x0), and D (0000x) use incorrect syntax. The Wireshark display filter engine requires the standard hexadecimal prefix 0x at the beginning of the value string. Using the other formats will result in a syntax error.
5. Defensive Action: Network defenders should configure edge firewalls and IPS devices to drop incoming TCP packets that contain invalid flag combinations (such as all flags set to zero, or SYN+FIN). Enforcing stateful inspection ensures that only valid initial SYN packets or packets belonging to an established session state are permitted.
- Null Scan (0x000): No flags are set. Relies on the target sending a RST if closed, or no response if open/filtered.
- XMAS Scan (0x029): FIN, PSH, and URG flags are set. "Lit up like a Christmas tree."
- FIN Scan (0x001): Only the FIN flag is set, mimicking a closed connection attempt without a prior state.
- Detection vs Prevention: While IDS detects these anomalous flags, a correctly configured stateful firewall naturally prevents them by dropping packets without an associated state table entry.
Ready for more CND challenges?
Explore more CND simulations