I am work with a user-mode program that able to detect if it already runs. Here are ways I have covered that could possibly lead to it knowing...
-NtQuerySystemInformation - (win32 wrappers obviously)
-Load count of a unique specified DLL in its peb ldr data
-Memory section name created in one, opened in another (ntopensection, ntcreatesection)
-creating a temporary file for some IPC
anyone knows perhaps some other ways? this not involve any kernel modules, we strictly usermode only here.
thanks you and sorry for my english.
-NtQuerySystemInformation - (win32 wrappers obviously)
-Load count of a unique specified DLL in its peb ldr data
-Memory section name created in one, opened in another (ntopensection, ntcreatesection)
-creating a temporary file for some IPC
anyone knows perhaps some other ways? this not involve any kernel modules, we strictly usermode only here.
thanks you and sorry for my english.