Jump to content

Does anyone have ideas on how to identify the type of a exe file?


Guest
 Share

Recommended Posts

hello,

my script must to detect if the exe file is actually an installation.

for example the exe's:

vcredist_x86.exe

VS_2010_vcredist_x86.exe

are exe's that installing something

and more..

At first I thought to search for words like: install, setup and more in the exe's..
But on second thought that's not effective and it will not work on all
exe's files ..

I'm looking for another way.
I noticed these exe files
mostly have the same icons (the install icon types...)

so if i can know the list of these icons and how to Identify the icon of each exe so this way i can do this filtering process...

but i don't know how to do this and maybe you have a better idea..

Thanks for helpers!

Edited by Guest
Link to comment
Share on other sites

my script must to detect if the exe file is actually an installation.
 
Hello,
 
You could take a look to Universal Extractor, it is written using AutoIt and the source code is available here
 
Reviewing its code it uses 4 methods to try to detect whether a file is an installation file:
 
UniExtract uses four methods of detection (in order):
 1. File extensions for special cases

 2. Binary file analysis of files using TrID

 3. Binary file analysis of PE (executable) files using PEiD

 4. File extensions

 
Maybe this is not an option for you because it uses external utilities but at least you have one more option to consider ;)
 
Cheers,
sahsanu
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...