// Menu // 00:00 - Coming up 00:28 - Introduction 01:00 - How to generate dodgy packets with Scapy 01:14 - TCP/IP model 01:25 - Protocol data units 01:46 - OSI model video 02:12 - Importing Scapy into Python 04:25 - Spoof mac address 06:18 - Sending traffic into the network 08:52 - Sending weird packets 11:43 - "Advanced stuff" 15:11 - In the real world 17:17 - Conclusion Learn the basics of how to use Python and Scapy to create malicious or dodgy packets and send those into networks. Who knows what's going to happen when packets are created like these. Also learn that what they teach you about the TCP/IP model in the CCNA course isn't necessarily true in the real world. You need to learn to code! Learn Python. Learn Networking. You are going to be very powerful and very scary if you combine knowledge of networking with Python scripting! But, do good. Learn to code. Learn Linux. Learn Networking. The OSI Model is a lie: kzbin.info/www/bejne/l6HVZ2ambLCSaaM Scapy documentation: scapy.net/ Playlist: davidbombal.wiki/scapy // SCAPY RESOURCES // Website: scapy.net/ Documentation: scapy.readthedocs.io/en/latest/ // SCAPY INSTALLATION // sudo apt update sudo apt install python3-pip sudo pip3 install scapy // SOCIAL // Discord: discord.com/invite/usKSyzb Twitter: twitter.com/davidbombal Instagram: instagram.com/davidbombal LinkedIn: www.linkedin.com/in/davidbombal Facebook: facebook.com/davidbombal.co TikTok: tiktok.com/@davidbombal KZbin: kzbin.info // SPONSORS // Interested in sponsoring my videos? Reach out to my team here: sponsors@davidbombal.com Disclaimer: This video is for educational purposes only. I own all equipment used for this demonstration. No actual attack took place on any websites.
@kanchanmishra47902 жыл бұрын
Can you make a video on the all the tools in the aricrack-ng suite one video per tool
@Pk-nv1qv2 жыл бұрын
Hi thanks for the video. Pls do post more stuff using scapy
@ryanchowdhary9652 жыл бұрын
David, does this mean I can launch a dos on a website with scapy using random source ip in layer 3 and not get blocked?
@osiris54492 жыл бұрын
How to prevent this as a foreign attack? For example, if someone penetrates your Network. How can we prevent that form of attack?
@FaroukAlshami-ig2kx6 ай бұрын
gg
@jpierce2l33t2 жыл бұрын
David, I truly appreciate you continuing to drop absolute *bangers* like these, and I've always admired your Python code, it's elegant and easy to understand!!!
@davidbombal2 жыл бұрын
Thank you!
@LARKXHIN2 жыл бұрын
Seconded. as someone who is constantly confounded by Python, the few parts I undersand are written by David!
@jpierce2l33t2 жыл бұрын
@@LARKXHIN right?! He plays it off like they're just hacked together, and then you open one and it's laid out so nicely, heavily commented, and has a cool banner lol. He obviously puts a lot of time and effort into them, and you just gotta appreciate that!
@jpierce2l33t2 жыл бұрын
@@davidbombal also, as I'm watching this my mind is totally blown man. I've been messing around with stuff like this for a *long* time, and I didn't know Scapy gave you this level of access to the construction of packets...I thought you could just only wrap sockets and use the system level socket interface! I'm going to watch all of your previous Scapy videos now, I should've already done so before but I wrongly assumed it was just socket level stuff. This is awesome!!!
@davidbombal2 жыл бұрын
@@jpierce2l33t I have a great team :)
@jacesullivan45632 жыл бұрын
Dude! Thank you for this! You have answered so many questions i have asked in the past and never got a straight answer for. Keep it coming sir you are literally a game changer for this student!
@davidbombal2 жыл бұрын
Very happy to hear that!
@djdawso2 жыл бұрын
Great to see a real-world discussion of how the OSI and TCP models should really be treated. Makes this old CCIE guy happy!
@bobnoob14672 жыл бұрын
I love your content David. Always happy to see the notification! Continue the great work.
@davidbombal2 жыл бұрын
Thanks! I appreciate that!
@AhmadShrif11 ай бұрын
As an ex IP/Routing Software Engineer worked in developing these protocols, I would say this is very well explained. Sometimes it is easier to think of a layer as a container that contains another container/s as a data and it just works like vehicle to carry the frame/packet to next hop and so fort.
@Jenko0222 жыл бұрын
Thank you for this. Scapy tutorials are very hard to come by on the net and I have not been able to find a book on the subject so your tutorials are excellent and exactly what i have been looking for. Many Thanks.
@kickoGaming2 жыл бұрын
Man do I miss these please keep up doing these, there isn't very good tutorials out there for certain topics like this, so this helps soo much. I love your other content but I feel it's been awhile since i have seen one of these videos from you.
@davidbombal2 жыл бұрын
Glad you like the video! Lots more coming 😀
@sumitExplains2 жыл бұрын
hey david just took your ccna udemy course. Absolutely loved it and i am learning a lot . looking forward to learn programming language for offensive security . thanks for all your effort . have a good time
@davidbombal2 жыл бұрын
Awesome, thank you!
@ericecklund6762 жыл бұрын
David, I get the part where folks don't need to send it all to do malicious packets. The one thing that I took away from getting my CCNA was the mnemonic All People Seem To Need Data Processing, for remembering the 7 layer model. It was just a nice way to remember what I was trying to do and where I was, while looking at packets (Application, Presentation, Session, Transport, Network, Datalink, Physical).
@rogerparrett32422 жыл бұрын
More Scapy-centric videos, please. Also, a Scapy-themed course would be a good addition to your other *excellent* Udemy courses, which, BTW, I highly recommend to anyone interested in networking.
@Mohammed-rx6ok2 жыл бұрын
+1
@siddhantkumar94922 жыл бұрын
Really excited and always look forward to watch such amazing content!
@davidbombal2 жыл бұрын
Thank you!
@MERMEN832 жыл бұрын
Thanks, just wish that more people see your channel👏🏽👏🏽👏🏽
@davidbombal2 жыл бұрын
You and me both!
@Node83 ай бұрын
As someone who is learning networking this is very eye opening. Thank you
@ChrisGreer2 жыл бұрын
Nice video David - great example of how packets and protocols are built and how they can be manipulated. Oh nice use of Wireshark!
@davidbombal2 жыл бұрын
Thanks Chris!
@educastellini2 жыл бұрын
-Great content Professor David Bombal...!!! -Well, in the video, basically, the professor showed what I learned many years ago when I was still programming micro-devices from my electronic base where I started in the 90's, which is the following: That the OSI or TCP Model doesn't exist, I mean... -Back in the beginnings of networks, companies created their network hardware and programmed them with protocols that they considered interesting, which basically meant that nothing communicated with anything from other manufacturers. -And the models and ISOs emerged to make equipment from different manufacturers talk to each other, so the OSI and TCP models are the protocols and ISO models that were adopted together by all companies and this makes them follow the logic of Layers and for here goes why it's how the Firmwares of several vendors were programmed, following them and that's why when everything is working correctly. -But when working on software like this or like I worked creating hack devices for the military (which is what Hack5 does commercially nowadays), because when programming devices at the machine level the models they can be easily broken or followed as far as we choose. -For example if programming an Arduino device in C++ things like physical address written in the interface and other things don't exist, you program and configure the NIC which is what the vendors firmware do. -In Hack is basically what you can do very easily with the NIC being controlled by software like the one in Python that you showed. -Thanks for the knowledge Professor David...!!!
@cyberginx46132 жыл бұрын
Hello sir love from India, pls do create tutorials on scapy as I really enjoy your tutorials. Great learning
@lowlightevangelist94312 жыл бұрын
Thank you for your tremendous work and generosity, Mr Bombal.
@davidbombal2 жыл бұрын
You're welcome! And thank you.
@MuhammadUsman-xx2ef2 жыл бұрын
Sir your content was as powerful as you use to create usually. I am currently working as a Network Administrator at an ISO-certified company and have learned so much from you that I can't mention. We would like you to create more videos on scapy and analyze the top layers too. Thanks in advance Accept a lot of love from Pakistan
@davidbombal2 жыл бұрын
Thank you Muhammad
@deyannedyalkov89302 жыл бұрын
Great videos in general. Maybe the reason people struggle with scapy is that they dont know how to properly read the documentation of the library. Or they dont know the solid theory and the fundamentals. Thanks again for the good content ;)
@gabrielannk2 жыл бұрын
Thank you so much! When I was learning scapy I looked so hard for good resources. If you make it, it's is granted quality!
@krzycho7512 жыл бұрын
Thanks David! Again the video that gave me a new perspective on what is possible. I didn't even know that such a crazy tool like scapy exists. I like it! :) This is funny when someone is 47, like me, and decides to turn his whole life upside down by career change. From truck driver to IT technician.I have some prior experience as an administrator of a small web server, but it was years ago.And there are so many things to learn! But I know I can do this, so I try not to waste my time anymore. Not only your CCNA course helps me to prepare for exam but your videos about motivation are useful to me. How about new recommendations from your Book Club? :)
@aniketsharma73332 жыл бұрын
Great Video David 😊👍 ... Thanks 🙏
@davidbombal2 жыл бұрын
Thank you!
@kennytieshisshoes2 жыл бұрын
This is super helpful in just understanding WireShark better. I never knew how WireShark stacked the layers.
@ByteShadow2 жыл бұрын
Awesome video as always... thanks for the quality content!
@davidbombal2 жыл бұрын
Thank you! Glad you enjoyed the video!
@212MPH2 жыл бұрын
X25 died years ago then IP killed off the osi model you are quite correct. OSI layer and Private dedicated data links became obsolete on IP networks as did the 7 layer osi layer.
@nessd6652 жыл бұрын
I'd really love to see some more videos about scappy, I assume based on what I see you can specify the ethernet frame type so technically we could emulate double tagging and stuff like that
@blastmane2 жыл бұрын
Thank you david! As Ethicak hacker, i really appreciate your work! This was so helpful to me
@Profit_Tomas2 жыл бұрын
Great videos David keep it up🔥🔥🔥
@davidbombal2 жыл бұрын
Thanks! Will do!
@edivaldopastorivalentini26002 жыл бұрын
Congratulations, David. Very great explanations.
@davidbombal2 жыл бұрын
Glad you liked the video!
@alainherreman36852 жыл бұрын
Unespected and very instructive as usually. Thank you David!
@yourpersonaldatadealer22392 жыл бұрын
Scapy looks nice for just getting local network info. Do people ever use it for that? Good content as always, yourself and data science make Python interesting again.
@rajshekhar70302 жыл бұрын
Thanks for your content David, what are your thoughts on choosing an actual book over an ebook or vice ver- getting opinions would be good ! - “ just for pure reasons of getting most from the book!
@davidbombal2 жыл бұрын
I use both. I prefer reading a physical book, but I prefer O'Reilly for quickly finding information in lots of different books. So, physical for reading, eBooks for finding specific information.
@rajshekhar70302 жыл бұрын
@@davidbombal thank you !
@SumanRoy.official2 жыл бұрын
This is something that I never thought of! Awesome 👍
@MrKnight187062 жыл бұрын
Hi David, great videos thanks for all you do and the great info! What do you use for your primary Mac?
@killerx89022 жыл бұрын
Very helpful Scapy video for beginners. Keep them coming
@mirzansdc5112 жыл бұрын
mind blowing,amazing explanation david I have a question though, through is through Scapy packet is fully customizable(manipulatable). If so can I actually send a packet and show my IP(source IP) as something else, even in real world?
@CyberD4vey2 жыл бұрын
Know you’ve discussed learning and getting a good understanding of networks.. do you recommend going with Network+ or jumping into CCNA?? Currently have a entry cert and looking for a job in helpdesk. Just looking for my next cert to start. Any feedback would be appreciated
@sweetrascalut2 жыл бұрын
Hi david first time I heard the word scapy and after watching your video i installed scapy on my laptop and experienced as you did on your video thanq so much keep it up I expect more videos on scapy
@davidbombal2 жыл бұрын
Thanks! Please watch my scapy playlist: davidbombal.wiki/scapy
@oildiggerlwd2 жыл бұрын
I would love to see more scapy videos. This kind of stuff is fascinating to me.
@adityajoshi3212 жыл бұрын
Excellent video! Explained effortlessly. I wonder if scapy can be used to create double tagged vlan packets in order to perform vlan hopping? I think you've already spoofed dtp packets to negotiate a trunk to perform the same as above in another video
@blazehunter092 жыл бұрын
I would really like to see more about scapy and sending packages and maybe even for control and surveillance of my network
@QuickFixHicks9142 жыл бұрын
Awesome video. I didn't know how scapy worked until I watched this. If you have time I would love to see more content about it.
@davidbombal2 жыл бұрын
Glad you enjoyed the video! I'll create more content 😀
@skynet.yousha2 жыл бұрын
You always have a big contribution in my learning phase and i owe you a lot. I'm very grateful to you.
@davidbombal2 жыл бұрын
Thank you! And you're welcome!
@anblogg2 жыл бұрын
David I love your videos keep it up
@davidbombal2 жыл бұрын
Thank you Nemeab!
@mossdem2 жыл бұрын
I wish the Pythonic way to wrap strings was using the singular quotations rather than double. The shift key changes from keyboard to keyboard and sometimes its very irritating to keep looking down at my keyboard so I use the singular quotation for this reason. Other than that I love the PEP-8 style
@matthewschuster46002 жыл бұрын
Very well done Mr. Bombal.
@omkarugale2 жыл бұрын
Hi David, How do you calculate or provision network load balance and what are the inputs are key points required from customer while suggesting WAN router ?
@Joker-fq4cq2 жыл бұрын
Really loved that video! We want more videos like this. Thank you for such amazing tutorials.
@SoulJah8762 жыл бұрын
Really cool - I'll try using Scapy to craft DCHP packets.
@PetritK102 жыл бұрын
Nice David, I'm interested what is you daily job, Ethical Hacker or Network Engineer
@CyberABE2 жыл бұрын
Awesome video, I'm studying for my CCNA exam with your Udemy course and I love it! I Love Python too! Thank You!
@elemental-k9i2 жыл бұрын
Great content! Yes please more scapy:)))))
@davidbombal2 жыл бұрын
Thank you!
@honeygocher53692 жыл бұрын
Dear David, In all the videos you always discuss about which devices are preferably used. Windows or Mac but everyone gives different advices. I have to buy a laptop to practice these hacks, should I consider buying a high-configuration windows machine or M1 Air.
@irongeek41822 жыл бұрын
Do not buy M1 Macs since they do not yet support all VM hyper visors (VMWare, Virtual Box). They only support Parallels at the moment but you can only run VMs of guest OS that support arm based cpu. so you are limiting yourself. Get a Windows 11 Pro OS Laptop with 32GB of memory. This should be enough to run many VMs at once and with Windows 11 Pro you get Hyper V for free. No need to purchase VMWare, Parallels, etc.
@hackwrld18952 жыл бұрын
Thanks alot for your videos, I always learn alot from them
@davidbombal2 жыл бұрын
Glad to hear that!
@limyeechin52 жыл бұрын
Hi David , can you make a video on how to create a port mirroring program using scapy & Python ? the usage is to sniff packet exchange between 2 device in a router
@CallousCoder2 жыл бұрын
I miss those days that I created raw 802.3 packets to write our own interpretation of DEC LAT protocol for DOS and Netware back in the mid 90s. These days everybody can do that with these tools (very cool btw). But doing it C is a whole different ball game. socket(AF_INT, SOCK_RAW) stil know the socket binder for it after 28 years 😂 I learned so much from the BSD socket code.
@luismarrero92932 жыл бұрын
great information like you always provide. thanks. Very very interesting. Yes we want more. I would like to see a video of how to use python code in a windows machine without having to install python or any module on the computer. I tried before but it did not work until i downloaded the python and the module to the computer. thanks again
@nerd61342 жыл бұрын
I wish this guy makes an OS course coz then hacking makes more sense PS : Gold Content
@mandardeorukhkar52292 жыл бұрын
Hey David excellent stuff. Would surely like to learn more about scapy. Thanks
@audiencemember13372 жыл бұрын
I clicked on this on this one for sure, came up in my thread and the thumbnail was more appealing at least to whatever demo I'm in ahaha
@m3ntas2 жыл бұрын
David amazing video!!! 👌🏼 Keep doing this!!😉
@jasongilholme91242 жыл бұрын
So what does this mean from a network security / design POV? It's great to know that the stack can be jumbled up like this, but as an application developer what does this mean in the real world. Do you have any examples of a vulnerability that can be created using this technique and what can be done to harden the application in response?
@davidbombal2 жыл бұрын
Have a look at the scapy playlist I put in the video description. I've already demonstrated how to reset BGP neighbor relationships, remotely remove routes from the BGP routing table, add fake routes to BGP routers, manipulate Spanning Tree, Manipulate EIGRP and other protocols like DTP for example. Scapy gives you the ability to create all kinds of interesting packets.
@prodigyprogrammer31872 жыл бұрын
Great as always Hope you are doing well David
@Alain9-12 жыл бұрын
Amazing please do more videos about scapy, thank you
@LB-lz1ks2 жыл бұрын
Very interesting. Great content. Thanks David.
@davidbombal2 жыл бұрын
Thank you!
@SirPeterlll2 жыл бұрын
Can it be used to fool routers thinking data is from the ISP, like tr-069 (cpe management)? I'm assuming there is an extra protection layer in routers.
@mordor6932 жыл бұрын
Very interesting. It makes me want to try it on my own. Amazing work! I'm looking forward for more content like this :D
@0xrohit542 жыл бұрын
Awesome content david sir...clear explanation thanks a lot sir :)
@emreyavuz47062 жыл бұрын
David you are very good teacher!! Thx. Consider creating a hacking challenge website which includes many hacking scenerio examples of networking or more.
@aymeneboucha49742 жыл бұрын
you are the best i've watched so far
@KingBHD2 жыл бұрын
David one videa regarding TCP/IP and OSI please. Explaing it's layers and functions.
@davidbombal2 жыл бұрын
Watch videos 8 - 10 in this playlist: kzbin.info/aero/PLhfrWIlLOoKPc2RecyiM_A9nf3fUU3e6g
@abhinavgamercr14192 жыл бұрын
This was awesome video sir make more videos of python for cyber security i love it
@davidbombal2 жыл бұрын
Thanks! Will do!
@Alex-nq5nz2 жыл бұрын
AMAZING CONTENT!!!! I already bought some of your courses ...how to do to support your channel even more ???
@davidbombal2 жыл бұрын
Thank you Alex! I appreciate your support! You can join my KZbin membership if you want to support me.
@amirmohamed87482 жыл бұрын
You are the best . Really good ideas in this video.
@jairunet2 жыл бұрын
Great examples David quick and dirty real-world examples of hacking with Scapy / Python, but if I am interested in starting from a more fundamental stage on Scapy, a more enterprise usage rather than hacking, do you have a recommendation? I will be checking on google for information but I will definitely be interested in your suggestions, I would like to put into practice not just hacking but other enterprise and Data Center functionalities from Python/Scapy, Thank you in advace.
@ApteraEV20242 жыл бұрын
ExCellent sir! Thanks for sharing!
@nadiaschutz15982 жыл бұрын
Omg, absolutely fascinating tutorial! Thank you 🙏
@jurajpapic94892 жыл бұрын
Outstanding! Please create more videos or a full tutorial Thanks
@InspirePhonk2 жыл бұрын
I have got a question about a previous video. In the video it showed a python wifidos.py script that can dos a network just by running it in terminal. I want to be able to bypass the control c to exit bit so I can run it on start-up with no screen. If anyone could help that would be much appreciated.
@jackkelly68902 жыл бұрын
Love the content David!
@lalitpant84012 жыл бұрын
Thx David ,very helpful to understand,👍
@skriptak63082 жыл бұрын
Jeez pace yourself man.. week after week ,hit after hit. I'm still watching the the last video. Haha really appreciate the vids man!
@davidbombal2 жыл бұрын
Got to keep you busy! 😂
@drillmontage23612 жыл бұрын
I love your videos
@davidbombal2 жыл бұрын
Thank you! I appreciate that :)
@pranaypallavtripathi24602 жыл бұрын
Every computer engineering student should watch your video on OSI being a lie.
@marticus1232 жыл бұрын
Hi David, is there any way to protect us from a deauthentication attack?
@RoughGanome2 жыл бұрын
Awesome video. More scapy please
@iamjoeljackson23762 жыл бұрын
Yesss we want more scapyyy
@jm1503 Жыл бұрын
When you say "do weird things", what are some examples and why would anyone want to do them?
@btno2222 жыл бұрын
What about tunneled workstation or personal computers that has that vpn tunnel either tun0 or tun1 where it is encypted ???
@Bsoul_music2 жыл бұрын
Thank you, sir Pls create more of it
@davidbombal2 жыл бұрын
Thank you!
@ajuamungumichael43772 жыл бұрын
Be blessed
@davidbombal2 жыл бұрын
Thank you!
@alisenjary2 жыл бұрын
Very nice 🙂
@davidbombal2 жыл бұрын
Thank you!
@alisenjary2 жыл бұрын
@@davidbombal ❤️
@alexmiller70072 жыл бұрын
VLAN hopping would be a fun one
@davidbombal2 жыл бұрын
Here's a start: kzbin.info/www/bejne/q2bGoZKemNykaMU
@Mike.Kachar2 жыл бұрын
David; The first time you did Layer3.show() , it had the src IP as the loopback address of 127.0.0.1. Then, around the 5:30 marker, you changed the DST IP address to = 192.168.1.249 (I believe it was). Then you did another Layer3.show() to show that you had indeed changed the dst address (to be your Cisco router, I think you said)... However, it is at this point that the SRC address now shows your Kali VM's IP address of 192.168.1.59 , and changing/setting the src IP was never done. Is this something that just happened to of gotten edited out (& shouldn't have been), or did Scapy assume/do something that it automatically updated the src IPv4 address to be your VM's address...? Just curious what exactly happened there. Please advise. Thanks. Oh, & please... More of the Scapy videos 👍👍😊 I really dig the "creating your own packets" thing. Thanks!
@ikhal3d2 жыл бұрын
Misleading title. I didn't see hacking. I saw packet generator generating customisable packets.
@izag-2 жыл бұрын
Can you do a video about Social Engineering toolkit?
@chaitanyapasupuleti56862 жыл бұрын
Please make more on this topic
@TNothingFree2 жыл бұрын
Excellent video!
@btno2222 жыл бұрын
fe80:: is this addy an actual addy or is it like how tcp/ip on a windows os?