Built off the open source project Osquery
Description: View and detect Unauthorized file shares.
What The Data Shows: Lists all file shares on hosts, a lot of organizations do not allow users to create shares on workstations and servers.
SQL:
SELECT description,status,name,path
FROM shared_resources;
Copyright © 2005-2023 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.