We are using an application control solution which denies access for some exes according to their original filename. Is it possible to change original filename with hex editor or another method?
-
11Basing a security solution on the immutability of a property and then asking if that property can be changed trivially seems to be in scope indeed. OP asks "Is it possible?" not "How can I do it?"– user163495May 27, 2019 at 8:13
-
10To the OP: If you want a solution that is more difficult to defeat, you may want to use some kind of code signing.– KevinMay 27, 2019 at 15:43
-
10Have you noticed the "Remove Properties and Personal Information" in your screenshot? Try clicking on it and select "Original Filename".– DamonMay 27, 2019 at 19:14
-
13I'm uncertain if frkntn is trying to create a security system or bypass one.– Mooing DuckMay 28, 2019 at 4:38
-
6If I want to run something you don't want me to run, I'l be rather annoyed but recompile it from source with a different name. Good luck matching that.– JoshuaMay 28, 2019 at 15:18
1 Answer
Yes. There is a tool on GitHub here that can change that information. It supports both 64-bit and 32-bit.
The syntax I used: rcedit-x64.exe cmx.exe --set-version-string OriginalFilename "cmdx.exe" --set-version-string FileDescription "details are irrelevant"
Therefore, your solution may be efficient against beginners, but not against people with IT knowledge.
-
26If people are allowed to download and run arbitrary applications from the Internet, there's little point in preventing them from running specific apps on the local machine. "The other side of the airtight hatchway"...– IMilMay 28, 2019 at 1:03
-
12
-
4Yes, it should invalidate it because the cryptographic hash is also used to validate integrity and file CRC changes after such alteration.– OvermindMay 28, 2019 at 12:16
-
@IMil you can also make the change with notepad (though not practical if you want to change it to something longer). It's just a lot easier with this dedicated tool. May 28, 2019 at 16:51