Atlantiraptor Docs

Windows.Registry.MountPoints2

Type: Client · Author: Matt Green - @mgreen27

Extracts MountPoints2 registry entries with ADMIN$ share paths to identify lateral movement via mapped drives.

This detection will collect any items in the MountPoints2 registry key. With a “$” in the share path. This key will store all remotely mapped drives unless removed so it’s a great hunt for simple admin$ mapping-based lateral movement.

Precondition: SELECT OS From info() where OS = 'windows'

Parameters

Name Type Default Description
KeyGlob string Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\*
MountPointFilterRegex regex \$

Source

Defined in artifacts/definitions/Windows/Registry/MountPoints2.yaml.

name: Windows.Registry.MountPoints2
description: |
  Extracts MountPoints2 registry entries with ADMIN$ share paths to
  identify lateral movement via mapped drives.
  
  This detection will collect any items in the MountPoints2 registry
  key. With a "$" in the share path. This key will store all
  remotely mapped drives unless removed so it's a great hunt for
  simple admin$ mapping-based lateral movement.

author: Matt Green - @mgreen27

precondition: SELECT OS From info() where OS = 'windows'

parameters:
 - name: KeyGlob
   default: Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\*
 - name: MountPointFilterRegex
   type: regex
   default: "\\$"

sources:
 - query: |
        SELECT regex_replace(
            source=OSPath.Basename,
            re="#",
            replace="\\") as MountPoint,
          Mtime as ModifiedTime,
          Username,
          OSPath.DelegatePath as Hive,
          OSPath.Path as Key
        FROM Artifact.Windows.Registry.NTUser(KeyGlob=KeyGlob)
        WHERE OSPath =~ MountPointFilterRegex

Edit this page on GitHub

© 2026 Atlant Security EOOD. Atlantiraptor is free software under the GNU Affero General Public License v3. It is based on Velociraptor by Velocidex, and keeps its copyright notices. Velociraptor is a trademark of its owner; Atlantiraptor is not affiliated with or endorsed by it.