Тёмный

Wireshark 101: Fixing Network Problems with Wireshark, HakTip 134 

Hak5
Подписаться 930 тыс.
Просмотров 101 тыс.
50% 1

Hak5 -- Cyber Security Education, Inspiration, News & Community since 2005:
____________________________________________
Today on HakTip, Shannon explains how to fix a network or connection problem based on the information you receive from Wireshark.
How to tell if a website is down via Wireshark: This is a pretty common problem, and sometimes the issue can be within your network, sometimes outside it. If several people are having the same issue, it's either because the website is down, or your network is messed up.
In my case, I want to visit threatwire.com (which I know is currently down). Each time I try, I'm sent back an error saying the site isn't available. If I try to find it in Wireshark, it's tough to tell. Do a cmd ping of threatwire.com and you should see a bunch of requests timed out, but you'll also see the IP address of the site. So let's search for that IP address in Wireshark, we see that I have 4 ping requests for the IP address. If I searched for it in the browser, I'd get a bunch of synchronize packets, but no answer, so it keeps trying to retransmit up to three times.
If we take a closer look at the info dialogue, the ping requests all say "no response found" while the TCP packets just say 'retransmission'.
If we look at other packets in this capture for other sites and within my network, we can prove that the problem only occurs when trying to visit this one site, not the entire network.
What else can we figure out? I've run into a problem where I couldn't access the internet but all my coworkers could. We used a single router and IP addresses came from DHCP. By using Wireshark I was able to determine that the problem was with DNS. I was able to reach my router and my computer had no problem connecting to it, but couldn't figure out the DNS request. Everyone else could log onto the net, so it must've been my computer. We were able to find the problem was because I had to manually set my default gateway address instead of letting it be DHCP-assigned. Switched it back, and it worked!
What if you can access the net but keep getting a 'can't display webpage' error in your browser? If you're on a small network, and pull up Wireshark, this would show you sending the site a TCP packet, but getting an RST error back (reset packet). That packet terminates the communication, and after a few seconds the browser gives you an error. If you're able to send a TCP packet through your router to the net but have trouble sending a DNS query, it could be because the host file for your device already has the DNS mapped to that IP or because it's mapped in the DNS cache. Check your computers host file for the easiest solution, and remove the DNS mapping if it's in there.
By checking Wireshark and understanding the packets, you can fix problems faster for your network. There are a ton of other problems that can occur when trying to establish a connection to the outside would, so read up on some of them with all the resources available on the internets!
Let me know what you think. Send me a comment below or email us at tips@hak5.org. And be sure to check out our sister show, Hak5 for more great stuff just like this. I'll be there, reminding you to trust your technolust.
~-~~-~~~-~~-~
Please watch: "Bash Bunny Primer - Hak5 2225"
• Bash Bunny Primer - Ha...
~-~~-~~~-~~-~
____________________________________________
Founded in 2005, Hak5's mission is to advance the InfoSec industry. We do this through our award winning educational podcasts, leading pentest gear, and inclusive community - where all hackers belong.

Наука

Опубликовано:

 

24 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@hawaiisidecar
@hawaiisidecar 9 лет назад
Very informative channel. The archives of past shows are priceless tutorials.
@hak5
@hak5 9 лет назад
Thanks!
@user-mishapagan
@user-mishapagan 2 года назад
hey, I know this is a 7 year old video, but I have a really weird issue. I am unable to use internet [browser to be precise], while using Wireshark [running the scan]. This is super freaking weird, because I wanted to inspect packets from a specific website. So I started a scan, clicked on the link -but the site would not load. I would then stop the scan, click that same link - and the site would load.... Any ideas?
@jastona4576
@jastona4576 3 года назад
After uninstalling wireshark, some IP camera are unable to reconnect and unable to add to camera utility, as every information is correct
@neelplaysps536
@neelplaysps536 8 лет назад
ty!
@pokerrus78
@pokerrus78 9 лет назад
Hello Shannon, I love the video and quick tutorial on wireshark but "IMCP Protocol" is a bit redundant, don't you think? Do you also say "ATM machine"?
@PlexusMC
@PlexusMC 2 года назад
Sometimes i get annoyed at this but everyone does it, even me. PC Computer IP Protocol SSD Drive DNS Server
@TheNomoi
@TheNomoi 9 лет назад
why not just traceroute?
@thuggy67
@thuggy67 3 года назад
Traceroute is a network diagnostic tool used to track in real-time the pathway taken by a packet on an IP network from source to destination, reporting the IP addresses of all the routers it pinged in between.
@PlexusMC
@PlexusMC 2 года назад
​@@thuggy67 This is overcomplicated talk for traceroute only identifies IP Failure between the routes Seems like it was just copied from the result of searching "what is traceroute" There could be more issues, IP addresses are only layer 3, though there can be a failure on another of the 7 In the case it's a DNS issue, traceroute will still show its working. Think of how the website works You have a server it's hosted on an application the website is running on and the website itself traceroute or even ping will just show the server as being up, not necessarily the website this video didn't explain much, the server could also block ping requests (which most of them do for security)
@thetrancebytes
@thetrancebytes 3 года назад
Such a smile!
@BuickGeek24
@BuickGeek24 5 лет назад
SYN packets are not "synchronize", it's "connection established"
@crc6896
@crc6896 3 года назад
uhh, it does synchronize sequences though? The three-way handshake isn't hard to understand bruh
@thuggy67
@thuggy67 3 года назад
Traceroute is a network diagnostic tool used to track in real-time the pathway taken by a packet on an IP network from source to destination, reporting the IP addresses of all the routers it pinged in between.
@PlexusMC
@PlexusMC 2 года назад
You're wrong and right, but dumb statement
@Lucas-md8gg
@Lucas-md8gg Год назад
Yeah, basically both client and server synchronizes their sequence numbers, the server sends a phantom byte to the client meaning it has received the client's sequence number
@arunoct22
@arunoct22 7 лет назад
what is malformed packet? how to resolve it?
@thuggy67
@thuggy67 3 года назад
Traceroute is a network diagnostic tool used to track in real-time the pathway taken by a packet on an IP network from source to destination, reporting the IP addresses of all the routers it pinged in between.
@golus4963
@golus4963 2 года назад
Thankds.
@RickyxEvans
@RickyxEvans 8 лет назад
yeah
@thuggy67
@thuggy67 3 года назад
Traceroute is a network diagnostic tool used to track in real-time the pathway taken by a packet on an IP network from source to destination, reporting the IP addresses of all the routers it pinged in between.
@razadaza9651
@razadaza9651 5 лет назад
Battery levels low on the borrowed hardware
@thuggy67
@thuggy67 3 года назад
Traceroute is a network diagnostic tool used to track in real-time the pathway taken by a packet on an IP network from source to destination, reporting the IP addresses of all the routers it pinged in between.
@Kennomie
@Kennomie 6 лет назад
I love female tutor teaching IT topics, so cool.
@RudyAviles
@RudyAviles 5 лет назад
I agree :)
@train4905
@train4905 7 месяцев назад
Awsome😊
@Crestoify
@Crestoify 9 лет назад
Dear Shannon Please get rid of windows for your own security and privacy
@hak5
@hak5 9 лет назад
I use several different operating systems. My main reason for using this PC is because of the HDMI output for our HD cameras. Much better for viewing small text on my screen. The reason I haven't switched to Linux (instead I just use a VMWare), is because this hardware is borrowed, it isn't mine. I don't want to deal with dual-booting or reinstalling Windows once I have to give it back.
@DS-ce4um
@DS-ce4um 9 лет назад
Crestoify I think it's funny that people think Windows is the only OS that can be hacked. They all can. Almost every Linux CVE is a 7.5 and above. The Ghost vulnerability came out right before this user posted. MACs currently have a vulnerability that can be exploited through the browser and reflash the BIOS, gaining persistence even after replacing the HD! But yeah, keep hating on Windows.
@Fermion.
@Fermion. 7 лет назад
I always ask people like that to explain why, starting from the kernel level. That's never failed to shut them up. Curious techies will actually use it as a learning experience, whereas noobs will still try to parrot the generic "Windowz suxx lolz" mantra.
@thuggy67
@thuggy67 3 года назад
Traceroute is a network diagnostic tool used to track in real-time the pathway taken by a packet on an IP network from source to destination, reporting the IP addresses of all the routers it pinged in between.
@PlexusMC
@PlexusMC 2 года назад
It's what works best for the person, most are fine and better off with windows. Stop being the guy in the corner of the street screaming the world is going to end
@layns6547
@layns6547 5 лет назад
Sotp
@thuggy67
@thuggy67 3 года назад
Traceroute is a network diagnostic tool used to track in real-time the pathway taken by a packet on an IP network from source to destination, reporting the IP addresses of all the routers it pinged in between.
@martintouko8359
@martintouko8359 2 года назад
talk about the problem. dont advertise your dirty product . dont veer off
Далее
Wireshark Tutorial // Fixing SLOW APPLICATIONS
8:43
Просмотров 45 тыс.
СОБАКИ ГОЛОДАЮТ ИЗ-ЗА ЛЕРЫ 🥲
01:00
Wireshark and Recognizing Exploits, HakTip 138
6:07
Просмотров 84 тыс.
Wireshark 101: How to Wireshark, Haktip 115
10:41
Просмотров 171 тыс.
How Hackers Move Through Networks (with Ligolo)
20:01
Просмотров 260 тыс.
Identifying Open Ports in Wireshark, HakTip 137
7:06
How to Listen to Phone Calls in Wireshark
7:30
Просмотров 137 тыс.
Watch me hack a Wordpress website..
28:52
Просмотров 149 тыс.
Wireshark 101: TCP Streams and Objects, HakTip 120
8:11
iPhone 15 Pro в реальной жизни
24:07
Просмотров 435 тыс.
Battery  low 🔋 🪫
0:10
Просмотров 13 млн