Designing an open source DMARC aggregation tool. Yadvir Singh - - PowerPoint PPT Presentation

designing an open source dmarc aggregation tool
SMART_READER_LITE
LIVE PREVIEW

Designing an open source DMARC aggregation tool. Yadvir Singh - - PowerPoint PPT Presentation

Designing an open source DMARC aggregation tool. Yadvir Singh University of Amsterdam June 30, 2016 Supervised by Michiel Leenaars Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 1 / 17


slide-1
SLIDE 1

Designing an open source DMARC aggregation tool.

Yadvir Singh

University of Amsterdam

June 30, 2016

Supervised by Michiel Leenaars

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 1 / 17

slide-2
SLIDE 2

Introduction

Domain owner receives daily DMARC reports Difficult to process by hand Organize reports into a clear

  • verview

Research question

How can aggregated DMARC reports provide domain administrators insight into their email domain?

1

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 2 / 17

slide-3
SLIDE 3

DMARC

2

DMARC record

v=DMARC1 p=none sp=none rua=mailto:rua@dmarc-research.nl ruf=mailto:ruf@dmarc-research.nl rf=afrf pct=100 ri=86400

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 3 / 17

slide-4
SLIDE 4

DMARC

Report

<report_metadata> <org_name>acme.com</org_name> <email>noreply-dmarc-support@acme.com</email> <extra_contact_info>http://acme.com/dmarc/support</ extra_contact_info> <report_id>9391651994964116463</report_id> <date_range> <begin>1335571200</begin> <end>1335657599</end> </date_range>

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 4 / 17

slide-5
SLIDE 5

DMARC

Report

<row> <source_ip>192.0.0.1</source_ip> <count>2</count> <policy_evaluated> <disposition>none</disposition> <dkim>fail</dkim> <spf>pass</spf> </policy_evaluated> </row>

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 5 / 17

slide-6
SLIDE 6

Tools

Commercial parties

Several commercial parties

◮ Dmarcian ◮ Dmarcanalyzer ◮ Agari ◮ . . .

Security concerns No Open source alternative

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 6 / 17

slide-7
SLIDE 7

Tools

Setup

Back end: 100 % Python Front end: Bootstrap + Javascript MySQL database Test domain: dmarc-research.nl SMTP server: Postfix OpenDMARC, OpenDKIM, pypolicyd-spf

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 7 / 17

slide-8
SLIDE 8

Tools

Implementation 1

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 8 / 17

slide-9
SLIDE 9

Tools

Implementation 2

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 9 / 17

slide-10
SLIDE 10

Tools

Implementation 2

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 10 / 17

slide-11
SLIDE 11

Tools

Implementation 2

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 11 / 17

slide-12
SLIDE 12

Tools

Implementation 2

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 12 / 17

slide-13
SLIDE 13

Visualization

Visualize incoming & outgoing DMARC reports Insight into domain abuse

◮ by Domain ◮ by IP adress Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 13 / 17

slide-14
SLIDE 14

Visualization

Heatmap

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 14 / 17

slide-15
SLIDE 15

Visualization

Bubblechart

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 15 / 17

slide-16
SLIDE 16

Conclusion

DMARC reports can give domain owners insight into their security configuration Can provide insights into domain abusage Track domain health over longer timespans.

Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 16 / 17

slide-17
SLIDE 17

Questions

1https://dmarc.org/ 2https://dmarc.org/overview/ Yadvir Singh (University of Amsterdam) Designing an open source DMARC aggregation tool. June 30, 2016 17 / 17