Home > Networking Tips > Network Security > Check IT List: How to detect spyware on PCs
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

NETWORK SECURITY

Check IT List: How to detect spyware on PCs


Ed Tittel, Contributor
02.16.2005
Rating: -3.67- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


You Can View User Feedback To This Tip

It could happen to you. Your PCs could be infested with spyware or adware. The key is to know where to look and what to record as spyware digs through your hard disk, memory and Windows registry. I recently dug into several machines on my primary network to look for spyware or adware infestation. I recommend going through this process regularly, using one of many available commercial and freeware tools (see list below).

  1. Before using a commercial or freeware tool, do as much cleanup as possible. Run antivirus and antispyware scans and clean up any unruly items that might be discovered. There are several tutorials on the Web on this subject. Note that experts strongly recommend that you use and run more than one anti-adware/antispyware scan and clean up thoroughly before proceeding any further.

  2. Create a check point or a backup of your system. If you are running Windows XP, it's a good idea to create a System Restore point (Start, Help and Support, Undo changes to your system with System Restore, then click the Create a restore point radio button) at a minimum. A more paranoid approach (and the only one available to those running other Windows operating systems) is to create a full system backup, including system state information (you can always use NTBackup.exe if nothing else is available; it's included with all modern versions of Windows). That way, if anything goes awry through the remaining steps, you can always return your system to its former state.

  3. Shut down all nonessential applications. Some antispyware programs pick up traces from all processes running on your PC, including your Windows Registry. Exiting all applications before running the antispyware program saves time.

  4. Run your antispyware program. For the purpose of this tip, I used Hijack This. Find the directory where you unpacked the Zip file for the program, then double-click on the file named HijackThis.exe. The opening screen includes a button labeled "Do a system scan and save a logfile." By default, the log file goes to your My Documents folder; I find it helpful to add the date and time to the filename so that hijackthis.log becomes hijackthis-yymmdd:hh.mm.log. (The hh.mm are hours and minutes on a 24-hour clock.) Since you'll typically run Hijack This twice on any given day (once to get started, then again to see what's left following cleanup), the time stamp is a good idea -- plus, you'll have records for later if you help interpreting the log files.

  5. Look at the scan results in the Hijack This results window. This is the same information that's written to the log file, but you'll find a check box to the left of each entry. If you check any box, you can then click the Fix Checked button and have Hijack This remove all traces of its existence. There's a lot of cryptic-looking text in there. You can scan through it quickly and decide not to take any action at this time. The real problem is recognizing what's potentially bad, what's needed, and what doesn't matter. Analysis tools come in handy here. Don't close the Hijack This results window, because you may return to it again in a later step.

  6. Run your log through a Hijack This log analysis program. You can use either the Help2Go Detective or the Hijack This Analysis tool. After numerous encounters with both, I preferred the Help2Go Detective, but both are worth a try. You'll find specific information and recommendations about nearly every entry in the Hijack This log, including suggestions as to what should stay, what can go (but is benign), what is suspicious (which may have to go, but will require further research on your part) and what must go (because it's malign). At this point you can check all the boxes for items that are known to be malign or associated with known spyware or adware.

  7. Check suspicious items (includes optional activity). Sometimes you can look at the Registry Key name or the associated file and folder information and see that even though the analysis program (and obviously, Hijack This) doesn't recognize the item, it's part of a program you've installed deliberately and use at your discretion. Such items can usually be left alone. If neither you nor any of these programs recognize the item, the safest choice is to back it up and then remove it. (If you take this step, however, the only way to get things back is to restore a backup or return to an earlier Restore Point.) If you want to actually understand what you're seeing, take the extra step of searching by name on the item in Google or another search engine. In 99% of cases, I was able to approve or disapprove what was found in two minutes or less. Only a few items -- most notably, DLLs, required more than a quick check by name to identify and rule on.

  8. Click the checkbox on bad and unrecognizable suspicious items, then push the "Fix checked" button inside the Hijack This results window. You can also highlight individual items by clicking on them in the scrollable results window, then request additional information about them by clicking the "Info on selected item…." It's better to do this now rather than during the previous step, because the analysis tools are quicker and more user-friendly.

  9. Reboot your system and see how things work. This is where you'll determine if you need to roll back to your Restore Point or restore your backup, which you'll do if things don't work properly, applications quit working or get flaky, or things don't seem quite right. If Windows won't boot completely, hold the F8 key down during initial boot-up, boot into the Safe Boot menu, then click the Last Known Good Configuration selection. This will boot OK, after which you should roll back to the Restore Point or restore the backup you took in Step 2. If you take this option, you can skip step 10 because no changes will remain.

  10. Run a final Hijack This scan: Repeat step 4 but remember to change the time stamp on your log file. You can scan the results to make sure removed items cleaned up fine, or you can just save this as a snapshot of your PC's condition, post clean-up (it may make an interesting point of comparison the next time you walk through this exercise).

I recommend making this process a part of regular system maintenance, which may be performed as frequently as once or twice a month, and no less than once every three months.

Antispyware and anti-adware tools:
Majorgeek.com's Hijack This
Uniblue's WinTasks 5 Professional
Neuber's Security Task Manager

Free log analysis tools:
Help2Go Detective
Hijack This Analysis

Ed Tittel is a full-time freelance writer, trainer, and consultant who specializes in matters related to information security, markup languages and networking technologies. He's a regular contributor to numerous TechTarget Web sites and technology editor for Certification Magazine, and he writes an e-mail newsletter for CramSession called "Must Know News."

USER FEEDBACK TO THIS TIP

  • I suggest you clean out all your Temporary Internet Files before running any spyware programs. Using msconfig.exe can also help aid people in stopping processes that look "suspicious."— Julie Rowe

Do you have comments on this tip? Let us know.


Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Network Engineering
How to achieve server virtualization in your network
Limit network energy consumption with computer cooling technologies
Understanding remote scripting -- Managing Windows networks using scripts, part 9
Network mapping in Vista for Windows XP
Recovering domain controllers after a server disk failure
Recovering from a server disk failure: The shortcomings of NTBCKUP
Enabling Windows Vista's Network Mapping feature on domain networks
Prevent unauthorized USB devices with software restriction policies, third-party apps
How to subnet: Subnetting calculations and shortcuts
Using Windows Vista group policy to prevent unauthorized USB device use

Network Security
Shifting defenses and dynamic perimeters challenge network security
Compliance in a virtualized world: Server virtualization and NAC security
Securing the new network architecture: Security for distributed, dynamic networks
How to configure Windows Server 2008 advanced firewall MMC snap-in
Security across network boundaries with Secure Mobile Architecture
USB storage devices: Two ways to stop the threat to network security
Network security: Using unified threat management (UTM)
Network security: Empower users without endangering IT
Network analysis -- Enhancing security assessments
VPN security: Hiding in plain sight, using network encryption

Network Security Products
Securing the new network architecture
What security measures are recommended for each level of the TCP/IP model?
Securing the new network architecture: Security for distributed, dynamic networks
What is data loss prevention? -- An introduction to DLP
To simulate voice over IPSec VPNs which simulators work?
Is my firewall setting preventing wireless network guest access?
How to configure Windows Server 2008 advanced firewall MMC snap-in
How to retrieve passwords from locked laptops
How to interpret test scan results to assess network vulnerability
What commands allow network traffic to pass through PIX firewalls?

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Nessus  (SearchNetworking.com)
network analyzer  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business
IT Management Solutions and Services Directory.
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts