What is SysInternals?
SysInternals is a suite of advanced system utilities for Microsoft Windows that provides deep technical insight into the operating system. These tools are designed to help IT professionals, system administrators, and software developers manage, troubleshoot, and diagnose Windows systems effectively. From process management to network monitoring, SysInternals offers a wide range of utilities that enhance system performance, security, and reliability.
Key Features of SysInternals Tools
The SysInternals suite includes a diverse set of tools that cater to various system management needs:
- Process Management: Tools like Process Explorer and Process Monitor offer detailed insights into running processes, threads, and system activity.
- Network Monitoring: Utilities like TCPView and PsPing help monitor network connections, diagnose network issues, and optimize performance.
- Security Analysis: Tools like Autoruns and AccessChk provide in-depth security analysis, including permissions, autorun configurations, and more.
- File System Management: Utilities like Disk2vhd and DiskView assist in managing disk space, analyzing disk usage, and creating virtual hard disks.
- Registry Tools: Tools like Regmon and RegDelNull help analyze and manage the Windows Registry, including monitoring registry activity and deleting problematic keys.
How to Use SysInternals Tools
Using SysInternals tools is straightforward and typically involves downloading the desired utility from the official Microsoft website. As of Windows 11, the Microsoft Store contains an AppPackage that can be installed. The package installs/downloads the tools to C:\Users\%username%\AppData\Local\Microsoft\WindowsApps\SysinternalsSuite
.
Once downloaded, the tool can be run directly from the executable file without requiring installation. You can leverage the command-line interface or graphical user interface (GUI) to interact with the tool. Each tool comes with detailed documentation and usage instructions to help make the most of its capabilities.
Registry Keys Affected
Below are the common registry keys affected by each SysInternals tool:
In the registry keys below, the USER-SID-1001
is a placeholder for the user's Security Identifier (SID) and will vary depending on the user's profile. The USER-SID-1001
is used as an example in this case, showing strings as an example for the registry keys affected by the SysInternals tools.
When one of the tools is used for the first time, the registry keys are created in the HKU hive, which is the user's profile hive. The HKU hive is a subkey of the HKEY_USERS hive, containing user-specific settings for each user who is currently logged on. The HKU hive is loaded when a user logs on and is specific to the user who is currently logged on. The HKU hive is unloaded when the user logs off and is stored in the C:\Users\%username%\NTUSER.DAT
file. If you want more information on User Hive Data, click here.
Registry Keys added
- The registry subkey
HAM\AUI
is a placeholder for theHostActivityManager\ActivityUserInformation
.
\Software\Microsoft\Windows NT\CurrentVersion\HostActivityManager\CommitHistory\Microsoft.SysinternalsSuite_8wekyb3d8bbwe!strings
Microsoft.SysinternalsSuite_8wekyb3d8bbwe\HAM\AUI\strings\V1\LU
\Software\Sysinternals\Strings
Registry Values added
The PCT and PTT values are used to store process creation and termination times, respectively. These values are stored in LE hexadecimal format and represent the timestamp data for the process.- PCT:
- Hex: 42 54 33 2D 75 5C DB 01
- Date: 2025-01-01 12:47:07.6829250 -05:00 - PTT:
- Hex: 80 B7 35 2D 75 5C DB 01
- Date: 2025-01-01 12:47:07.6985728 -05:00
In the current user
- Mixed: This registry value holds mixed data types, which could include various forms of information necessary for the functioning of associated programs or settings.
- The hexadecimal data here indicates that the Mixed value is set to zero, implying no mixed data types are stored in this key at this moment.
Microsoft.SysinternalsSuite_8wekyb3d8bbwe!strings\Mixed:
- 00 00 00 00 00 00 00 00
Microsoft.SysinternalsSuite_8wekyb3d8bbwe\HAM\AUI\strings\V1\LU\PCT:
- 42 54 33 2D 75 5C DB 01
Microsoft.SysinternalsSuite_8wekyb3d8bbwe\HAM\AUI\strings\V1\LU\PTT:
- 80
B7 35 2D 75 5C DB 01
Sysinternals\Strings\EulaAccepted:
- 0x00000001
In the current user classes
Key: Microsoft.SysinternalsSuite_8wekyb3d8bbwe\HAM\AUI\strings\V1\LU\PCT
Value: 42 54 33 2D 75 5C DB 01
Key: Microsoft.SysinternalsSuite_8wekyb3d8bbwe\HAM\AUI\strings\V1\LU\PTT
Value: 80 B7 35 2D 75 5C DB 01
Key: HKU\S-1-5-21-USER-SID-1001\Software\Microsoft\Windows NT\CurrentVersion\HostActivityManager\CommitHistory\Microsoft.SysinternalsSuite_8wekyb3d8bbwe!strings\Mixed
Value: 00 00 00 00 00 00 00 00
Key: HKU\S-1-5-21-USER-SID-1001\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\Microsoft.SysinternalsSuite_8wekyb3d8bbwe\HAM\AUI\strings\V1\LU\PCT
Value: 42 54 33 2D 75 5C DB 01
Key: HKU\S-1-5-21-USER-SID-1001\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\Microsoft.SysinternalsSuite_8wekyb3d8bbwe\HAM\AUI\strings\V1\LU\PTT
Value: 80 B7 35 2D 75 5C DB 01
Key: HKLM\SYSTEM\CurrentControlSet\Services\bam\State\UserSettings\S-1-5-21-USER-SID-1001\Microsoft.SysinternalsSuite_8wekyb3d8bbwe
Value: 87 39 25 B4 74 5C DB 01 00 00 00 00 00 00 00 00 01 00 00 00 02 00 00 00
Key: HKLM\SYSTEM\CurrentControlSet\Services\bam\State\UserSettings\S-1-5-21-USER-SID-1001\Microsoft.SysinternalsSuite_8wekyb3d8bbwe
Value: B0 7F 2F 2F 75 5C DB 01 00 00 00 00 00 00 00 00 01 00 00 00 02 00 00 00
Secondary, you can always find file usage in the prefetch:
-
C:\WINDOWS\Prefetch\STRINGS.EXE-1BD7A361.pf
SysInternals Tools
Tool & Link to Resource | Description |
---|---|
accesschk
|
Command-line tool for viewing the effective permissions on files, registry keys, services, processes, and more. |
AccessEnum
|
Shows who has what access to directories, files, and Registry keys on your systems. |
ADExplorer
|
Advanced Active Directory (AD) viewer and editor. |
ADInsight
|
Real-time monitoring of Active Directory (AD) events. |
adrestore
|
Undelete Server 2003 Active Directory objects. |
Autologon
|
Enable automatic logon to Windows. |
Autoruns
|
Shows programs configured to start automatically during system boot or login, along with the full list of registry and file locations for auto-start settings. |
autorunsc
|
Command-line equivalent of Autoruns. |
Bginfo
|
Generates desktop backgrounds that include system information such as IP addresses, computer name, and network adapters. |
Cacheset
|
Allows control of the Cache Manager's working set size using NT functions. |
Clockres
|
View the resolution of the system clock, which is also the maximum timer resolution. |
Contig
|
Defragment your frequently used files and create new contiguous files. |
Coreinfo
|
Shows the mapping between logical processors and physical processor, NUMA node, and socket they reside on. |
CPUSTRES
|
Simulate high CPU consumption by running multiple threads. |
Dbgview
|
View debug output from local or remote systems. |
Desktops
|
Create and manage up to four virtual desktops. |
disk2vhd
|
Create a Virtual Hard Disk (VHD) from a physical disk. |
diskext
|
Display volume disk mappings. |
Diskmon
|
Monitor and log all hard disk activity. |
DiskView
|
Graphical disk sector display tool. |
du
|
Disk usage statistics. |
efsdump
|
Dump the contents of encrypted files on NTFS volumes. |
FindLinks
|
Show the various hard links/HypReparse points to a specific file path. |
handle
|
Show open handles for any process in the system. |
hex2dec
|
Convert hexadecimal to decimal and back. |
junction
|
Create and manage directory Junctions (symbolic links) on NTFS volumes. |
Listdlls
|
List system DLLs currently loaded, including their version numbers and memory addresses. |
livekd
|
Enable live hyperkernel debugging using Microsoft Kernel Debugger (KD). |
LoadOrd
|
Show the load order of kernel mode drivers at boot time. |
LoadOrdC
|
Command-line equivalent of LoadOrd. |
logonsessions
|
List currently active logon sessions. |
movefile
|
Schedule a move or delete command for the next reboot. |
notmyfault
|
Crash your system in various ways, generating minidump files for troubleshooting. |
notmyfaultc
|
Command-line version of NotMyFault. |
ntfsinfo
|
Show information about NTFS volumes and their clusters. |
pendmoves
|
Enumerate pending file rename/move operations. |
pipelist
|
List named pipes on your system, including each pipe's instances. |
procdump
|
Monitor application CPU spikes and generate crash dumps during a spike. |
procexp
|
Detailed process management tool that shows information about running processes. |
Procmon
|
Monitor and display real-time file system, registry, and process/thread activity. |
PsExec
|
Execute processes remotely. |
psfile
|
Show or close remotely opened files. |
PsGetsid
|
Display the SID (Security Identifier) for a computer or a user. |
PsInfo
|
List information about a system. |
pskill
|
Kill processes by name or process ID. |
pslist
|
Show detailed information about processes. |
PsLoggedon
|
Display all the users logged on locally and via resources for either the specified computer or for the specified users. |
psloglist
|
Dump event log records for various logs (e.g., applications, system, etc.). |
pspasswd
|
Changes user account passwords on the system. |
psping
|
Test network performance. |
PsService
|
View and control services. |
psshutdown
|
Shut down or reboot a computer. |
pssuspend
|
Suspend and resume processes. |
RAMMap
|
Collect and display physical memory usage. |
RDCMan
|
Manage multiple remote desktop connections. |
RegDelNull
|
Scan and delete registry keys that have embedded null-characters which are otherwise impossible to delete. |
regjump
|
Open Regedit with the location at a particular registry key or value. |
Regmon
|
Monitor and display real-time registry activity. |
ru
|
Shows the number of reparse points on a volume. |
sdelete
|
Securely delete files and clean free space. |
ShareEnum
|
Scan file shares on your network. |
ShellRunas
|
Launch programs as a different user via the context menu. |
Sigcheck
|
Verify file versions, signatures, and certificates. |
sdelete
|
Securely delete files and clean free space. |
streams
|
Show NTFS alternate data streams. |
strings
|
Search for ANSI and Unicode strings in binary files. |
sync
|
Flush file system buffers. |
Sysmon
|
System activity monitor. |
Tcpview
|
View detailed listings of all TCP and UDP endpoints on your system. |
vmmap
|
Process virtual and physical memory usage. |
Zoomit
|
Screen zoom and annotation tool for technical presentations. |
Post a Comment