DEF CON 31 - SpamChannel - Spoofing Emails From 2M+ Domains & Virtually Becoming Satan - byt3bl33d3r

  Рет қаралды 123,577

DEFCONConference

DEFCONConference

8 ай бұрын

Ever wake up and ask yourself: “Damn, how could I make email security suck even more today”? Tired of your Red Teams phishing emails not landing in your targets inbox?
Do you dislike Boston (the city) and love Satan?
If you answered yes to any of those questions you should come to this talk!
I'll be showing you how to spoof emails from 2 million+ domains (while also “bypassing” SPF & DMARC!) by (ab)using a partnership between Cloudflare and the “biggest transactional email service” on the interwebs. We'll be diving into "edge" serverless applications and the magical world of email security where everything is (still) held up by duct tape, pasta, and marinara sauce. Finally, I’ll be dropping code and releasing a tool that demonstrates how to impersonate emails from 2million+ domains.

Пікірлер: 118
@lrhache
@lrhache 7 ай бұрын
You should have wrote to the ceo from their own domain
@easternplatypus
@easternplatypus 7 ай бұрын
that would've been funny but probably not worth risking criminal charges 😭
@LinkageAX
@LinkageAX 7 ай бұрын
Is it really criminal if the CEO says it's a feature of the product? It's being used as intended at that point imo
@alexc7095
@alexc7095 7 ай бұрын
lol... just lol waw..... I can see it now scam as a service on darkweb 😂😂😂😂😂
@MasterThief117
@MasterThief117 6 ай бұрын
​@@easternplatypus The CEO themselves said it was a feature of the service and if domains didn't like it, they could secure themselves via DMARC/DKIM. The CEO essentially gave free reign to spoof their own domain using the service.
@claudiusraphael9423
@claudiusraphael9423 8 ай бұрын
Endless stream of Bruh-moments from minute 9 on .. Nicely done!
@eternalillusion
@eternalillusion 8 ай бұрын
Love this mofo. Splendid and efficient, zero-hopium talk. 10/10.
@YuanLiuTheDoc
@YuanLiuTheDoc 8 ай бұрын
I can believe that your E-mail to the CEO went to spam folder - because he marked you as nuisance after your second "offense". But I cannot believe that a CEO who was perhaps not very tech savvy didn't pass your concern about the Cloudflare API might change the calculus to CTO.
@Shpongle64
@Shpongle64 7 ай бұрын
Well now the world knows about cloud flare
@juliacaesar8462
@juliacaesar8462 6 ай бұрын
This guy is a great speaker. So comfortable and fun to listen to. Very informative and I enjoyed the humor. Well done!!
@criticaloptimist
@criticaloptimist 7 ай бұрын
I’m both shocked this vulnerability is a thing but also not surprised so many companies don’t have SPF/DKIM set up. Email is a mess to secure, super complicated, and I don’t think most companies really have an expert managing their domains. But I do know that any company that would find out about this vulnerability would never be ok with this.
@thefloorhasgone
@thefloorhasgone 7 ай бұрын
Great talk. I found his manner of speaking quite relaxing to listen to 😊
@Leetfin
@Leetfin 7 ай бұрын
Patched after this talk lol
@TheCocoaDaddy
@TheCocoaDaddy 7 ай бұрын
Awesome video. I have experience with SPF, DKIM and DMARC but have never looked into the ARC headers. Thanks for the thorough explanation!
@fiendlybrds
@fiendlybrds 8 ай бұрын
Nice I am loving this defcon dump!
@adrianantoci1187
@adrianantoci1187 4 ай бұрын
That is just incredible. Amazing talk.
@rhysperry111
@rhysperry111 8 ай бұрын
Still can't believe DKIM isn't widely setup and that most mail providers ignore it if SPF passes
@geroffmilan3328
@geroffmilan3328 8 ай бұрын
This
@Tetsuo6995
@Tetsuo6995 8 ай бұрын
What I truly don't understand is why DMARC passes if SPF "OR" DKIM is passed. So with an AND you would verify that : 1. The correct IP sent you the email (SPF) 2. The correct server signed the mail and that its headers are not tampered with DKIM But no, you can just set it to an OR. But on the other hand, some providers trust ARC as some kind of guarantee that an email is what it pretends to be. Email security is shite. I kind of hope we will one day drop SMTP alltogether and move on to completely different tech.
@geroffmilan3328
@geroffmilan3328 8 ай бұрын
@@Tetsuo6995 it's fkn dumb💯 I need to re-check what the RFCs say here, but agree 100% about email security. This is what we get when we continue bolting shit onto a protocol from the 1970s whilst shackling ourselves to backwards compatibility. On the other hand, as a pen tester "by design" flaws are the gift that keeps on giving. The only thing which will move the needle on this, sadly, will be an attack which is a) trivial to implement and b) has staggering adverse *financial* impact. Add this to the already-huge pile of "why market forces don't solve everything".
@thewhitefalcon8539
@thewhitefalcon8539 7 ай бұрын
DKIM is hard to get right. SPF is easy.
@geroffmilan3328
@geroffmilan3328 7 ай бұрын
@@thewhitefalcon8539 I find it's the reverse, but it does vary by mail service/platform. With DKIM you're just creating a keypair, ensuring the mail service uses it when sending, and publishing the DNS record for it. With SPF, you have to ensure there are no more than 10 entries or it becomes useless - so it's a good to a) never use a mail service that can't handle DKIM and b) always use DKIM rather than SPF to authorise third-party mail services to use the domain
@magnusthorne
@magnusthorne 8 ай бұрын
Wow. What a great talk. Great job.
@rpm10k.
@rpm10k. 7 ай бұрын
This is hilarious and fantastic. Great speaker.
@theycallme_nightmaster
@theycallme_nightmaster 7 ай бұрын
35:36 I can tell you that this is indeed possible using certain security gateways.
@stdint.h
@stdint.h 7 ай бұрын
This guy is great.
@Spooky_OG
@Spooky_OG 7 ай бұрын
Thanks for the knowledge. Very cool.
@idiotwidowmaker8932
@idiotwidowmaker8932 7 ай бұрын
Soooo it would be hypothetically very interesting if some people delivered to the CEOs mailbox AI generated invoices, “escalations” , etc just things that cant be ignored and see how fast it gets fixed
@carlmelgaard5423
@carlmelgaard5423 8 ай бұрын
Awesome stuff!
@qmurec
@qmurec 7 ай бұрын
awesome talk!
@NeverGiveUpYo
@NeverGiveUpYo 8 ай бұрын
Epic talk
@n.lightnin8298
@n.lightnin8298 7 ай бұрын
“A heroin convention” 🤔 😂
@RandornCanis
@RandornCanis 7 ай бұрын
You can sometimes enforce DKIM alignment inside DMARC by setting your SPF record to -all. This isn't so uncommon because forwards and mailing lists break SPF anyways. You'll just need another SPF domain for the envelope from header, but this intentionally leaves only DKIM for domain alignment.
@drstefankrank
@drstefankrank 7 ай бұрын
The only problem is receivers who don't support DKIM an solely rely on SPF, but I consider this their problem.
@YuanLiuTheDoc
@YuanLiuTheDoc 7 ай бұрын
(Mail) security is everybody's problem. Breach of a recipient can negatively impact the sender, not to say a million other entities that the breached party has connections with.
@jfbeam
@jfbeam 7 ай бұрын
MC's CEO is technically correct... SPF assumes one domain = one IP = one domain. That's not necessarily true. And it's never true on any email aggregation site like MC. Their API needs to authenticate who is attempting to send the message, then they can police what domains are used. The way they've integrated with CF eliminates all that - they just look for it to come from any CF IP, without CF disclosing anything about the CF user / account. (this would be rather simple for both of them to fix.)
@randomblogger2835
@randomblogger2835 6 ай бұрын
At SMTP2GO we had a simmilar issue authenticating email sourced from Salesforce, but fortunately they exposed their customer id in an email header so we used that in combination the the source IP address, Salesforce now support full SASL SMTP authentication.
@Its-Just-Zip
@Its-Just-Zip 7 ай бұрын
If I remember correctly, there was a talk recently about fixing Dmarc to where dmarc would fail if either dkim or SPF failed. What's going on with that stuff? I believe some email providers will throw an error if either DKIM or SPF fail but that really needs to become like a standard and they need to start throwing that error if DKIM is not set up because there is really no reason not to be running all of the above.
@drstefankrank
@drstefankrank 7 ай бұрын
It would have been so easy, even with their relay in SPF. Do the same like Microsoft or Google does. Do API authentication and tie this authentication to a verified list of domain you own. They all need you to authenticate your domain at initial setup with a unique txt record in dns for example.
@louis-lau
@louis-lau 7 ай бұрын
They really should have done that, but I can also understand the perspective. Since their target market is hosts that don't control the domains and probably use standard control panels like cpanel or directadmin, there's no way to verify the domains with mailchannels out of the box in those panels. Now their customers need to do some kind of custom integration instead of just using them as an SMTP relay with any off the shelf setup they want. Before these authentication protocols email had been spoofable for decades, and for many organizations today it still is. For them, it's simply a tradeoff between ease of customer acquisition, and protection against spoofing between customers. So while I agree with you, I can understand why this wasn't done. Email is insecure in a variety of ways. Hopefully one day we'll get to the point that it's not.
@robmorgan1214
@robmorgan1214 7 ай бұрын
Welp... time to block all cloudflare addresses.
@SadeN_0
@SadeN_0 7 ай бұрын
Just... wow.
@hangingwithvoid360
@hangingwithvoid360 7 ай бұрын
His demo vid didn't play because its synced to online only XD its not stored on his PC. lmaooo The cloud strikes again.
@comosaycomosah
@comosaycomosah 8 ай бұрын
Lmao thats awesome spoofed his entry
@MrMilarepa108
@MrMilarepa108 7 ай бұрын
Can't follow but he's got it, I'd trust him with my email server 10 days out of 10.
@MrMilarepa108
@MrMilarepa108 7 ай бұрын
Additional note: I do not have an email server. But if I had, I know who I wanted to be in charge of it.😊
@louis-lau
@louis-lau 7 ай бұрын
​@@MrMilarepa108 To be completely fair, if whoever is hosting your email isn't aware of this issue, they're not that competent or specialized. I found myself nodding along with almost the whole talk, none of it was really news to me. Email is layers upon layers of stuff, all meant to be backwards compatible. Mailchannels should just really have their customers upload a list of domains they intend to send from, but they're far from the only one that this issue applies to. Email just isn't great for secure messaging in many ways, maybe we'll get there one day :)
@Pervy
@Pervy 7 ай бұрын
Hey it's byt3bl33d3r. I've been checking out this blog posts for years lol.
@stonelox
@stonelox 5 ай бұрын
They must be in on the email spam profit scheme
@Crypto_Chief
@Crypto_Chief 7 ай бұрын
😂😂😂. This hilarious
@comediavietii1245
@comediavietii1245 7 ай бұрын
this is dangerous
@tripletsborn4628
@tripletsborn4628 8 ай бұрын
Impersonating brainpop lol
@MatthiewMarks
@MatthiewMarks 7 ай бұрын
31:46 This is why I hate using cloud storage
@skyracer-mk8hg
@skyracer-mk8hg 7 ай бұрын
Didnt they add domain lockdown or whatever it is called for fix that? EDIT: Just got to 34:00 and well yea..
@byt3bl33d3r
@byt3bl33d3r 7 ай бұрын
You can still just sign up via their website and spoof all domains via their normal SMTP relay. The domain lockdown record addressed a symptom not the root cause (lack of sender identity verification)
@Stoney_Eagle
@Stoney_Eagle 7 ай бұрын
I guess this is why I can no longer escape the spam 😑
@Tahsn31
@Tahsn31 8 ай бұрын
I am the first person who is watching this. Feel like special hahaha
@claudiusraphael9423
@claudiusraphael9423 8 ай бұрын
You are the One.
@feuerherz007
@feuerherz007 7 ай бұрын
the chosen one 😢
@qu3nt
@qu3nt 7 ай бұрын
oh look it’s 1996 again
@alexasouza4152
@alexasouza4152 6 ай бұрын
Spoofing blackhat in a defcon talk, awesome! LMAO HAHA
@frango_e_salada
@frango_e_salada 7 ай бұрын
PARABÉNS POR CALAR A BOCA DAQUELE VELHO FACISTA!!!
@connoradair
@connoradair 8 ай бұрын
Straight jokes
@magicpenuts6934
@magicpenuts6934 7 ай бұрын
LMAO i was doing this before 2012 i was just bombing company's email accounts for a laugh
@Ofzah
@Ofzah 7 ай бұрын
Does it work anymore?
@deancrypto5939
@deancrypto5939 7 ай бұрын
patched ??
@thegu5
@thegu5 7 ай бұрын
yupp
@deancrypto5939
@deancrypto5939 7 ай бұрын
actually NO@@thegu5 just deploy your own worker and use a different domain ill drop some updated code later to make it 10 times easier
@muhammadgoran4898
@muhammadgoran4898 7 ай бұрын
i think they patched it cuz i tried my domain which hasnt any email record and it didnt work@@deancrypto5939
@rpm10k.
@rpm10k. 7 ай бұрын
He won't
@KingKongBlanue
@KingKongBlanue 7 ай бұрын
@@deancrypto5939Where’s the updated code sir ?
@-Ncrypt
@-Ncrypt 6 ай бұрын
Bet you he’s got a job by now 😂
@Michael_Jackson187
@Michael_Jackson187 7 ай бұрын
You get domain lockdown when you try this, has anyone done this or is everyone just watching lol
@user-ni1fl5dp5v
@user-ni1fl5dp5v 6 ай бұрын
domain lockdown?
@Michael_Jackson187
@Michael_Jackson187 6 ай бұрын
@@user-ni1fl5dp5v yea i spent like 30min to an hour setting everything up, went to use some of the domains provided in that list and they are all locked down lol.
@quadrupledamage
@quadrupledamage 5 ай бұрын
@@user-ni1fl5dp5v He talked about it at the end, Cloudflare added Domain Lockdown to make sure other Cloudflare Worker users can't send emails from your domain. From what I understand, this issue still affects MailChannel, and with $80 you can spoof every single MC user.
@svettnabb
@svettnabb 7 ай бұрын
Arc=pass working must be because of lazy and greedy regex.
@Michael_Jackson187
@Michael_Jackson187 7 ай бұрын
You need an api key
@ChairmanHehe
@ChairmanHehe 6 ай бұрын
cloudflare so fuckin sussy
@stubstunner
@stubstunner 8 ай бұрын
What if you host your own MX record for a non-existent domain? I bet it works.
@mini_bomba
@mini_bomba 8 ай бұрын
you can't put a DNS record on a DNS domain that doesn't exist...
@geroffmilan3328
@geroffmilan3328 8 ай бұрын
​@@mini_bomba 💯 - or one you don't own/have zone file access
@Tetsuo6995
@Tetsuo6995 8 ай бұрын
@@mini_bomba Nothing prevents you from putting anything in your public DNS server. It's simply that nobody will contact your server for these records since the associated domain is not registered anywhere. At least that's my understanding. I say that because I think you can prepare in advance some records for a domain you are about to obtain. And when you become the Authority for this domain, your MX, SPF records will start to get hits.
@anonymousalexander6005
@anonymousalexander6005 7 ай бұрын
The DNS is controlled by IANA root servers and provisioned by providers like cloud flare and Google, so unless you have access to them or to the end-points’ DNS configuration to point it to you, you’re non-existent domain does in fact not exist within DNS.
@gamer-gw9iy
@gamer-gw9iy 7 ай бұрын
7:37
@superhanspaul
@superhanspaul 5 ай бұрын
"null" is german and means "zero" "0"
@jbs.
@jbs. 7 ай бұрын
Closed when I heard 'allowlist'
@skyemegakitty
@skyemegakitty 7 ай бұрын
you won't be missed o/ bye
@Michael_Jackson187
@Michael_Jackson187 7 ай бұрын
Where can you point me? I tried this and you get domain lockdown if you try to use any of these domains
@jackda2168
@jackda2168 5 ай бұрын
@@Michael_Jackson187 hey did you find any solution ??? or do you pay 80$ for spoofing other domains ?
Email Phishing / Spoofing with Inbox Delivery
12:57
zSecurity
Рет қаралды 76 М.
Каха с волосами
01:00
К-Media
Рет қаралды 6 МЛН
顔面水槽がブサイク過ぎるwwwww
00:58
はじめしゃちょー(hajime)
Рет қаралды 92 МЛН
КИРПИЧ ОБ ГОЛОВУ #shorts
00:24
Паша Осадчий
Рет қаралды 6 МЛН
YouTube's Biggest Mistake..
00:34
Stokes Twins
Рет қаралды 65 МЛН
Bill Swearingen - HAKC THE POLICE - DEF CON 27 Conference
41:18
DEFCONConference
Рет қаралды 600 М.
DEF CON 30 - Roger Dingledine - How Russia is trying to block Tor
47:27
DEFCONConference
Рет қаралды 62 М.
37C3 -  SMTP Smuggling - Spoofing E-Mails Worldwide
31:40
media.ccc.de
Рет қаралды 39 М.
Он Отказался от БЕСПЛАТНОЙ видеокарты
0:40
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,7 МЛН
Главная проблема iPad Pro M4 OLED!
13:04
THE ROCO
Рет қаралды 48 М.
#Shorts Good idea for testing to show.
0:17
RAIN Gadgets
Рет қаралды 3,4 МЛН