Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • DSA
  • Practice Problems
  • C
  • C++
  • Java
  • Python
  • JavaScript
  • Data Science
  • Machine Learning
  • Courses
  • Linux
  • DevOps
  • SQL
  • Web Development
  • System Design
  • Aptitude
  • GfG Premium
Open In App
Next Article:
Steps of Finding Packets in Wireshark
Next article icon

Steps of Finding Packets in Wireshark

Last Updated : 11 Oct, 2022
Comments
Improve
Suggest changes
Like Article
Like
Report

In Wireshark, after capturing some traffic of a network we can save the capture file on our local device so that it can be analyzed thoroughly in the future. We can save captured packets by using the File → Save or File → Save As…​ menu items. While analyzing sometimes we need to search for a specific packet. We can find that specific packet using the “Find Packet” toolbar.

Steps to Open the "Find Packet" Toolbar:

To find specific packets in Wireshark follow the below steps :

  • Start the Wireshark by selecting the network we want to analyze or opening any previously saved captured file.
  • Now go into the Wireshark and click on Edit→ Find Packet menu or toolbar item.
Wireshark Edit menu
 

This will open the "Find Packet" toolbar between the main toolbar and the packet list.

Find Packet in Edit menu
 

We can also use the keyboard shortcut "Ctrl+F" to open the “Find Packet” toolbar. Now we can find and search packets using the following criteria :

Hex Value
 

Display Filter:

In the "Filter" field we can type the filter primitive and click on find to search and display the packets matching the filter. For example, the filter primitive 

tcp.port == 443 && ip.src == 192.168.29.52     

will search for packets with the source IP address 192.168.29.52 having the source port number 443. We will notice that any time that when we get the syntax right then we will see that the background turns green. Now if we type something wrong then the background turns to be red. That tells us that Wireshark does not recognize that as an appropriate display filter syntax. 

Hexadecimal Value :

We can search for a packet having a specific sequence of bytes. We can enter hexadecimal values for example "a8 da 0c" into the field to get the specific packet.

Hexadecimal Value
 

String:

 We can also perform a string search to find a particular string in the packet data.

String
 

Regular Expression :

We can also perform a search packet using Perl-compatible regular expressions. 


Next Article
Steps of Finding Packets in Wireshark

K

kaalel
Improve
Article Tags :
  • Ethical Hacking
  • Wireshark Packets

Similar Reads

    Steps of Marking Packets in Wireshark
    In Wireshark, we can mark captured packets in the “Packet List” pane so that some essential packets can be found easily in a capture file having many captured packets. The packets which are marked are displayed with a black background and white foreground, even if they have pre-defined coloring rule
    2 min read
    Steps of Filtering Packets While Viewing in Wireshark
    In Wireshark, we can filter packets in two ways either using a capture filter or a display filter. Capture filters are used for filtering packets while capturing. Display filters search and filter packets to display only those packets that match with the given filter primitive. When we use a Display
    2 min read
    Function of Packet Range Frame in Wireshark
    Packet Range frames are used to request sets of packets by specifying a starting and ending packet number. They can be thought of as a supercharged tool for displaying more specific parts of a capture file. The Packet Range Frame is one of the few new features in Wireshark 1.6 (released in March 201
    4 min read
    Packet List Pane Functions in Wireshark
    Wireshark captures network packets and displays the captured data in a human-readable format for easy analysis and troubleshooting of network issues. Wireshark is a packet sniffing and analysis tool. It captures network traffic on the local network and stores this data for offline analysis. So, in t
    3 min read
    Steps of Exporting Data in Wireshark
    Wireshark is one of the most used tools by Cyber Security Experts around the Globe. It is so popular and so convenient to use, only if you know what exactly you want to perform. Wireshark is used in Information Technology Industries for a while now, it is a free software tool that can perform action
    8 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences