Facebook and BGP 😂 Fake route injection // Python Scapy DOS script EP 3

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 128

  • @oladejifagbewesa3322
    @oladejifagbewesa3322 2 года назад +3

    Please I’m looking forward to a course in cyber security from you. Thanks for sharing all your experience, you are a blessing to the IT world.

  • @ronitdhase2511
    @ronitdhase2511 2 года назад +8

    Love that song BGP🤣

  • @Aaronxhu
    @Aaronxhu 2 года назад +4

    It wouldn’t be as easy as this seems to break the internet. If you are already connected to the Lan segment between two internet core routers you can do a lot more to harm the internet. Plus there has to be password authentication configured between the internet routers to prevent this. But raising awareness of network security is always a must

    • @bradley6727
      @bradley6727 2 года назад

      Explain. Please provide visuals and reference your source material. I am very interested in your explanation. Thank you

    • @Aaronxhu
      @Aaronxhu 2 года назад

      @@bradley6727 when you are connected to the lan segment, you can break their IGP or BGP neighborship, though there should be redundancy so shouldn't cause an outage. But injecting loop would. Like ARP attack to force traffic to be sent to your device and blachole it. This doesn't even need you to guess the BGP neighbor password.

  • @saifabsi5204
    @saifabsi5204 2 года назад +1

    you must have access to the internal network and pass the key authentication to do so , however maybe one of the internal network engineer have access to the network of FB caused this kind of issues , anyways great to wake awareness ,

  • @MrPenguin098
    @MrPenguin098 2 года назад +6

    I really like this series. How about getting John Hammond the guru of Python and pen-testing for his input. 😎

  • @sterlino7254
    @sterlino7254 2 года назад +1

    Follow and love your cours, you are moving me ahead to be a duplicate of you in my country thanks again sir for your class🇨🇲🇨🇲

  • @_v0id309
    @_v0id309 2 года назад +2

    you are a awesome teacher sir ; it's a pleasure to learn with you .

  • @davidbombal
    @davidbombal  2 года назад +16

    Simple script to DoS Facebook by injecting fake BGP routes into the BGP routing table of a live BGP router.
    Disclaimer: This video is for educational purposes only. I own all equipment used for this demonstration. No actual attack took place on Facebook or Internet BGP routers. I demonstrate in this video how Python and scapy can inject fake routes into BGP routing tables if BGP routers are not hardened. See the links below on how to protect your routers.
    In other videos in this series, I showed you how to remove routes and reset BGP neighbor relationships.
    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.
    // MENU //
    0:00 ▶ Introduction
    0:23 ▶ Facebook BGP issue
    0:45 ▶ Add fake routes = routing loop
    1:25 ▶ lol.... routing loop
    2:26 ▶ Be warned
    3:19 ▶ Routing tables before script
    4:05 ▶ Why we need to two routers
    4:25 ▶ Cisco ISR router
    4:48 ▶ Kali and Python script
    5:28 ▶ Python script details
    11:38 ▶ Create Python script on Kali Linux
    12:15 ▶ Run Python script
    12:56 ▶ Verify new route in routing table
    13:40 ▶ Verify connectivity to Facebook
    13:55 ▶ Change Python script
    14:33 ▶ New Python script
    15:00 ▶ Test Python script
    15:12 ▶ Issue with BGP and script
    15:58 ▶ Test script again
    16:46 ▶ Successful routing table update
    17:05 ▶ Facebook is not available (routing loop)
    18:54 ▶ BGP is important!
    // BGP MUSIC //
    You down with BGP: ruclips.net/video/RT-1DU33xIk/видео.html
    // SCRIPTS //
    DoS BGP network: davidbombal.wiki/bgpupdate
    Previous BGP video 1: ruclips.net/video/39DGVpMt7eQ/видео.html
    Previous BGP video 2: ruclips.net/video/IFYBIjjXLbQ/видео.html
    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
    RUclips: ruclips.net/user/davidbombal
    // SPONSORS //
    Interested in sponsoring my videos? Reach out to my team here: sponsors@davidbombal.com
    // BGP RESOURCES //
    NSA: www.nsa.gov/Portals/70/documents/what-we-do/cybersecurity/professional-resources/ctr-guide-to-border-gateway-protocol-best-practices.pdf
    Cisco: www.cisco.com/c/en/us/support/docs/ip/access-lists/13608-21.html
    AWS: docs.aws.amazon.com/directconnect/latest/UserGuide/limits.html
    Juniper: www.juniper.net/documentation/en_US/junos/topics/topic-map/bgp-tcp-sessions.html
    NSRC: nsrc.org/workshops/2017/apricot2017/bgp/bgp/preso/05-BGP-BCP.pdf
    Internet Society: www.internetsociety.org/deploy360/securing-bgp/
    Please note that links listed may be affiliate links and provide me with a small percentage/kickback should you use them to purchase any of the items listed or recommended. Thank you for supporting me and this channel!

    • @sterlino7254
      @sterlino7254 2 года назад

      Good morning sir, why are you not replying to message. I sent you thousands of messages and you haven't replied them I don't know how I could really follow those tutorials if you don't reply

    • @groodbrood8950
      @groodbrood8950 2 года назад +1

      but this is offline. can you teach me online hack

  • @voletiraghuram
    @voletiraghuram 2 года назад +1

    I request to you to do more videos like this

  • @muelprah8426
    @muelprah8426 2 года назад

    You are a blessing to my IT career. Love from Ghana 🇧🇴🥰

  • @crumdub12
    @crumdub12 2 года назад

    Great Video David, I was working on the CCIE Routing track, and was shocked at how little focus they had on Encrypting network protocols ... so this attack is very real

    • @davidbombal
      @davidbombal  2 года назад +2

      Agreed. We definitely need more of an emphasis on blue team stuff.

  • @anthonypikoulas4134
    @anthonypikoulas4134 2 года назад +1

    Thanks so much, you educate us in so many topics, appreciated.

  • @scottym50
    @scottym50 2 года назад

    Thank you, great video.
    I learn more in a very few minutes that used to take hours.
    I can really speed up my learning by hanging out with you.

  • @kamaungethe9739
    @kamaungethe9739 2 года назад +1

    Great video. What is the correct way to mitigate this kind of attack, is it:
    a)neighbor authentication
    b)inbound filters via prefix lists and acls
    c)either of the above plus physical security over the links
    d)some other way not mentioned?
    I've come across RBTH but can't say I understand it well enough to know whether it can mitigate this attack.
    Thank you.

  • @fareseldokmak4865
    @fareseldokmak4865 2 года назад

    I always learn from you, actually I got as a network engineer due to you explanation

  • @bobwong8268
    @bobwong8268 2 года назад

    👍👍👍👍👍Dear David,
    Great Job, Well Done!
    Lot's of respect for your persistence and willingness to share knowledge.
    Thank You once again!

    • @davidbombal
      @davidbombal  2 года назад

      Thank you very much Bob!

    • @bobwong8268
      @bobwong8268 2 года назад

      @@davidbombal We share the same passion to keep on learning & sharing knowledge. I know you are giving your best - knowledge of great value - freely; & I fully understand how we draw strength from people who learn from us. Just re-channelling some positive energy back to you.
      Best of Wishes,
      Sincerely!

  • @nocomment296
    @nocomment296 2 года назад +1

    Learning your Udemy Cisco..
    This is just crossing my head

    • @davidbombal
      @davidbombal  2 года назад +1

      This is a more advanced topic. It will make sense once you complete your CCNP.

  • @krishnasharma5843
    @krishnasharma5843 2 года назад +4

    You are AMAZING SIR.. ❤️

  • @Thedude897
    @Thedude897 2 года назад

    Just waiting to get my second monitor since I enrolled in your free give away for the cisco CCNA 200-301!

  • @ferreirog
    @ferreirog 2 года назад +1

    Good video, great description and explanation.

    • @davidbombal
      @davidbombal  2 года назад

      Thank you Gavin. Glad you liked it!

  • @educastellini
    @educastellini 2 года назад

    -Great content Professor David Bombal....!!!
    -Yeah... Look at the coincidence the teacher teaching scripts for BGP and Facebook goes down, warn these boys not to use it in the real world.... LOL
    -But the problem with Facebook is that they use a whole specific infrastructure that is almost custom made for them using an Arista hardware base but with SDN controllers only theirs using the so-called FBOSS network operating system which is the distributed network system, their Fabric Aggregator, so the error in BGP must have been something related to some update of this Fabric and the interaction with their edge devices, but only they can really know, right...?
    -Thank you very much for the knowledge professor David Bombal...!!!

  • @limitlesskode
    @limitlesskode 2 года назад +7

    I’m already feeling like a badass hacker. 😎

    • @davidbombal
      @davidbombal  2 года назад +10

      Just don't try this on a live network unless you have permission.

  • @shreeshaaithal-
    @shreeshaaithal- 2 года назад +1

    Best video ever and like how you tech but please make one video on how can I make a undetectable backdoor.

  • @curiosityunleashed
    @curiosityunleashed 2 года назад +1

    “So that i can cause problems 😈”
    - David Bombal 😂

  • @infotechyeti
    @infotechyeti 2 года назад

    great videos. going for the ccna this month and next is pentest plus or sec+ training. thank you

    • @davidbombal
      @davidbombal  2 года назад

      Thank you Jonathan! And thank you for your support. All the best for your exam! Go and get that CCNA!

  • @matejbilic6188
    @matejbilic6188 2 года назад

    Great video David, I really did not know that something like scapy exist before your video! Thx
    If I get it right, to make this work we must first capture traffic between two BGP peers (SPAN port or hub :D ) or we can create new frame without capturing traffic, but then we need to know src/dst MAC of both frame together with other parameters.
    What if BGP peers use authentication? Yes, it is not so secure, but it is some type of authentication. We can sniff that hash as well and put it to the new frame?
    How long would that prefix remain in the BGP table...

  • @giannicampello6672
    @giannicampello6672 2 года назад

    You know BGP? I feel a "naughty by nature" hacker :) Good choice of music!

    • @davidbombal
      @davidbombal  2 года назад +1

      Thank you. Great song that :)

  • @mimik_magar
    @mimik_magar 2 года назад

    HELLO !! SIR, I know another wifi hacking tool name is EVIL TWIN ATTACK. In the next video can you make a video about the Evil Twin attack and what pkg should we install and what configure should we do to use that...LOVE YOUR VIDEO

  • @johneandre9206
    @johneandre9206 2 года назад

    Thank you for introducing us this knowledge!!!

  • @wedgiepantilles4620
    @wedgiepantilles4620 2 года назад

    Ah, so that was YOU giving FB a headache, David. Thanks, we were glad of the break XD

  • @raymondnance6843
    @raymondnance6843 2 года назад

    I love the content you create. That BGP song!!

  • @sinos_karan9515
    @sinos_karan9515 2 года назад

    Hello "David sir " good to see you again!!! Diwali whishes act for me ! In srilanka

  • @kenmurphy4259
    @kenmurphy4259 2 года назад

    David goes dark side……..awesome! 😄

    • @davidbombal
      @davidbombal  2 года назад

      lol.... just having some fun with BGP 😂

  • @haykelelouaer641
    @haykelelouaer641 2 года назад +1

    Mr. David, please give us an episode on hacking websites, especially a loophole xss

  • @isaacchk
    @isaacchk 2 года назад

    Thanks David....

  • @RajeshJDayalaniRavirjdayalani
    @RajeshJDayalaniRavirjdayalani 2 года назад +1

    kali king, thanks sir

    • @davidbombal
      @davidbombal  2 года назад +2

      Thank you. But there are many others who should get that title rather than me.

  • @Ca7iburn
    @Ca7iburn 2 года назад +1

    Enjoying your videos!

  • @shashanksinghgautam
    @shashanksinghgautam 2 года назад +1

    The song bgp 😂

  • @jontan5762
    @jontan5762 Год назад

    Hey David, great video. I am using your script as a reference for my Network Security project which is to inject fake routes to reroute traffic in an internal network. However, I am unable to figure out how to modify the AS_PATH variable to make the fake route more favorable to the other route. Can you provide some insights as to how I can inject a route with a short AS_PATH value to cause the router to favor that path instead?
    Cheers,
    Jon

  • @arinzejustin2687
    @arinzejustin2687 2 года назад +1

    More ❤️ from 🇳🇬

  • @ebbrayezkhanzada7304
    @ebbrayezkhanzada7304 2 года назад

    You have my attention for rest of my life 👌

  • @shaikjilani8242
    @shaikjilani8242 2 года назад +1

    Love From India ❤️

  • @lanmeglic2401
    @lanmeglic2401 2 года назад

    Hi can you make video how to start with python ? Thx for all and your videos

  • @aaditya4664
    @aaditya4664 2 года назад

    You are the best hacker!

  • @alexandruszabo
    @alexandruszabo 2 года назад

    Great video!

  • @dinieshvc8069
    @dinieshvc8069 2 года назад

    Super nice

  • @55-ks8ni
    @55-ks8ni 2 года назад

    Great

  • @mrpoliticalguy5602
    @mrpoliticalguy5602 2 года назад

    Hey can you teach us how to create an autonomous system and bgp running on my tp-link router and connecting to an internet exchange point? by the way i have a couple of tp-links.

  • @deezknuts07
    @deezknuts07 2 года назад

    You'll have to be able to sniff bgp session BTW the two routers.

  • @zwierze
    @zwierze 2 года назад

    any chance to get a video on how to prepare a network documentation?

  • @kevo7721
    @kevo7721 2 года назад

    Soo much good videos thanks !!

  • @sahilpokhriyal2331
    @sahilpokhriyal2331 2 года назад

    Hello sir, should I start the EH journey from OSCP?

  • @rajneeshrai1781
    @rajneeshrai1781 2 года назад

    Just imagine if Facebook went down again then Mark Zuckerberg be like I'm down with BGP.

  • @alonegamerat4194
    @alonegamerat4194 2 года назад

    LOVE from india🇮🇳

  • @kintag4459
    @kintag4459 2 года назад

    welcome back M.r

  • @SecurityTalent
    @SecurityTalent 2 года назад

    Thanks

  • @davidrangeldeleon
    @davidrangeldeleon 2 года назад

    How big is that monitor ? It’s amazing !!

  • @rahimrahim2720
    @rahimrahim2720 2 года назад

    Hi david can u do a video abowt fiching Facebook and other accounts

  • @lolbhai2057
    @lolbhai2057 2 года назад

    Any one from India?? Modi jih: kya scene hay! Har jagah bgp

  • @crazyredneck7244
    @crazyredneck7244 2 года назад

    I can't get past how you are capturing the frame to begin with. BGP sessions are unicast, so the only way I can think of that you can capture that frame is via span session. Just being connected to the same L2 segment wouldn't accomplish this. So, you would have to have administrative access to the switch to begin with to be able to configure the mirroring. How was that accomplished? Without capturing a frame, you can't forge the source mac of the router sending the forged BGP update.

    • @davidbombal
      @davidbombal  2 года назад

      I explain the use of network taps and the switch setup in the first video in this series: ruclips.net/video/39DGVpMt7eQ/видео.html

    • @crazyredneck7244
      @crazyredneck7244 2 года назад

      @@davidbombal Yeah, I get taps as well. I guess it's a scenario that could happen, but not very likely, unless you have a rogue engineer with physical access who knows what they're doing (not likely) or a rogue cable / power contractor (even less likely). I guess I should focus on the how rather than the likelihood, which is the point of the exercise.

  • @casperhandstand8211
    @casperhandstand8211 2 года назад

    Here we go again :D

  • @sayedislam8117
    @sayedislam8117 2 года назад

    Love from 🇧🇩

  • @AIforeverything88828
    @AIforeverything88828 2 года назад

    Thank u sir

  • @JaiManny
    @JaiManny 2 года назад

    The MAN!

  • @pavelkriukov4168
    @pavelkriukov4168 2 года назад

    What about loop guard? Does this kind of injection deactivate loop guard on BGP routers?

    • @crazyredneck7244
      @crazyredneck7244 2 года назад +1

      Loopguard is a STP protection mechanism.

    • @pavelkriukov4168
      @pavelkriukov4168 2 года назад

      @@crazyredneck7244 I know, but I mean - does the same kind of "loop guard" protocol exist on BGP routers?

    • @crazyredneck7244
      @crazyredneck7244 2 года назад

      @@pavelkriukov4168 In eBGP, a router will not accept an update that includes it's own AS. In iBGP, a router will not advertise to iBGP neighbors a route that it learned from another iBGP neighbor. The exception, since a full mesh is a general rule in iBGP is, to avoid the necessity of a full mesh, route reflectors can be employed. Loop prevention with route reflectors include cluster lists and originator ID. Further, an iBGP AS can be broken up into confederations which would be like sub-ASes within an iBGP AS.

  • @groodbrood8950
    @groodbrood8950 2 года назад +1

    but this is offline. can you teach me online hack

  • @masufejoeseph2912
    @masufejoeseph2912 2 года назад

    hello, can you give subtitle Indonesian, please., i can't speak English. Thanks you.

  • @lowlightevangelist9431
    @lowlightevangelist9431 2 года назад

    Wish I could hack my brain to be smarter and learn Python faster.....ugh. It's ok, tho.

  • @diwakar_tsn
    @diwakar_tsn 2 года назад

    Sir, let's fry Facebook motherboards 😅😂🤣🤣

  • @samislam2746
    @samislam2746 2 года назад

    wow, so the Internet was hacked?

  • @prodigyprogrammer3187
    @prodigyprogrammer3187 2 года назад

    sir i am an intermediate in python but this code makes no sense to me can you tell me where i am wrong and i am also studying your ccna from udemy so i know some networking too

  • @Losss66
    @Losss66 2 года назад

    bisa sub titel indo ?

  • @mrgrcbng_10
    @mrgrcbng_10 2 года назад

    Hi sir, I've messaged you on messenger... Anyway I'm from Philippines and I would like to ask for your help in recovering my mother's Facebook account...
    It was hacked last week on October 27, 3:54am here in our country. He changed everything, the email, password, and he also removed the phone number...A day after, he deactivated it and we can't see the photos and videos posted there...
    We really need to get that account back sir because all our memories were there and we don't have any copy of those pictures..
    We have the IP ADDRESS of the hacker
    We can't follow or do what you teach here sir, because we don't have stable internet
    Please help us sir... We badly needed your help sir.

  • @adityapundir6529
    @adityapundir6529 2 года назад

    1st

  • @mohmmad68m
    @mohmmad68m 2 года назад

    I don't use Facebook

  • @SaifSaif-nt8dr
    @SaifSaif-nt8dr 2 года назад

    🤣😂🤣🤣

  • @n_persaud
    @n_persaud 2 года назад

    Hmm no comments

    • @davidbombal
      @davidbombal  2 года назад +1

      Because you are quick :)

    • @n_persaud
      @n_persaud 2 года назад +1

      @@davidbombal appreciate what you are doing with the channel 💯. These free courses will help plenty persons.

    • @bobwong8268
      @bobwong8268 2 года назад

      @@n_persaud Totally agreed! Not only that, many will also learn and pick up the generousity and know that they can someday be able to give back the same magnitude of caring. Passing on a great tradition of learning & sharing.

  • @mashhood7534
    @mashhood7534 2 года назад

    How to hack Facebook id 🤣?

  • @joerockhead7246
    @joerockhead7246 2 года назад

    Pure evil. :)

    • @davidbombal
      @davidbombal  2 года назад +2

      lol... learn how to attack so you can protect 😀

    • @bobwong8268
      @bobwong8268 2 года назад

      @@davidbombal Yes & Yes-Yes!
      With great power comes great responsibility! Keep learning, keep sharing, keep growing together.

  • @castlerock7423
    @castlerock7423 2 года назад

    I stopped watching it when I heard the hip hop cover... horrible... omg

  • @cpindo6027
    @cpindo6027 2 года назад

    Hello please activ the subtittle in indonesia.thsks

  • @PuShareOfficial
    @PuShareOfficial 2 года назад

    Great