By Caleb Millar, Staff Software Engineer, Endace and
Joel Shepherd, Senior Software Engineer, Endace

Summary
At Cisco Live APJC 2026, Endace provided full network packet capture as part of the Agentic Security Operations Centre (SOC). One of the core missions of the SOC is Innovation: this year bringing a range of new AI and agentic workflows.
In this article we explore packet analysis workflows enabled by LLMs running on local hardware communicating with Endace MCP. We specifically avoid using cloud AI models to gauge what is achievable in an on-premises environment and we discover how to tune the workflow to avoid exhausting the context window.
Agentic-driven packet analysis
Endace MCP provides a new way to access captured network packet data from an EndaceProbe via the model context protocol. The MCP allows AI agents to pull packet data and logs directly from EndaceProbes. At previous events we demonstrated that providing AI agents with a code sandbox and Endace MCP provides efficient PCAP analysis by running packet decoding outside the model context.
However, there are cases where loading decoded packet data into the model’s context window is desirable, such as:
- Creating summaries of connection purpose.
- Initial triage of potential threats or anomalous activity.
- Detecting plaintext credentials.
While it is possible to extract much of this information via tools like Zeek, it depends on the Zeek analyzer supporting specific protocols. Wireshark™ and tshark offer a broader set of network protocol dissectors but require some level of interaction and time to interpret the results. Can LLMs bridge this gap by automating the initial interpretation of a network conversation, and how do the resulting observations compare with a manual investigation using Wireshark?
Working with local models
For many environments where data sovereignty is a requirement, sensitive data must remain on premise and sometimes air gapped from the internet. This is often required by defense, government, finance, and healthcare. When this is the case, using an LLM running on local hardware is the only acceptable solution. In these situations, considering the limitations of model context size becomes crucial. While an LLM agent could use tools such as tshark directly for such analysis, if equivalent analysis can be performed through tools exposed via the Endace MCP server, this removes the need to download PCAPs and set up a sandbox environment, providing an alternative, simplified deployment model for some use cases.
Scenarios
To begin understanding the limits of local LLMs accessing MCP tools, we replicated investigations previously conducted by a human analyst. The goal was to see if the agent would reach similar conclusions.
Test environment
- NVIDIA L40 48GB, running on the Agentic SOC in a Box
- Qwen/Qwen3.8-27B-FP8
- Context window: 64K tokens
- Agent gateway to access configured LLM and agent calls to Endace MCP.

Scenario 1: RTMP analysis
Real-Time Messaging Protocol (RTMP) is commonly used for video and audio live streaming. Although RTMP sessions are often relatively rare compared to protocols such as HTTP or DNS, long-lived audio and video streams can account for a disproportionate amount of network volume.
RTMP analysis via LLM is interesting for a few reasons:
- It is often unencrypted: meaning there is plenty of metadata accessible for analysis.
- There are fewer protocol-specific detection rules compared to protocols like HTTP and DNS.
- In the same vein, human network analysts are likely less familiar with the RTMP protocol, therefore an LLM might offer faster initial insight into what is happening on the wire.
Manual investigation
- Using EndaceVision we could filter down traffic to just TCP conversations where RTMP was detected.
- After selecting a single conversation to send to Wireshark we could see the data as constructed on the wire.
- Investigating packets, we found an RTMP message with the publish command, which contained the stream key used to send to an external live streaming service. This would be considered sensitive information, as anyone possessing the stream key could potentially publish content to the associated channel until the key is rotated.

Objective
Determine whether an AI agent can autonomously extract a live-stream key and related metadata from RTMP traffic while operating within a constrained context window.
Initial Approach and Challenges
We can start by asking the agent a basic prompt on a time range and IP address. For example, the prompt might look like:
Investigate packets for 1.2.3.4 between 2026-11-10T22:12:31Z and 2026-11-10T22:12:51Z
This quickly exhausted the available context window. On further investigation we uncovered a few causes. The MCP server returns protocol-decoded packets over paginated JSON responses ordered by timestamp. For small packet downloads and large context windows this is not usually an issue. In our case:
- The RTMP session had gigabytes of network traffic. Even with a smaller time query, megabytes worth of captured packets will still overload the context.
- The amount of decoded information per packet is still too high for our small context window.
Tuning the workflow
To address this, we made three key adjustments:
- Limited the agent (via updating the system prompt) to only request packets at the beginning of the connection and stop once it had obtained enough information. This was ideal in this case because most of the interesting metadata occurs at the beginning of the connection.
- Allowed protocol filters to be applied before returning data from the MCP server, significantly reducing the volume of JSON returned to the LLM. This was exposed as a new MCP tool parameter.
- Adjusted the user prompt to investigate RTMP traffic specifically.
Results
After making these adjustments, our LLM agent successfully completed the investigation and returned a summary of the connection. This included:
- Identifying the RTMP handshake.
- Summary of the video encoder used.
- The external live stream ingest server.
- The stream key used in the “publish” command. This value matched the stream key found in the manual investigation.
- The name of the broadcast.
- Assessed whether the traffic exhibited characteristics of command-and-control (C2) or data exfiltration activity and concluded that it was consistent with legitimate audio/video streaming.
- An investigation summary:
"Verdict: Benign — legitimate live-stream ingest. Not a threat."
The LLM agent was able to identify similar evidence as the human analyst such as the exposed stream key and other metadata. However, it did not identify the leaked stream key as a potential issue. This may have been because we never included this in our initial prompt. It highlights the additional value a human analyst can provide when reviewing the generated output. These findings would allow affected users to be notified and the compromised credentials to be rotated, reducing the risk of unauthorized use of the affected streaming account.
Scenario 2: Suspiciously small video files
Traffic that looks like implausibly small video files has been observed at multiple conferences monitored by EndaceProbes since November 2025, and we wrote about it at GovWare 2025. That research led to a custom rule being added in Splunk.
At Cisco Live APJC 2026 Melbourne, on the first day of setup, the small videos returned! This time coming from a Network Operations Centre (NOC) team member’s smartphone on the NOC’s private Wi-Fi network. As a precaution, the NOC moved the device to the public conference Wi-Fi while the investigation continued.

Manual investigation
Our analyst team spent a few hours investigating this traffic once again, producing two incident reports that still did not provide a conclusive answer as to what this traffic was.
- Using EndaceVision we viewed the conversation using a Pivot-to-Vision link from the finding in Splunk.
- Launching Wireshark to inspect the network packets allowed us to view the traffic in more detail.
- Then we observed the same traffic profile as seen at previous events:
- User-Agent:
“IM-SIMUHTTP” - Host header
“IM-SSO” - Client payloads with small video files (some are 435 bytes)
- Unencrypted HTTP over port 443
- Destination is a Tencent Cloud IP address.
- User-Agent:

Objective
Determine whether an AI agent can investigate the suspiciously small video file traffic to decide if it was command-and-control traffic, or something benign.
AI Agent’s Investigation
As an initial step, we asked the AI agent to look at the traffic using the Endace MCP, with this prompt:
Investigate the traffic between <client IP> and <server IP> in the time range 2026/11/6 21:37:55.878 (UTC) - 2026/11/6 21:38:14.111 (UTC).
As with the RTMP investigation, this quickly hit the context limit. The Endace MCP already provides instructions on how to use its tools, and the agent followed them. The issue was one of scale: the agent was trying to dig deeper into the data than its small context could support, showing no signs of stopping. Each additional page of results or repeated call was reasonable in isolation, but together they consumed tokens the agent did not have to spare.
So, we updated the system prompt to include the following instruction:
“When using Endace, retrieve no more than three result pages for each vault file. Do not repeat a tool call with identical arguments unless the tool explicitly indicates that doing so advances pagination.”
With that guidance, the agent used the tools more efficiently within its small context window. We were now able to use it reliably for the investigation.
Results
Within minutes, the agent pulled decoded packet data and reached conclusions similar to the manual investigation by our analysts.
- IM-SSO and IM-SIMUHTTP in the headers
- Unencrypted HTTP over port 443
- The traffic was miscategorised as video traffic.
However, it went further by providing an idea of what the structure of the payload is likely to be.
The agent found a total message length at the beginning of the payload. One of the payloads we saw was 435 bytes, converting 435 to hex gives 00 00 01 B3, which happens to be the magic bytes for MPEG video. This would explain why the files were categorised as video.
Unfortunately, this was still not a conclusive answer on what this traffic is, and without access to the device to interrogate, the question will remain open. Nevertheless, this experiment did show how an agent with the Endace MCP is able to quickly provide a good context for the nature of the traffic, saving time so analysts can dig deeper.
Humans stay in the loop
This investigation also showed the limits of a small model. Because of the limited context window, it was difficult to continue an analysis beyond the first prompt. During one attempt the agent confidently identified the traffic as “IHE IM-SIMU”, relating it to a protocol used in healthcare systems. No such IHE protocol exists. The agent had hallucinated, and an analyst who accepted that answer at face value would have been sent in the wrong direction.
This is why human oversight remains essential. The agent accelerates the work, but an analyst needs to validate its conclusions, especially when they sound authoritative.
Conclusion
Cisco Live APJC 2026 gave us a unique opportunity to experiment with a small local LLM and Endace MCP on real SOC traffic. With just a 64K-token context window (after some fine-tuning) the agent could reach conclusions similar to the analyst’s manual Wireshark investigation in both scenarios. Within minutes, the agent extracted the RTMP stream key and session metadata and confirmed the traffic profile of the suspiciously small video files. It also highlighted the importance of keeping a human in the loop when the agent hallucinated, so analysts still need to validate its conclusions.
For environments that cannot use cloud models, a local agent with the Endace MCP is a viable, practical first-pass triage tool. It gives analysts early context grounded in real packet capture evidence, freeing them to spend more time on deeper investigation.
However, the test also highlights the importance of having a human in the loop to validate the AI ‘s conclusions (as outlined in the hallucination example above). Analysts always have an important role to play in validating AI conclusions, With the limitations inherent in using a local LLM that role is even more important because the limited context window and more limited capability of a small local LLM is more likely to generate less reliable conclusions. Despite these limitations, the local LLM approach has the potential to be extremely useful for analysts for many use cases.
Acknowledgements
Once again, our thanks go to the Cisco team led by Jessica Oppenheimer for the opportunity to include EndaceProbes in the Cisco Live APJC SOC architecture.
Thanks too to the engineers who built the Agentic SOC and the Humans who provided decision making expertise.
- NOC: Scott Neumann, Freddy Bello, Andy Phillips, Darren Nirens, Grace Zhang and Dennis Kim
- Agentic SOC Co-Leader: Josh Wilson
- Agentic SOC Innovation: Ryan MacLennan
- Cisco Cloud Control Integrations: Adi Sankar
- Incident Response & Tier 3: Brendan Kuang
- Tier2 SOC Analysts: David Gamer, Simon O’Brien, James Young and Shaun Coulter
- Frontline SOC Analysts (Tier1 & Malware): Oxana Sannikova, Ishan Shrimali, Will Kalenjuk, JJ Jones and Phillip Bellifemine
- Firewall & Cloud Control: Adam Kilgore and Jose Castillo
- Endace: Cary Wright, Caleb Millar, Deepak Ramaprasad, Joel Shepherd and Barry Shaw
- Corelight: Eldon Koyle and Ben Reardon
- Jamf: Adam Derrick
- Platform Support: Duane Waddle and Ivan Berlinson
- Executive Leadership & Strategy: Michelle Hermosillo, Arshad Saeed, Allwyn ‘Olly’ Lobo and Haggai Polak
Our thanks also go to Ryan MacLennan from Splunk by Cisco for his significant help in diagnosing and solving the problems we encountered when using the Endace MCP with the local AI model.
Read related Cisco and Splunk Team Blogs from the Cisco Live APJC SOC:
https://blogs.cisco.com/security/clapjc-agentic-soc
https://www.splunk.com/en_us/blog/security/clapjc-agentic-soc.html
For more Endace blogs in our SOC series, including posts from Cisco Live APJC 2026, see here:
https://blog.endace.com/tag/soc/
