Skip main navigation

Hurry, only 4 days left to get one year of Unlimited learning for £249.99 £174.99. New subscribers only. T&Cs apply

Find out more

Executable Files

Article detailing a selection of executable file types.
© PA Knowledge Ltd | 7Safe Training

Executable files

An executable file is a file that contains encoded instructions that can be executed by an operating system. Executable files can be platform specific (only executes in a Windows environment for example) or they can be cross platform (also executes on Unix/Linux, OSX and so on).

Most users associate executable files with the extension ‘.EXE’ but these file types can have several extension associations examples include:

File Extension File Header (ASCII)
EXE MZ
DLL MZ
SYS MZ
AX MZ
COM MZ

Many other Windows file types can also execute code not just the above examples.

Remember it is the file extension which associates the file with particular application(s) to execute the program. It is the file header which identifies the file as containing compiled executable code (instructions) which are loaded into the computers memory when the file is accessed.

Malware must execute in order to infect a computer and must therefore contain executable code to facilitate this.

Remember malware can be hidden (using binding or wrapping techniques) or otherwise packed in other file types and when those file types are accessed their contents are executed and loaded into memory. Any nefarious code present inside such a file will therefore also be executed and loaded into memory.

Additional information…

The designer of the original MS DOS executable file format at Microsoft was called Mark Zbikowski. He chose his initials to be the executable file header in ASCII – how cool!

© PA Knowledge Ltd | 7Safe Training
This article is from the free online

Introduction to Digital Forensics: Malware Analysis and Investigations

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now