Hi, is there a possible way of getting the windows image path in runtime from a driver?
I tried to ‘procmon’ the utility ‘bcdedit’, but it seems that it reads its values from some random garbage keys in the registry under ‘BCD00000’.
I would like to be able to get for instance the path: “C:\Windows\ntoskrnl.exe”, or,
if someone changed my image and renamed it to something else:
“D:\this_is_the_new_boot_location\foo.exe”
I need this to calculate MD5 on the image in runtime, from my driver.
Thanks.