BUILD a Packet Capture Appliance for $200! Raspberry Pi

  Рет қаралды 20,611

Chris Greer

Chris Greer

Күн бұрын

Пікірлер: 63
@Closer80IT
@Closer80IT 2 жыл бұрын
Years ago we used a Debian pc to capture the traffic over a 10gbit link. To save a capture sometimes took 30 minutes... LOL... The good old memories. Recently I used RPi to create a remote monitoring system for my customers. Zabbix on cloud and RPi deployed at customer site. Very handy tools!!
@AnomalousURL
@AnomalousURL 5 ай бұрын
Bruhhhhh, Im relearning my packet skills and I was trying to find you last night. Said screw it went to bed, "ill google it tomorrow". And who tf shows up on my home feed. Thank you for all the knowledge Chris.
@pedrojaviermunozgarcia3721
@pedrojaviermunozgarcia3721 10 ай бұрын
Excellent configuration and a cost-effective solution!!
@EricBrokeIt
@EricBrokeIt 2 жыл бұрын
So when the world went into work from home chaos I built one of these almost identical to this. Mine has a POE hat, usb enclosure for a evo, and rather than a switch I picked up a qualcomm 1gig tap. Its perfect for WFH calls where I would have to run in to packet capture something, just throw it inline on the problem PC in the data closet and leave it there. Head home and remote into it. Great little solution. Great content as always Chris! Looking forward to the suricata video.
@ChrisGreer
@ChrisGreer 2 жыл бұрын
Fantastic Eric! It really is a sweet little box. I'm having a good time using it to monitor.
@zer001
@zer001 2 жыл бұрын
Wow cool. I know dumpcap since 30 sec. and i love it. I see some opertunities on my way. Many Thanks for your great Videos.
@cherriagana
@cherriagana 2 жыл бұрын
Had to use a Profishark tap for my solution. Managed switches with a mac-adres that isn't registered on our company's network will make the main switch port go into shutdown mode. Was an oopsie moment when I tried to analyze a network problem on an industrial line and suddenly everything went down :p
@ohasis8331
@ohasis8331 2 жыл бұрын
That was made to look surprisingly easy as well as decent pricing.
@4b5urd.
@4b5urd. 2 жыл бұрын
I had been kicking around the idea of how to do this with a pi, but didn't know if it would be possible essentially because the issue that you resolved with the netgear switch. I'll have to pick one up and give this a try. Thanks for putting your time into content like this. It is greatly appreciated.
@ChrisGreer
@ChrisGreer 2 жыл бұрын
That little switch is worth it!
@jonpinkley2844
@jonpinkley2844 2 жыл бұрын
That Netgear switch looks nice and portable. My favorite tap switch is the MikroTik CSS106-5G-1S due to its flexibility. For example it has port isolation so you can partition into two "independent" groups. I use 1-2 in one group and 3-4-5 in the second, and use port three as the "mirror/span" port with the capture device. Then you can mirror ingress on ports 1,2,4,5 to port 3 (I know, easy to overrun the mirror port and have packets dropped). The advantage of this it you can then put a router or other device (firewall, nat, vpn, tagging/untagging of vlans, etc.) and you can see what is going into the device under test as well as what comes out the other side. So you can see how packets are transformed, and look at latencies. Also, MikroTik has very extensive port counters, with counts of unicast, multicast and broadcast per port, as well as histograms of packet sizes sent/recieved for each port (64,65-127,128-255,256-511,512-1023,1024-1518,1519-max). The last one I bought on Amazon was in 2018 and the price was under $40, but now it is $49. It is also not as portable as the Netgear. If you are only mirroring a single port, the Netgear should be fine and is significantly cheaper.
@faran_siddiqui-d3t
@faran_siddiqui-d3t 2 жыл бұрын
Nice one man 🔥🔥
@ChrisGreer
@ChrisGreer 2 жыл бұрын
Thanks! It's been fun to tinker with it. Now to get Suricata working...
@miguelk8768
@miguelk8768 2 жыл бұрын
Looking forward for that monitoring video :) awesome work Chris!
@rubenmahecha1438
@rubenmahecha1438 2 жыл бұрын
I loved this one , can't wait for the suricate one you mentioned :D
@monstroPT
@monstroPT 2 жыл бұрын
Hi, Chris! For when the follow-up? I'm dying here! 😀
@hnasr
@hnasr 2 жыл бұрын
Great work Chris! I want to try this soon. Will this also capture traffic between two devices communicating directly not going to WAN? Say my laptop is an HTTP server and my phone is connecting to it using laptop private IP and both the phone and laptop is connected to the eero wireless AP. I’m not sure if the frames will leave the Access point in this case (through the yellow cable) to be captured
@ChrisGreer
@ChrisGreer 2 жыл бұрын
Hey Hussein! In that case no - at that vantage point, we wouldn’t see the wireless traffic because the eero won’t forward those packets out the wired interface. It would only do that if it has a reason to send the traffic out.
@tranxn7971
@tranxn7971 2 жыл бұрын
Hey Chris, thanks for the video ! I did not know about the dumpcap command, good finding.
@ChrisGreer
@ChrisGreer 2 жыл бұрын
Glad you liked the video
@barryfawthrop9962
@barryfawthrop9962 6 ай бұрын
How did you configure the switch to monitor on port 5??
@arubajamaica8563
@arubajamaica8563 2 жыл бұрын
Very interesting and achievable, thank you
@chrisoakleyfx
@chrisoakleyfx 2 жыл бұрын
Love your content Chris, I'm still new to networking but I love watching content like this to see what's out there and absorb what information my newbie brain can handle 😄 your TCP and UDP deep dives with David Bombal were very interesting and informative even to someone like myself. Keep up the great work 😊
@utsavkataria96
@utsavkataria96 2 жыл бұрын
Great, I am not alone xD. I almost have no clue what he is talking about. Just got him in recommended.
@CyberABE
@CyberABE 2 жыл бұрын
Thank you Chris great Video!
@vyasG
@vyasG 2 жыл бұрын
Thank you so much for this video. I have got to try this one to solve my intermittent WiFi issue. I'll couple my pi4 with Dualcomm ETAP to do something similar to this.
@pauljeyasingh
@pauljeyasingh 2 жыл бұрын
Love your content Chris, Would like to check if there is any content around EDNS pcap.
@tlturner3
@tlturner3 Жыл бұрын
What settings did you make for the rpi Ethernet port so that it's not sending data from it's self out the mirror port?
@MSUjgasmussen
@MSUjgasmussen 2 жыл бұрын
Thank you Chris! Sharing with my network.
@ChrisGreer
@ChrisGreer 2 жыл бұрын
Thanks for sharing!
@bobbywardle513
@bobbywardle513 Ай бұрын
Hey Chris, I'm looking to use a raspberry pi 5 to setup in a similar way. I want to be able to take it to locations I'm doing security assessments for plug it in at the location, gather the packets to a file that is saved to a usb, and then go back and get it and be able to inspect the files. I would also like to be able to grab wifi and ethernet traffic. Can a variation of the methods you show in this video produce a device like that for me and if so do you have any recommendations for that?
@abhishekpatil5768
@abhishekpatil5768 2 жыл бұрын
Incredible 🔥
@yohanmeier6061
@yohanmeier6061 2 жыл бұрын
I can add tools metrology as ntopng community version for graphics
@TheStevenWhiting
@TheStevenWhiting Жыл бұрын
How do you get your VNC to be so quick and smooth. Its as slow as slow came be for me. I'm say right next to the Pi.
@TheStevenWhiting
@TheStevenWhiting Жыл бұрын
Adding hdmi_group=2 hdmi_mode=82 To the /boot/config.txt appears to have fixed it. As mentioned on a video titled Fix VNC raspberry pi slow (Can read more in the description)
@pietstreet8311
@pietstreet8311 2 жыл бұрын
Another good solution is a barebone PC with two ethernet ports. you can bridge the ports in linux and just can plug in the PC between your LAN and the device you want to examine.
@lamjeri
@lamjeri 2 жыл бұрын
Is it possible to use VLAN as a mirroring target? So that you could use the Pi as a server and have a VLAN interface on it for packet captures?
@DarianCabot
@DarianCabot 2 жыл бұрын
Love it 👍
@ChitChat
@ChitChat 2 жыл бұрын
I've recently looked into SPAN and TAP solutions. Does this setup turn your Pi into a hardware TAP simply because it doesn't affect the system or more like an Adhoc SPAN setup? Thanks.
@ChrisGreer
@ChrisGreer 2 жыл бұрын
Hey, no it doesn’t. The switch performs the span function and passes the traffic to the pi
@johndicarlo225
@johndicarlo225 2 жыл бұрын
thanks dude
@KSax-ed9vy
@KSax-ed9vy 2 жыл бұрын
Good stuff!
@ChrisGreer
@ChrisGreer 2 жыл бұрын
Thanks!
@bergerMeister949
@bergerMeister949 2 жыл бұрын
Great content Chris, I appreciate you showing how accessible this solution is. You mentioned Suricata in one of the comments, what are your thoughts on Suricata vs Snort?
@yohanmeier6061
@yohanmeier6061 2 жыл бұрын
i do my probe capture with Raspberry it's top :-) thank you for idea
@anthonynowlan9765
@anthonynowlan9765 2 жыл бұрын
Perhaps show how to move that job into background etc. &
@DM-qm5sc
@DM-qm5sc 2 жыл бұрын
I know you explained it and I watched multiple times but I dont understand how and why you connected the pi, the switch and the "pf sense" the way that you did.
@grahamjkeddie
@grahamjkeddie 2 жыл бұрын
Hey Chris, What is better - Dualcomm ETAP-2003 Tap or a switch with port mirroring? I have a Dualcomm ETAP-2003 (bought at work for my laptop) and wonder if I’ve made the wrong choice. Thanks
@bluejuice2503
@bluejuice2503 2 жыл бұрын
Yeah you can Graham. The ETAP-2003 blocks traffic on the monitor port going back to the network (the ETAP-2003R model allows it) so if you have the ETAP-2003 model then you will need to enable the capture on the PI first and then connect it to the network you wish to capture from.
@jonpinkley2844
@jonpinkley2844 2 жыл бұрын
Chris, this is a great video. Now that you have had the appliance running, how many times have you looked at the data, and how useful was it? With such a high percentage of data now being encrypted, is is still worth while to store the complete packet vs using the -s aka --snapshot-length to limit the capture to something less? Then you would still have src and dst addresses and protocols in use. While writing this, I wondered if there is a way to have only non-encrypted protocols stored with the full contents, but the encrypted protocols truncated. Or do you force clients to use forged certificates, so you can decode after the fact? And I doubt that would help with malicious hosts (iot, etc.) Have you thought of setting up the wifi on the RPi as an access point, so you could selectively monitor IoT devices you wonder about. (My Amazon Echo often triggers even when I don't use the "Echo" wake word, I have an Echo Gen 1 that if I say "backup" without the wake word, it will respond "nothing is currently playing". And it often lights up when I ask the google home a question. I'm close to disconnecting the Echo devices since Amazon's latest changes to prime music that "got lost in the shuffle". No more prime for me. Sorry for the tangent/rant about Amazon prime music.
@bohuueeaa
@bohuueeaa 2 жыл бұрын
Another good video from Chris Greer (: Addition to this great video, you can considerably increase the device's performance with pf_ring, which, I bet you already know about (:
@ChrisGreer
@ChrisGreer 2 жыл бұрын
Ooh nice, great tip yasin! Thank you.
@shruthesh
@shruthesh 2 жыл бұрын
I watched the Video again to see how you got 2 Network interface on a regular Raspberri Pi. Felt stupid after I realized I completely forgot the Wireless interface.😅
@ChrisGreer
@ChrisGreer 2 жыл бұрын
It’s ok! I felt stupid the entire time I was setting the whole thing up.
@777_Strategist
@777_Strategist 2 жыл бұрын
Hey Chris, you're a really good teacher, i love your content ! I don't use youtube as much these days, but it would be awesome to see you on the Odysee video platform! Ask David Bombal, he posts regularly on it! Hope to see you there, and thanks for your awesome content :-)
@robertbatista50
@robertbatista50 Жыл бұрын
This may also be an option if you don’t take the SSD route… kzbin.info/www/bejne/gnyndGCNn9qeoZI
@Thriving_in_Exile
@Thriving_in_Exile 2 ай бұрын
You shouldn't have to spend $250 for.... > "Published 2 years ago" Yeah okay, fair enough. STILL a steal, though, compared to some of these enterprise network appliances.
@ChrisGreer
@ChrisGreer 2 ай бұрын
I was about to say… Have you seen what those vendor boxes cost?!
@Liqweed1337
@Liqweed1337 4 ай бұрын
this video teached me nothing. it basically ended when the content began.
I ditched my Raspberry Pi for this
18:45
NetworkChuck
Рет қаралды 564 М.
Build A Raspberry Pi NAS For $35 Using All New Parts
11:24
Michael Klements
Рет қаралды 730 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
MALWARE Analysis with Wireshark // TRICKBOT Infection
14:53
Chris Greer
Рет қаралды 51 М.
PoE+ NVMe beats Raspberry Pi to the punch
15:31
Jeff Geerling
Рет қаралды 318 М.
FIVE COMMON MISTAKES when using Wireshark
6:49
Chris Greer
Рет қаралды 29 М.
The Truth About SIM Card Cloning
13:04
Janus Cycle
Рет қаралды 1,1 МЛН
Satellite Hacking Cyberdeck v2.0
17:47
saveitforparts
Рет қаралды 258 М.
Build a Raspberry Pi Nessus Server and Scan your Home Network (Home Lab)
29:05
Kevin Garay - Cybersecurity
Рет қаралды 3,1 М.
I Spy, with my Little Pi...
23:46
Jeff Geerling
Рет қаралды 350 М.
Custom Cyberdeck For (Legal) Satellite Hacking
20:12
saveitforparts
Рет қаралды 1,3 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН