Urgent.News

What's breaking now, across thousands of outlets.

Tech

Network Forensics: Understanding TCP/IP Protocols (Week 3)

This week, we are focusing into the analysis of TCP/IP protocols, focusing on how to examine network flows, extract data, and analyze higher-layer traffic. What is Flow Analysis? Flow analysis is the "examination of sequences of related packets ('flows')". This process is typically conducted to identify traffic patterns, isolate suspicious activity, analyze higher-layer protocols, or extract…

Week 3 delves into the analysis of TCP/IP protocols, emphasizing flow examination, data extraction, and higher-layer protocol understanding. Flow analysis involves studying sequences of packets (flows) to uncover traffic patterns and isolate suspicious activity. According to RFC 3679, a flow is a sequence of packets from a particular source to a specific destination, labeled by the source. Modern analysis often uses the terms flow and stream interchangeably.

Key tools for flow analysis include Wireshark, Tshark, Tcpflow, Pcapcat, and Tcpxtract. Wireshark offers a visual "Follow TCP Stream" feature, while Tshark, Tcpflow, Pcapcat, and Tcpxtract provide command-line or automation options for flow analysis and data extraction.

Techniques include listing conversations/flows (using Tshark), exporting flows (with Pcapcat and Tcpflow), and file/data carving (via manual editing with hex editors or automatic tools like Tcpxtract). Understanding higher-layer protocols like HTTP, SMTP, DNS, and DHCP is crucial for contextualizing network activity.

For HTTP, methods include GET, POST, HEAD, PUT, DELETE, and OPTIONS. SMTP involves MUA, MSA, MTA, MDA, and MX components with commands like HELO, MAIL, RCPT, and DATA. DNS operates as a query-response protocol, while DHCP assigns IP addresses and network configurations automatically.

Specialized tools like Oftcat, Smtpdump, and Findsmtpinfo.py focus on specific protocols, while NetworkMiner offers a versatile interface for sorting hosts, extracting files, and parsing credentials.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Why Your Payment Got Charged Twice: Idempotency Keys Explained

Maya taps Pay for a $20 ride. Ten seconds later: request timed out. The app retries, and Maya gets charged $40 . The retry went through. So did the first attempt.

  • Idempotent operations can be repeated without changing outcome beyond initial application
  • Idempotency keys are unique strings included in payment requests to prevent duplication
  • Server stores response to idempotency key; same key triggers returning saved response

More from Tuesday 6 October →