Sharpshares -

You can specify a CIDR range.

It identifies which shares are readable by the current user context. sharpshares

Regularly auditing your network using tools like or PowerView . If you'd like to dive deeper, I can explain: How to detect SharpShares using Sysmon or EDR logs. The specific C# code used to query Active Directory. You can specify a CIDR range