How to Detect Shadow IT

How to find devices and software on the company network that IT does not know about

Build two lists and compare them: what the network sees (DHCP leases, switch and wireless client tables, Defender for Endpoint device discovery) and what IT manages (Intune devices and discovered apps). Anything on the first list and not the second is a lead. Read 22 Nov 2026.

Which detection signals find devices and software on the network

Eight signals in matrix order. Finds it, Partial or Blind for this lane; each links to its cell in the matrix.

  1. Identity provider sign-in logs: Partial
  2. Email metadata and OAuth grants: Blind
  3. Expense, card and procurement data: Partial
  4. DNS zones, certificate transparency logs and domain registrations: Blind
  5. Cloud organization and billing records: Blind
  6. Managed browser or browser extension telemetry: Partial
  7. Firewall, proxy and DHCP lease logs: Partial
  8. Endpoint management or EDR inventory: Partial

What counts as an unknown device or program

An unknown device is anything that holds an address on your network without being in the list of devices IT manages. Unknown software is a program installed on a device IT does manage that nobody approved.

Two concrete cases. A team plugs a wireless router into a wall jack so a lab can share files: the router hands out its own addresses and the devices behind it reach your network through one port. A salesperson with local administrator rights installs a file-sync or remote-access program on a managed laptop. The first shows in network records and not in management lists; the second shows in the software list of a device that is itself managed.

Step by step: compare what the network sees with what IT manages

  1. Write down the managed list first.
    In the Microsoft Intune admin center, Devices > All Devices lists enrolled devices; add your directory computer objects and any other management console. This list is what each later step is compared with.
  2. Export DHCP leases from every DHCP server.
    On Windows Server, the Get-DhcpServerv4Lease cmdlet returns lease records for a scope; add the AllLeases parameter to include Active, Offered, Declined and Expired leases, not only active ones. Also turn on audit logging: in the DHCP console, open the server's Properties on the Action menu and select Enable DHCP audit logging on the General tab. Microsoft's page (written for Windows Server 2008 R2) puts the logs at %windir%\System32\Dhcp by default, as comma-delimited lines with the fields ID, Date, Time, Description, IP Address, Host Name and MAC Address; event ID 10 is a new lease, 11 a renewal and 12 a release. Event IDs 61 and 62 record that another DHCP server was found on the network (61 adds that it belongs to the Active Directory domain); a router someone plugged in that hands out addresses is one cause worth checking. Match each MAC address and host name to the managed list.
  3. Export the client tables from your switches and wireless controllers.
    Ask the network team for each switch's MAC address table (MAC address, VLAN, port) and each wireless controller's connected-client list (MAC address, access point, VLAN). Compare MAC addresses with the DHCP export and the managed list. A MAC address on a switch port and not in DHCP is a static-address device; one in neither list is unknown. A port that shows many MAC addresses points to an unmanaged switch behind it, and a router's MAC address points to a router someone added.
  4. Turn on device discovery in Microsoft Defender for Endpoint (Plan 2).
    Microsoft says onboarded endpoints passively observe network traffic and, in standard mode, actively probe the environment to find endpoints, network devices and IoT devices that are not managed; they appear in the device inventory as not onboarded. You set the mode under System > Settings > Device discovery > Discovery mode. Basic mode is passive and sends no probes, which Microsoft recommends for sensitive or legacy networks. Authenticated network scans use read-only SNMP (v2 or v3) from designated onboarded Windows devices to inventory switches, routers, WLAN controllers, firewalls and VPN gateways. Run it only on networks you administer, and use the exclusion settings for sensitive devices. If Defender did not class a segment as corporate, add it under System > Settings > Device discovery > Monitored networks.
  5. Export the Discovered apps report for software.
    In Intune, Apps > Monitor > Discovered apps lists application name, platform, version, device count and publisher, and Export saves a .csv file. Windows Win32 apps (those in add/remove programs, which need the Intune Management Extension) refresh every 24 hours, and most other platforms every seven days. Sort by device count and publisher and look for programs with few devices and an unfamiliar publisher: file sync, remote access, VPN and tunneling tools. Microsoft also notes that its newer App inventory is intended to replace Discovered apps for Windows. Browser-based services never appear in this list; the SaaS apps and OAuth method covers them.
  6. Reconcile into one list.
    Join the exports on MAC address and host name, mark each row managed or unknown, and give every unknown row an owner and a decision.

What each signal shows and misses

Signals for unknown devices and software, with what each shows, what it misses and what you need first
SignalWhat it showsWhat it missesPrerequisiteSource
DHCP leases and audit logIP address, host name and MAC address of every device that asked for a lease, with new, renewed and released events, and other DHCP servers foundStatic-address devices; DHCP servers you did not exportAdministrator or DHCP Administrators rights; audit logging turned onMicrosoft Learn: DHCP audit logging, Get-DhcpServerv4Lease
Switch and wireless controller client tablesMAC address per port, VLAN or access point, including static-address devicesDevices behind an unmanaged switch or router appear as few entriesRead access to each switch and controllerMethod; compare with the DHCP export
Defender for Endpoint device discoveryUnmanaged endpoints, network devices and IoT devices seen by onboarded devicesSegments with no onboarded device; networks Defender did not class as corporate (add them to the monitored networks list)Defender for Endpoint Plan 2; onboarded Windows devicesMicrosoft Learn
Intune Discovered appsEvery app on company-owned enrolled devices, with version, publisher and device countPersonally owned devices (managed apps only); non-enrolled devices; browser-based servicesIntune enrollment; Intune admin center accessMicrosoft Learn

What NIST and CIS say about this list

NIST SP 800-53 Rev. 5 control CM-8(3) asks you to detect unauthorized hardware, software and firmware components with automated mechanisms and then disable network access, isolate the component or notify designated people; CM-11 asks for a policy on user-installed software and monitoring of compliance. CIS Control 1 says to actively manage (inventory, track and correct) all enterprise assets connected to the infrastructure, and Control 2 says the same for software so that unauthorized and unmanaged software is found and prevented from installation or execution. The policy template is where your rule on approving software and devices goes.

What to do with each device or program you find

Find who it belongs to from the switch port location, the DHCP host name or the Intune primary user, then pick one outcome: enroll it, replace it with a managed equivalent, or disconnect it. For software, approve it, replace it or remove it, and record the decision. The managing shadow IT guide has the approval and follow-up steps. For internet-reachable servers and sites among your finds, continue with finding internet-facing assets, and use the detection signal matrix to see which other signals cover devices.

Keep unknown devices off the network afterward

IEEE 802.1X is port-based network access control: peer systems authenticate with EAP before they communicate through controlled ports, and NIST lists 802.1X with EAP and RADIUS as ways to identify and authenticate devices. NIST notes that device authentication at scale is hard, so organizations may limit it to certain device types; devices that cannot do 802.1X need another rule that you define.

Sources

Each source was read on the date at the top of this page unless a date is given.

Spot something wrong? Corrections policy or write to editor@howtodetectshadowit.com.