SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
SPF, DKIM en DMARC
Preventiemethoden voor het misbruik van e-mail
2 / 28




• Wie heeft welke kennis in de zaal?
  – Eigen domeinen
  – Beheren van DNS
3 / 28




• DNS
  – Domain Name System
  – Vertaalt DNS een URL of webadres
  – www.jcid.nl => 31.3.96.174
4 / 28




• DNS Types
  – MX-record
  – CNAME-record
  – A-record
  – NS-record
  – TXT-record
5 / 28




• MX-record
  – Mail Exchange-records
  – Verschillende prioriteit
     • laagste nummer heeft de hoogste prioriteit
  – Failover
6 / 28




• CNAME-record
  – Canonical Name-records
  – Aliasnaam aan andere canonieke domeinnaam
  – webmail.jcid.nl (Google Apps-services)
7 / 28




• A-record
  – A-records of adresrecords
  – Koppelen een domein aan een IP-adres
8 / 28




• NS-record
  – NS-records (Name Server-records)
  – bepalen welke servers DNS-informatie
  – primaire en secundaire
     • ns01.jcid.nl
     • ns02.jcid.nl
9 / 28




• TXT-record
  – Computer leesbare tekst definiëren
  – Preventiemethoden voor het misbruik van e-mail
     • zoals SPF, DKIM en DMARC
10 / 28
11 / 28




• SPF-records
  – Sender Policy Framework
  – E-mailservers met toestemming
     • Te verzenden namens jouw domein
  – Voorkomen van spam / phishing berichten
12 / 28




• SPF-record
  – Opvragen records jcid.nl
  – Niet aanwezig?
     • mogelijke weigering
  – Voorbeeld
     • v=spf1 a mx include:spf.jcid.nl ~all
13 / 28




• SPF-record
  – Show me the money!
14 / 28




• DKIM-record
  – DomainKeys Identified Mail
  – digitale “handtekening”
  – www.dkim.org
  – Samenwerkingsverband Yahoo! & Cisco
    • 2004
15 / 28




• DKIM-record
  – Ontvanger controleert domeinhandtekening
  – 1024-bits openbare sleutel domeinsleutel
16 / 28




• DKIM-record
17 / 28




• Inzicht
18 / 28




• DMARC-record
  – Domain-based Message Authentication, Reporting
    & Conformance
  – Beleid ongeauthenticeerde e-mail
  – Voorbeeld
    • v=DMARC1; p=quarantine;
      rua=mailto:wigtrjng@ag.dmarcian.com;
      adkim=r; aspf=s; sp=none
19 / 28




• DMARC-record
  – Afstemming-modus
     • Strict | Relaxed
  – beleid
     • Quarantine | Reject | Monitor
  – reporting URIs
     • Failure & Aggregate
20 / 28




• DMARC
Tag name   Doel                                     Voorbeeld
    v      Protocol versie                          v=DMARC1
   pct     % berichten filteren op P                pct=25
   ruf     Reporting URI van uitgebreiderapporten   ruf=dmarc@jcid.nl
   rua     Reporting URI van algemene rapporten     rua=dmarc@jcid.nl
    p      Beleid voor domein                       p=quarantaine
   sp      Beleid voor subdomeinen                  sp=reject
  adkim    Afstemming-modus voor DKIM               adkim=strict
   aspf    Afstemming-modus voor SPF                aspf=relaxed
21 / 28




• DMARC
22 / 28




• DMARC
23 / 28




• DMARC report
  – Dagelijkse rapport e-mailprovider
  – Geaggregeerde statistieken van IP-adressen
     • Verificatie resultaten
     • Afstemming-modus
     • Beleidsmaatregelen
24 / 28




• DMARC-report
25 / 28




• Visualiseren XML report
  – dmarcian.com
26 / 28




• Visueel en dan?
  – Ga monitoren
  – Leer van de data
  – Voer het beleid langzaam op
     • Monitoring
     • Quarantaine
     • Reject
27 / 28




• Praktijkvoorbeelden
  – jcid.nl
  – rabobank.nl
  – ing.nl
  – abnamro.nl
28 / 28




• Feedback / vragen / contact
  – Feedback Joind.in
     • http://goo.gl/68WfX
  – Twitter
     • jcid
  – Facebook
     • jcidnl
  – E-mail
     • jeffrey@jcid.nl
  – Telefoon
     • 0103400189

Contenu connexe

Tendances

Attacker's Perspective of Active Directory
Attacker's Perspective of Active DirectoryAttacker's Perspective of Active Directory
Attacker's Perspective of Active DirectorySunny Neo
 
Threat Hunting
Threat HuntingThreat Hunting
Threat HuntingSplunk
 
Attacking GRX - GPRS Roaming eXchange
Attacking GRX - GPRS Roaming eXchangeAttacking GRX - GPRS Roaming eXchange
Attacking GRX - GPRS Roaming eXchangeP1Security
 
Information Security Awareness: at Work, at Home, and For Your Kids
Information Security Awareness: at Work, at Home, and For Your Kids Information Security Awareness: at Work, at Home, and For Your Kids
Information Security Awareness: at Work, at Home, and For Your Kids Nicholas Davis
 
Information security awareness
Information security awarenessInformation security awareness
Information security awarenessCAS
 
Carlos García - Pentesting Active Directory Forests [rooted2019]
Carlos García - Pentesting Active Directory Forests [rooted2019]Carlos García - Pentesting Active Directory Forests [rooted2019]
Carlos García - Pentesting Active Directory Forests [rooted2019]RootedCON
 
DNS & DNSSEC
DNS & DNSSECDNS & DNSSEC
DNS & DNSSECAPNIC
 
Threat Hunting Playbook.pdf
Threat Hunting Playbook.pdfThreat Hunting Playbook.pdf
Threat Hunting Playbook.pdflaibaarsyila
 
Threat hunting for Beginners
Threat hunting for BeginnersThreat hunting for Beginners
Threat hunting for BeginnersSKMohamedKasim
 
How to hack wireless internet connections using aircrack-ng
How to hack wireless internet connections using aircrack-ngHow to hack wireless internet connections using aircrack-ng
How to hack wireless internet connections using aircrack-ngOpen Knowledge Nepal
 
Splunk workshop-Threat Hunting
Splunk workshop-Threat HuntingSplunk workshop-Threat Hunting
Splunk workshop-Threat HuntingSplunk
 
Computer forensics and Investigation
Computer forensics and InvestigationComputer forensics and Investigation
Computer forensics and InvestigationNeha Raju k
 
New Hire Information Security Awareness
New Hire Information Security AwarenessNew Hire Information Security Awareness
New Hire Information Security Awarenesshubbargf
 
Forrester no more chewy centers- the zero trust model
Forrester   no more chewy centers- the zero trust modelForrester   no more chewy centers- the zero trust model
Forrester no more chewy centers- the zero trust modelCristian Garcia G.
 
FireSIGHT Management Center (FMC) slides
FireSIGHT Management Center (FMC) slidesFireSIGHT Management Center (FMC) slides
FireSIGHT Management Center (FMC) slidesAmy Gerrie
 

Tendances (20)

Attacker's Perspective of Active Directory
Attacker's Perspective of Active DirectoryAttacker's Perspective of Active Directory
Attacker's Perspective of Active Directory
 
Infoblox Secure DNS Solution
Infoblox Secure DNS SolutionInfoblox Secure DNS Solution
Infoblox Secure DNS Solution
 
Pgp smime
Pgp smimePgp smime
Pgp smime
 
Threat Hunting
Threat HuntingThreat Hunting
Threat Hunting
 
Attacking GRX - GPRS Roaming eXchange
Attacking GRX - GPRS Roaming eXchangeAttacking GRX - GPRS Roaming eXchange
Attacking GRX - GPRS Roaming eXchange
 
Information Security Awareness: at Work, at Home, and For Your Kids
Information Security Awareness: at Work, at Home, and For Your Kids Information Security Awareness: at Work, at Home, and For Your Kids
Information Security Awareness: at Work, at Home, and For Your Kids
 
Information security awareness
Information security awarenessInformation security awareness
Information security awareness
 
Carlos García - Pentesting Active Directory Forests [rooted2019]
Carlos García - Pentesting Active Directory Forests [rooted2019]Carlos García - Pentesting Active Directory Forests [rooted2019]
Carlos García - Pentesting Active Directory Forests [rooted2019]
 
DNS & DNSSEC
DNS & DNSSECDNS & DNSSEC
DNS & DNSSEC
 
Threat Hunting Playbook.pdf
Threat Hunting Playbook.pdfThreat Hunting Playbook.pdf
Threat Hunting Playbook.pdf
 
Threat hunting for Beginners
Threat hunting for BeginnersThreat hunting for Beginners
Threat hunting for Beginners
 
How to hack wireless internet connections using aircrack-ng
How to hack wireless internet connections using aircrack-ngHow to hack wireless internet connections using aircrack-ng
How to hack wireless internet connections using aircrack-ng
 
Splunk workshop-Threat Hunting
Splunk workshop-Threat HuntingSplunk workshop-Threat Hunting
Splunk workshop-Threat Hunting
 
Cyber kill chain
Cyber kill chainCyber kill chain
Cyber kill chain
 
Computer forensics and Investigation
Computer forensics and InvestigationComputer forensics and Investigation
Computer forensics and Investigation
 
New Hire Information Security Awareness
New Hire Information Security AwarenessNew Hire Information Security Awareness
New Hire Information Security Awareness
 
Security Awareness Training by Fortinet
Security Awareness Training by FortinetSecurity Awareness Training by Fortinet
Security Awareness Training by Fortinet
 
Forrester no more chewy centers- the zero trust model
Forrester   no more chewy centers- the zero trust modelForrester   no more chewy centers- the zero trust model
Forrester no more chewy centers- the zero trust model
 
Sophos XG Firewall
Sophos XG FirewallSophos XG Firewall
Sophos XG Firewall
 
FireSIGHT Management Center (FMC) slides
FireSIGHT Management Center (FMC) slidesFireSIGHT Management Center (FMC) slides
FireSIGHT Management Center (FMC) slides
 

Plus de Jeffrey Cafferata

Gebruikersbijeenkomst data.overheid.nl 30 juni dcat
Gebruikersbijeenkomst data.overheid.nl 30 juni   dcatGebruikersbijeenkomst data.overheid.nl 30 juni   dcat
Gebruikersbijeenkomst data.overheid.nl 30 juni dcatJeffrey Cafferata
 
DCAT - Terugkoppeling - Gebruikersbijeenkomst data.overheid.nl 30 juni
DCAT - Terugkoppeling - Gebruikersbijeenkomst data.overheid.nl 30 juniDCAT - Terugkoppeling - Gebruikersbijeenkomst data.overheid.nl 30 juni
DCAT - Terugkoppeling - Gebruikersbijeenkomst data.overheid.nl 30 juniJeffrey Cafferata
 
Join the fight against email spam! - EmmenPHP
Join the fight against email spam! - EmmenPHPJoin the fight against email spam! - EmmenPHP
Join the fight against email spam! - EmmenPHPJeffrey Cafferata
 
Join the fight against email spam! - SweetlakePHP
Join the fight against email spam! - SweetlakePHPJoin the fight against email spam! - SweetlakePHP
Join the fight against email spam! - SweetlakePHPJeffrey Cafferata
 
Alumni meet-up Mediatechnologie - Van zolder kamer naar...
Alumni meet-up Mediatechnologie - Van zolder kamer naar...Alumni meet-up Mediatechnologie - Van zolder kamer naar...
Alumni meet-up Mediatechnologie - Van zolder kamer naar...Jeffrey Cafferata
 
De noodzaak van sterke wachtwoorden
De noodzaak van sterke wachtwoordenDe noodzaak van sterke wachtwoorden
De noodzaak van sterke wachtwoordenJeffrey Cafferata
 

Plus de Jeffrey Cafferata (6)

Gebruikersbijeenkomst data.overheid.nl 30 juni dcat
Gebruikersbijeenkomst data.overheid.nl 30 juni   dcatGebruikersbijeenkomst data.overheid.nl 30 juni   dcat
Gebruikersbijeenkomst data.overheid.nl 30 juni dcat
 
DCAT - Terugkoppeling - Gebruikersbijeenkomst data.overheid.nl 30 juni
DCAT - Terugkoppeling - Gebruikersbijeenkomst data.overheid.nl 30 juniDCAT - Terugkoppeling - Gebruikersbijeenkomst data.overheid.nl 30 juni
DCAT - Terugkoppeling - Gebruikersbijeenkomst data.overheid.nl 30 juni
 
Join the fight against email spam! - EmmenPHP
Join the fight against email spam! - EmmenPHPJoin the fight against email spam! - EmmenPHP
Join the fight against email spam! - EmmenPHP
 
Join the fight against email spam! - SweetlakePHP
Join the fight against email spam! - SweetlakePHPJoin the fight against email spam! - SweetlakePHP
Join the fight against email spam! - SweetlakePHP
 
Alumni meet-up Mediatechnologie - Van zolder kamer naar...
Alumni meet-up Mediatechnologie - Van zolder kamer naar...Alumni meet-up Mediatechnologie - Van zolder kamer naar...
Alumni meet-up Mediatechnologie - Van zolder kamer naar...
 
De noodzaak van sterke wachtwoorden
De noodzaak van sterke wachtwoordenDe noodzaak van sterke wachtwoorden
De noodzaak van sterke wachtwoorden
 

SPF, DKIM en DMARC

  • 1. SPF, DKIM en DMARC Preventiemethoden voor het misbruik van e-mail
  • 2. 2 / 28 • Wie heeft welke kennis in de zaal? – Eigen domeinen – Beheren van DNS
  • 3. 3 / 28 • DNS – Domain Name System – Vertaalt DNS een URL of webadres – www.jcid.nl => 31.3.96.174
  • 4. 4 / 28 • DNS Types – MX-record – CNAME-record – A-record – NS-record – TXT-record
  • 5. 5 / 28 • MX-record – Mail Exchange-records – Verschillende prioriteit • laagste nummer heeft de hoogste prioriteit – Failover
  • 6. 6 / 28 • CNAME-record – Canonical Name-records – Aliasnaam aan andere canonieke domeinnaam – webmail.jcid.nl (Google Apps-services)
  • 7. 7 / 28 • A-record – A-records of adresrecords – Koppelen een domein aan een IP-adres
  • 8. 8 / 28 • NS-record – NS-records (Name Server-records) – bepalen welke servers DNS-informatie – primaire en secundaire • ns01.jcid.nl • ns02.jcid.nl
  • 9. 9 / 28 • TXT-record – Computer leesbare tekst definiëren – Preventiemethoden voor het misbruik van e-mail • zoals SPF, DKIM en DMARC
  • 11. 11 / 28 • SPF-records – Sender Policy Framework – E-mailservers met toestemming • Te verzenden namens jouw domein – Voorkomen van spam / phishing berichten
  • 12. 12 / 28 • SPF-record – Opvragen records jcid.nl – Niet aanwezig? • mogelijke weigering – Voorbeeld • v=spf1 a mx include:spf.jcid.nl ~all
  • 13. 13 / 28 • SPF-record – Show me the money!
  • 14. 14 / 28 • DKIM-record – DomainKeys Identified Mail – digitale “handtekening” – www.dkim.org – Samenwerkingsverband Yahoo! & Cisco • 2004
  • 15. 15 / 28 • DKIM-record – Ontvanger controleert domeinhandtekening – 1024-bits openbare sleutel domeinsleutel
  • 16. 16 / 28 • DKIM-record
  • 17. 17 / 28 • Inzicht
  • 18. 18 / 28 • DMARC-record – Domain-based Message Authentication, Reporting & Conformance – Beleid ongeauthenticeerde e-mail – Voorbeeld • v=DMARC1; p=quarantine; rua=mailto:wigtrjng@ag.dmarcian.com; adkim=r; aspf=s; sp=none
  • 19. 19 / 28 • DMARC-record – Afstemming-modus • Strict | Relaxed – beleid • Quarantine | Reject | Monitor – reporting URIs • Failure & Aggregate
  • 20. 20 / 28 • DMARC Tag name Doel Voorbeeld v Protocol versie v=DMARC1 pct % berichten filteren op P pct=25 ruf Reporting URI van uitgebreiderapporten ruf=dmarc@jcid.nl rua Reporting URI van algemene rapporten rua=dmarc@jcid.nl p Beleid voor domein p=quarantaine sp Beleid voor subdomeinen sp=reject adkim Afstemming-modus voor DKIM adkim=strict aspf Afstemming-modus voor SPF aspf=relaxed
  • 21. 21 / 28 • DMARC
  • 22. 22 / 28 • DMARC
  • 23. 23 / 28 • DMARC report – Dagelijkse rapport e-mailprovider – Geaggregeerde statistieken van IP-adressen • Verificatie resultaten • Afstemming-modus • Beleidsmaatregelen
  • 24. 24 / 28 • DMARC-report
  • 25. 25 / 28 • Visualiseren XML report – dmarcian.com
  • 26. 26 / 28 • Visueel en dan? – Ga monitoren – Leer van de data – Voer het beleid langzaam op • Monitoring • Quarantaine • Reject
  • 27. 27 / 28 • Praktijkvoorbeelden – jcid.nl – rabobank.nl – ing.nl – abnamro.nl
  • 28. 28 / 28 • Feedback / vragen / contact – Feedback Joind.in • http://goo.gl/68WfX – Twitter • jcid – Facebook • jcidnl – E-mail • jeffrey@jcid.nl – Telefoon • 0103400189