Registry Autorun Part


After gaining a foothold on a victim Windows 10 machine, we can proceed to look for startup registry key misconfigurations using both manual methods as well as tools.

Since we are only interested in the machine startup keys, these are the default keys we want to query:


HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce


There are also some additional keys that do not exist by default; however, they should also be queried because they may have been manually created:


HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\R

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunEx

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx


The Run and RunOnce registry keys are used to make a program run when a user logs on. The Run key makes the program run every time a user logs on, while the RunOnce key makes the program run one time, and then the key is deleted. 

ใหม่กว่า เก่ากว่า