A network administrator installs a passive Network Intrusion Detection System (NIDS) connected to a switch SPAN port to monitor application traffic for web servers. All incoming web application traffic is encrypted end-to-end using TLS on TCP port 443. During a penetration test, simulated cross-site scripting (XSS) attacks sent inside HTTPS payloads pass through the network undetected by the NIDS. Which of the following best explains why the NIDS failed to generate an alert?
- The passive NIDS cannot decrypt packet payloads in transit, preventing signature matching against the encrypted application-layer attack strings.Answer
- BThe NIDS operates exclusively at Layer 2 of the OSI model and is structurally incapable of analyzing TCP port headers or IP packet structures.
- CThe switch SPAN port automatically filters out encrypted TCP port 443 traffic because port mirroring is reserved strictly for unencrypted UDP protocols.
- DNetwork-based detection systems automatically drop packets with TCP destination port 443 because TLS packets lack standard IP header checksums.
Answer
The passive NIDS failed to detect the attack because it cannot inspect packet payloads encrypted by TLS without access to session decryption mechanisms.
Network Intrusion Detection Systems (NIDS) rely on deep packet inspection (DPI) to match known attack signatures against application-layer payloads. When web application traffic is protected by TLS encryption, the HTTP payload containing the attack string (such as an XSS payload) is converted into ciphertext. A passive out-of-band NIDS connected to a SPAN port receives duplicate raw encrypted frames and lacks the cryptographic keys and inline decryption capability required to inspect the underlying payload.
Step-by-Step Solution
Key Concept
Impact of Payload Encryption on Network Intrusion Detection Systems