☁️
CTHFM: Azure
  • Welcome
  • Getting Started
    • Account Setup
      • Account Creation Instructions
  • Azure Fundamentals
    • Azure Fundamentals Overview
      • Azure Documentation
      • Azure Entra
      • Azure Hierarchy
      • Identities
      • Azure Entra Roles
      • Azure RBAC
      • Azure Licensing Overview
        • Azure Entra ID Premium Licenses Comparison
      • Azure Shared Responsibility Model
      • Azure Frameworks
      • Azure Security Services
      • Conditional Access Policies
        • How Conditional Access Policies Work
        • Benefits of Conditional Access
        • Best Practices for Conditional Access
        • Conditions for Conditional Access
        • Conditional Access Controls
        • Sign-In Risk and Identity Protection
        • Conditional Access Session Control
        • Name Locations IP Location
      • Azure Quotas
      • Azure Tokens
        • Access Tokens
        • ID Tokens
        • Refresh Tokens
          • Invalidate Refresh Tokens
        • Primary Refresh Tokens
        • Continuous Access Evaluation (CAE)
        • Token Protection: Conditional Access (Public Preview)
  • Azure CLI
    • Introduction to Azure CLI
    • Installing Azure CLI
    • CLI Commands
    • Resource Group Management
    • Creating and Managing Resources with Azure CLI
    • Managing IAM
    • Azure CLI Automation
    • Monitoring and Troubleshooting in Azure CLI
    • Azure CLI Overview
      • Azure CLI: Linux
      • Azure CLI: Windows
      • Azure CLI: MacOS
  • KQL
    • KQL Overview
      • KQL Introduction
      • Data Types
      • Quick Reference
      • Render
      • Basic Queries
  • Powershell
    • PowerShell for Azure
      • Powershell Documentation
      • Powershell Basics
      • Understanding Powershell Variables
      • Understanding Cmdlets
      • Powershell Console & ISE
      • Powershell: Entra Module
        • Module Reference & Getting Started
      • Powershell: Azure Module
        • Installation Instructions
        • Powershell Azure CLI: Windows
        • Powershell Azure CLI: Linux
        • Powershell Azure CLI: MacOS
        • Example Azure Cmdlets
  • Bicep
    • Bicep File Structure
    • Variable Types
  • Azure Logging References
    • Logging
      • Log Retention Strategies
      • Azure Log Types
      • Azure Activity Logs
        • Administrative Event Schema
        • Service Health Notification Schema
        • Resource Health
        • Alert Category
        • Autoscale
        • Security
        • Recommendation
        • Policy
      • Entra ID Logging
        • Identity Based Logs
          • Audit Logs
          • Sign-In Logs
            • AADNonInteractiveUserSignInLogs
            • AADManagedIdentitySignInLogs
            • AADServicePrincipalSignInLogs
            • First Party Sign-In Activity
          • Provisioning Logs (AADProvisioningLogs)
          • Microsoft Graph Activity
          • Identity Protection
            • Risk Detections
            • AADRiskyServicePrincipals
            • AADRiskyUsers
            • AADUserRiskEvents
            • AADServicePrincipalRiskEvents
        • Additional Entra ID Logs
      • Azure Key Vault
        • Azure Key Vault Logging Overview
      • Network Watcher
        • RBAC Permissions
        • Flow Log Types
          • NSG Flow Log Schema
          • VNET Flow Log Schema
        • Enabling Logs
          • NSG Flow Logs
          • VNET Flow Logs
        • Packet Capture
          • Packet Capture: VM
          • Packet Capture: Scale Sets
      • Compute Resources
        • Azure Monitor Agent
        • VM Insights
          • VM Insights Tables
      • Storage Accounts
        • Storage Account Logging
          • File
            • Enable StorageFileLogs
            • StorageFileLogs
          • Blob
            • Enable Blob Logging
            • StorageBlobLogs
          • Queue
            • Enable Queue Logging
            • StorageQueueLogs Table
          • Table
            • Enable Table Logging
            • StorageTableLogs Table
      • Azure App Service
        • Log Types
        • Enabling Logging
      • Azure Monitor
        • Resource Logs
          • Resource Log Top Level Documentation
        • Log Analytics Workspace
          • Setup
        • Workbooks
        • Dashboards
        • Alerts
        • Azure Monitor Documentation
      • Defender for Cloud
      • Intune
      • Sysmon
      • Purview Audit Log Schema
      • Kubernetes Audit Log (AKS)
  • Threat Hunting
    • Threat Hunting in Azure
      • Threat Hunting Introduction
      • Threat Hunting Process
        • Hypothesis Generation
        • Investigation
        • Identification
        • Resolution & Follow Up
      • Pyramid of Pain
      • Azure Threat Hunting Ideas
      • Hands On Threat Hunting Examples
      • OSINT Feeds
  • Sigma
    • Sigma Rule Structure
  • Microsoft Defender TI
    • Microsoft Defender Threat Intelligence
      • Data Sets
      • Reputational Scoring
      • Analyst Insights
      • Microsoft Defender TI: Copilot Integration
  • MITRE Att&ck
    • MITRE Att&ck
      • MITRE Att&ck Concepts
      • MITRE Data Sources
      • MITRE Att&ck Mitigations
      • MITRE Att&ck: Azure
        • MITRE Att&CK: Azure Security Control Mapping
  • Microsoft Resources
    • Microsoft Incident Response Ninja Hub
    • Microsoft Defender XDR Ninja Hub
  • Azure Threat Research Matrix (ATRM)
  • Security Research & Resources
    • Azure Goat
    • Azure Security Research
      • Azure Related CVEs
  • Defender XDR
    • Defender XDR Overview
    • Defender XDR Licensing
    • Defender XDR Default Retention
    • Defender XDR Advanced Hunting Table Schemas
    • Automated Response Requirements
    • Supported Response Actions
  • Azure Sentinel
    • Sentinel Overview
    • Azure Sentinel Deployments
    • Supported Data
    • Workbook, Playbook, Notebook Comparison
    • Sentinel Workbooks
    • Entities
    • User and Entity Behavior Analytics
    • Anomaly Detection
    • Mult-Stage Attack Detection
    • Sentinel: Az CLI
  • Microsoft Defender
    • Microsoft Defender for Cloud References
    • Defender for Cloud: Az CLI
  • Azure Policy
    • Azure Policy
    • Azure Policy Components
    • Azure Policy Rules
    • Scope Azure Policy
    • Policy Assignments
    • Policy Effect
    • Initiative Definition
    • Policy Parameters
    • Remediation Task Structure
    • Use Cases for Azure Policy
    • Azure Policy: Az CLI
  • Intune
    • Intune Overview
    • Intune Licensing
    • Intune API Permission Scopes
    • Intune Sample Script Resources
  • Intune Logging
    • Configure Logging
    • Logging Schema References
    • Intune Queries and Resources
  • Windows Host Security
    • Windows System Architecture and OS Fundamentals
    • SysInternals
    • Basic vs Advanced Security Auditing
    • Sysmon
  • Adversary Emulation
    • AzureHound
    • AADInternals
      • Install
    • RoadTools
      • Install
    • Oh365UserFinder
    • GraphRunner
  • Incident Response
    • Incident Response
      • Azure IR Program Development Cheat Sheet
      • Azure IR Playbooks (MS Guidance)
      • Ransomware (MS Guidance)
  • Automation
    • Automation Overview
    • Logic Apps
      • How Logic Apps Work
      • Logic App Types
      • Triggers
      • Connectors
      • Conditional Logic and Control Flow
      • APIs in Logic Apps
      • Handling Large Workflows with Stateful Logic Apps
      • External Service Integration
      • Securing, Managing, and Scaling Azure Logic Apps
      • Logic Apps: Az CLI
  • Packet Analysis
    • Wireshark Cheatsheet
    • TShark Cheatsheet
    • TCPDUMP Cheatsheet
    • Protocol Analysis Basics
    • HTTP Response Code Cheatsheet
    • RFC Protocol Mappings
    • PCAP Acquisition
  • Detection Lab
    • Detection Lab Introduction
    • Account Creation Instructions
    • Enable MFA Within Azure Tenant
    • Create an Azure Admin With Cloud Shell
    • Setup and Install Instructions
  • VSCode and Code Setup
  • Deploying Code
  • Enabling Logs for Log Analytics Workspace
  • Logging Into Windows VM
  • Verifying Logs in Log Analytics Workspace
  • Creating Detections: Azure Monitor
  • Cost Management: Billing Alarms
Powered by GitBook
On this page
  • Overview
  • Starting and Stopping Packet Capture
  • Applying Filters (Capture vs. Display Filters)
  • Display Filters (Apply After Capture)
  • Useful Wireshark Features for Analysis
  • Packet Inspection & Troubleshooting
  • Wireshark Keyboard Shortcuts for Speed
  1. Packet Analysis

Wireshark Cheatsheet

Overview

The following is a cheat sheet for getting started within Wireshark and how to use it.

Starting and Stopping Packet Capture

Action

Wireshark Steps

Shortcut

Start Capture

Select an interface and click Start

Ctrl + E

Stop Capture

Click Stop

Ctrl + E

Save Capture

File → Save As...

Ctrl + S

Open a PCAP File

File → Open...

Ctrl + O

Restart Capture

Capture → Restart

Ctrl + R

Tip: Always use capture filters before starting a capture to reduce noise.

Applying Filters (Capture vs. Display Filters)

Capture Filters (Set Before Capture)

How to Apply: 1️. Click Capture Options (Gear Icon ⚙️) 2️. Enter a filter in Capture Filter field 3. Click Start

Filter

Purpose

port 80

Capture only HTTP traffic

host 192.168.1.1

Capture only packets to/from 192.168.1.1

tcp

Capture only TCP packets

udp

Capture only UDP packets

icmp

Capture only ICMP (ping) traffic

Display Filters (Apply After Capture)

How to Apply: 1️. Type the filter in Display Filter Bar 2️. Press Enter

Filter

Purpose

ip.addr == 192.168.1.1

Show all traffic to/from 192.168.1.1

ip.src == 10.0.0.5

Show only packets originating from 10.0.0.5

ip.dst == 8.8.8.8

Show only packets going to 8.8.8.8

tcp.port == 443

Show only HTTPS traffic

dns

Show only DNS requests & responses

http.request

Show only HTTP requests

tls.handshake.type == 1

Show only TLS Client Hello packets

tcp.flags.syn == 1 && tcp.flags.ack == 0

Detect SYN scans (port scanning)

frame contains "password"

Find packets containing "password"

Tip: Use && (AND), || (OR), and ! (NOT) to combine filters. Example: tcp && !port 22 (Show only TCP, but exclude SSH traffic).

Useful Wireshark Features for Analysis

Follow Network Streams (View Full Conversations)

Steps: 1️. Right-click a packet → Follow → TCP Stream / UDP Stream 2️. View full conversation between source & destination

Extract Files from Traffic (HTTP, SMB, FTP, etc.)

Steps: 1️. File → Export Objects 2️. Choose protocol (HTTP, SMB, FTP, etc.) 3️. Select files & click Save

Analyze Protocol Hierarchy

How to Use: 1️.Statistics → Protocol Hierarchy 2️. View percentage of traffic per protocol (TCP, HTTP, DNS, etc.)

Visualize Packet Flow

How to Use: 1️. Statistics → Flow Graph 2️. See how packets flow between devices (useful for debugging)

Check for Network Errors (Expert Info)

How to Use: 1️. Analyze → Expert Information 2️. View warnings, errors, and dropped packets

Identify Long Connections (IO Graphs)

How to Use: 1️. Statistics → I/O Graphs 2️. Identify sudden traffic spikes, DoS attacks, or exfiltration

Packet Inspection & Troubleshooting

Issue

Feature to Use

Shortcut

Investigate Latency Issues

Analyze → Expert Info

-

Analyze TCP Handshakes

Statistics → Flow Graph

-

Find HTTP Requests

http.request filter

-

Detect DNS Exfiltration

dns.qry.name contains "malicious.com"

-

Analyze TLS Traffic

tls.handshake.type == 1

-

Tip: Use Wireshark profiles to create custom settings for different scenarios (e.g., forensics, troubleshooting, red teaming).

Wireshark Keyboard Shortcuts for Speed

Shortcut

Action

Ctrl + E

Start/Stop Capture

Ctrl + S

Save Capture

Ctrl + O

Open a PCAP file

Ctrl + F

Find packets by string, hex, etc.

Ctrl + M

Mark a packet

Shift + Ctrl + N

Go to next packet in conversation

Shift + Ctrl + B

Go to previous packet in conversation

Ctrl + T

Set Time Reference (Latency Analysis)

Shift + ← / →

Expand/Collapse packet details

Last updated 3 months ago