Nmap扫描
tcp端口扫描
udp端口扫描
无开放端口
详细信息扫描
服务分别是
80:微软的IIS服务器,版本号为10.0,一个web服务
135:windows远程过程调用
服务器系统为Windows Server,大概率为2016
80端口尝试
由于80端口开放,且为一个Web服务,我们来访问看看
应该是一个提供虚拟主机服务的网站,网页使用到的技术我们可以用工具看到
发现在support页面存在一个表单,我们随便填写一些信息提交看看有什么反应
发现连接不上提交到的站点,那似乎没有利用价值了。通过查看源码可知,这个网站是该地址的镜像网站,所以我们连接不上
并且我们得到了一个信息,网页是由HTTrack Website Copier/3.x制作的,但是通过我们检索,发现并没有什么可以利用的漏洞。
目录爆破
尝试使用目录爆破,看看有没有可用的目录
并没有扫描可用的信息。
135端口尝试
由于135端口是一个rpc服务,所以首先想到的是rpcclient。
使用rpcclient尝试与135端口进行连接
然而并不可行。我们来尝试一下其他的rpc工具,例如python-impacket里的rpcmap.py工具
使用rpcmap.py 'ncacn_ip_tcp:10.10.10.213[135]'
枚举出所有的服务
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
| Impacket v0.10.1.dev1+20230718.100545.fdbd2568 - Copyright 2022 Fortra
Procotol: N/A Provider: rpcss.dll UUID: 00000136-0000-0000-C000-000000000046 v0.0
Protocol: [MS-DCOM]: Distributed Component Object Model (DCOM) Remote Provider: rpcss.dll UUID: 000001A0-0000-0000-C000-000000000046 v0.0
Procotol: N/A Provider: rpcss.dll UUID: 0B0A6584-9E0F-11CF-A3CF-00805F68CB1B v1.1
Procotol: N/A Provider: rpcss.dll UUID: 1D55B526-C137-46C5-AB79-638F2A68E869 v1.0
Procotol: N/A Provider: rpcss.dll UUID: 412F241E-C12A-11CE-ABFF-0020AF6E7A17 v0.2
Protocol: [MS-DCOM]: Distributed Component Object Model (DCOM) Remote Provider: rpcss.dll UUID: 4D9F4AB8-7D1C-11CF-861E-0020AF6E7C57 v0.0
Procotol: N/A Provider: rpcss.dll UUID: 64FE0B7F-9EF5-4553-A7DB-9A1975777554 v1.0
Protocol: [MS-DCOM]: Distributed Component Object Model (DCOM) Remote Provider: rpcss.dll UUID: 99FCFEC4-5260-101B-BBCB-00AA0021347A v0.0
Protocol: [MS-RPCE]: Remote Management Interface Provider: rpcrt4.dll UUID: AFA8BD80-7D8A-11C9-BEF4-08002B102989 v1.0
Procotol: N/A Provider: rpcss.dll UUID: B9E79E60-3D52-11CE-AAA1-00006901293F v0.2
Procotol: N/A Provider: rpcss.dll UUID: C6F3EE72-CE7E-11D1-B71E-00C04FC3111A v1.0
Procotol: N/A Provider: rpcss.dll UUID: E1AF8308-5D1F-11C9-91A4-08002B14A0FA v3.0
Procotol: N/A Provider: rpcss.dll UUID: E60C73E6-88F9-11CF-9AF1-0020AF6E72F4 v2.0
|
我们要对这些uuid进行进一步爆破,看他是什么内容
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
| ❯ rpcmap.py 'ncacn_ip_tcp:10.10.10.213[135]' -brute-uuids -brute-opnums Impacket v0.10.1.dev1+20230718.100545.fdbd2568 - Copyright 2022 Fortra
Procotol: N/A Provider: rpcss.dll UUID: 00000136-0000-0000-C000-000000000046 v0.0 Opnums 0-64: rpc_s_access_denied
Protocol: [MS-DCOM]: Distributed Component Object Model (DCOM) Remote Provider: rpcss.dll UUID: 000001A0-0000-0000-C000-000000000046 v0.0 Opnums 0-64: rpc_s_access_denied
Procotol: N/A Provider: rpcss.dll UUID: 0B0A6584-9E0F-11CF-A3CF-00805F68CB1B v1.0 Opnums 0-64: rpc_s_access_denied
Procotol: N/A Provider: rpcss.dll UUID: 0B0A6584-9E0F-11CF-A3CF-00805F68CB1B v1.1 Opnums 0-64: rpc_s_access_denied
Procotol: N/A Provider: rpcss.dll UUID: 1D55B526-C137-46C5-AB79-638F2A68E869 v1.0 Opnums 0-64: rpc_s_access_denied
Procotol: N/A Provider: rpcss.dll UUID: 412F241E-C12A-11CE-ABFF-0020AF6E7A17 v0.0 Opnums 0-64: rpc_s_access_denied
Procotol: N/A Provider: rpcss.dll UUID: 412F241E-C12A-11CE-ABFF-0020AF6E7A17 v0.2 Opnums 0-64: rpc_s_access_denied
Protocol: [MS-DCOM]: Distributed Component Object Model (DCOM) Remote Provider: rpcss.dll UUID: 4D9F4AB8-7D1C-11CF-861E-0020AF6E7C57 v0.0 Opnums 0-64: rpc_s_access_denied
Procotol: N/A Provider: rpcss.dll UUID: 64FE0B7F-9EF5-4553-A7DB-9A1975777554 v1.0 Opnums 0-64: rpc_s_access_denied
Protocol: [MS-DCOM]: Distributed Component Object Model (DCOM) Remote Provider: rpcss.dll UUID: 99FCFEC4-5260-101B-BBCB-00AA0021347A v0.0 Opnum 0: rpc_x_bad_stub_data Opnum 1: rpc_x_bad_stub_data Opnum 2: rpc_x_bad_stub_data Opnum 3: success Opnum 4: rpc_x_bad_stub_data Opnum 5: success Opnums 6-64: nca_s_op_rng_error (opnum not found)
Protocol: [MS-RPCE]: Remote Management Interface Provider: rpcrt4.dll UUID: AFA8BD80-7D8A-11C9-BEF4-08002B102989 v1.0 Opnum 0: success Opnum 1: rpc_x_bad_stub_data Opnum 2: success Opnum 3: success Opnum 4: rpc_x_bad_stub_data Opnums 5-64: nca_s_op_rng_error (opnum not found)
Procotol: N/A Provider: rpcss.dll UUID: B9E79E60-3D52-11CE-AAA1-00006901293F v0.0 Opnums 0-64: rpc_s_access_denied
Procotol: N/A Provider: rpcss.dll UUID: B9E79E60-3D52-11CE-AAA1-00006901293F v0.2 Opnums 0-64: rpc_s_access_denied
Procotol: N/A Provider: rpcss.dll UUID: C6F3EE72-CE7E-11D1-B71E-00C04FC3111A v1.0 Opnums 0-64: rpc_s_access_denied
Procotol: N/A Provider: rpcss.dll UUID: E1AF8308-5D1F-11C9-91A4-08002B14A0FA v3.0 Opnum 0: rpc_fault_cant_perform Opnum 1: rpc_fault_cant_perform Opnum 2: rpc_x_bad_stub_data Opnum 3: rpc_x_bad_stub_data Opnum 4: rpc_x_bad_stub_data Opnum 5: rpc_fault_cant_perform Opnum 6: rpc_fault_cant_perform Opnum 7: rpc_x_bad_stub_data Opnum 8: rpc_x_bad_stub_data Opnums 9-64: nca_s_op_rng_error (opnum not found)
Procotol: N/A Provider: rpcss.dll UUID: E60C73E6-88F9-11CF-9AF1-0020AF6E72F4 v2.0 Opnums 0-64: rpc_s_access_denied
[*] Tested 354 UUID(s)
|