Top Banner
A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared By: Amit Shrivastava
30

A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Dec 18, 2015

Download

Documents

Mercy Nicholson
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

A Crawler-based Study of Spyware on the Web

Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy

Presented At: NDSS, 2006

Prepared By: Amit Shrivastava

Page 2: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Overview

User visits website Web spyware infects computer Computer is unhappy

vs.

Page 3: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Introduction

Spyware study Infected 80% of AOL users 93 spyware components (known)

Goals Locate spyware on the internet Gather Internet spyware statistics Quantitative analysis of spyware-laden content on

the web

Page 4: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Introduction cont.

What is spyware? Crawling the web

Web executables Drive-by downloads

Results Improvements

Page 5: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Definition

Spyware – software that collects personal information about users No user knowledge

Spyware techniques: Log keystrokes Collect web history Scan documents on hard disk

Page 6: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Types of Spyware

Spyware-infected executables Content-type header URL extension

Drive-by downloads Malicious web content Produce event triggers

Page 7: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Executable files

Finding executables Content-type (HTTP header) contains .exe URL contains .exe, .cab, or .msi

Hidden executables Embedded file (.zip) URL hidden in JavaScript

Missed executables Hidden URL on dynamic page

Page 8: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Executable files

DL, install, run in a clean VM Tool to automate installer framework

EULA agreements Radio buttons and check boxes

Analyze file Ad-Aware software Log identifies spyware program

Page 9: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Web Crawling

Heritrix public domain Web crawler Search 2,500+ web sites

Different categories 1) Celebrity sites

2) Games sites

3) Music sites

4) Adult sites

5) Online news sites

6) Wallpaper sites

7) Pirate sites

Page 10: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Changing Spyware Environment

2 separate program crawls May, October 2005

Most recent anti-spyware program used October crawl detect mores vulnerabilities

Page 11: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Executable Results

2 separate program crawls May 2005 – 18 million URLs Oct 2005 – 22 million URLs

No appreciable change in spyware

Page 12: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Infected Executables

MAY 2005

Page 13: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Infected Executables

October 2005

Page 14: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Web Categories

Web categories infected with spyware

Page 15: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Spyware Functions

Spyware-infected executablesContain various spyware functionsExecutables may have multiple functions

Page 16: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Spyware Upgrades

Spyware-infected executables May have multiple spyware functions

1,294 infected .exe found in Oct 2005 880 detected 414 new one

Page 17: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Blacklisting Spyware

Block clients from accessing listed sitesDone by firewall or proxyBlacklisting is ineffective

Page 18: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Drive-by Downloads

Spyware from visiting a web pageJavascript embedded in HTML

Modifies system filesModifies registry

entries.

Page 19: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Event Triggers

Event occurs that matches a trigger Trigger Conditions

Process creation File activity (creation) Suspicious process (file modification) Registry file modified Browser/OS crash

Page 20: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

IE Browser Configuration

• Security-related IE dialog boxes

Page 21: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Drive-by Results

3 web crawls May 2005 – 45,000 URLs Oct 2005 – Same URLs Oct 2005 – New URLs

Decrease in infectious URLs

Increase in unique spyware programs

Page 22: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Origin of Drive-by DLs

Top 6 web categories (IE): Pirate sites Celebrity Music Adult Games Wallpaper

Page 23: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Spyware Top 10

Top 6 web categories (IE): Pirate sites Celebrity Music Adult Games Wallpaper

MAY 2005 OCTOBER 2005

Page 24: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Spyware Top 10

May 2005 October 2005

Page 25: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Spyware Trends

Decline in total # of spyware programs Increase of anti-spyware tools Automated patch installations Lawsuits against spyware distributors

Page 26: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Firefox Security

Page 27: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Strengths

Analysis method Studies density of spyware on the Web Produces spyware trends over time

Calculated frequency of spyware on web Distinguished security prompts (y/n)

Found 14% of spyware is malicious Density of spyware is substantial

Page 28: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Weaknesses

URL hidden in JavaScript, dynamic page

Limited by what Ad-Aware is able to detect

Different anti-spyware programs (May/Oct)

Did not crawl entire web

Page 29: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

Improvements

Test multiple browsers

Additional anti-spyware programs

Crawl more URLs

Page 30: A Crawler-based Study of Spyware on the Web Author: Alexander Moshchuk, Tanya Bragin, Steven D.Gribble, Henry M.Levy Presented At: NDSS, 2006 Prepared.

THANK YOU