Spam detection using IP geolocation O-talk Andriy Stetsko.

Slides:



Advertisements
Similar presentations
Dude, where’s that IP? Circumventing measurement-based IP geolocation Presented by: Steven Zittrower.
Advertisements

NetScanTools ® LE Law Enforcement Version of NetScanTools ® from Northwest Performance Software, Inc. netscantools.com.
Phillipa Gill, Yashar Ganijali Dept. of CS University of Toronto Bernard Wong Dept. of CS Cornell University David Lie Dept. of Electrical and Computer.
Networks Adapting Computers to Telecommunications Media.
CPSC 441 Tutorial - Network Tools 1 Network Tools CPSC 441 – Computer Communications Tutorial.
IP: The Internet Protocol
Web and Internet Part I ST: Introduction to Web Interface Design Prof. Angela Guercio Spring 2007.
CISCO NETWORKING ACADEMY Chabot College ELEC ping & traceroute.
23 October 2002Emmanuel Ormancey1 Spam Filtering at CERN Emmanuel Ormancey - 23 October 2002.
Domain Name System | DNSSEC. 2  Internet Protocol address uniquely identifies laptops or phones or other devices  The Domain Name System matches IP.
Module 1: Reviewing the Suite of TCP/IP Protocols.
1 Figure 3-33: Internet Control Message Protocol (ICMP) ICMP is for Supervisory Messages at the Internet Layer ICMP and IP  An ICMP message is delivered.
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Guide to TCP/IP, Third Edition
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 9 Internet Control Message.
ICMP : Internet Control Message Protocol. Introduction ICMP is often considered part of the IP layer. It communicates error messages and other conditions.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
Examining TCP/IP.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
1 CHAPTER 3 CLASSES OF ATTACK. 2 Denial of Service (DoS) Takes place when availability to resource is intentionally blocked or degraded Takes place when.
INTERNET PRESENTATION. WHAT IS THE INTERNET? The worlds largest computer network. A collection of local, regional and national computer networks linked.
Internet Presentation. What is the Internet? The worlds largest computer network. A collection of local, regional and national computer networks linked.
Distributed Denial of Service Attacks Shankar Saxena Veer Vivek Kaushik.
Internet Protocols. Address Resolution IP Addresses are not recognized by hardware. If we know the IP address of a host, how do we find out the hardware.
SpamIQ Free spam analysis and data mining tool. Objective: Provide ISPs and network operators good analysis tools to analyze and understand spam traffic.
Monitoring Troubleshooting TCP/IP Chapter 3. Objectives for this Chapter Troubleshoot TCP/IP addressing Diagnose and resolve issues related to incorrect.
PRACTICAL INTRODUCTION TO INTERNET TECHNOLOGY. Practical one PACKET DELAY AND LOSS IN INTERNET In this experiment, you will observe real delays and loss.
FriendFinder Location-aware social networking on mobile phones.
FriendFinder Location-aware social networking on mobile phones.
Mapping IP Addresses to Hardware Addresses Chapter 5.
TCP/IP Illustrated, Volume 1: The Protocols Chapter 6. ICMP: Internet Control Message Protocol ( 월 ) 김 철 환
COSC513 Final Project Firewall in Internet Security Student Name: Jinqi Zhang Student ID: Instructor Name: Dr.Anvari.
IPv6 Matrix Project - Page 1 IPv6 Matrix Project Tracking IPv6 connectivity Worldwide Dr. Olivier MJ.
CCNA 2 Router and Routing Basics Module 8 TCP/IP Suite Error and Control Messages.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Anti-Spam Managing Spam with Kerio Connect
Voice Performance Measurement and related technologies
LESSON Networking Fundamentals Understand TCP/IP.
Essential tools for implementing and testing websites
Measuring IXP Interconnectivity
21-2 ICMP(Internet control message protocol)
Recall IPv4 Datagram Format
Chapter 9 ICMP.
Practical Censorship Evasion Leveraging Content Delivery Networks
ICMP ICMP = Internet Control Message Protocol Layer 3
COMPUTER NETWORKS CS610 Lecture-33 Hammad Khalid Khan.
Part1: Ipconfig ping command Tracert command Getmac command
Troubleshooting IP Communications
Introduction to Networking
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
PHP / MySQL Introduction
Fix AOL Mail Error Code 554 Call for Help
Utilization of Azure CDN for the large file distribution
Providing Network Services
Packet Sniffing.
Dude, where’s that IP? Circumventing measurement-based geolocation
Phillipa Gill University of Toronto
Internet Control Message Protocol Version 4 (ICMPv4)
ARP Spoofing.
Chapter 10 IGMP Prof. Choong Seon HONG.
Internet Control Message Protocol
New user support application (in preparation)
Internet Control Message Protocol
Computer Networks Primary, Secondary and Root Servers
LO1 – Understand Computer Hardware
Computer Networks ARP and RARP
Internet Control Message Protocol
TCP/IP Protocol Suite 1 Chapter 9 Upon completion you will be able to: Internet Control Message Protocol Be familiar with the ICMP message format Know.
Presentation transcript:

Spam detection using IP geolocation O-talk Andriy Stetsko

2 Outline Possible sources of geolocation data Overview of available geolocation databases Results of tests of selected geoip databases performance test coverage & accuracy tests Results of tests of Bayes classifier detection accuracy when geolocation information IS NOT used geolocation information IS used

3 Sources of geolocation data (1) Public WHOIS database maps IPs & real-world entries organization address ≠ geolocation of IP Users answer to location questions on web-site entries can be wrong Applications HTTP Accept-Charset header sent by browser not always available can be falsified

4 Sources of geolocation data (2) Round trip time to landmark ICMP echo message not all target hosts respond to ICMP echo target host may consider it as attack poor with regard to hosts with high latency connections target host can delay its replies ISP obtain (purchase) network topology

5 Overview of geolocation databases (1) IP2Location 18 databases MaxMind GeoIP Country, GeoIP City GeoLite Country, GeoLite City Quova Digital-element IPligence Lite, Basic, Max Lite Free

6 Overview of geolocation databases (2) Geobytes IPInfoDB (compiled from GeoLite City) Country City ● 3 IP digits precision ● 4 IP digits precision Software77 IP::Country::Fast IP::Country::DB_File built from publicly available statistics files of Regional Internet Registries

7 Databases to test

8 Performance test Test measures time needed to process requests Test was repeated 10 times for each database

9 Coverage & accuracy tests (1) Test was done for 840 IP addresses Coverage = (840 - #Uncovered) / 840 Accuracy = (840 - #Incorrect) / 840

10 Coverage & accuracy tests (2) Database #3 Database #4

11 Bayes detection accuracy (1) SpamAssassin v running on Perl v RelayCountry plugin analyses “Received” headers adds “X-Relay-Countries” header Database of s spam & 9072 ham s contain headers added by spam detection software

12 Bayes detection accuracy (2) Test #4: No difference between detection accuracy of Bayes classifier when RelayCountry plugin is used and when it is not used

13 Bayes detection accuracy (3) Test #1 and #2: introduction of geolocation info increased detection accuracy but not so much ham recognition accuracy was the same in both cases detection accuracy in Test#2 was worse than in Test#1 Test #3: detection accuracy was higher than in Tests #1 and #2

14 Conclusion & future work Geolocation info increases detection accuracy of SpamAssassin Bayes classifier increase weights of tokens containing geolocation info Token expiration has great impact on detection accuracy of Bayes classifier propose more effective expiration policy Explore correlation between charset and country code (returned by RelayCountry) of sender Explore correlation between TLD of sender and country code (returned by RelayCountry module) of sender Configuration tool for RelayCountry plugin

15 Thank you for your attention!