Docsity

Spyware, Adware and Malicious Activity: Detection, Removal and Prevention, Lab Reports of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE4112 Internetwork Security
Lab 12: Spyware
Group Number: _______________
Member Names: _________________________ _________________________
Date Assigned:
Date Due:
Last Edited: December 11, 2006
Lab Authored by: John Testrake/Frank Johnston
Please read the entire lab and any extra materials carefully before starting. Be sure to
start early enough so that you will have time to complete the lab. Answer ALL questions
and be sure you turn in ALL materials listed in the Turn-in Checklist ON or BEFORE
the Date Due.
Goal: The goal of this lab is to introduce the concept of sypware and explore how it
can negatively impact a computer system. It will specifically explore Spyware, Adware,
and the removal of such malicious activity. The lab will also inform users of tools that
can be used to protect their computer from these attacks.
Summary: This lab will introduce some common Spyware applications that can
infect a computer. It will also introduce a popular Spyware website that can be used as
an informational database on all types of known malicious activity ranging from Trojans,
Viruses, Adware, etc… We will also introduce Spyware detection/removal applications,
along with a registry comparison application that a user can employ to protect their
computer from such attacks.
Background and Theory: Computer attacks have increased
significantly over the years and take the form of Viruses, Trojans, Worms, Spyware,
etc… These attacks are distributed onto computers with the intent to collect personal
information (financial information, social security numbers, etc…), render the computer
useless by formatting it, or causing annoying pop-up ads to appear on the screen.
There are many computer applications that can help prevent the spread and infection of
malicious attacks but it is up to the user (owner of the computer) to take action by using
those applications.
Common terms:
Spyware: Computer software that collects personal information about users without their
informed consent [1]. Spyware accomplishes this by logging user keystrokes, tracking
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Spyware, Adware and Malicious Activity: Detection, Removal and Prevention and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

ECE4112 Internetwork Security

Lab 12: Spyware

Group Number: _______________ Member Names: _________________________ _________________________ Date Assigned: Date Due: Last Edited: December 11, 2006 Lab Authored by: John Testrake/Frank Johnston Please read the entire lab and any extra materials carefully before starting. Be sure to start early enough so that you will have time to complete the lab. Answer ALL questions and be sure you turn in ALL materials listed in the Turn-in Checklist ON or BEFORE the Date Due.

Goal: The goal of this lab is to introduce the concept of sypware and explore how it

can negatively impact a computer system. It will specifically explore Spyware, Adware, and the removal of such malicious activity. The lab will also inform users of tools that can be used to protect their computer from these attacks.

Summary: This lab will introduce some common Spyware applications that can

infect a computer. It will also introduce a popular Spyware website that can be used as an informational database on all types of known malicious activity ranging from Trojans, Viruses, Adware, etc… We will also introduce Spyware detection/removal applications, along with a registry comparison application that a user can employ to protect their computer from such attacks.

Background and Theory: Computer attacks have increased

significantly over the years and take the form of Viruses, Trojans, Worms, Spyware, etc… These attacks are distributed onto computers with the intent to collect personal information (financial information, social security numbers, etc…), render the computer useless by formatting it, or causing annoying pop-up ads to appear on the screen. There are many computer applications that can help prevent the spread and infection of malicious attacks but it is up to the user (owner of the computer) to take action by using those applications. Common terms: Spyware : Computer software that collects personal information about users without their informed consent [1]. Spyware accomplishes this by logging user keystrokes, tracking

visited web sites, deliver unsolicited pop-up ads, or stealing personal files from a computer. The spread of Spyware is not usually through self-propagating worms or viruses, but through computer applications that a user downloads from the Internet. These applications may seem harmless and may even have a good reputation among users, but the application itself is bundled with Spyware that will install on the computer once the downloaded application is installed. But keep in mind, not all downloadable software from the Internet contains Spyware. You can also pick up Spyware through file sharing applications where users have the ability to share music, data files, or any other form of electronic files with other users around the world. Adware : Computer software that automatically plays, displays, or downloads advertising material to a computer after the software is installed on it or while the application is being used [2]. It is often confused with Spyware since it is usually associates itself with Spyware once a tracking feature is implemented. When an application displays ads and tracks the user interaction, the Adware becomes Spyware. Anti-Spyware Applications : Applications that detect and remove known Spyware from a computer. These applications scan a user’s computer comparing known Spyware signatures to files contained on a computer. Once files are detected, the application will alert the user of the infected files and will give the user the option to remove the infected files. Computer Registry: The Microsoft Windows Operating System registry is a reference to all components installed on the computer. The registry contains information as to where applications are installed, how the applications are configured, settings for hardware devices, and settings for user accounts. It is a vital component to the Operating System and this is why it can be very dangerous to edit values contained within the registry. Some known Anti-Spyware Applications include: Spybot Search & Destroy, WebSweeper, and X-Cleaner. There are many other popular Anti-Spyware applications that people use but these three are the one’s we’ll cover in this lab.

Prelab Questions: None.

Lab Scenario: We’ll be using the Microsoft Windows XP Virtual Machine to

perform this lab since most Spyware attacks the Windows Operating System. Part of this lab will also require Internet access to answer some questions. Files needed from the NAS: Start the Windows XP Virtual Machine Access the NAS by going to Select -> Run, Type: \57.35.10.10\secure_class

Running Spy Me Tools: Go to Start -> All Programs -> SpyMe Tools -> SpyMe Tools The program will start up and will display the application like Figure 1.1. Figure 1.1 SpyMe Tools Interface Registry scan dump and comparison: First, we will need to take a snapshot of our current registry configuration. To do this go to Tools -> Scan -> Start. Check HKEY_CURRENT_USER and click “Start Scanning.” Click “Do not protect.” After it has completed, save this scan by going to File -> Save Scan Dump to File. Call the file GroupXX.rdp (where XX is your group number) and save it in the default location. Minimize the SpyMe Tools windows and open the Spyware that you copied. Right-click on the file spyware-key.reg and then click Merge. Click “Yes” when the window pops up asking if you are sure. Click “OK.” Go back to SpyMe Tools. Run another scan like we did previously. When the scan has complete go to Tools -> Compare -> Start. Click Browse to enter an old dump file. Choose the file you saved earlier (GroupXX.rdf). Click “Start Comparing.” The comparison should find any changes that have occurred in the registry. We are only interested in one particular key. Find “ece4112” and click on it to see the “Spyware” value of string “test.”

Screenshot #1 Take a screenshot of the SpyMe comparison results

Section 2: Spyware – search bars

A helpful website that aids a user in known Spyware and other malicious attacks can be found at http://www.spywareguide.com/. SpywareGuide is the leading public reference site for Spyware and greynet research, details about Spyware, Adware and greynet applications and their behaviors, all complied in an extensive updated database [4]. Q 2.1 List the top 3 most detected products on the spywareguide website? Q 2.2 What is the SG index that spywareguide uses? Installing Hotbar: On your desktop in the Spyware folder that you copied earlier, locate the executable: hbtools.exe. Double-click the executable and follow these steps:

  1. If you get a Security Warning, select “Run”
  2. Click “I Accept” to accept the license agreement
  3. Click “Next”
  4. Click “OK” on any windows asking you to close running applications
  5. The application should now be installed Installing eXact Search Bar: On your desktop in the Spyware folder, locate the executable: exactSetup.exe Double-click the executable and follow these steps:
  6. If you get a Security Warning, select “Run”
  7. Click “Next” at the welcome window
  8. Select “I Agree” and click “Next”
  9. Click “Finish” Q 2.3 Why would someone want to install these types of software? Q 2.4 How can system administrators avoid these types of applications from being install on their users’ computers?

Section 3: Webroot Spy Sweeper

Georgia Tech Students:

Figure 1.1 Webroot Spy Sweeper Interface First, we’ll configure some options in Spy Sweeper to better scan the computer for malicious content. Configure Spy Sweeper: Shield Configuration:

  1. Click on Shields on the left side column
  2. Click the Windows System tab
  3. Select the Keylogger check box
  4. Click the Network tab
  5. Select the Common Ad Sites check box Scan Configuration:
  6. Click on Options on the left side column
  7. Under Sweep Type, select Custom Sweep. Under Sweep Settings Summary, click Change Settings (You’ll be redirected to another page once you click Change Settings)
  8. Click What to Sweep on the left side column
  9. Select the Compressed files option and click OK a. Click OK on the Warning
  10. Click Advanced Options on the left side column
  11. Select the Sweep for rootkits option and click OK

Webroot Spy Sweeper is now ready to perform a full system scan. To perform the scan click Sweep Now. Q 3.1 What Spyware applications did Webroot Spy Sweeper detect on the machine? Screenshot #2 Take a screenshot of Webroot Spy Sweeper detecting Spyware Q 3.2 Can Webroot Spy Sweeper be set up to scan your computer automatically on a schedule? And if so, how? Q 3.3 How can you find legitimate Anti-Spyware programs? Q 3.4 List 2 other legitimate Anti-Spyware programs? Q 3.5 List 2 Anti-Spyware programs that don’t prevent Spyware but may install Spyware on your computer themselves (Rogue Anti-Spyware Applications)? Section 4: Host-Based Intrusion Prevention System An Intrusion Prevention System (IPS) is a computer network security concept that acts similar to an Intrusion Detection System (IDS) but will stop computer network traffic that violates the rules and policies of the IPS. An IPS will also act as an IDS by alerting the administrator of any rule/policy violation. Typical responses might be to block all traffic from the source IP address or to block incoming traffic on that port to proactively protect the computer or network [3]. A problem that is associated with an IPS is the false positive scenario. Since an IPS will prevent the computer network traffic that violates any rules, there may be a case in which legitimate data is dropped by the IPS because it violates a rule or policy. This dropped data may legitimate data to the organization that set up the IPS, but forgot to set up the IPS to allow for this computer network traffic. There are many forms of IPS’s and we’ll be using one in particular, the System Safety Monitor (SSM) application. SSM has a free version that we’ll be using but there is an updated version that comes at a cost. For $34.95 you can purchase the newer version of SSM and for an additional $6.99, you can purchase the extended Download service. The extended download service is good for one year and if you decide to format your hard drive or you computer is caught in a fire, you can still get your paid copy of SSM from the website due to this service. SSM Features:

  • Host-Based Intrusion Prevention System
  • Learning Mode - Similar to an anomaly detection system
  • Basic Network Firewall – Control’s generated outbound network traffic

Figure 4.1 System Safety Monitor GUI System Safety Monitor is a host-based intrusion prevention system so when you try to access a program like notepad you will be prompted with an alert ( Figure 4.2) asking if you want to allow this application activity. You can click OK if you want to accept this action just once or you can use the drop down menu to select “running this application” and then click OK. If you select “running this application” you will never be prompted with this alert again. If you want to block this application, select Block and click OK. Go ahead and open up notepad to receive the alert. Select running this application from the drop down menu and click OK.

Figure 4.2 System Safety Monitor Alert You can view the application activity alerts you accepted by opening the System Safety Monitor application and clicking on the Application Rules tab. Screenshot #3 Take a screen shot of the notepad application in the Application Rules tab. Q 4.1 What does “Learning Mode” due?

ECE4112 Internetwork Security

Lab 12: Spyware

Group Number: _______________ Member Names: _________________________ _________________________

Answer Sheet

Section 1: Screenshot #1 Take a screenshot of the SpyMe comparison results Section 2: Q 2.1 List the top 3 most detected products on the spywareguide website? Q 2.2 What is the SG index that spywareguide uses? Q 2.3 Why would someone want to install these types of software? Q 2.4 How can system administrators avoid these types of applications from being install on their users’ computers? Section 3: Q 3.1 What Spyware applications did Webroot Spy Sweeper detect on the machine? Screenshot #2 Take a screenshot of Webroot Spy Sweeper detecting Spyware

Q 3.2 Can Webroot Spy Sweeper be set up to scan your computer automatically on a schedule? And if so, how? Q 3.3 How can you find legitimate Anti-Spyware programs? . Q 3.4 List 2 other legitimate Anti-Spyware programs? Q 3.5 List 2 Anti-Spyware programs that don’t prevent Spyware but may install Spyware on your computer themselves (Rogue Anti-Spyware Applications)? Section 4 Screenshot #3 Take a screen shot of the notepad application in the Application Rules tab. Q 4.1 What does “Learning Mode” due? General Questions How long did it take you to complete this lab? Was it an appropriate length lab? What corrections and or improvements do you suggest for this lab? You may cross out and edit the text of the lab on previous pages to make corrections. What corrections and or improvements do you suggest for this lab? Please be very specific and if you add new material give the exact wording and instructions you would give to future students in the new lab handout. You need to be very specific and provide details. You need to actually