<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: RADON GAMING</title>
    <description>The latest articles on DEV Community by RADON GAMING (@radon_gaming_789abe1390ab).</description>
    <link>https://dev.to/radon_gaming_789abe1390ab</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4037574%2F0b60adb7-9a92-4f2e-89e6-86281d597a55.jpg</url>
      <title>DEV Community: RADON GAMING</title>
      <link>https://dev.to/radon_gaming_789abe1390ab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/radon_gaming_789abe1390ab"/>
    <language>en</language>
    <item>
      <title>Chaining Gemini and Claude for Terminal-Based Network Forensics ⚡</title>
      <dc:creator>RADON GAMING</dc:creator>
      <pubDate>Mon, 20 Jul 2026 07:34:10 +0000</pubDate>
      <link>https://dev.to/radon_gaming_789abe1390ab/chaining-gemini-and-claude-for-terminal-based-network-forensics-5fe9</link>
      <guid>https://dev.to/radon_gaming_789abe1390ab/chaining-gemini-and-claude-for-terminal-based-network-forensics-5fe9</guid>
      <description>&lt;h2&gt;
  
  
  description: How AuraSniff uses a dual-LLM pipeline (Gemini + Claude) to parse PCAPs and analyze network packets locally without Wireshark.
&lt;/h2&gt;

&lt;p&gt;Most AI-powered security assistants bolt an LLM on as a basic chatbot. You paste logs in, and it guesses. &lt;br&gt;
The problem with this approach in network forensics is scale: &lt;strong&gt;language models cannot read a raw 50MB PCAP file, and sending thousands of raw packets to an API is slow and expensive.&lt;/strong&gt;&lt;br&gt;
I built &lt;strong&gt;AuraSniff&lt;/strong&gt; to solve this. It is a lightweight, zero-dependency Python CLI tool that parses packet captures locally and uses a &lt;strong&gt;Dual-LLM Collaborative pipeline&lt;/strong&gt; (Gemini + Claude) to pinpoint and analyze threats in seconds.&lt;/p&gt;
&lt;h2&gt;
  
  
  Here is how the pipeline works under the hood.
&lt;/h2&gt;
&lt;h2&gt;
  
  
  🏗️ The Dual-LLM Pipeline Architecture
&lt;/h2&gt;

&lt;p&gt;Instead of relying on a single model, AuraSniff chains &lt;strong&gt;Google Gemini&lt;/strong&gt; and &lt;strong&gt;Anthropic Claude&lt;/strong&gt; to leverage their individual strengths.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌──────────────────────────────────────────────────────────────────┐
│  User Input: "Is there any suspicious traffic on 10.0.0.15?"     │
└──────────────────┬───────────────────────────────────────────────┘
                   │
        ┌──────────▼────────────┐
        │  Step 1: Gemini       │  Large context scan of the PCAP summary.
        │  (Full Capture Scan)  │  Generates a coarse summary + packet filter.
        └──────────┬────────────┘
                   │  Filter: { "src": "10.0.0.15" }
        ┌──────────▼────────────┐
        │  Local Engine (Scapy) │  Applies filter to the packet database.
        │  (Packet Retrieval)   │  Retrieves exact matching packets + metadata.
        └──────────┬────────────┘
                   │  37 packets matched
        ┌──────────▼────────────┐
        │  Step 2: Claude       │  Deep forensic analysis on matched packets.
        │  (Forensic Analyst)   │  Generates expert Markdown security report.
        └───────────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  1. Step 1: Gemini as the High-Capacity Filter
&lt;/h3&gt;

&lt;p&gt;Gemini has a massive context window and is incredibly fast. AuraSniff parses the PCAP file locally and extracts a structured, minified metadata summary (top conversations, DNS queries, HTTP headers, TLS SNIs, and security alerts). &lt;br&gt;
This summary is sent to Gemini, which identifies the anomalies and outputs a structured JSON filter:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"filter"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"src"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"10.0.0.15"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"proto"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"TCP"&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Local Querying (Zero Latency)
&lt;/h3&gt;

&lt;p&gt;AuraSniff intercepts this JSON block and queries its local packet database in Python. It extracts the matching packets along with their decoded layer data and hex dumps. &lt;strong&gt;No raw binary payload data is ever uploaded to the cloud.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Step 2: Claude as the Expert Forensic Analyst
&lt;/h3&gt;

&lt;p&gt;Claude Sonnet is elite at deep logical reasoning on code and structured data. AuraSniff feeds the matched raw packet summaries directly to Claude, along with Gemini's initial overview.&lt;/p&gt;

&lt;h2&gt;
  
  
  Claude performs deep packet inspection (DPI) to identify malicious patterns (like SYN sweeps, ARP spoofing, cleartext credential leaks, or C2 DNS tunneling) and renders a professional risk report.
&lt;/h2&gt;

&lt;h2&gt;
  
  
  🎨 Interactive CLI &amp;amp; Offline Fallback
&lt;/h2&gt;

&lt;p&gt;AuraSniff isn't just an API wrapper. If you run it without keys, it uses a &lt;strong&gt;local rule-based parser&lt;/strong&gt; to compile:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;IP ➜ Website Maps:&lt;/strong&gt; Resolves exactly which servers your devices visited by combining DNS queries, HTTP Host headers, and TLS Server Name Indications (SNI).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Credentials Harvester:&lt;/strong&gt; Captures plaintext login attempts on insecure HTTP-POST, FTP, SMTP, and IMAP ports.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Threat Alerts:&lt;/strong&gt; Flags port scanning, spoofing, and malicious DNS tunneling.
When you launch it on a file, it drops you directly into a beautiful interactive console dashboard built with &lt;code&gt;Rich&lt;/code&gt;.
---
## 🚀 Getting Started
You can install and run AuraSniff on Linux (including Kali), macOS, and Windows:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install base package&lt;/span&gt;
pip &lt;span class="nb"&gt;install &lt;/span&gt;aurasniff
&lt;span class="c"&gt;# Configure your keys (keys are stored securely in your OS keychain, not plain text!)&lt;/span&gt;
aurasniff config set-key &amp;lt;GEMINI_API_KEY&amp;gt;
aurasniff config set-key &amp;lt;CLAUDE_API_KEY&amp;gt; &lt;span class="nt"&gt;--provider&lt;/span&gt; claude
&lt;span class="c"&gt;# Analyze a capture file&lt;/span&gt;
aurasniff your_capture.pcapng
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check out the repository, submit issues, or contribute:&lt;br&gt;
👉 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/vatsalgargg/aurasniff" rel="noopener noreferrer"&gt;vatsalgargg/aurasniff&lt;/a&gt;&lt;br&gt;
👉 &lt;strong&gt;PyPI:&lt;/strong&gt; &lt;a href="https://pypi.org/project/aurasniff/" rel="noopener noreferrer"&gt;pypi.org/project/aurasniff&lt;/a&gt;&lt;br&gt;
&lt;em&gt;If you find it helpful, please drop a ⭐ on GitHub to help others find it!&lt;/em&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F14i8v8jff9skafseexyg.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F14i8v8jff9skafseexyg.jpg" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>python</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
