Skip to main content

Network shares

4readings
0conditions
1themes fed
Livestatus

Local disk, print, device and IPC shares, their paths and permissions. Shows observed additions, removals and configuration changes.

Topic id: network_shares.

Changes (4)​

This topic reports what the host looks like, so its news is what CHANGED between two reports. Each change below is a named fact you can ask about across the fleet.

​

network_share_path_changed
What it is
A network share now points at a different folder.
Why it matters
Users and mapped drives that open the share by name see different files, or none, and new files are saved to the new folder.

​

network_share_permissions_changed
What it is
The share-level permissions on a network share changed.
Why it matters
Users can suddenly be refused when they open or save files on the share, or the share can open to people who should not reach it, such as Everyone.

​

network_share_added
What it is
A network share was added.
Why it matters
Anyone the share's permissions allow can now reach that folder or printer from the network, and an unexpected share is a common path for data exposure.

​

network_share_removed
What it is
A network share was removed.
Why it matters
Mapped drives, scan-to-folder and applications that use the share fail with "The network name cannot be found".

Fields (10)​

The union of live and persistent local disk, print, device and IPC shares. Changes name observed additions, removals, paths and DACL permissions; they provide no actor or exact change time.

Full inventory every day. Supported changes are reported when the agent observes them.

Share (10)​

sparklogs.data.network_shares.share_name
string
The share name, as Windows spells it.
sparklogs.data.network_shares.path
string
The local folder the share exposes, exactly as Windows returns it. Empty for an IPC share, which has no folder. Absent when it could not be read or the share is only in the registry.
sparklogs.data.network_shares.share_type
string
The kind of share: disk, print, device, ipc or unknown. Absent when the share is only in the registry.
sparklogs.data.network_shares.share_type_code
integer
The numeric share type Windows reports (the base type, without the special and temporary flags).
sparklogs.data.network_shares.special
bool
Whether Windows marks this as a special share, such as an administrative share like C$ or ADMIN$.
sparklogs.data.network_shares.temporary
bool
Whether Windows marks the share as temporary.

Example​

Inventory (every day)

7 shares.

sparklogs.data.network_shares.share_name: ADMIN$
sparklogs.data.network_shares.path: D:\Windows
sparklogs.data.network_shares.permissions_sddl: D:(A;;FA;;;SY)(A;;FA;;;BA)

SparkLogs: CONTEXT, Info, network_shares: INVENTORY: 7 shares.