Home > Enterprise Desktop Tips > > Find that infected computer
Enterprise Desktop Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Find that infected computer


Brad Blauvelt
02.19.2002
Rating: -3.75- (out of 5)


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


This tip was submitted to the SearchWin2000.com Tip Exchange by member Brad Blauvelt. Let other users know how useful it is by rating the tip below.


You have a virus epidemic on some of your client computers. But which ones? Utilizing "NET SEND" in your NT/2000 logon script may help find them.

So some of your users opened that message and attachment promising a photo of Anna Kournikova or worse. And now you get to clean up the mess. You're not looking forward to going from computer to computer to find out which ones have it and which ones don't. There's where the "net send" command can come in handy. If the virus (as many do) writes specific-named files to the client's hard drive, net send can be configured to send you a message telling you which computers are infected. Here's an example.

if exist C:WINDOWSANNAKOURNIKOVA.JPG.VBS net 
    send ADMINPC "The Computer named %COMPUTERNAME% is 
    infected with the Anna Kournikova virus"
You'll need to check a good anti-virus vendor site to find a file name to refer to, then replace "c:windowsannakournikova.jpg.vbs" with the infected file name. Unfortunately, this will not work for viruses like Magistr, which infect files at random on your system.

Next, you change the "ADMINPC" to whatever destination computer name you want the message sent to. The destination computer needs to have Windows Messenger Service running, or WinPopUp if it's a Windows 9x computer.

The text that follows - "The computer named . . ." can be any text you'd like. The %computername% variable is a useful, as it will read from the client computer's environment include it in the message.

The destination computer will receive a message on the screen, and if it's an NT/2000 system, an event will be written to the System Log.


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


Submit a Tip




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



RELATED CONTENT
Network intrusion detection and prevention and malware removal
20 days to a more secure enterprise
Improvements to offline file synchronization in Windows 7
Underlying causes of inconsistent patch management
Windows security tools for the busy desktop administrator
Check IT List: Five steps for rootkit detection
Top Windows client security tools for end users
Hacking Exposed Windows: Windows security features and tools
Tools for virus removal and detection
Windows security testing: Five tips for the summer
Buffer overflows can be prevented by GS cookies

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.



Enterprise Desktop Security - Virus Protection, Malware Protection, Intrusion Detection
HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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