DET-095 · human · confidence Medium
Persistent Mapped Drives
The Network key under HKCU lists mapped drives set to reconnect, with the share path and user.
When a user maps a drive and ticks reconnect, Windows saves a key named for the drive letter under HKCU\Network. It has the remote path and the username used. This shows long-lived access to a share, and sometimes alternate credentials. A drive mapped with another user's name, or to an external server, deserves a look. Compare with the drives the login script is expected to map.
- Data sources
- NTUSER.DATEDR registry events
- Platforms
- Windows
Logic
Enumerate HKCU\Network\*; read RemotePath and UserName. Flag RemotePath outside corporate namespaces and UserName different from the account owner.
False positives
Standard login scripts map many drives.