官术网_书友最值得收藏!

Collecting network traffic using Wireshark

While tcpdump is a cool tool to capture network traffic, Wireshark is widely used when it comes to network forensic investigations. In this section, we will focus on installing and using Wireshark to capture network traffic.

Wireshark is available for most of the OS, including Windows, Mac OS, and most flavors of Linux.

It is available for free download at https://www.wireshark.org/download.html.

Using Wireshark

Install Wireshark using the Ubuntu Software Center, as shown in the following screenshot:

Using Wireshark

Run Wireshark with network privileges either directly or using the terminal to start capturing packets, as shown in the following screenshot:

Using Wireshark

Configure according to network topology and other specific details using the Capture Options, as shown in the following screenshot:

Using Wireshark

To get started, all we need to do is select an interface to start capturing packets from. Let's select eth0, as follows:

Using Wireshark

When we select an interface to start capturing packets (eth0), the output is as shown in the following screenshot:

Using Wireshark

To save the raw data in a file, click on the save to file button and choose the required directory, as shown in the following screenshot:

Using Wireshark

That's it! Nice and easy. In the future chapters, we will analyze the captured data.

主站蜘蛛池模板: 西宁市| 长治市| 青河县| 天气| 临漳县| 泌阳县| 元氏县| 凌海市| 邹平县| 黄石市| 武鸣县| 黄陵县| 吴堡县| 大化| 耿马| 河西区| 灵寿县| 南木林县| 靖远县| 讷河市| 吉安县| 云和县| 巍山| 新闻| 乌鲁木齐市| 滁州市| 泰顺县| 女性| 江永县| 阿拉善右旗| 安新县| 高安市| 望谟县| 原阳县| 望谟县| 通渭县| 调兵山市| 临澧县| 元江| 岢岚县| 平昌县|