A forum for reverse engineering, OS internals and malware analysis 

Ask your beginner questions here.
 #11818  by Hippey
 Sun Feb 26, 2012 12:54 pm
Hi all!

Can anybody give me a code, which would extract ImageFileName of EPROCESS in Dos format(like C:\\) for kernel driver?

Thanks!
 #11820  by rkhunter
 Sun Feb 26, 2012 1:14 pm
How do you imagine that? ImageFileName holds only ImageName, "explorer.exe", for example. Look PsGetProcessImageFileName for that. Other information is stored in PEB and you can access it through NtQueryInformationProcess.
 #11843  by EP_X0FF
 Mon Feb 27, 2012 1:53 pm
Hippey wrote:Hi all!

Can anybody give me a code, which would extract ImageFileName of EPROCESS in Dos format(like C:\\) for kernel driver?

Thanks!
http://www.kernelmode.info/forum/viewto ... 03&p=10941

Closed as duplicate. Author gets achievement - creation of three closed topics.