measuring the role of greylisting and nolisting in
play

Measuring the Role of Greylisting and Nolisting in Fighting Spam F. - PowerPoint PPT Presentation

Measuring the Role of Greylisting and Nolisting in Fighting Spam F. Pagani 1 M. De Astis 2 M. Graziano 1 A. Lanzi 2 D. Balzarotti 1 1 Eurecom Sophia Antipolis, France 2 Universit` a degli Studi di Milano Milano, Italy International Conference


  1. Measuring the Role of Greylisting and Nolisting in Fighting Spam F. Pagani 1 M. De Astis 2 M. Graziano 1 A. Lanzi 2 D. Balzarotti 1 1 Eurecom Sophia Antipolis, France 2 Universit` a degli Studi di Milano Milano, Italy International Conference on Dependable Systems and Networks, 2016 F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 1 / 27

  2. Spam Detection A lot of research has been done on spam filtering techniques: Sender-based: blacklists, IP reputation, server auth... Content-based: bayesian filters, email prioritization... Greylisting and Nolisting are two relatively-unknown sender-based approaches, not well studied F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 2 / 27

  3. Spam Detection A lot of research has been done on spam filtering techniques: Sender-based: blacklists, IP reputation, server auth... Content-based: bayesian filters, email prioritization... Greylisting and Nolisting are two relatively-unknown sender-based approaches, not well studied F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 2 / 27

  4. Intro Nolisting 1 Very simple technique 2 Primary mail server non-existent 3 RFC-2821 compliant: “To provide reliable mail transmission, the SMTP client MUST be able to try (and retry) each of the relevant addresses in this list in order , until a delivery attempt succeeds... In any case, the SMTP client SHOULD try at least two addresses.” F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 3 / 27

  5. Intro Nolisting Primary MailServer Secondary MailServer MTA DNS (foo.smtp.net) (foo1.smtp.net) MX QUERY for foo.net MX 0 smtp.foo.net MX 15 smtp1.foo.net A QUERY for smtp.foo.net ANSWER: 1.2.3.4 H E L O l o c a l . n a m e A QUERY for smtp1.foo.net ANSWER: 5.6.7.8 HELO local.name I am glad to meet you 250 Hello local.name, F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 4 / 27

  6. Intro Nolisting Primary MailServer Secondary MailServer MTA DNS (foo.smtp.net) (foo1.smtp.net) MX QUERY for foo.net MX 0 smtp.foo.net MX 15 smtp1.foo.net A QUERY for smtp.foo.net ANSWER: 1.2.3.4 H E L O l o c a l . n a m e A QUERY for smtp1.foo.net ANSWER: 5.6.7.8 HELO local.name I am glad to meet you 250 Hello local.name, F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 4 / 27

  7. Intro Nolisting Primary MailServer Secondary MailServer MTA DNS (foo.smtp.net) (foo1.smtp.net) MX QUERY for foo.net MX 0 smtp.foo.net MX 15 smtp1.foo.net A QUERY for smtp.foo.net ANSWER: 1.2.3.4 H E L O l o c a l . n a m e A QUERY for smtp1.foo.net ANSWER: 5.6.7.8 HELO local.name I am glad to meet you 250 Hello local.name, F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 4 / 27

  8. Intro Nolisting Primary MailServer Secondary MailServer MTA DNS (foo.smtp.net) (foo1.smtp.net) MX QUERY for foo.net MX 0 smtp.foo.net MX 15 smtp1.foo.net A QUERY for smtp.foo.net ANSWER: 1.2.3.4 H E L O l o c a l . n a m e A QUERY for smtp1.foo.net ANSWER: 5.6.7.8 HELO local.name I am glad to meet you 250 Hello local.name, F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 4 / 27

  9. Intro Nolisting Primary MailServer Secondary MailServer MTA DNS (foo.smtp.net) (foo1.smtp.net) MX QUERY for foo.net MX 0 smtp.foo.net MX 15 smtp1.foo.net A QUERY for smtp.foo.net ANSWER: 1.2.3.4 H E L O l o c a l . n a m e A QUERY for smtp1.foo.net ANSWER: 5.6.7.8 HELO local.name I am glad to meet you 250 Hello local.name, F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 4 / 27

  10. Intro Greylisting Message rejected for a certain amount of time ( greylisting threshold ) The MTA keeps trying until the message is accepted Further messages accepted without delay: < sender address, sender ip, recipient address > RFC-2821 compliant: “The sender MUST delay retrying a particular destination after one attempt has failed...Retries continue until the message is transmitted or the sender gives up; the give-up time generally needs to be at least 4-5 days.” F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 5 / 27

  11. Intro Greylisting Primary MailServer MTA (foo.smtp.net) HELO local.domain.name 250 Hello local.domain.name M A I L F R O M : < s e n d e r @ l o c a l . d o m a i n . n a m e . n e t > K n d e r O 5 0 S e 2 RCPT TO: <recipient@foo.net> Greylisted 450 Recipient address rejected: ∆ threshold RCPT TO: <recipient@foo.net> 250 Recipient OK F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 6 / 27

  12. Intro Greylisting Primary MailServer MTA (foo.smtp.net) HELO local.domain.name 250 Hello local.domain.name M A I L F R O M : < s e n d e r @ l o c a l . d o m a i n . n a m e . n e t > K n d e r O 5 0 S e 2 RCPT TO: <recipient@foo.net> Greylisted 450 Recipient address rejected: ∆ threshold RCPT TO: <recipient@foo.net> 250 Recipient OK F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 6 / 27

  13. Intro Greylisting Primary MailServer MTA (foo.smtp.net) HELO local.domain.name 250 Hello local.domain.name M A I L F R O M : < s e n d e r @ l o c a l . d o m a i n . n a m e . n e t > K n d e r O 5 0 S e 2 RCPT TO: <recipient@foo.net> Greylisted 450 Recipient address rejected: ∆ threshold RCPT TO: <recipient@foo.net> 250 Recipient OK F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 6 / 27

  14. Intro Greylisting Primary MailServer MTA (foo.smtp.net) HELO local.domain.name 250 Hello local.domain.name M A I L F R O M : < s e n d e r @ l o c a l . d o m a i n . n a m e . n e t > K n d e r O 5 0 S e 2 RCPT TO: <recipient@foo.net> Greylisted 450 Recipient address rejected: ∆ threshold RCPT TO: <recipient@foo.net> 250 Recipient OK F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 6 / 27

  15. Greylisting & Nolisting The main assumption of the two techniques is that spam-bot are not RFC-compliant (fire-and-forget). Pros Cons Easy to implement Easy to evade RFC Compliant Benign email lost/delayed Do work Don’t work F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 7 / 27

  16. Motivation F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 8 / 27

  17. Motivation F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 8 / 27

  18. Motivation F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 8 / 27

  19. Motivation F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 8 / 27

  20. Contributions Worldwide adoption of Nolisting Impact on spam delivery Greylisting and the Real World F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 9 / 27

  21. Adoption of Nolisting We used two dataset from scans.io (zmap): 1 DNS records (135M domains): Steps d.com mx 0 smtp.f.net D → MX 1 , MX 2 .. d.com mx 15 smtp1.f.net MX i → IP i smtp.f.net a 1.2.3.4 Nolisting: 2 Full IPv4 SMTP: IP 1 �⊂ IPv4SMTP 1.1.1.1 IP 2 ⊂ IPv4SMTP 1.2.3.10 1.3.4.5 F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 10 / 27

  22. Adoption of Nolisting We used two dataset from scans.io (zmap): 1 DNS records (135M domains): Steps d.com mx 0 smtp.f.net D → MX 1 , MX 2 .. d.com mx 15 smtp1.f.net MX i → IP i smtp.f.net a 1.2.3.4 Nolisting: 2 Full IPv4 SMTP: IP 1 �⊂ IPv4SMTP 1.1.1.1 IP 2 ⊂ IPv4SMTP 1.2.3.10 1.3.4.5 F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 10 / 27

  23. Adoption of Nolisting We used two dataset from scans.io (zmap): 1 DNS records (135M domains): Steps d.com mx 0 smtp.f.net D → MX 1 , MX 2 .. d.com mx 15 smtp1.f.net MX i → IP i smtp.f.net a 1.2.3.4 Nolisting: 2 Full IPv4 SMTP: IP 1 �⊂ IPv4SMTP 1.1.1.1 IP 2 ⊂ IPv4SMTP 1.2.3.10 1.3.4.5 F. Pagani , M. De Astis, M. Graziano, A. Lanzi, D. Balzarotti Measuring the Role of Greylisting and Nolisting in Fighting Spam 10 / 27

Recommend


More recommend