Hi forum, I would like to know what is good persistance for ring3 process today? I usually see these two examples:
1) payload.exe starts and maps itself in some other process completly and then call ExitProcess();
2) payload.exe is running and visible(!) in taskmngr but has some thread running in other process that will watch and restart payload.exe if needed (Mutex based, handle based, thread is injected normaly via WriteProcessMemory/CreateRemoteThread)
Are there some other tricks I don't know about ?
PS (1) is probably better because AV software needs to restart PC in order to remove it after detection (payload.exe is locked -- or in recent malware injected code will recreate itself on hdd)
1) payload.exe starts and maps itself in some other process completly and then call ExitProcess();
2) payload.exe is running and visible(!) in taskmngr but has some thread running in other process that will watch and restart payload.exe if needed (Mutex based, handle based, thread is injected normaly via WriteProcessMemory/CreateRemoteThread)
Are there some other tricks I don't know about ?
PS (1) is probably better because AV software needs to restart PC in order to remove it after detection (payload.exe is locked -- or in recent malware injected code will recreate itself on hdd)