Rogue DHCP Server | Man-in-the-Middle Attack

Поделиться
HTML-код
  • Опубликовано: 17 май 2021
  • Join the Discord Server!
    / discord
    ---------------------
    MY FULL CCNA COURSE
    📹 CCNA - certbros.teachable.com/p/cisc...
    FREE CCNA FLASHCARDS
    🃏 CCNA Flashcards - certbros.com/ccna/flashcards
    HOW TO PASS THE CCNA
    📚 Get a great book - amzn.to/3f16QA5
    📹 Take a video course - certbros.teachable.com/p/cisc...
    ✔ Use practice exams - www.certbros.com/ccna/Exsim
    SOCIAL
    🐦 Twitter - / certbros
    📸 Instagram - / certbros
    👔 LinkedIn - / certbros
    💬 Discord - www.certbros.com/discord
    Disclaimer: These are affiliate links. If you purchase using these links, I'll receive a small commission at no extra charge to you.
    ---------------------------------------------------------------------------------------------------------------
    Before we start, I need to stress that this video is for informational purposes only. If you know how these attacks work, then you can better defend against them. Do not try this on any system that you do not own or have permission to do so.
    DHCP, or Dynamic Host Configuration Protocol, is used to assigned IP address information to computers automatically within a network.
    By default, the network is very trusting of any computer claiming to be a DHCP server. Attackers can use this trust to perform a malicious man-in-the-middle attack called Rough DHCP Server or DHCP Spoofing.
    This is done by an attacker claiming to be a DHCP server and replying to DHCP messages. The idea is that the rogue DHCP server will assign IP address information but listing itself as the default gateway. This means all traffic destined for the default gateway can be read by the attacker.
    In a corporate network, this attack can be avoided by using a feature called DHCP snooping. DHCP snooping is where a switch will drop frames claiming to be a DHCP server on any interface that isn't manually configured as trusted.

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

  • @MrAwesomenesh
    @MrAwesomenesh 2 года назад +12

    You guys rock! This channel has seriously helped my fundamental knowledge as I prepare for higher certs. I love the perspective you guys attack each subject with.

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

      Wow thanks! Really appreciate it!

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

    the style and flow of your videos are great. Looking forward to seeing more like these and CCNA material is really helping.

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

      Great to hear! Lots more to come.

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

    I come to you guys any time I do not understand a networking concept, and every time you guys make it easier and visible for me to understand. Content goes crazy thank you!

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

      Thank you Ishmael! Really great to hear the videos are helping. Hope to have more for you very soon!

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

    I literally took CEH v11 Course but this small video gave me so much knowledge that I actually got from that class.

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

    awesome video! thank you for showing how it actually works! I studied Network+ but never knew how it worked and always wondered.

  • @MrArnipress
    @MrArnipress Год назад +1

    It saddens me that such an amazing content has such a little views. Deserves way more than that.

  • @MA-nc8uc
    @MA-nc8uc 2 года назад

    Thank you..Wonderfully done! Much appreciated

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

    Thanks for your hard work! Awesome video!!!

    • @Certbros
      @Certbros  3 года назад

      Thanks! Happy to hear you liked it. These comments make the work worth it 👌

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

    Nice lesson, thanks! The only little thing is missed. The kali Linux settings that forward hacked user's traffic back to router.

  • @di0r
    @di0r Месяц назад

    Actually very good video. Subbed

  • @sadeeshkumar654
    @sadeeshkumar654 3 года назад +3

    Brilliant content. Thank you

    • @Certbros
      @Certbros  3 года назад

      Thank you Sadeesh!

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

    Good video clip perfectly explained..!!!

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

    Great video!!

  • @user-tm1ju3pz9c
    @user-tm1ju3pz9c Год назад

    Its so sad that so many people are missing out on these awsome videos😥

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

    Real goat video

  • @leothalion3983
    @leothalion3983 3 года назад +1

    This was awesome!!!!!!!

    • @Certbros
      @Certbros  3 года назад

      Thank you Joseph!

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

    Loved it xo

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

      Thank you Jessil!

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

    Thank You !

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

    Very Good!! Brazil!

    • @Certbros
      @Certbros  3 года назад +1

      Thank you! I would love to visit Brazil one day!

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

    Sup man, keep going. Ur vids are very interesting

  • @mrgigs08
    @mrgigs08 Год назад +1

    Like I said, you guys are amazing! F**** Bombal that guy is drilling my brains just in vain. That is what I call explanation I mean yours of course! great job guys!

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

    Great video, already waiting for the next video.

    • @Certbros
      @Certbros  3 года назад

      Thank you Abhishek!

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

    . this is nothing but great video though , keep uploading videos like these so that you will not only help to educate but i will also help to spread out the word to prevent cyber hacking

  • @SzwarcuKX5
    @SzwarcuKX5 3 года назад +5

    Lovely content

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

    many thanks Mate : _

  • @alurma
    @alurma 3 года назад +1

    Thanks

    • @Certbros
      @Certbros  3 года назад

      You're welcome Vasya!

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

    Great video!
    Thanks for practical demonstration of how it looks and how it works!
    I do have a question. When I connect to http (and maybe even https) through the hacker's PC, do I leave such things as cookies, and similiar stuff, that can be used instead of login credintials?
    Thanks for the video!

    • @TheGodOfAllThatWas
      @TheGodOfAllThatWas Год назад +1

      Webserver tells your computer to set a cookie.... Your computer can then potentially send the data in the cookie instead of the using a user name and password. On a non-encrypted connection the hackers PC would see that information (either the instruction from the server to set the cookie, or your computer saying Hey use this cookie) and be able to record the cookies used. I assume there's a tool a hacker could use, but worse case Wireshark would show the raw data. So you wouldn't "Leave" the cookies, but you'd allow the hacker to scan the cookie and recreate it. Like mentioned in the video encryption (Https, or a vpn) would stop this.

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

      @@TheGodOfAllThatWas Thanks for the detailed answer!

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

    😍😍😍

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

    very nice

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

    nice

  • @ganeshmurugan157
    @ganeshmurugan157 3 года назад +1

    Awesome video sir.can u uploaded video on icmp redirecting in mitm sir?

    • @Certbros
      @Certbros  3 года назад

      Thanks for the suggestion. I've added it to the suggestion list. If I get more requests I will definitely look at making this.

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

    thank

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

    You need more than 300 likes...

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

      Thanks! I'll give you a like for the comment 😀

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

    you are correct about https but what if attacker do SSL strip bro ?!!

  • @espionn
    @espionn 3 года назад +1

    You missed the word 'snooping' in the description :)

    • @Certbros
      @Certbros  3 года назад

      Great spot! Thank you 😁

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

    Sorry, I don't understand what you do at 7:40. How can I open a Cisco router? Can you help me? I really don't know how to do

  • @BugsVsHumans
    @BugsVsHumans 10 месяцев назад

    Hi how can you stop rogue dhcp server from a network? How do you configure the router to stop it?

  • @erwindee7384
    @erwindee7384 3 года назад +1

    I know HTTPS protects against this very effectively, but is there any way to make sure that I'm connecting to the right DHCP server when, say, I connect to public Wi-Fi? Let's say I didn't connect to some hacker's Wi-Fi network and I really am on some legitimate coffee shop's Wi-Fi network. How do I make sure I'm getting DHCP from the coffee shop's router?

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

      I think you can't as DHCP is broadcast based and there's no reason to assume the DHCP would be on the router.
      In my own lan, the router's DHCP is for static configuration only and unknown clients are issued IPs by my Pihole

  • @charlenelouise4758
    @charlenelouise4758 3 года назад

    i just hate configuring dhcp snooping in packet tracer, it doesn't work and it could be a lil buggy

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

    so wifi connection or lan vpn or pppoe logon would eliminate this?

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

    A rogue DHCP server doesn't even have to be a MITM attack to be a headache..... Things like wireless AP's and some NAS devices can be misconfigured to run DHCP to an internet connection they don't have and cause all kinds of weird headaches. It's especially annoying if the Flash memory it uses for booting is starting to go out and it resets itself to default on occasion, when the default is DHCP to be on, and it's not connected in a manor to handle WAN traffic. Suddenly people get Duplicate IP messages, or can access the LAN but not the internet, or some people can't access anything but others are fine..... And then it goes away when you show up to fix it.... To only come back in a day or two..... The duplicate IP thing is kind of a dead give away, but beyond that it can be a big headache to troubleshoot since like mentioned in the video it's pretty random when your computer will decide it'll take a new IP address.

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

    so how do i stop this please??

  • @Best_Blockchan_Builders
    @Best_Blockchan_Builders 3 года назад +3

    What is the difference between app poisoning and this?

    • @Certbros
      @Certbros  3 года назад +3

      I assume you mean ARP Poisoning. The outcome is very similar but the way we achieve it is different.
      Rogue DHCP / DHCP spoofing requires the attacker to assign malicious IP address information by taking the role of a DHCP server. ARP poisoning requires the attacker to send false information to the network and pretend to be someone he is not.

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

      @@Certbros Thank you for the explanation

    • @Certbros
      @Certbros  3 года назад +1

      No problem Alexander! Happy to help 👍

  • @pati6239
    @pati6239 3 года назад +1

    Please make a video about APIs

  • @8080VB
    @8080VB 3 года назад +1

    K , could you show the same in yersinia ? deploy this rogue attack on yersinia plz

    • @Certbros
      @Certbros  3 года назад +1

      Thanks for the suggestion! I'll definitely look to make some Yersinia videos in the future.

    • @8080VB
      @8080VB 3 года назад +1

      @@Certbros cool i'll wait

  • @abhishek67590
    @abhishek67590 3 года назад +1

    So is it possible that i connect to unknown/free wifi in a cafe , so now it is my default gateway?
    If yes then if i login to http site then the free wifi guy can see my credential using wireshark?

    • @M3nt4LC4t
      @M3nt4LC4t 3 года назад

      I think they cannot, even though they can see your traffic accessing Facebook. Because Facebook is using https, our credentials are encrypted.

    • @abhishek67590
      @abhishek67590 3 года назад

      @@M3nt4LC4t if site is http then is it possible?

    • @M3nt4LC4t
      @M3nt4LC4t 3 года назад +1

      @@abhishek67590 yes it is possible. because http traffic are not encrypted. you can see example as in the video.

    • @helamanavalos9806
      @helamanavalos9806 3 года назад +1

      Ussually you would see two wifi networks , like amm, Starbucks and Starbucks_official, being the first one the real wifi and the second one the wifi that the attacker created so people connects to that and spy traffic with wireshark.

    • @abhishek67590
      @abhishek67590 3 года назад +1

      @@helamanavalos9806 ✌Thanks

  • @M3nt4LC4t
    @M3nt4LC4t 3 года назад +1

    off topic. what about phishing websites that are using https? how the scammer obtain users' credential?

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

      Great question! It's now common for phishing sites to use HTTPS. Because the bad guys own the websites, they are able to see what credentials are being inputed by the victim.

  • @kevorka3281
    @kevorka3281 10 месяцев назад +1

    What's a rooter

    • @Certbros
      @Certbros  10 месяцев назад

      🤷‍♂️

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

    Now don't trust router....and get fcking Cellular connection..

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

    A tip... I went to increase the speed of the video only to realize it was at 2.0x already. So the tip, don't talk so very slow

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

    Is it possible that planting malware on a device could then force all traffic to http so it can be intercepted? I'm dealing with a network attack and I've come to the conclusion that mitm is what I'm dealing with. Unfortunately the devices contain some kind of code that reconnects to some kind of server out there when I've rebooted the router. I think everything will need a clean install once I've figured out how to fix the mess I'm in . Got a new router but due to devices not being clean it's started all over again. Antivirus has found and cleaned heuristic Trojans but I can't figure out how to fix the TV 🫤