Posts

Showing posts from February, 2026

PCAP Doesn't Lie Part 2

Image
Network security monitoring (NSM) is sending a copy of network traffic consisting of packets to a monitoring device, processing those packets with monitoring software, and then writing the data to storage. There are 2 enemies of network security monitoring (NSM): packet loss and encryption.  While eliminating all packet loss may be impossible as an NSM engineer, you must understand packet loss and where it occurs to minimize it. There are 4 possible locations for packet loss: in-transit, on the interface, during processing, and while writing to disk. This post will discuss the first of these four possible locations: in-transit. In-transit packet loss occurs when data packets are dropped during transmission to your NSM device. There are 2 ways send packets to your NSM device. A SPAN (Switched Port Analyzer), also called port mirroring, is a switch feature that copies network traffic. The issue with SPAN ports is that they are typically low-priority on the switch, and if the switch i...

PCAP Doesn't Lie Part 1

As an incident responder, endpoint logs are the most valuable resource for analysis; however, there are two major flaws with endpoint logs—access to endpoints' logs and anti-forensics. Some endpoints you cannot install an endpoint detection and response agent or even access the underlying OS, making it difficult to perform endpoint analysis. These endpoints are favorite targets of malicious actors due to the lack of visibility. Then, the only artifacts you may have are PCAP.  Another favorite tactic of malicious actors is to perform anti-forensics. Anti-forensics refers to techniques used to evade, disrupt, or mislead digital forensic investigations by hiding, altering, or destroying evidence. If an OS is compromised, any artifacts on it may lie to you. The only thing you can rely on is PCAP. PCAP doesn't lie.  This will be the first of several blogs discussing everything you need to know about engineering a network security monitoring (NSM) system.