ubnt解决方案
楼主: chinajack

[分享] 直接搞定WPA和WPA2 无线密码P解工具

   关闭 [复制链接]

206

回帖

711

积分

284 小时

在线时间

中尉

注册时间
2009-11-5
金币
476 个
威望
0 个
荣誉
0 个
累计签到:31 天
连续签到:0 天
[LV.50]初入江湖
发表于 2009-12-9 14:15 |显示全部楼层
谢谢楼主 分享
回复

使用道具 举报

154

回帖

275

积分

45 小时

在线时间

少尉

注册时间
2009-3-13
金币
116 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-12-9 15:21 |显示全部楼层
有用吗?用过的说说
回复

使用道具 举报

134

回帖

279

积分

31 小时

在线时间

少尉

注册时间
2009-10-19
金币
142 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-12-10 00:15 |显示全部楼层
不懂用,太贵了!!!
回复

使用道具 举报

611

回帖

2489

积分

117 小时

在线时间

少校

注册时间
2009-2-14
金币
1827 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-12-10 10:42 |显示全部楼层
不管好不好,先鄙视下楼主
% _6 `# z4 v' Q2 ~- @( G! l我不会下的
回复

使用道具 举报

252

回帖

1058

积分

43 小时

在线时间

上尉

注册时间
2008-7-25
金币
766 个
威望
6 个
荣誉
0 个

尚未签到

发表于 2009-12-10 12:23 |显示全部楼层
真的有这么神奇的工具么?这个要学习一下了。
回复

使用道具 举报

75

回帖

143

积分

22 小时

在线时间

上等兵

注册时间
2009-12-6
金币
60 个
威望
1 个
荣誉
0 个

尚未签到

发表于 2009-12-12 12:17 |显示全部楼层
没钱啦。。。
回复

使用道具 举报

25

回帖

49

积分

27 小时

在线时间

新兵上阵

注册时间
2009-12-6
金币
19 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-12-12 17:11 |显示全部楼层
不是吧  这么贵
回复

使用道具 举报

100

回帖

309

积分

18 小时

在线时间

少尉

注册时间
2009-10-28
金币
203 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-12-12 23:00 |显示全部楼层
呵呵     ,妈的全是EN
回复

使用道具 举报

100

回帖

309

积分

18 小时

在线时间

少尉

注册时间
2009-10-28
金币
203 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-12-12 23:00 |显示全部楼层
能不能有用啊。呵呵
回复

使用道具 举报

399

回帖

1492

积分

105 小时

在线时间

上尉

注册时间
2009-7-23
金币
1047 个
威望
0 个
荣誉
0 个
累计签到:3 天
连续签到:0 天
[LV.20]漫游旅程
发表于 2009-12-13 00:23 |显示全部楼层
coWPAtty for Windows MAIN:! w) e& s5 ~: Q5 m8 H7 a
* d- G. a$ H. W# `2 h- A! W2 e
"coWPAtty is designed to audit the pre-shared key (PSK) selection for WPA networks based on the TKIP protocol." - Joshua Wright. 3 d5 y. k5 W1 }* e, {; {
, v& T. o3 E0 [) J8 m. k8 r1 [1 Y/ _ ; t9 a: q" Z- I" N4 P3 L/ n

7 s# J' U, ~  GProject Homepage: http://www.willhackforsushi.com/Cowpatty.html
4 V9 m& e8 O' `9 |0 x7 Y2 e& f! ^( \! u2 q$ A% E7 {. g
$ @( M: n8 W  |
4 z4 ^+ c9 b5 v  F, G" N
1 p: j/ [; V; ~$ B' D* Q0 l# y( z0 X$ U+ C/ S. y1 A
9 A' Q+ D2 X! }) N  @$ O7 N0 L8 w. dLocal Mirror: Cowpatty-4.0-win32.zip  MD5: aa9ead2aacfcc493da3684351425d4c6
- a0 g6 v8 O' z6 s
/ N" b' P+ y1 u5 }/ I! |  k0 Z$ Z) O6 e4 P. R, c
8 E$ l4 M& W  f1 E! B- }' e/ g; r! ]6 V6 [: u2 Q  M! G& L6 F
* P$ p/ [5 N+ w1 ^! m
- r; [- W3 M' d" R1 @7 I" d: TcoWPAtty Dictionary Attack/ w3 s1 Y% \  F0 T. C8 O6 y" W; q$ ?

( M/ U* [: B) o; v: v) |+ G4 z6 y9 O2 h4 k/ G1 \2 ~2 R, }5 a$ Z* A7 z
2 j$ d9 \  k0 S0 T2 ^
Precomputing WPA PMK to crack WPA PSK
7 S& t; ~; i' u+ g8 F( Y' ?3 M2 V& N2 L1 Z4 @' _
8 L  @* c$ r1 y  V) F6 M0 p6 b. G

- t7 U1 U" S/ y0 w) m) c# u2 rcoWPAtty Precomputed WPA Attack) i( o( W' @6 k  l

+ Y, N0 z: m0 ^2 F0 I- A3 R5 f: f% c7 _
, r0 |2 h4 X+ S9 A
% B2 K7 O# w: D! C/ D/ LcoWPAtty Recomputed WPA2 Attack" t! ^; _5 o1 t4 i# `  f& W

) u1 b/ {9 ]. R
$ a3 l  p5 H7 W( D2 a( b3 O- G% L( _6 }2 V+ L% V2 M8 I7 v, s* z' Z& Y9 E, z6 t9 v3 n1 ~% u# {
coWPAtty Tables# L1 ?3 |4 _& b/ b, ^# W5 P
% ~# @" Q# V! A- {4 F
  J  Z6 w0 w* B6 l! i: K: f4 E! c9 f8 Y9 p  g
coWPAtty Usage:4 G( T& F4 N: n( T9 o$ F
! P/ i* _1 j; a3 c. q6 W2 k2 K6 \0 G; \& B, c
3 t) z% k- i/ d& D ( z+ A& s, x0 t( m- d- R
2 q, ?0 C: \1 s1 a% Z* VcoWPAtty Dictionary Attack:: u, g: R' Q( j- T5 Y  i1 O1 g2 T) L" D* b6 `0 n
2 K& N1 ]* @4 C
Toperform the coWPAtty dictionary attack we need to supply the tool witha capture file that includes the TKIP four-way handshake, a dictionaryfile of passphrases to guess with and the SSID for the network.9 ]( l. ?8 U" T0 F

; N; l, @, i% o4 d  W( S2 I3 h0 x/ j. y2 Z' {% b
9 L( A. `5 u* `+ R/ d  }% @2 d
. u6 R/ {7 r) x: }# N' M" |# ?In orderto collect the four-way handshake you can either wait until a clientjoins the network or preferably you can force it to rejoin the networkusing tools like void11 or aireplay and capture the handshakes usingsomething like kismet, ethereal or airodump.5 o0 c( p! E4 Y( x$ Z  _4 t3 [
4 M2 _$ O6 x# E+ F6 \& a
/ x& L0 O1 M  v6 V* g9 j, e3 Y% k* k
# m( b! [2 O: I7 Q& r3 b
) ^7 }4 e5 U4 B- s0 Qcowpatty -f dict -r wpapsk-linksys.dump  -s linksys
, T5 c  ~6 d+ i6 J8 w
+ E/ O" X  L0 K# X3 K- r$ R  k2 o
5 U6 f) y' N! }3 L2 E0 d0 w& M, d5 |, R" @, M
9 x  t3 n3 s' e1 r, b% J% I  _+ }0 K5 `/ j# b9 x$ F* s0 t+ Z
8 j" O. D0 F( w3 }$ p/ r" Q" o# n( r# M: {
3 c8 b! L* i1 O) p" L6 F+ }' F0 v: Q6 y
/ a1 q5 g4 n% h' A
2 Z' f5 b' e  @- mAs youcan see this simple dictionary attack took 51 seconds, we can speed upthis process by precomputing the WPA-PMK to crack the WPA-PSK (seebelow).9 l! r& D1 S! _; f

+ J0 {8 _/ `. L
2 `& b9 `. w& Q9 j& I0 z3 ]: @; x* X/ J; M, C9 t- ^, H0 U; d! e7 g$ P, P
wpapsk-linksys.dump is the capture containing the four-way handshake
: [: u% S5 K/ m
# O! A3 v0 [- Z( r* K0 N. I5 h9 e" V/ f  T
) p1 Q. L% S. K9 i) R5 _/ \
+ c" p, Y5 y$ X4 D0 }* T. jdict is the password file
- V. M: L; q3 V/ [4 c6 ?- V. z( x$ e2 G+ I% D& }, D/ g
, ~) W: L! d6 I& f' h5 w9 K. g) ?8 }/ x/ Q  u. L# Y/ v

7 I8 Y- b# N1 l- dlinksys is the network SSID8 S- `) E5 @$ R4 F9 w! [# I

! ~! u% e2 K2 `- a! W  W2 K' u/ h4 t) Y+ w  M# N9 o
' V& W2 D; {# f7 H  Z. m% @4 y6 r- `( c* R* e( I; |) y. O+ [. L
Precomputing WPA PMK to crack WPA PSK:" o: l' [5 `& j1 U8 a
. ^% z1 ^) f3 h/ M: {" Q
3 H& X* n) Q2 s; zgenpmkis used to precompute the hash files in a similar way to Rainbow tablesis used to pre-hash passwords in Windows LANMan attacks.  There is aslight difference however in WPA in that the SSID of the network isused as well as the WPA-PSK to "salt" the hash.  This means that weneed a different set of hashes for each and every unique SSID i.e. aset for "linksys" a set for "tsunami" etc.
$ q* d- P( L9 G/ {* r6 l0 W7 C7 X: }' B3 o1 ]5 a
9 ~1 @9 C' m/ t" r2 b3 h
+ X# o5 Y  I0 x* \4 |1 f! b3 g! F) ?& X# n2 M  _
$ u; n# R+ u/ H
. \4 ?  A" {) N$ m9 S0 qSo to generate some hash files for a network using the SSID cuckoo we use:/ P* ^8 }( Z" B2 q, a8 Z% l' y

( }+ e' r( d2 O5 P& `( y. l% f/ |. {2 I  j' Q0 Z6 e, W; l' Y% p3 _! U6 ]: n

3 c, N4 r2 V/ ?1 H7 g8 t; J: I( l% B6 C
9 t# u/ E* g, w: j( A- E% V$ Rgenpmk  -f  dict  -d linksys.hashfile  -s linksys  4 I; _6 ?1 b+ C" {# B% A: b1 o

4 W2 h) P+ c1 p) x: p1 P9 X- a8 M4 z7 x0 S( b3 I- F. P# |( F6 x5 l9 P/ h4 L- }
5 N5 c5 T: _- h( x6 n
- ?2 i8 E  ]3 Y. R4 Q0 N3 |6 ?0 Z
0 B; k. P8 W+ [" e4 B* \$ V) _0 [/ c
, F1 w! `, c7 |# c$ U, k
9 o- A2 [( }- `% R5 }' A6 y
4 N! Z# C8 n; O% J1 J5 m" k/ ?7 H) f& S  T4 Z/ p. q$ Y/ Z% ~" \: \7 `2 o
1 F( c$ E, W  ?* s6 Y4 V1 m$ {$ W5 p- }2 B
dict is the password file9 R2 v% B& @) c$ D- \' o) S- s
. W" x4 T7 w$ t2 v8 H
1 v! Q. v1 \4 H/ j# W% ^1 y) G
2 b+ D& ], z, @& N; M
; J& D" }' U0 i# r+ s7 R, zlinksys.hashfile is our output file
$ |" O5 g9 h: n. u# w. _9 k
. R* ?8 ^% k- K/ B, w9 C1 `0 I$ m; E; |
3 i/ _* a9 ?2 r- {1 \; A8 g
8 s- z9 ~/ p5 F& ?$ e0 jlinksys is the network ESSID
' F# A) s8 q6 R1 X" h5 }) |. \8 M9 z5 t' W
, Z5 q$ z$ }+ Y& X
6 v6 {7 b0 b5 H' {* S; ^4 B
% P4 O1 W2 \5 R9 Y) L* P( P8 a% S% `0 r5 r( XcoWPAtty Precomputed WPA Attack:# ?/ x) d2 _& C+ W/ i
9 `. k. D0 a8 l% S
# f2 W0 f: i. g' @3 rNow wehave created our hash file we can use it against any WPA-PSK networkthat is utilising a network SSID of cuckoo.  Remember the capture(wpa-test-01.cap) must contain the four-way handshake to be successful.
$ F4 z; Z% a6 K& E
& ]: q; i. l9 y" G3 m" r/ l3 a2 G; @+ I# A1 Q. Z! P/ C- m0 T) `3 U, L/ m
0 K; o" p/ Z+ I5 u+ @! H+ \" L. a1 I- O9 E! f. D3 j4 \  }

- E0 ~/ B0 x8 E3 H1 W7 hcowpatty  -d linksys.hashfile -r wpapsk-linksys.dump  -s linksys  ( J" h8 r5 `7 M# n1 d8 i8 k
% C' V! n1 j& u! f! I1 G: v
+ {# d  \& b( s, m, N% L! ]) `! ~0 x* P: E$ \# o; z( o
" {# n' U) ]) z3 F
, h) Y8 O( |- l1 V

1 Q( Q/ X3 u. n! p& R1 V1 X  u4 A# O) ^( {0 r: b* _7 O
$ o9 G6 ]- F# F% ?4 C4 M
# }( e$ }9 ?( M' |! ]9 l
# Z2 Q$ I+ q) @5 ~) C! z* H/ Rwpa-test-01.cap is the capture containing the four-way handshake+ q- g* x7 |) j0 F6 _/ u, ?1 _
$ H5 D, L. d' L3 Z7 K* o# r9 t
. {  e2 R  w8 A3 n% x7 S% K
( F! Q' j( ~7 V- M" x4 d. P7 j
0 M9 T  o/ g3 v8 z& I2 `4 Elinksys.hashfile are our precomputed hashes
  U4 b5 g7 G  C1 ~" h5 D, j9 O7 x" Q0 ^2 T9 H9 s; Z

# K4 D" M- B2 \  t/ I; {; }+ S; e- M" y* t# g+ i6 A. c, O- V  b2 d3 H  u1 e
linksys is the network ESSID
* G& W. Q4 h: b0 }8 m# u
- P+ B1 z$ e( f8 U+ H! o  [1 |3 a8 E8 y0 l& e) Y* U' }1 M  ^( o0 W
2 J' @9 I$ u8 ?& w# @) ~
# w) ?( }2 j( u# n9 x. `, F/ Q( o+ o) e
Notice that cracking the WPA-PSK took 0.04 seconds with the pre-computed attacked as opposed to 200 secondswith standard dictionary attack mode, albeit you do need to pre-computethe hash files prior to the attack.  However, precomputing large hashfiles for common SSIDS (e.g. linksys, tsunami) would be a sensible movefor most penetration testers.0 _  y2 ^" D- \6 b. ]( I/ M

! @/ F. b* q) B: g* g" k& a: p/ u. L4 |* C0 e/ M0 i$ W+ Z2 ^: k: K& t. Z" M
1 z4 O: }- l$ l- F$ O* _$ C3 _& _" V+ l* S2 q3 C$ H* O' u
coWPAtty Precomputed WPA2 Attack:% a! V& {7 F, v, U0 ^
0 P$ y5 O0 Z3 d0 r5 x: g1 ]1 w, X
coWPAtty4.0 is also capable of attacking WPA2 captures.  Note: The same hashfile as was used with the WPA capture was also used with the WPA2capture.
/ P9 a& i) v& @, V3 |
" @& d) J9 o- b2 v, m- W9 m7 }. Z' Q! B1 S& U0 _; R6 j; r. P' r- b

0 m/ n( f: R/ Ycowpatty  -d linksys.hashfile -r wpa2psk-linksys.dump  -s linksys
9 S: O0 b& f8 E: R* f
1 ~4 X+ f2 c8 T& G8 @3 G# C5 ^( a/ s4 Q
; G* X9 x' b# N3 J$ o* S3 K+ C: ~7 a2 `( [% K) X
* R5 E' A" ], S; y

$ l- z5 F* g1 j7 A  W( G# h: S0 |6 {$ p$ h6 _3 }8 ?/ U4 W3 g; V1 V% A: w9 ?2 |8 {8 y
% g6 _# a! f  X( K1 ?
. s5 r! v8 @& q: W5 s" g" k9 t3 P6 B9 N9 }. O
wpa2psk-linksys.dump is the capture containing the four-way handshake2 R6 f0 F8 V, h' i2 I4 l" A7 ]
% s! q% y2 Q/ p, e5 C
6 O8 l6 N, C/ w, B5 E7 f8 R
7 {( f: L" P& k1 J- a7 Y! g& F2 |: V) _/ W: |+ k( G+ j
dict is the password file
5 }3 ~2 q2 [& F% M$ i# F$ `6 h& e& w; p1 z1 c
6 E% `/ y: Y# I2 b7 H  o) ]# J/ @" E. O; V
0 P6 E1 I( C1 D! N
linksys is the network SSID
1 M% ]7 _' W3 ^( ^. k0 Y; `$ f  ^* k) }8 ]. \+ C
+ S! m& n4 m! a6 a# |; u8 }' S! g6 j) K1 y- {/ c9 a2 y
  _! m, M' b9 {9 @, A8 {& z& o- o; e5 a( s( P5 c
coWPAtty Tables:
8 l8 [) E, `9 ~! P6 q  r; u2 I; ], f: ~. u& `4 t, P8 gThe Church of Wifi have produced some lookup tables for 1000 SSID's computed against a 170,000 word password file.  The resultant table are approximately 7 Gigabytes in size and can be downloaded via Torrent:
6 E9 M1 S$ u% E& U  t+ u  ~( W) a2 a, \1 J8 N  b9 v  e! c+ W0 y6 }0 e. M7 k* j) x& a  p- v) @; K/ L' C' I# I3 s
http://torrents.lostboxen.net/co ... atty-4.0_2006-10-19' r' T$ {0 }% C' D5 I  Q
( _+ F4 M3 K9 d5 d$ u5 ^. x/ [) f/ E
4 l% Y- E. {3 Z5 w9 B$ PA 33 Gigabyte set of tables are also available: http://umbra.shmoo.com:6969/1 P" V6 G( J9 W9 K1 a$ q0 s$ W( ]) r8 G+ `
6 J3 t- q, E; ^0 A0 Z: f; l: Z1 K2 n8 n. m. d
Or you can buy them via DVD, direct from Renderman (initiator of the project): http://www.renderlab.net/projects/WPA-tables/. J% }2 r' B; I6 C+ ~; `
回复

使用道具 举报

399

回帖

1492

积分

105 小时

在线时间

上尉

注册时间
2009-7-23
金币
1047 个
威望
0 个
荣誉
0 个
累计签到:3 天
连续签到:0 天
[LV.20]漫游旅程
发表于 2009-12-13 00:24 |显示全部楼层
5金币就给你一堆英文的,你看懂了吗
回复

使用道具 举报

133

回帖

624

积分

22 小时

在线时间

中尉

注册时间
2009-11-1
金币
486 个
威望
0 个
荣誉
0 个

尚未签到

发表于 2009-12-13 06:19 |显示全部楼层
这么贵  不买
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册 微信登录

本版积分规则

Archiver | 手机版 | 无线门户 ( 粤ICP备11076993号|粤公网安备44010602008359号 ) |网站地图

GMT+8, 2026-12-5 20:57

返回顶部 返回列表