Packet Analysis

Improving incident response using packet captures

4 min read

Network packet captures provide the visibility and detail needed to identify and remediate attacks

As a security operations professional, you and your team are responsible for protecting your organization; recognizing valuable data assets, assessing security gaps, and performing Digital Forensics and Incident Response (DFIR). When an attack happens, the packet data that flows across the network is critical to the incident response lifecycle. Most security analysis tools provide just parts of the information that packet data contains, but having full access to complete packet capture information can drastically improve and accelerate incident response.

Read on to learn the role packet captures play in this lifecycle - before, during, and after an attack happens - and four tips to use them better, greatly improving the success of your security operations.

What is the incident response lifecycle?

Click to Expand: Role of Packet Captures in the Incident Response Lifecycle

The Incident Response lifecycle is triggered when security tools, such as an intrusion detection system (IDS) or policy, indicates that there may have been an attack. When such an event occurs, your team must:

  1. Identify the attack to determine if the alert was legitimate.
  2. Investigate the attack and gather the Indicators of Compromise.
  3. Perform a risk assessment to determine your exposure.
  4. Remediate the issues created by the attack.
  5. Provide feedback into the security lifecycle by changing policy or writing new threat rules for the IDS/IPS (intrusion detection/prevention systems) to use in the future.

Most firewalls, IDS/IPS, and other tools that will trigger this process are able to produce network packet captures. Those packet captures play an important role at each stage of the lifecycle.

Tips for maximizing the value of packets during incident response

Using captures during incident response will improve your response time, increase the effectiveness of remediation, and help protect against future attacks. Here’s some tips for how to realize their potential:

Tip 1: Correlate IDS alerts with packets

Even when triggered by an alert, a capture file on its own is not easily tied to the alerts that are flagged by the data it contains. Have a system for correlating alerts directly with the packets that caused it.

Going directly from an alert to the packets makes it easier to generate IoCs for further analysis. Furthermore, correlating alerts with packet data lets you see everything that surrounded the attack, illuminating other related issues, deeper clues, or ruling out false-positives during identification and investigation.

Tip 2: Store captures as a history of attacks

Packet captures contain a record of everything that happens on the network. This makes them ideal for keeping information about attacks that happen over time. Keep your packet data in a centralized location that can be easily searched and accessed by your entire team.

With a detailed record of incidents unique to your organization, it’s also easy to create standard operating procedures and training for new analysts. As they level up, they can dive deeper into more complex problems curated by your team with real-world examples.

Having a historical record on your side also allows you to better understand new attacks that may be similar to past attacks. Packet captures help tell a story of attacks that might evolve or change over time, and help identify patterns that can be used to get to remediation faster.

Tip 3: Refine and re-use your IDS ruleset

With feedback from the incident response process, refine your IDS rules based on the things you learn from each attack. The IoCs you catalogued by going straight to the packets can be used to fine-tune these rules to alert you to similar attacks in the future.

After refining your rule set, run them against the captures you generated during previous attacks. The same attack may have happened before you were even aware it existed! There may have also been details about previous attacks and the scope of your exposure that your new rules can reveal.

Tip 4: Collaborate on incident data at all stages

By using a centralized system for all of your packet capture data, you can provide a way for your team to work with, annotate, and share analysis notes. As you progress through the incident response lifecycle, you’ll be able to avoid miscommunication and repeating the same analysis steps over again.

A centralized system can also help when reporting an incident later. Being able to easily share jointly-analyzed packet data in reports and standard procedures will solidify your case for the steps that are taken. The ability to share captures with your team, CISO, and customers will help keep everyone on the same page and provide transparency that will help your overall organization.

Want to see more? Here’s a webinar where Tom gives a clinic of an entire incident response with an actual malware event.

CS Threat Assessment is built for incident response. Learn how.

Want articles like this delivered right to your inbox?

Sign up for our Newsletter

No spam, just good networking.