Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

(Windows) How to check if your payload is running raw or crypted?

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 dispute your method, but you do need to rewrite your post so that it says what you mean.
(Apr 4, 2026 06:02 AM)DramaKing Wrote:  I dispute your method, but you do need to rewrite your post so that it says what you mean.

what is not clear?
i need to know if my payload (rat/bot/malware) is being executed raw (without crypt) or crypted (injected, self-loaded, dll sideloaded, etc)
either would be useful


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by Emre_Jan 12, 2021 11:16 PM 0 141 Jan 12, 2021 11:16 PM
Last Post: Emre_
[Python] by xPrimodyJul 27, 2020 01:55 PM 3 162 Jul 27, 2020 01:55 PM
Last Post: Pernat1y
[C] by ShallowMEFeb 1, 2020 01:26 PM 5 201 Feb 1, 2020 01:26 PM
Last Post: m1n0r1tyrep0rt