Troubleshooting network security
SecurityX CAS-005 · Lesson 15 of 24 · 2:02:38
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Prepare for the CompTIA SecurityX (CAS-005) exam. In this lesson: configuration drift, routing, switching, and VPN errors, IPS and IDS issues and observability, DNSSEC, poisoning, sinkholes, and zone transfers, SPF, DKIM, DMARC, and S/MIME, and TLS, cipher, PKI, DoS, and ACL problems. Includes three original practice questions, with Thornbury Biotech, a fictional biotech company whose security architect designs and runs its security, as the example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
A Tuesday on the network
On a Tuesday at Thornbury Biotech, partners report that Thornbury's email lands in spam, the tunnel to the contract lab keeps dropping, and the intrusion prevention system blocks a legitimate instrument upload. The network team suspects a dozen causes, from DNS to certificates. Troubleshooting starts with what changed, and with data from every layer.
Network misconfigurations
Most network incidents start with a change: configuration drift creeps in when devices are edited by hand, so compare running configurations with an approved baseline, and keep every change under version control. Routing errors, like a wrong static route, a missing route, or an asymmetric path, send traffic the wrong way or into a black hole, and stateful firewalls drop replies that come back on a different path. Switching errors include a port in the wrong VLAN, a trunk that does not carry a needed VLAN, and spanning tree loops that flood the network. Insecure routing means routing protocols without authentication, or route announcements accepted from anyone, so authenticate neighbors and filter the routes you accept, with route origin validation on the internet. VPN and tunnel errors usually come from settings that differ between the two ends: encryption and hashing proposals, pre-shared keys or certificates, lifetimes, or the networks each side expects to protect.
IPS, IDS, and observability
Intrusion detection and prevention fail in four ways: misconfigured rules, missing rules, false results, and poor placement. A false positive flags harmless traffic, like a lab upload that matches a broad signature, while a false negative misses a real attack, which is worse, because nobody looks. Tune instead of disabling: narrow the rule to the right hosts or ports, add a documented exception, and test each change against captured traffic. Placement matters: a sensor that only sees traffic entering and leaving misses movement between internal servers, and encrypted traffic needs decryption or host sensors to be inspected. Observability brings logs, metrics, flow data, and traces together, so the team can ask new questions during an incident, not only check dashboards built in advance.
DNS security
DNS poisoning plants false answers in a resolver's cache, sending users to an attacker's server while the name looks correct. DNSSEC adds digital signatures to DNS data, so resolvers can check that answers are authentic and unchanged, through a chain of trust from the root, but it does not encrypt anything. DNSSEC failures usually come from expired signatures, or from a key rollover that never reached the parent zone, and validating resolvers then refuse to answer for the whole domain. A DNS sinkhole answers requests for known malicious domains with an internal address, which blocks the connection and shows which hosts tried to reach them. Zone transfers copy a whole zone between DNS servers, so allow them only to authorized secondary servers, ideally authenticated, or anyone can list every host name.
Email security
SPF publishes, in DNS, which servers may send mail for a domain, and it breaks when a new sending service is not added, or when the SPF entry needs too many DNS lookups. DKIM signs each message with a private key, and receivers check it with the public key in DNS, so a rotated key that was not published, or a gateway that rewrites the message, makes the check fail. DMARC tells receivers what to do when SPF and DKIM fail, or do not align with the visible From domain: nothing, quarantine, or reject, and it sends reports back to the domain owner. Start DMARC with a policy of none, use the reports to find every legitimate sender, then move to quarantine and to reject. S/MIME is different: it signs and encrypts individual messages end to end with certificates, so its errors come from expired or untrusted certificates, and from missing recipient keys.
TLS, ciphers, and PKI
TLS errors often come from certificates: an expired certificate, a name that does not match the host, or a missing intermediate certificate, so the client cannot build a chain to a trusted root. A cipher mismatch means that client and server share no protocol version or cipher suite, which happens when a server disables old versions that a legacy client still needs, or the reverse. PKI issues include revocation checks that cannot reach the responder, a certificate authority that expired or was distrusted, and private keys stored where they can be copied. Cryptographic implementation issues are subtler: weak random numbers, reused nonces, hard-coded keys, or homemade algorithms can break strong ciphers without any visible error. Test endpoints with a TLS scanner, check the full chain from the client's side, and track every certificate's expiry date in an inventory.
Availability and access lists
A denial of service attack exhausts a resource, like bandwidth, connection tables, CPU, or memory, and a distributed attack does it from thousands of sources at once. Volumetric floods are absorbed upstream, by a scrubbing service or a content delivery network, while protocol and application attacks need rate limits, connection timeouts, and web application firewall rules. Resource exhaustion also happens without an attacker: a full log disk, a leaking process, or exhausted ephemeral ports can look exactly like an attack, so compare with baselines before blaming one. Network access control lists are processed in order, and the first match wins, so a broad allow placed above a specific deny silently lets traffic through. Most lists end with an implicit deny, so a missing allow blocks legitimate traffic, and where a list is stateless, return traffic must be allowed as well.
Recap
Let's recap. Drift, routing, switching, insecure routing, and tunnel errors usually start with a change, so compare with baselines, and check both ends of a tunnel. IPS problems come from rules, false results, and placement, so tune instead of disabling, and observability lets the team ask new questions. DNSSEC signs answers against poisoning, sinkholes catch bad domains, and zone transfers stay restricted, while SPF, DKIM, and DMARC protect the domain, and S/MIME protects messages. TLS fails on certificates and cipher mismatches, and PKI and implementation flaws can break strong cryptography. And DDoS and resource exhaustion attack availability, while access control lists fail on order and on the implicit deny.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
After new signatures are loaded, Thornbury’s IPS blocks file uploads from one lab instrument to its analysis server, and the security team confirms that the files are clean. What should the team do?
- Tune the rule for that host and document it
- Disable the IPS until the vendor responds
- Move the sensor so it no longer sees lab traffic
- Exclude the whole lab network from inspection
Show the answer
Tune the rule for that host and document it
This is a false positive, so narrow the rule or add a documented exception for that traffic, and keep the protection. “Disable the IPS until the vendor responds” would leave the whole network unprotected. “Move the sensor so it no longer sees lab traffic” only hides the problem by blinding the sensor. And “Exclude the whole lab network from inspection” would create a large gap that attackers could use.
Partners report that Thornbury’s invoices, sent by a new billing service, land in spam, while normal staff email arrives fine, and DMARC reports show the billing service failing SPF and DKIM. What should the team fix first?
- Change the DMARC policy from none to reject
- Issue S/MIME certificates to the finance staff
- Enable DNSSEC on the domain
- Authorize the billing service in SPF and DKIM
Show the answer
Authorize the billing service in SPF and DKIM
The new service is not authorized, so add it to SPF and give it a DKIM key aligned with the domain. “Change the DMARC policy from none to reject” would make things worse, because the failing invoices would be rejected. “Issue S/MIME certificates to the finance staff” only protects individual messages between people, not mail from a service. And “Enable DNSSEC on the domain” only signs DNS answers, and it does not authorize senders.
After Thornbury’s web gateway is hardened, a legacy lab instrument can no longer upload results over HTTPS, and the gateway logs show a handshake failure with no shared cipher, while the certificate is valid. What is the most likely cause?
- A missing intermediate certificate in the chain
- No common protocol version or cipher suite
- A DNSSEC signature that expired
- A network ACL that blocks the HTTPS port
Show the answer
No common protocol version or cipher suite
Hardening disabled old versions or suites that the instrument still uses, so allow them only on a dedicated endpoint, or upgrade the instrument. “A missing intermediate certificate in the chain” would cause a certificate chain error, but the chain is valid. “A DNSSEC signature that expired” only affects DNS answers, not the TLS handshake. And “A network ACL that blocks the HTTPS port” would block the connection before any handshake starts.