Skip to content
ADscan Docs

Segmented Networks

What the ADscan Enterprise appliance needs to assess a network split into VLANs or segments, which ports it uses, how to check reach, and what happens to a segment it cannot reach.

What to provide

The appliance assesses what it can reach. When your Active Directory spans several VLANs or segments, give the appliance a network path into each segment you want covered. There are two ways to do it, and either one works.

OptionWhat you do
One virtual NIC per segmentAdd a virtual network adapter to the appliance VM on the hypervisor for each VLAN or segment, each attached to that segment's port group.
Routing plus firewall rulesKeep one NIC and let your network route from the appliance subnet to every segment, with firewall rules that allow the traffic listed below.

You choose the scope. We recommend giving the appliance a path into every segment you want assessed, but you may leave segments out on purpose. Today one appliance is delivered per deployment. A segment the appliance cannot reach is not assessed. Hosts there are not tested, and the result for that segment is unknown, never clean.

Ports the appliance needs

Open these from the appliance toward the domain controllers and the member hosts in scope.

TargetPortUsed for
Domain controllers636/TCP (389/TCP as fallback)Directory enumeration
Domain controllers88/TCPKerberos
Domain controllers445/TCPSMB and named pipes
Domain controllers53/TCP and UDPName resolution of the domain
Domain controllers135/TCP and 49152-65535/TCPRPC locator and, for DCSync only, dynamic RPC
Member hosts in scope445/TCPShares and host checks
Member hosts in scope135/TCPRPC and DCOM
Member hosts in scope, optional3389/TCP, 5985 and 5986/TCP, 1433/TCPRDP, WinRM and MSSQL checks, only where those paths are in scope

Some techniques work the other way round, because the target has to authenticate back to the appliance. For these, allow the domain controllers and in-scope hosts to reach the appliance on 445/TCP and 80/TCP. See Callback Address.

Addressing

The appliance image uses DHCP on every network adapter by default, so each NIC you add comes up on a segment that has DHCP. For a fixed address, the appliance console on tty1 has a Network settings step that lists every adapter and lets you set each one to DHCP or a fixed address. Only one adapter carries the default route; reach the other segments with a static route on their adapter. Configuring several adapters from the console is available from the next appliance image. Images delivered before that configure one interface from the console, so agree fixed addresses on several segments with ADscan before delivery.

You do not need to set DNS on the appliance. ADscan resolves the domain itself from the domain controller you provide.

Which address a target connects back to

On a multi-homed appliance, ADscan listens on every interface and tells each target the address that reaches it, chosen per target from the routing table. You normally do not set anything.

Do not declare a callback address on a multi-adapter appliance

Leave listener-ip (and its older name myip) unset when the appliance has one adapter per segment. A declared address is used for every target, so the hosts of every other segment would be told to call back to an address they cannot reach. Declare one only when the address a target must reach sits on none of the appliance's adapters, such as a NAT or jump host, and see Callback Address for how.

Network credential harvesting answers on one adapter per job. From the next release, the Create New Scan form defaults to Automatic: harvesting runs on every adapter that has a known domain controller or computer behind it, and each adapter answers with its own address. The same happens from the command line when you leave out --interface. Pick a single interface instead and harvesting runs on that one only. At the end of the scan, ADscan lists any adapter that no assessed host was reached through.

The appliance's own outbound firewall

From the next appliance image, the appliance also filters what leaves it. A new image reaches private networks (10/8, 172.16/12, 192.168/16, 100.64/10, link-local and multicast, IPv4 and IPv6) on any port, plus the DNS servers set on its console and, only while online updates are on, the ADscan update registry. Nothing else leaves it. Your administrator changes this under Administration > Network in the web console, or from the appliance console. If a domain controller, member hosts or another segment you want assessed sit on public address ranges, add them to the allow-list there with the reason. A scan whose domain controller the appliance's own firewall blocks is refused before it starts, with the address named, so it is never reported as unreachable. The listeners that receive callbacks and the pivot tunnels are never affected by this setting.

How to check reach

Before the first scan, use Validate connection on the Create New Scan form. It confirms DNS, the domain controller and the credential, which proves the path to the segment that holds the domain controller. See Validate connection.

Validate connection does not test the member hosts of the other segments. To check one, test the ports above toward a sample of its hosts, from a machine in the same segment as the appliance interface or from the firewall.

After a scan, the platform's asset inventory marks each host as reachable or not, and shows an AD computer that was never reached as Not reached. If a whole segment shows as not reached, that segment was not assessed.

What happens to a segment that is not reached

Hosts the appliance cannot reach are not tested. The platform shows them as unreachable or not reached in the asset inventory, with the reachable count against the total.

Reach statement in the report

A dedicated statement in the PDF report that names unreached segments as a coverage gap is planned and not yet in the product. Until it ships, treat the asset inventory in the platform as the record of what was and was not reached, and do not read a finding count as complete for a segment the inventory shows as not reached.

Several scanner nodes

Assessing a segment the appliance cannot reach through a separate scanner node is not supported today. The supported model is one appliance with reach to every segment. If you cannot provide that for a segment, talk to us before the assessment.

See also Callback Address, Troubleshooting and Doctor and execute.

Find this useful?
Pass it to the next pentester running an AD engagement
Running 2+ AD engagements/year?
First PRO assessment free·Free in exchange for feedback
Automated PDF reports. Save ≥1 day per engagement.

ADscan — AD pentest automation for security consultants