No video

subdomain takeover (stealing websites)

Is your code secure? Use this FREE tool (CodeSec) to find out: bit.ly/3tcPUQx
Hackers can EASILY take over websites using a technique known as subdomain takeover. The scary part is that it’s not that hard. In this video, NetworkChuck will demonstrate how hackers can take over subdomains using tools like Takeover, Amass and Dig.
TOOLS USED IN THIS VIDEO
---------------------------------------------------
- AMASS: github.com/OWA... (find subdomains)
-TakeOver: github.com/m4l... (subdomain takeover vulnerability scanner)
-Dig (apt install dig)
🔥🔥Join Hackwell Academy!: ntck.co/NCAcademy
**Sponsored by Contrast Security
SUPPORT NETWORKCHUCK
---------------------------------------------------
➡️NetworkChuck membership: ntck.co/Premium
☕☕ COFFEE and MERCH: ntck.co/coffee
Check out my new channel: ntck.co/ncclips
🆘🆘NEED HELP?? Join the Discord Server: / discord
STUDY WITH ME on Twitch: bit.ly/nc_twitch
READY TO LEARN??
---------------------------------------------------
-Learn Python: bit.ly/3rzZjzz
-Get your CCNA: bit.ly/nc-ccna
FOLLOW ME EVERYWHERE
---------------------------------------------------
Instagram: / networkchuck
Twitter: / networkchuck
Facebook: / networkchuck
Join the Discord server: bit.ly/nc-discord
0:00 ⏩ Intro
0:18 ⏩ How subdomain takeover works
1:59 ⏩ Why Subdomain takeovers are dangerous
2:33 ⏩ Make sure your code is secure using codesec!
4:06 ⏩ find our targets subdomains using Amass
5:06 ⏩ The username is not available
5:57 ⏩ IT actually worked!!
6:17 ⏩ Once you’re in github…
6:58 ⏩ The same thing can happen with Azure
7:45 ⏩ so how do you protect your website
AFFILIATES & REFERRALS
---------------------------------------------------
(GEAR I USE...STUFF I RECOMMEND)
My network gear: geni.us/L6wyIUj
Amazon Affiliate Store: www.amazon.com...
Buy a Raspberry Pi: geni.us/aBeqAL
Do you want to know how I draw on the screen?? Go to ntck.co/EpicPen and use code NetworkChuck to get 20% off!!
#Subdomaintakeover #Hacking #codesec

Пікірлер: 307

  • @NetworkChuck
    @NetworkChuck Жыл бұрын

    Is your code secure? Use this FREE tool (CodeSec) to find out: bit.ly/3tcPUQx TOOLS USED IN THIS VIDEO --------------------------------------------------- - AMASS: github.com/OWASP/Amass (find subdomains) -TakeOver: github.com/m4ll0k/takeover (subdomain takeover vulnerability scanner) -Dig (apt install dig) 🔥🔥Join Hackwell Academy!: ntck.co/NCAcademy 0:00 ⏩ Intro 0:18 ⏩ How subdomain takeover works 1:59 ⏩ Why Subdomain takeovers are dangerous 2:33 ⏩ Make sure your code is secure using codesec! 4:06 ⏩ find our targets subdomains using Amass 5:06 ⏩ The username is not available 5:57 ⏩ IT actually worked!! 6:17 ⏩ Once you’re in github… 6:58 ⏩ The same thing can happen with Azure 7:45 ⏩ so how do you protect your website

  • @karim3741

    @karim3741

    Жыл бұрын

    Hey chuck (apt install dig) will not work 😊 its (apt install dnsutils)

  • @owengames7567

    @owengames7567

    Жыл бұрын

    hey your comment section is botted lol

  • @rdahlinger4509

    @rdahlinger4509

    Жыл бұрын

    Do you have any recommendations for someone who bought a new computer and the staples set it up in a bad way with admins and a fake windows defender that I can’t seem to figure out how to fix. I have Apache licenses and open sources and all of this stuff I have no idea how to fix. Thoughts?

  • @tristunalekzander5608
    @tristunalekzander5608 Жыл бұрын

    I don't get it, if the website is deployed from github, why would you ever delete your github account? You would have probably switched to another repo or just uploaded the files directly to your server before you delete your account while your website is still dependent on it. I also don't understand why this is only a vulnerability with subdomains.

  • @lampagiul

    @lampagiul

    Жыл бұрын

    because you cannot create CNAME records for root domains

  • @LuminousWhispers11

    @LuminousWhispers11

    Жыл бұрын

    You just have to delete the resource and not alter the dns records. Remember this was a demonstration.

  • @777Yashobeamofchrist

    @777Yashobeamofchrist

    Жыл бұрын

    Guys, question. If you have control of the main domain and delete the entry for the subdomain that was took over, that would be the end off correct? Or is there a way to take full control of asub domain regardless of the main domain DNS records?

  • @LuminousWhispers11

    @LuminousWhispers11

    Жыл бұрын

    @@777Yashobeamofchrist Yes, if you delete the dns records then no one can hijack the subdomain.

  • @777Yashobeamofchrist

    @777Yashobeamofchrist

    Жыл бұрын

    @@LuminousWhispers11 thanks Rashad, do you know why some people claim bounty rewards to give subdomain back if it's as easy as deleting the record on root? That's what confuses me

  • @n1027
    @n1027 Жыл бұрын

    Thanks for your video. I learns a lot and useful to my job.

  • @homemedia4325
    @homemedia4325 Жыл бұрын

    This goes even deeper... you own a DNS name and then abandon it after several years... (perhaps an unforeseen event or your start-up fails)... Some 3rd party eventually purchased my old domain and used the way back machine to re-create the website... WARNING... think hard before abandoning a domain name!

  • @404-null
    @404-null Жыл бұрын

    Love your content.....keep doing great things!

  • @StrokeMahEgo
    @StrokeMahEgo Жыл бұрын

    The worst part of this...as an end user, there is really no way of knowing if this happened. You can get an SSL certificate for the redirected subdomain, which means HTTPS will work fine.

  • @FunctionGermany
    @FunctionGermany Жыл бұрын

    i feel like this video was inspired by the "Avoiding DNS Pain" NDC talk that was uploaded 3 weeks ago. they cover this exact problem and also one solution (basically DNS as code like infrastructure as code).

  • @M3laku
    @M3laku Жыл бұрын

    Remember kids ... it's always DNS, always.

  • @shadowdragon9706
    @shadowdragon9706 Жыл бұрын

    Thanks for the video Chuck! It will definitely all the website developers!

  • @NiceOwl84
    @NiceOwl84 Жыл бұрын

    This happens all the time even for large companies including microsoft, amazon, walmart, etc that people use subdomains to send spam mail from the main domain from the actual company making hard to block spam mail because you can't just block the email address or the domain because you might actually want email from the actual company. Most email services don't allow blocking subdomains only email addresses themselves or primary domains. So people just make infinite amounts of sub domains for the primaries of an actual companies domains making it hard to block spam. At times it almost feels like the spammer have hacked the mail servers themselves and using it to spam and it's even funner when they are able to send spam mail out with no email address at all because the servers don't check to see is the account sending actually exist or even cares if the send mail is blank. It's even more fun when some emails services have auto avatar and names loading that get associated with the spammers email making it even look more like a real email. It's kind of hard for me to explain this lol.

  • @sachinbhujel909
    @sachinbhujel909 Жыл бұрын

    you are doing such a fabulous job 😜

  • @MikeHarris1984
    @MikeHarris1984 Жыл бұрын

    For my company, our security requires any external facing sub domains can only be on 443, no 80 or re-directs like this shown. The owner has the attest to it and put new certs every 90 days and we monitor all external facing URL's. This is a serious open window that a lot of corporations do not even bother to worry about. But I'm glad I work with and lead one of the best IT security teams in my industry where we are constantly 5 steps further then what is required for our various regulations (PCI/ISO/SEC/FRB/etc...)

  • @resourcezander
    @resourcezander Жыл бұрын

    NetworkChuck: You'res could be next Me who dosent have money for domain: yes.

  • @SetYourBarTo10
    @SetYourBarTo10 Жыл бұрын

    …that was quick. I am glad I grabbed my small coffee mug.

  • @MM-hh
    @MM-hh Жыл бұрын

    Always remember kids - "It's only for educational purposes"

  • @Props-Production
    @Props-Production Жыл бұрын

    Mr Beast Game sweatshirt 😂😂😂 btw. i love your videos!

  • @brightjoseph9947
    @brightjoseph9947 Жыл бұрын

    Another video by chuck Thank Goodness

  • @vivekpandey95
    @vivekpandey95 Жыл бұрын

    Great video, please coninue making these kinds of videos

  • @jaybiddy955
    @jaybiddy955 Жыл бұрын

    4:15 is all of us before we found you

  • @Asherstitusworld
    @Asherstitusworld Жыл бұрын

    Super video Chuck Your videos are awesome And informative 👍🏿

  • @LifeDigger2004
    @LifeDigger2004 Жыл бұрын

    Thanks for this vid! I have been looking into domain take over a bit recently and this really clears it up for me.

  • @dany_cool9092
    @dany_cool9092 Жыл бұрын

    Best prevention is to not have a website

  • @gamingjoe9905

    @gamingjoe9905

    Жыл бұрын

    Underrated comment

  • @isaaccerreto8662

    @isaaccerreto8662

    Жыл бұрын

    yes.

  • @bendorman2930

    @bendorman2930

    Жыл бұрын

    Or don't create cname entries in your dns record for domains that you don't control

  • @dakoderii4221

    @dakoderii4221

    Жыл бұрын

    🤔

  • @DendrocnideMoroides

    @DendrocnideMoroides

    Жыл бұрын

    Even better is to not be alive

  • @calisthenicarts312
    @calisthenicarts312 Жыл бұрын

    I saw something recently call no-code programming. Can you give your perspective on it?

  • @TMoneyJones
    @TMoneyJones Жыл бұрын

    * Insert gif of Captain Holt saying “Bingpot!” here *

  • @neenus
    @neenus Жыл бұрын

    Just curious what is your input in the targets.txt file ?

  • @veteranashoe
    @veteranashoe Жыл бұрын

    Nice new studio 🤩

  • @777Yashobeamofchrist
    @777Yashobeamofchrist Жыл бұрын

    Nice video, just a question. If you have control of the main domain and delete the entry for the subdomain that was took over, that would be the end off correct? Or is there a way to take full control of asub domain regardless of the main domain DNS records?

  • @cxl520

    @cxl520

    Жыл бұрын

    Yes, they won't be able to use your domain name anymore. Unless your registered domain name is also controlled.

  • @777Yashobeamofchrist

    @777Yashobeamofchrist

    Жыл бұрын

    @@cxl520 thx xl c

  • @legoapocalypse3073

    @legoapocalypse3073

    Жыл бұрын

    he won't tell you. you need to pay. network cuck is useless. David Bombal is 10x better.

  • @Deetje1212
    @Deetje1212 Жыл бұрын

    Is there a free hacking software for Windows? Like the one you use in Linux but then for Windows?

  • @willyjancke2622
    @willyjancke2622 Жыл бұрын

    Now I know the difference between real voice chuck and content creator chuck. BTW luv the videos !

  • @scottb4029
    @scottb4029 Жыл бұрын

    There is somebody exploiting your number 2 before you had a chance to film. Proof positive that somebody is always trying to mess with your sh*t.

  • @DavidMaciasPhoto
    @DavidMaciasPhoto Жыл бұрын

    Thank you for this very informative video, so could you please do a video on the best method to secure DNS and a site? Thanks.

  • @bendorman2930

    @bendorman2930

    Жыл бұрын

    Don't create cname entries in your dns for domains that you don't control

  • @amazonserver2844

    @amazonserver2844

    Жыл бұрын

    Cloudflare

  • @najemhaddad8409
    @najemhaddad8409 Жыл бұрын

    Keep going men I love your content it's very helpful thank you ♥️

  • @georgesporos2573
    @georgesporos2573 Жыл бұрын

    Yes but if you use A record instead of CNAME aren't you more safe?

  • @jrfrazier7598

    @jrfrazier7598

    Жыл бұрын

    No you would have to use a CNAME in this case since you do not have IP access to Github's servers to redirect your site when requests are received for your subdomain. However, if you simply delete he CNAME in your DNS config, the crisis will be averted.

  • @edwardlenovo3240
    @edwardlenovo3240 Жыл бұрын

    There are actually some commercial vendors that do monitor for this kind of stuff (RiskIQ being one), it's not cheap, but it does do a decent job of detecting this.

  • @InfamousKoala
    @InfamousKoala Жыл бұрын

    I love your content so much chuck

  • @mwansa430
    @mwansa430 Жыл бұрын

    Your new studio is nice .... but I like the previous one more😂😅

  • @PuneriLatika
    @PuneriLatika Жыл бұрын

    LESGOOO FIRST COMMENT! keep the vids coming love your content

  • @The_Motivation_Never_Stops
    @The_Motivation_Never_Stops Жыл бұрын

    Amazing video. Also can we get a kali Linux intro series

  • @imranmohsin9545
    @imranmohsin9545 Жыл бұрын

    This is as powerful as giving Blue tick for 8$ and achieve any identification and status with a unethical or biased thoughts

  • @brolbucht5558
    @brolbucht5558 Жыл бұрын

    What about a subdomain takeover with Fastly?

  • @estrellatwins1331
    @estrellatwins1331 Жыл бұрын

    @networkchuck can you please make a video of your tools and gadgets?! We need to know. Like a tour of your desk :p

  • @Mimimo
    @Mimimo Жыл бұрын

    Thank you sir for another great video, been getting much great lesson from your channel 👍

  • @JustBCA

    @JustBCA

    Жыл бұрын

    I bet you are...

  • @pavi013
    @pavi013 Жыл бұрын

    I didnt know about this, looks scary.

  • @knrd_3607
    @knrd_3607 Жыл бұрын

    MrBeast Gaming Hoodie. Like a KING

  • @exoticlol
    @exoticlol Жыл бұрын

    That's something big companies wouldn't do. Nice video, but no big company would do this.

  • 4 ай бұрын

    You are better than any AI !

  • @kerimayvaz9365
    @kerimayvaz9365 Жыл бұрын

    Great video as always. I notice that you display the ANM27T! I just got some too!

  • @Naath000
    @Naath000 Жыл бұрын

    loved your all content sir

  • @MinexCSGO
    @MinexCSGO Жыл бұрын

    Now this is something of my interest

  • @drac.96
    @drac.96 Жыл бұрын

    This is terrifying.

  • @petarkolev6928
    @petarkolev6928 Жыл бұрын

    Very very interesting video, sir puted in a very cool and funny way :) You got a sub from me!

  • @App_galaxy
    @App_galaxy Жыл бұрын

    Hey bro, love your content a lot

  • @App_galaxy

    @App_galaxy

    Жыл бұрын

    No worries man, I've always been here watching your better content

  • @user-sq7st2vs3i
    @user-sq7st2vs3i Жыл бұрын

    How to run tool in kalilinux from any path ?

  • @X-razcal-X
    @X-razcal-X Жыл бұрын

    So cool content and so less likes. Shame in you guys. Thanks for this.

  • @muhammedabdulrazak9096
    @muhammedabdulrazak9096 Жыл бұрын

    Sorry I don't understand the part that you created file called fun html.

  • @Robin-93
    @Robin-93 Жыл бұрын

    what happens if I go to a suspicious link and it crosses out and clears the log, can the page still retrieve data?

  • @sosukuestudio2229
    @sosukuestudio2229 Жыл бұрын

    ANM27T at less than $1. is like BTC at $100. When ANM27T finally blows it's gonna be epic.

  • @localadm
    @localadm Жыл бұрын

    Great vid. subfinder, sublist3r, findomain, assetfinder, subjack and subzy can be used for that purpose too. :)

  • @tasfiulhedayet
    @tasfiulhedayet10 ай бұрын

    How to get the takeover tool. I didn't find in github

  • @imkarimkarim_fa

    @imkarimkarim_fa

    28 күн бұрын

    second

  • @YASIRSHAIKH-mm8ci
    @YASIRSHAIKH-mm8ci Жыл бұрын

    Please make videos on (Bug Bounty) techniques..........

  • @KangasAri
    @KangasAri Жыл бұрын

    What a clickbait title. I expected more from you. :/

  • @mahidalam6761
    @mahidalam67619 ай бұрын

    TakeOver Script is not available on this user where can i find this exact script?

  • @andrewp3358
    @andrewp3358 Жыл бұрын

    If a hacker hacks my website, I’d let them have it :) I don’t have a website. They were pranked!

  • @imaperson1060
    @imaperson1060 Жыл бұрын

    The problem is, this requires the targets to be a bit stupid...

  • @kuzenerissda6909
    @kuzenerissda6909 Жыл бұрын

    I hold ANM27T. Very promising project, and its ecosystem maintains complete anonymity

  • @ardaar1034
    @ardaar1034 Жыл бұрын

    The reason I got ANM27T is because I believe decentralization is more important than anything else.

  • @astrial.pulser
    @astrial.pulser Жыл бұрын

    Me watching Network Chuck has Beast Gaming Hoodie 😂

  • @MikeHarris1984
    @MikeHarris1984 Жыл бұрын

    Its always DNS when something bad happens... when there is access issues, its always the network... ALWAYS!!! when I call our NOC "Oh, thats odd, just a second... okay I didnt find anything wrong, can you try again?" "wth its working now!??!" "Yeah, there was nothing over here, musta been a bug on your side" This is every convo with a network admin ever... they always fix a little mistake they found but never fess up to it...

  • @hericerikvar7938
    @hericerikvar7938 Жыл бұрын

    Bro, i bought ANM27T in September after your video. i'm up 79%.

  • @God-ld6ll
    @God-ld6ll Жыл бұрын

    don't have one, jokes on them 😅.

  • @ward7576
    @ward7576 Жыл бұрын

    It just misses the point on why this can be so effective - if the original creator of the website links it IN his website, it's legit in the eyes of end-user and little to no precaution is taken.

  • @devanshtripathi7234
    @devanshtripathi7234 Жыл бұрын

    Love your videos ❤

  • @weirdskunk
    @weirdskunk Жыл бұрын

    How do you put your vem fullscreen help I need help

  • @yavuzsatcapar6967
    @yavuzsatcapar6967 Жыл бұрын

    is it possible to takeover the maindomain from a subdomain ? Greets

  • @K1Pfand

    @K1Pfand

    Жыл бұрын

    thought the same thing

  • @70nald0
    @70nald0 Жыл бұрын

    make a course on ceh practical

  • @kaosomerk4211
    @kaosomerk4211 Жыл бұрын

    New week up as many FOMO in. But the ANM27T story isn’t over yet. The only strat that works under all circumstances is DCA all the time with solid, large companies (not hyped ones).

  • @youtubezalimsehir6732
    @youtubezalimsehir6732 Жыл бұрын

    On ANM27T go long when the sell pressure reduce.

  • @UnknownUser-in1ok
    @UnknownUser-in1ok Жыл бұрын

    I love this guy, I've learned a lot from you sir

  • @legoapocalypse3073

    @legoapocalypse3073

    Жыл бұрын

    wtf have you learn? he only presents the basics of basics, for deep learning you need to buy something.

  • @Orlando.Villanueva
    @Orlando.Villanueva Жыл бұрын

    CodeSec!! 🎉

  • @innotechtips
    @innotechtips Жыл бұрын

    I'm loving this!!

  • @krosal3561
    @krosal3561 Жыл бұрын

    Everyone waited for Amazon to create ANM27T and the time is ready

  • @bendorman2930
    @bendorman2930 Жыл бұрын

    Love your videos. Always awesome. Something I have always been curious about. What do you use to draw on your desktop?

  • @bendorman2930

    @bendorman2930

    Жыл бұрын

    I love how on a how to hack channel, an impersonator of network chuck tried to get me to IM him. I don't think so idiot.

  • @danjaymz

    @danjaymz

    Жыл бұрын

    He uses a graphics tablet on Photoshop, with a green background. Then keys the green out in post. Or at least he used to!

  • @timecop1983Two
    @timecop1983Two7 ай бұрын

    takeover moved or was deleted

  • @developer_hadi
    @developer_hadi Жыл бұрын

    As a front end developer, I understand nothing from the code you wrote

  • @Ali-lm7uw

    @Ali-lm7uw

    Жыл бұрын

    He was doing that in Linux terminal, that's not back end Programming

  • @developer_hadi

    @developer_hadi

    Жыл бұрын

    @@Ali-lm7uw thanks bro

  • @Ali-lm7uw

    @Ali-lm7uw

    Жыл бұрын

    @@developer_hadi yeah, that's bash scripting when using Linux. I am front and back dev too but have to look up the Linux commands always

  • @developer_hadi

    @developer_hadi

    Жыл бұрын

    @@Ali-lm7uw I have windows, if I installed linux can I still install cracked apps?

  • @developer_hadi

    @developer_hadi

    Жыл бұрын

    @@Ali-lm7uw because I'm using a cracked photoshop and illustrator versions, I don't know if I could do that on linux

  • Жыл бұрын

    This week is hell and a bloodbath can happen but why we don't discuss the fact that Amazon also released their ANM27T in it? Always two sides of a coin

  • @Usman._
    @Usman._ Жыл бұрын

    Lesson to be learnt. Don’t use cname record. Specially if you’re going to encrypt using https. Better off using A records. Don’t be lazy!

  • @sadmanzidan2333
    @sadmanzidan2333 Жыл бұрын

    Fun fact:Anybody noticed one thing?? But I did that Chuck wear mrbeast t-shirt.But they didn't send affiliate link to Chuck.😁😁

  • @arpitgoyal2035
    @arpitgoyal2035 Жыл бұрын

    Did mr. Beast sponsor this video btw i love your video

  • @roykisho7086
    @roykisho7086 Жыл бұрын

    This man got me all the time 🔥💥

  • @Kurtoglu4153
    @Kurtoglu4153 Жыл бұрын

    ANM27T has as much potential as ethereum. But unlike ethereum it has a bigger growth potential.

  • @0fie.
    @0fie. Жыл бұрын

    Nice hairstyle bro!

  • @AltoAngelo
    @AltoAngelo Жыл бұрын

    Wow! So Cool! 😂👍👍👍

  • @thetruth8547
    @thetruth8547 Жыл бұрын

    all of this because github can't fkkking clear the dns setting when the account is deleted

  • @CrankinIt43
    @CrankinIt43 Жыл бұрын

    Gosh darn dangling pointers.

  • @goofballbiscuits3647
    @goofballbiscuits3647 Жыл бұрын

    2:57 "Fastest a$$. Fast a$$ is fast." bruh, my a$$ is pretty fast tysm :D

  • @jmr
    @jmr Жыл бұрын

    It's always DNS accept when it's a buffer overflow.

  • @snyhper_1394
    @snyhper_1394 Жыл бұрын

    Awww chuck loves mr beast merch 😌😌😌😌❤️

  • @BaileyMagikz
    @BaileyMagikz Жыл бұрын

    i'm surprised GitHub makes usernames available after only 90 days it should be 365 days same with all socials or logins minimum

  • @syroyt_
    @syroyt_ Жыл бұрын

    Whats the name of the software with e green W

  • @abdiwahabahmedomar5118
    @abdiwahabahmedomar5118 Жыл бұрын

    i reported 2022 more then 200 subdomain takeover bugs i remember i takeover 60 subdomains one day one of the big universities on the world