|
-
Aug 25th, 2010, 08:17 AM
#1
Thread Starter
Lively Member
[SOLVED] PE Internal Name
Hello,
Let me get straight to the point, we've (against my better judgement) decomissioned an excellent Desktop Management tool, one of the options build is was a Application Monitor and it could block applications from running.
Now I won't pretent I am as good as the vendor and am able to reproduce this, but at least I'm trying.
I'm currently working on a simple tiny program that looks on a time interval what processes there are running and checks this with a 'Denied' list.
But of course I expect the end users to be smart and simply rename the executable and are still able to play 'Bomber' during office hours.
Of course there are even many other ways to mask an executable, but I don't want this to be a super extensive application, just the basic detection.
Is it possible (with the least impact) to see what the internal name is of an executable?
I've looked at Process.GetProcesses.MainModule.ModuleName, but that gives also the executable name, and not the internal name.
I have an way to get this information via WMI, but that is very resource intensive, is there another way?
Kind Regards, Starf0x
Last edited by Starf0x; Sep 3rd, 2010 at 03:46 AM.
-
Sep 3rd, 2010, 01:01 AM
#2
Thread Starter
Lively Member
Re: PE Internal Name
Is this a difficult question or am I missing something obvious?
Kind Regards, Starf0x
-
Sep 3rd, 2010, 03:45 AM
#3
Thread Starter
Lively Member
Re: PE Internal Name
nevermind, it is obvious, stupid naming convention:
vb Code:
MainModule.FileVersionInfo.InternalName
I never expected this to b within the File Version Information, I was thinking digits.
Starf0x
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|