Cracking Password File kompresi
RAR & Zip
kali ini saya akan memperkenalkan sepasang kekasih .... (ekh ?tool mksd.a heheheh :D ) untuk membuka file kompresi rar/zip,marilah kita sambut pasangan yg sudah tidak asing lagie inilah dia FCRACKZIP dan RARCRACK....wkwkwkw.
Mari kita mulai dari mas FCRACKZIP terlebih dahulu.FCRACKZIP
Lokasi tool ini berada di Backtrack > Forensics > Password forensic tools > fcrackzipCara penggunaannya?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| root@iKONs:~# fcrackzip -hfcrackzip version 1.0, a fast/free zip password crackerwritten by Marc Lehmann <pcg@goof.com> You can find more info onUSAGE: fcrackzip[-b|--brute-force] use brute force algorithm[-D|--dictionary] use a dictionary[-B|--benchmark] execute a small benchmark[-c|--charset characterset] use characters from charset[-h|--help] show this message[--version] show the version of this program[-V|--validate] sanity-check the algortihm[-v|--verbose] be more verbose[-p|--init-password string] use string as initial password/file[-l|--length min-max] check password with length min to max[-u|--use-unzip] use unzip to weed out wrong passwords[-m|--method num] use method number "num" (see below)[-2|--modulo r/m] only calculcate 1/m of the passwordfile... the zipfiles to crackmethods compiled in (* = default):0: cpmask1: zip1, TARGET_CPU=02: zip2, TARGET_CPU=0, USE_MULT_TAB3: zip3, TARGET_CPU=54: zip4, TARGET_CPU=5, USE_MULT_TAB5: zip5, TARGET_CPU=6*6: zip6, TARGET_CPU=6, USE_MULT_TAB |
- Brute Force
1
fcrackzip -b -v FILE.ZIP - Dictionary
Karena Passwords List di BT5 berada di /pentest/passwords/wordlists/darkc0de.lst, maka:1fcrackzip -D -p /pentest/passwords/wordlists/darkc0de.lst FILE.ZIP
RARCRACK
Berbeda dengan fcrackzip yang telah tersedia di dalam OS Backtrack maka RARCRACK ini harus didownload terlebih dahulu,Informasi yang saya dapatkan dari saudara Liyan Oz, tool bernama RARCRACK bisa didapatkan disini.
Pertama pastikan Linux anda terinstall:
1
| #apt-get install libxml2-dev build-essential |
1
2
3
4
5
6
7
8
9
| #tar -xvf rarcrack-0.2.tar.bz2#cd rarcrack-0.2#makeYou must be root to run the following command#make install |
1
2
3
4
5
6
7
8
9
10
11
12
13
| root@iKONs:~# rarcrack --helpRarCrack! 0.2 by David Zoltan Kedves (kedazo@gmail.com)Usage: rarcrack encrypted_archive.ext [--threads NUM] [--type rar|zip|7z]Options: --help: show this screen.--type: you can specify the archive program, this needed whenthe program couldn't detect the proper file type--threads: you can specify how many threadswill be run, maximum 12 (default: 2)Info: This program supports only RAR, ZIP and 7Z encrypted archives.RarCrack! usually detects the archive type. |
Pada folder rarcrack-0.2 hasil extract diatas terdapat file test.rar, test.zip dan test.7z yang dapat dilakukan percobaan cracking passwordnya, oke kita akan coba lakukan pada file test.rar.
Jika kita hanya melakukan:
1
2
3
4
| root@iKONs:~/Programs/rarcrack-0.2# rarcrack test.rarRarCrack! 0.2 by David Zoltan Kedves (kedazo@gmail.com)Segmentation fault |
1
| rarcrack --threads 12 --type rar test.rar |
Setelah selesai (jika password dapat di-crack) maka akan muncul tulisan “GOOD: password cracked: ’100′” yang artinya password file test.rar itu adalah 100, voila!
Proses cracking dengan metode brute-force selalu menghabiskan kekuatan CPU, silahkan lihat pada gambar berikut:
Untuk password dengan special character (;><@&*$, dsb) dan panjang diatas 4 karakter akan memakan waktu yang banyak
Di laptop saya dengan spesifikasi Intel(R)
Core(TM)2 Duo CPU P8800 @ 2.66GHz, RAM 3GB, VGA GeForce GT 240M
membutuhkan waktu sekitar 1 jam untuk cracking password = p@ss.
Ingin mempelajari lebih lanjut?? dapat dilihat pada sumber dibawah.
Ingin mempelajari lebih lanjut?? dapat dilihat pada sumber dibawah.
Mengutip dari saudara Zee Eichel, saya iKONs undur diri mencari jodoh hahaha……
Sumber: