|
| 1 | +## Description |
| 2 | + |
| 3 | +The hidden scanner connects to a given range of IP addresses and try to locate any RPC services that are not listed in the Endpoint Mapper and determine if anonymous access to the service is allowed. |
| 4 | + |
| 5 | +## Verification Steps |
| 6 | + |
| 7 | +1. Do: ```use auxiliary/scanner/dcerpc/hidden``` |
| 8 | +2. Do: ```set RHOSTS [IP]``` |
| 9 | +3. Do: ```set THREADS [number of threads]``` |
| 10 | +4. Do: ```run``` |
| 11 | + |
| 12 | +As you can see, there are not many options to configure so we will just point it at some targets and let it run. |
| 13 | + |
| 14 | +## Scenarios |
| 15 | + |
| 16 | +**Running the scanner** |
| 17 | +``` |
| 18 | +msf > use auxiliary/scanner/dcerpc/hidden |
| 19 | +msf auxiliary(hidden) > show options |
| 20 | +
|
| 21 | +Module options: |
| 22 | +
|
| 23 | + Name Current Setting Required Description |
| 24 | + ---- --------------- -------- ----------- |
| 25 | + RHOSTS yes The target address range or CIDR identifier |
| 26 | + THREADS 1 yes The number of concurrent threads |
| 27 | +
|
| 28 | +msf auxiliary(hidden) > set RHOSTS 192.168.1.200-254 |
| 29 | +RHOSTS => 192.168.1.200-254 |
| 30 | +msf auxiliary(hidden) > set THREADS 55 |
| 31 | +THREADS => 55 |
| 32 | +msf auxiliary(hidden) > run |
| 33 | +
|
| 34 | +[*] Connecting to the endpoint mapper service... |
| 35 | +[*] Connecting to the endpoint mapper service... |
| 36 | +[*] Connecting to the endpoint mapper service... |
| 37 | +...snip... |
| 38 | +[*] Connecting to the endpoint mapper service... |
| 39 | +[*] Connecting to the endpoint mapper service... |
| 40 | +[*] Could not obtain the endpoint list: DCERPC FAULT => nca_s_fault_access_denied |
| 41 | +[*] Could not contact the endpoint mapper on 192.168.1.203 |
| 42 | +[*] Could not obtain the endpoint list: DCERPC FAULT => nca_s_fault_access_denied |
| 43 | +[*] Could not contact the endpoint mapper on 192.168.1.201 |
| 44 | +[*] Could not connect to the endpoint mapper service |
| 45 | +[*] Could not contact the endpoint mapper on 192.168.1.250 |
| 46 | +[*] Looking for services on 192.168.1.204:1025... |
| 47 | +[*] HIDDEN: UUID 12345778-1234-abcd-ef00-0123456789ab v0.0 |
| 48 | +[*] Looking for services on 192.168.1.202:49152... |
| 49 | +[*] CONN BIND CALL ERROR=DCERPC FAULT => nca_s_fault_ndr |
| 50 | +[*] |
| 51 | +[*] HIDDEN: UUID c681d488-d850-11d0-8c52-00c04fd90f7e v1.0 |
| 52 | +[*] CONN BIND CALL ERROR=DCERPC FAULT => nca_s_fault_ndr |
| 53 | +[*] |
| 54 | +[*] HIDDEN: UUID 11220835-5b26-4d94-ae86-c3e475a809de v1.0 |
| 55 | +[*] CONN BIND ERROR=DCERPC FAULT => nca_s_fault_access_denied |
| 56 | +[*] |
| 57 | +[*] HIDDEN: UUID 5cbe92cb-f4be-45c9-9fc9-33e73e557b20 v1.0 |
| 58 | +[*] CONN BIND ERROR=DCERPC FAULT => nca_s_fault_access_denied |
| 59 | +[*] |
| 60 | +[*] HIDDEN: UUID 3919286a-b10c-11d0-9ba8-00c04fd92ef5 v0.0 |
| 61 | +[*] CONN BIND CALL DATA=0000000057000000 |
| 62 | +[*] |
| 63 | +[*] HIDDEN: UUID 1cbcad78-df0b-4934-b558-87839ea501c9 v0.0 |
| 64 | +[*] CONN BIND ERROR=DCERPC FAULT => nca_s_fault_access_denied |
| 65 | +[*] |
| 66 | +[*] HIDDEN: UUID c9378ff1-16f7-11d0-a0b2-00aa0061426a v1.0 |
| 67 | +[*] CONN BIND ERROR=DCERPC FAULT => nca_s_fault_access_denied |
| 68 | +[*] |
| 69 | +[*] Remote Management Interface Error: The connection timed out (192.168.1.202:49152). |
| 70 | +...snip... |
| 71 | +[*] Scanned 55 of 55 hosts (100% complete) |
| 72 | +[*] Auxiliary module execution completed |
| 73 | +msf auxiliary(hidden) > |
| 74 | +``` |
| 75 | + |
| 76 | +As you can see, despite the simple setup, we still gathered some additional information about one of our targets. |
0 commit comments