Advertisement
infodox

SpyEye Checker

Aug 14th, 2012
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.53 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # Spy_Check.py - Insecurety Research 2012
  3. # Checks generically for Spyeye infection
  4. # Note: This is NOT a definitive test. If it comes clean, scan anyway.
  5. # This technique worked fine on most version of Spyeye
  6. import os
  7. import sys
  8.  
  9. spypath = '''%SystemDrive%\cleansweep.exe\''' #thx to @Zy0d0x it now checks all drives.
  10. if os.path.exists(spypath):
  11.    print "Host infected with Spyeye!\n"
  12.    print "Clean your box with an AV?"
  13.    sys.exit(0)
  14. else:
  15.    print "Host seems clean. Scan anyway."
  16.    sys.exit(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement