Posted On April 9, 2019

Wireshark Overview

kimconnect 0 comments
blog.KimConnect.com >> Linux , Windows >> Wireshark Overview

SysAdmins, InfoSec, and Network Engineers often use this tool to troubleshot and detect network activities on-the-fly. Without further adieu, here is an overview on the usage of this thingy:

1. Configure wireshark to listen to an interface
2. To collect data, click Start
3. Data columns

  1. Source
  2. Destination
  3. Protocol
  4. Length
  5. Info

4. Filtering raw data to produce information

  1.  Filter > type in protocol name (e.g. FTP) > select a packet > scroll down to the protocol section
  2. To narrow down filter to view a certain host and protocol, input (ftp) && (<IP_ADDRESS>). This can also be done by right-click an interesting packet > select filter by

5. How to detect a network scan

  1. If a the Info section shows “RST” / TCP ACKed unseen segment(usually being marked as black by Wireshark for quick identification of bad packets), it means that the local interface has dropped the packet. This can be interpreted as a network scan detection if the other nodes on the network is showing the same origination IP with similar responses.
  2. If the local interface is sending unknown traffic to a strange remote IP, follow your operating system’s syntax to trace down to the offending pplication or process. Here are some sample commands on various OS’es:
i. Windows: run CLI > netstat | findstr "{port_number}" > netstat -aon | find /I "{PID}"

ii. Linux:run CLI > netstat -lnp | grep {port_number}

iii. MacOS: run CLI > sudo lsof -i:{port_number} > locate the PID of probable cause > run Activity Monitor > match the PID of the suspecting app > halt process

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to Disable or Remove Windows Defender

Step 1: Disable Real-time monitoring immediately to minimize current runtime memory resource utilization Set-MpPreference -DisableRealtimeMonitoring…

Install ISPConfig on CentOS 5.2

cd /var/www/html wget  tar xvfz ISPConfig-2.2.24.tar.gz cd install_ispconfig ./setup

Linux Mint 20: How to Disable the Annoying Keyring Prompts for Passwords

Update 03/2023: https://blog.kimconnect.com/linux-how-to-bypass-annoying-login-keyring-prompts/ The default installation of Linux Mint expects that the user would login…
Other project: DragonCoin.com