crack (ÆÐ½º¿öµå Á¡°Ë)
[ ÁÖÀÇ»çÇ× ]
ÀÌ ÅøÀº ÇØÄ¿µéÀÌ ÆÐ½º¿öµå¸¦ ¾Ë¾Æ³»´Â ÇØÅ·Åø·Îµµ ¸¹ÀÌ »ç¿ëµÇ´Â °ÍÀ̹ǷΠ»ç¿ë¿¡ À¯ÀÇÇϽñ⠹ٶø´Ï´Ù
Áï, º¸¾ÈÀ» À§ÇØ ¼¹ö°ü¸®ÀÚ°¡ »ç¿ëÇÏ¸é º¸¾Èµµ±¸°¡ µÇ¸ç, ÇØÄ¿°¡ »ç¿ëÇϸé ÇØÅ·ÅøÀÌ µË´Ï´Ù.
ÀÌ ÅøÀº ½Ã½ºÅÛ¿¡ ¼³Ä¡µÇ¾î ÀÖ´Â ÆÐ½º¿öµåÆÄÀÏ(/etc/passwd)ÆÄÀÏÀÇ ´ÙÀ½°ú °°Àº Á¡°ËÀ» ÇϱâÀ§ÇØ »ç¿ëÇÏ´Â µµ±¸ÀÔ´Ï´Ù.
ÆÐ½º¿öµå ¾Ë¾Æ³»±â
½¬¿îÆÐ½º¿öµå Á¡°ËÇϱâ
Ãë¾àÇÑ ÆÐ½º¿öµå Á¡°ËÇϱâ
À§ÀÇ ÁÖÀÇ»çÇ׿¡¼ ¸»¾¸µå·ÈµíÀÌ ÀÌ ÅøÀº ÁÖ·Î ÇØÄ¿µéÀÌ Æ¯Á¤½Ã½ºÅÛÀÇ »ç¿ëÀÚÆÐ½º¿öµå¸¦ ¾Ë¾Æ³»±â À§ÇØ »ç¿ëµÇ´Â °ÍÀÔ´Ï´Ù.
µû¶ó¼ ½Ã½ºÅÛ°ü¸®ÀÚ´Â ÆÐ½º¿öµåÆÄÀÏ(/etc/passwd)ÆÄÀϰü¸®¿¡ ¸¸ÀüÀ» ±âÇØ¾ß ÇÒ °ÍÀÔ´Ï´Ù.
¶ÇÇÑ ÀÌ Åø·Î ¾Ë¾Æ³½ ÆÐ½º¿öµåÀÇ ¼ÒÀ¯ÀÚ(°èÁ¤¼ÒÀ¯ÀÚ)¿¡°Ô ¿¬¶ôÇÏ¿© ÆÐ½º¿öµå¸¦ ¾Ë¾Æ³»±â ¾î·Á¿î ÆÐ½º¿öµå·Î º¯°æÇ϶ó°í Á¶Ä¡ÇϼžßÇÕ´Ï´Ù. ÀÌ Åø·Î ÆÐ½º¿öµå¸¦ ¾Ë ¼ö ÀÖ´Ù´Â °ÍÀº ÇØÄ¿µéÀÌ ³Ê¹«³ª ½±°Ô ¾Ë¾Æ³¾ ¼ö ÀÖ´Ù´Â °Í°ú °°Àº ÀǹÌÀ̱⠶§¹®ÀÔ´Ï´Ù.
1. CrackÅø ±¸Çϱâ
ftp://ftp.cerias.purdue.edu/pub/tools/unix/pwdutils/crack/
2. Crack °£·«ÇÑ ¼³Ä¡º¸±â
¹Ù»Ú½Å ºÐµéÀ» À§ÇÏ¿© ÀÌ ÅøÀ» ¼³Ä¡ÇÏ´Â °£´ÜÇÑ ¸í·É¾îÀÔ´Ï´Ù. ÀÚ¼¼ÇÑ ¼³Ä¡¸í·É¾î¿Í ½ÇÁ¦¿¹´Â µÚ¿¡ °è¼ÓµË´Ï´Ù.
ÇÁ·Î±×·¥ÀÔ¼ö
¾ÐÃàÇØÁ¦
Crack ÆÄÀÏ ½Ã½ºÅÛ¿¡ ¾Ë¸Â°Ô ¼öÁ¤
./Crack -makeonly
./Crack -makedict
./Crack /etc/passwd
./Reporter
./Reporter -quiet
./Reporter -html
8. ÀÚ¼¼ÇÑ ¼³Ä¡
[root] tar xvfp crack5.0.tar
[root 122 ] cd c50a
[root/c50a 124 ] vi Crack
[root/c50a 126 ] ./Crack -makeonly
Crack 5.0a: The Password Cracker.
(c) Alec Muffett, 1991, 1992, 1993, 1994, 1995, 1996
System: OSF1 webserver.jindong.net V4.0 878 alpha
Home: /staff/master/c50a
Invoked: ./Crack -makeonly
Option: -makeonly enabled
Stamp: osf1-v4-alpha
Crack: making utilities in run/bin/osf1-v4-alpha
find . -name "*~" -print | xargs -n50 rm -f
( cd src; for dir in * ; do ( cd $dir ; make clean ) ; done )
rm -f dawglib.o debug.o rules.o stringlib.o *~
/bin/rm -f *.o tags core rpw destest des speed libdes.a .nfs* *.old *.bak destest rpw des speed
rm -f *.o *~
`../../run/bin/osf1-v4-alpha/libc5.a' is up to date.
all made in util
Crack: makeonly done
[root/c50a 127 ]
[root/c50a 127 ] ./Crack -makedict
Crack 5.0a: The Password Cracker.
(c) Alec Muffett, 1991, 1992, 1993, 1994, 1995, 1996
System: OSF1 webserver.jindong.net V4.0 878 alpha
Home: /staff/master/c50a
Invoked: ./Crack -makedict
Option: -makedict enabled
Stamp: osf1-v4-alpha
Crack: making utilities in run/bin/osf1-v4-alpha
find . -name "*~" -print | xargs -n50 rm -f
( cd src; for dir in * ; do ( cd $dir ; make clean ) ; done )
rm -f dawglib.o debug.o rules.o stringlib.o *~
/bin/rm -f *.o tags core rpw destest des speed libdes.a .nfs* *.old *.bak destest rpw des speed
rm -f *.o *~
`../../run/bin/osf1-v4-alpha/libc5.a' is up to date.
all made in util
Crack: The dictionaries seem up to date...
Crack: makedict done
[root/c50a 128 ]
[root/c50a 128 ]
[root/c50a 132 ]
[root/c50a 132 ] ./Crack ./shadow
Crack 5.0a: The Password Cracker.
(c) Alec Muffett, 1991, 1992, 1993, 1994, 1995, 1996
System: OSF1 webserver.jindong.net V4.0 878 alpha
Home: /staff/master/c50a
Invoked: ./Crack ./shadow
Stamp: osf1-v4-alpha
Crack: making utilities in run/bin/osf1-v4-alpha
find . -name "*~" -print | xargs -n50 rm -f
( cd src; for dir in * ; do ( cd $dir ; make clean ) ; done )
rm -f dawglib.o debug.o rules.o stringlib.o *~
/bin/rm -f *.o tags core rpw destest des speed libdes.a .nfs* *.old *.bak destest rpw des speed
rm -f *.o *~
`../../run/bin/osf1-v4-alpha/libc5.a' is up to date.
all made in util
Crack: The dictionaries seem up to date...
Crack: Sorting out and merging feedback, please be patient...
Crack: Merging password files...
Crack: Creating gecos-derived dictionaries
mkgecosd: making non-permuted words dictionary
mkgecosd: making permuted words dictionary
Crack: launching: cracker -kill run/Kwebserver.jindong.net.8457
Done
4. Å©·¢Çϱâ(ÆÐ½º¿öµå ¾Ë¾Æ³»±â) ¹æ¹ý1
[root/c50a 134 ] ./Reporter
¾Æ·¡ÀÇ ¸Þ½ÃÁö¸¦ º¸½Ã¸é IDµÚ¿¡ ³ª¿À´Â ´ë°ýÈ£ ( [ ] ) ³»ÀÇ ¹®ÀÚ°¡ ÇØ´ç IDÀÇ ÆÐ½º¿öµåÀÔ´Ï´Ù.
---- passwords cracked as of 2000.08.28 ¿ù¿äÀÏ 02:23:58 ----
5262363671:Guessed kingkongl [kingkong1] . [./sample_pass /noshell]
5262363748:Guessed battnam [battnam12] . [./sample_pass /noshell]
5262363749:Guessed kkekna [12kkekna] . [./sample_pass /noshell]
5262363749:Guessed aesjang [aesjang1] . [./sample_pass /noshell]
5262363749:Guessed jjkim [jjkim1] . [./sample_pass /noshell]
5262363749:Guessed kishan [kishan1] Byung Jan Chong [./sample_pass /noshell]
5262363749:Guessed mission2 [mission21] . [./sample_pass /noshell]
[root/c50a 142 ]
5. Å©·¢Çϱâ(ÆÐ½º¿öµå ¾Ë¾Æ³»±â) ¹æ¹ý2
[root/c50a 142 ] ./Reporter -quiet
---- passwords cracked as of 2000.08.28 ¿ù¿äÀÏ 02:25:06 ----
5262363671:Guessed kingkongl [kingkong1] . [./sample_pass /noshell]
5262363748:Guessed battnam [battnam12] . [./sample_pass /noshell]
5262363749:Guessed kkekna [12kkekna] . [./sample_pass /noshell]
5262363749:Guessed aesjang [aesjang1] . [./sample_pass /noshell]
5262363749:Guessed jjkim [jjkim1] . [./sample_pass /noshell]
5262363749:Guessed kishan [kishan1] Byung Jan Chong [./sample_pass /noshell]
5262363749:Guessed mission2 [mission21] . [./sample_pass /noshell]
---- done ----
[root/c50a 144 ]
6. Å©·¢Çϱâ(ÆÐ½º¿öµå ¾Ë¾Æ³»±â) ¹æ¹ý3
[root/c50a 144 ] ./Reporter /staff/master/c50a/shadow
---- passwords cracked as of 2000.08.28 ¿ù¿äÀÏ 02:25:34 ----
5262363671:Guessed kingkongl [kingkong1] . [./sample_pass /noshell]
5262363748:Guessed battnam [battnam12] . [./sample_pass /noshell]
5262363749:Guessed kkekna [12kkekna] . [./sample_pass /noshell]
5262363749:Guessed aesjang [aesjang1] . [./sample_pass /noshell]
5262363749:Guessed jjkim [jjkim1] . [./sample_pass /noshell]
5262363749:Guessed kishan [kishan1] Byung Jan Chong [./sample_pass /noshell]
5262363749:Guessed mission2 [mission21] . [./sample_pass /noshell]
---- done ----
[root/c50a 145 ]
[root/c50a 145 ]
7. Å©·¢Çϱâ(ÆÐ½º¿öµå ¾Ë¾Æ³»±â) ¹æ¹ý4
[root/c50a 146 ] ./Reporter ./passwd
---- passwords cracked as of 2000.08.28 ¿ù¿äÀÏ 02:26:38 ----
5262363671:Guessed kingkongl [kingkong1] . [./sample_pass /noshell]
5262363748:Guessed battnam [battnam12] . [./sample_pass /noshell]
5262363749:Guessed kkekna [12kkekna] . [./sample_pass /noshell]
5262363749:Guessed aesjang [aesjang1] . [./sample_pass /noshell]
5262363749:Guessed jjkim [jjkim1] . [./sample_pass /noshell]
5262363749:Guessed kishan [kishan1] Byung Jan Chong [./sample_pass /noshell]
5262363749:Guessed mission2 [mission21] . [./sample_pass /noshell]
[root/c50a 147 ]
8. ½ÇÁ¦·Î Á¸ÀçÇÏ´ÂÁöÀÇ À¯¹«È®ÀÎ
[root/c50a 166 ] grep kingkong /etc/passwd
kingkong:G48gRPs3mKt9k:34079:15:kim hyun kon:/home/kingkong:/bin/csh
[root/c50a 174 ]
9. Å©·¢ÇÑ ID¿Í ÆÐ½º¿öµå·Î ½ÇÁ¦·Î ·Î±×ÀÎÇϱâ
[root/c50a 175 ] telnet smakii119.co.kr
Trying smakii119.co.kr...
Connected to smakii119.co.kr
Escape character is '^]'.
login: kingkong
Password: ********
Digital UNIX V4.0D (Rev. 878); Fri Jan 14 06:31:22 KST 2000
[webserver:/user1/kingkong 1 ]
[webserver:/user1/kingkong 1 ] id
uid=6304(kingkong) gid=50(webhost)
[webserver:/user1/kingkong 2 ]
[webserver:/user1/kingkong 2 ]
[webserver:/user1/kingkong 2 ]
[webserver:/user1/kingkong 2 ] ls -al
total 17
1 drwx--x--x 3 kingkong webhost 512 7¿ù28ÀÏ 22:59 ./
9 drwxr-xr-x 509 root system 9216 8¿ù26ÀÏ 10:58 ../
3 -rwxr-xr-x 1 kingkong webhost 2072 12¿ù19ÀÏ 1999 .cshrc*
2 drwxr-xr-x 5 kingkong webhost 1536 7¿ù 3ÀÏ 11:33 html/
2 -rw-r--r-- 1 kingkong webhost 2005 7¿ù28ÀÏ 23:02 suid
[webserver:/user1/kingkong 3 ]
[webserver:/user1/kingkong 3 ]
[webserver:/user1/kingkong 3 ]
[webserver:/user1/kingkong 3 ] id
uid=6304(kingkong) gid=50(webhost)
[webserver:/user1/kingkong 4 ]
[webserver:/user1/kingkong 4 ]
[webserver:/user1/kingkong 4 ] exit
[webserver:/user1/kingkong 5 ] logout
Connection closed by foreign host.
[root/c50a 176 ]