Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
SESから理解する DMARC
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
toumakido
April 13, 2026
18
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
SESから理解する DMARC
toumakido
April 13, 2026
More Decks by toumakido
See All by toumakido
コンテナによるPDF Generatorについて
toumakido
0
240
AWSのPQC対応について
toumakido
0
19
若手エンジニアがAIとどう向き合っているか
toumakido
0
39
Featured
See All Featured
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
420
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
580
Paper Plane (Part 1)
katiecoart
PRO
2
12k
First, design no harm
axbom
PRO
2
1.3k
Tell your own story through comics
letsgokoyo
1
1.1k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
570
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
WCS-LA-2024
lcolladotor
0
890
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
Building Adaptive Systems
keathley
44
3.3k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Transcript
SESから理解する DMARC Domain-based Message Authentication, Reporting, and Conformance
名前: 城戸透馬 (toumakido) 所属: 株式会社 Finatext 入社: 2025年 趣味: フットボール(みたり、やったり)
自己紹介
DMARC Domain-based Message Authentication, Reporting, and Conformance SPF + DKIM
検証を統合した認証フレームワーク DMARCの3つの機能 ① 認証統合 SPFとDKIMの検証結果を組み合わせる ② ポリシー指定 認証失敗時の処理を指定 ・none: 何もしない(監視のみ) ・quarantine: 隔離(スパムフォルダ) ・reject: 拒否 ③ レポート送信 認証結果を定期的にレポート DMARC判定フロー SPF検証 DKIM検証 DMARC判定 ポリシー実行
SESのDMARC設定 Domain-based Message Authentication, Reporting, and Conformance
DKIM認証設定 コンソールの値を、Route 53でのDNSレコード設定
DMARC認証設定 コンソールの値を、Route 53でのDNSレコード設定
MAIL FROMとSPF設定 コンソールの値を、Route 53でのDNSレコード設定
AWS SES Email Authentication SPF & DKIM 処理フロー
SPF (Sender Policy Framework) 送信元IPアドレスの検証 Application SES SDK ①API呼び出し Amazon
SES メール送信 ②SMTP送信 受信メールサー バー SPF検証 Route 53 DNS (SPFレコード) ③SPFレコード 問い合わせ ④SPFレコード 返却 ⑤ 検証結果 送信元IPアドレス( SES)がSPFレコードで許可されているか → OK envelope fromの値と、fromのドメインが一致するか→ OK 両方成功→ SPF成功 mail.example.comを envelopに設定 v=spf1 include:amazonses.com ~all が見つかる
DKIM (DomainKeys Identified Mail) 電子署名によるメール改ざん検知 Application SES SDK ①API呼び出し Amazon
SES メール送信 ②署名付き メール送信 受信メールサー バー DKIM検証 Route 53 DNS (DKIMレコード) ③署名からDKIM公開鍵 問い合わせ ④公開鍵返却 ⑤ 検証結果 mail.example.comを envelopに設定 + 秘密鍵で署名 ⑤ 検証結果 公開鍵でメールヘッダーのDKIM署名を検証 → OK envelope fromの値と、fromのドメインが一致するか→ OK 両方成功→ DKIM成功
DMARC判定 SPFとDKIMをカバー SPF: 転送時に対応できない • 送信元IPアドレスが変わり失敗 DKIM: 検証の信頼度が欠ける • 受信サーバのプロトコル対応率が低い(
63.4%?) • アライメント抜きだと ◦ 目に見える『header from』ドメインのなりすましを防ぐことはできない ◦ 攻撃者ドメインを使ってDKIM署名を行えば、そのまま通る DMARC = SPF || DKIM