hey guys
i'm looking for a way to check if my payload is running raw or encrypted
i was thinking, one method to know if running raw, would be to get PPID (parent process id) and from there get the parent process, if the parent process is: explorer.exe it's raw and ran manually (double clicked)
cmd.exe it's raw and ran manually (from the cli) conhost.exe it's raw and ran manually proxying with conhost (from the cli)
etc
but it does not seem to be a very reliable way, as i would need to know all the methods that can execute a file from disk (for example using lolbins)
any ideas that can guide me in the right direction?
thanks
i'm looking for a way to check if my payload is running raw or encrypted
i was thinking, one method to know if running raw, would be to get PPID (parent process id) and from there get the parent process, if the parent process is: explorer.exe it's raw and ran manually (double clicked)
cmd.exe it's raw and ran manually (from the cli) conhost.exe it's raw and ran manually proxying with conhost (from the cli)
etc
but it does not seem to be a very reliable way, as i would need to know all the methods that can execute a file from disk (for example using lolbins)
any ideas that can guide me in the right direction?
thanks


