reg-network-profiles

Retrieves a list of network profiles from a SOFTWARE registry hive file. You can view the profile name, category, type, and creation and last connection time of network adapters that have been connected to the system.

Command properties

ItemDescription
Command typeDriver query
Required permissionNone
License usageLicensed command
Parallel executionNot supported
Distributed executionNot supported

Syntax

reg-network-profiles [zippath=STR] [zipcharset=STR] PATH

Options

zippath=STR
Path to the ZIP file containing the registry hive file. When specified, reads the file matching PATH from inside the ZIP archive.
zipcharset=STR
Encoding for ZIP entry names (default: utf-8)

Target

PATH
SOFTWARE registry hive file path. You can use a wildcard (*) to specify multiple files.

Output fields

FieldTypeDescription
_filestringOriginal file name
guidstringNetwork profile GUID
profile_namestringNetwork profile name
descriptionstringNetwork profile description
categorystringNetwork category. One of Public, Private, Domain Authenticated
category_idintegerNetwork category ID. 0 (Public), 1 (Private), 2 (Domain Authenticated)
name_typestringNetwork name type. One of Wired Network, VPN, Wireless Network, Mobile Broadband
name_type_idintegerNetwork name type ID. 6 (Wired Network), 23 (VPN), 71 (Wireless Network), 243 (Mobile Broadband)
date_createdtimestampNetwork profile creation time
date_last_connectedtimestampLast connection time

Error codes

Parse errors

N/A

Runtime errors

N/A

Description

The reg-network-profiles command parses network profile entries from the Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles key in the Windows SOFTWARE registry hive file. Each profile contains the network name, category (Public/Private/Domain), type (wired/wireless/VPN, etc.), creation time, and last connection time.

In forensic analysis, the SOFTWARE hive file is typically located at C:\Windows\System32\config\SOFTWARE.

Examples

  1. Retrieving network profiles from a SOFTWARE hive file

    reg-network-profiles /opt/logpresso/evidence/SOFTWARE
    

    Retrieves all network profiles from the specified SOFTWARE hive file.

  2. Retrieving network profiles from a SOFTWARE hive inside a ZIP archive

    reg-network-profiles zippath=/opt/logpresso/evidence/registry.zip SOFTWARE
    

    Retrieves network profiles from the SOFTWARE hive file inside a ZIP archive.

  3. Filtering wireless network profiles sorted by last connection time

    reg-network-profiles /opt/logpresso/evidence/SOFTWARE
    | search name_type == "Wireless Network"
    | sort -date_last_connected
    

    Filters to show only wireless network profiles and sorts them in descending order by last connection time.