Facebook and BGP ๐ Fake route injection // Python Scapy DOS script EP 3
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: https://www.youtube.com/watch?v=RT-1DU33xIk
// SCRIPTS //
DoS BGP network: https://davidbombal.wiki/bgpupdate
Previous BGP video 1: https://youtu.be/39DGVpMt7eQ
Previous BGP video 2: https://youtu.be/IFYBIjjXLbQ
Playlist: https://davidbombal.wiki/scapy
// SCAPY RESOURCES //
Website: https://scapy.net/
Documentation: https://scapy.readthedocs.io/en/latest/
// SCAPY INSTALLATION //
sudo apt update
sudo apt instal
Watch on YouTube โ
(saves to browser)
Sign in to unlock AI tutor explanation ยท โก30
Playlist
Uploads from David Bombal ยท David Bombal ยท 0 of 60
โ Previous
Next โ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
RYU SDN Controller Part 4: Graphical User Interface (GUI): Practical GNS3 SDN and OpenFlow
David Bombal
HPE Network Protector SDN Application Part 1 - Introduction
David Bombal
HPE Network Protector SDN Application Part 2 : DNS Interception using OpenFlow
David Bombal
HPE Network Protector SDN Application Part 3 - Lab Setup using Physical Switches
David Bombal
HPE Network Protector SDN Application Part 4 - Demo of malicious websites blocked
David Bombal
HPE Network Protector SDN Application Part 5 - Demo OpenFlow table interception flows
David Bombal
HPE Network Protector SDN Application Part 6 - Demo of Physical Switch configuration
David Bombal
HPE Network Protector SDN Application Part 7 - Demo Service Insertion Tunnel / GRE Tunnel
David Bombal
HPE Network Protector SDN Application Part 8 - Demo SDN OpenFlow Reporting
David Bombal
HPE Network Protector SDN Application Part 9 - Demo switches interception of DNS traffic
David Bombal
GNS3 Talks: GNS3 version 1.5.X Appliance Tips
David Bombal
CCNA 200-125 Exam: AAA demo: TACACS+ with GNS3
David Bombal
GNS3 2.0.0 beta 2 install
David Bombal
CCNA #012: Learn SNMP with GNS3, Wireshark and Solarwinds NPM - CCNA 200-125 exam
David Bombal
CCNA #013: Spanning Tree CCNA Exam Questions: Know the answer? CCNA 200-125 exam
David Bombal
GNS3 2.0.0 beta : GNS3 VM integration with GNS3 GUI
David Bombal
CCNA #018: Routing exam questions: Who wins? OSPF, EIGRP or RIP? Sure? CCNA 200-125 exam
David Bombal
CCNA #019: Spanning Tree CCNA Exam Questions: Root Bridge, Root Port and more: CCNA 200-125 exam
David Bombal
GNS3 Download, installation and configuration - GNS3 1.5.3 and Windows 10
David Bombal
CCNA #023 EIGRP Neighbor Troubleshooting (DUAL Issues) for the CCNA 200-125 Exam
David Bombal
GNS3 2.0 Architecture and schema Part 1: What is the GNS3 Controller?
David Bombal
GNS3 2.0 Architecture and schema Part 2: Emulators and virtualization
David Bombal
CCNA #028 VTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
CCNA #029 VTP & DTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
CCNA #030 VTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
GNS3 : How to download Cisco IOS images and VIRL images. Which is the best? How do you get them?
David Bombal
GNS3 ASA setup: Import and configure Cisco ASAv with GNS3
David Bombal
GNS3 switching setup and options: Cisco and other switching options in GNS3
David Bombal
GNS3 switching setup and options Part 2: GNS3 unmanaged built-in switch
David Bombal
GNS3 switching setup and options Part 3: Router on a sick with GNS3 unmanaged built-in switch
David Bombal
GNS3 switching setup and options Part 4: Etherswitch Router for Cisco Dynamips Part 1
David Bombal
GNS3 switching setup and options Part 5: Etherswitch Router for Cisco Dynamips Part 2
David Bombal
GNS3 switching setup and options Part 6: Etherswitch, Wireshark, 802.1Q, InterVLAN routing
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 1: GNS3 Switching Part 7
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 2: GNS3 Switching Part 8
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 3: GNS3 Switching Part 9
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 4: GNS3 Switching Part 10
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 5: GNS3 Switching Part 11
David Bombal
GNS3 Nexus (NX-OSv) switch setup and configuration Part 1: GNS3 switching options Part 12
David Bombal
GNS3 Nexus (NX-OSv) switch setup and configuration Part 2: GNS3 switching options Part 13
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 6: GNS3 Switching Part 14
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 7: GNS3 Switching Part 15
David Bombal
GNS3 Cisco CSR 1000v setup and configuration Part 1: GNS3 NFV
David Bombal
GNS3 Cisco CSR 1000v setup and configuration Part 2: GNS3 NFV
David Bombal
GNS3 Talks: Use the NAT node to connect GNS3 to the Internet easily!
David Bombal
GNS3 Talks: GNS3 2.0 RC1 is now available
David Bombal
GNS3 Talks: GNS3 2.0 Portable Projects - easily export and import GNS3 projects
David Bombal
GNS3 Talks: Multiple clients sharing projects in real time, plus console session shadowing!
David Bombal
CCNA #035 NAT Troubleshooting Scenario 1 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
CCNA #036 NAT Troubleshooting Scenario 2 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: ESXi, GNS3 VM and KVM support Part 1: leverage servers and the cloud
David Bombal
CCNA #037 OSPF Troubleshooting - can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: ESXi, GNS3 VM and KVM support Part 2: leverage servers and the cloud
David Bombal
CCNA #038 NAT Troubleshooting Scenario 3 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
CCNA #039 - OSPF DR, BR and DROTHER Election - do you know the answers?
David Bombal
CCNA #040 NAT Troubleshooting Scenario 4 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: Arista vEOS GNS3 import and configuration Part 1
David Bombal
CCNA #041 - OSPF DR, BR and DROTHER Election - do you know the answers?
David Bombal
GNS3 Talks: Arista vEOS GNS3 import and configuration Part 2
David Bombal
GNS3 Talks: ipterm: Linux, Docker, Python, SDN and more! Part 1
David Bombal
Related AI Lessons
โก
โก
โก
โก
Why Businesses Quietly Accept Technology Friction as โNormalโ
Medium ยท Cybersecurity
The Model You Just Downloaded Might Own Your NetworkโโโWhat I Learned Building Defenses Against AIโฆ
Medium ยท Cybersecurity
I Found Backdoored AI Models on Hugging FaceโโโAnd So Has Everyone Else Who Bothered to Look
Medium ยท Cybersecurity
The XSS Escalation Playbook: From Basic Reflection to DOM Breakouts
Medium ยท Cybersecurity
Chapters (22)
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!
๐
Tutor Explanation
DeepCamp AI