79172616

Date: 2024-11-09 11:17:33
Score: 1
Natty:
Report link

You can intercept an executable before it runs by using the Image File Execution Options (IFEO) in the Windows Registry. This feature lets you specify a debugger that launches whenever a particular executable is run. By setting your app as the debugger for the target executable, you can capture the command-line parameters before the original program starts.

Add a new key in the registry under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\

with the name of the executable you want to intercept, inside that key, you create a Debugger string value and set it to the path of your VB.NET application.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Viktor Vaughn