Most Popular Windows File Types Used by Malware (2018)

Most Popular Windows File Types Used by Malware (2018)

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

SIDENOTE: This post was originally published in October 2018. But we gave it update in July 2019

This article will help you understand which are the most used malicious files to infect Windows computers to date and will give you tips to increase your malware protection.

Antivirus institutes, like AV-TEST register approximately 400 000 new malware software per day. And these are new samples, but if we combine data from the already discovered malware, the situation becomes quite massive and makes for an extremely dangerous landscape. This is why, users should be aware of the methods used to infect their computers, without them noticing and how to protect themselves against such malicious practices.

These methods vary, but there is one particular bottleneck which is their weakness – they all use the same Windows-based file types for their infection to succeed. In this article we will show you the most often used file types to infect computers with malware while remaining undetected.

2019 Edition: Windows File Types Used by Malware

Which Are the Most Popular File Extensions Used to Infect?

There are many executable types of files, scripts, program files that can be manipulated and even malicious shortcuts. The most chosen ones by the cyber-criminals however are the ones that are particularly easier to obfuscate from antivirus programs and load the payload of their malware while remaining undetected.

.EXE Executable Files

Being the most often associated files with malware, the executable files are notorious for being spread as malicious e-mail attachments. However, since this method has become more and more outdated, since most e-mail providers block these attachments, the executable files are often spread as fake setups, updates or other types of seemingly legitimate programs with the malicious code built-in. They are also archived to further avoid antivirus detection. However, the executable files are crucial when it comes to configuring what activities the malware will do. This is because they have numerous functions that perform the actual malicious activities after the infection has been completed. This is why, they are associated with the primary payload of different malware more often than being used as an actual infection file. But nonetheless, do not count that an .exe may not be malicious, just because of that.

.DOC, .DOCX, .DOCM and Other Microsoft Office Files

This particular type of files have lately become a very effective method to infect victims. The primary reason for that is the usage of malicious

macros that are embedded within the documents themselves. This makes slipping past any antivirus software and e-mail attachment protection software like a walk in the park, if the right obfuscated code is used. However, the tricky part of infecting victims via these methods is to get them to click on the “Enable Content” button and the cyber-crooks, like the ones behind the ZeuS Trojan, usually use instructions within the document, like the image below:

.HTA, .HTML and .HTM Application Files

These particular types of files have lately become notorious to be associated with multiple ransomware variants. The most famous of them is called

Cerber Ransomware and this virus has been classified as the most effective malware against the latest Windows 10 OS, primarily because of the exploit kit associated with the infection method via those files. The files themselves are HTML web applications that usually lead to a foreign host, from which the payload of the malware is downloaded onto the computer of the victim.

.JS and .JAR Files

These type of malicious files are notorious for containing malicious JavaScript code which causes the actual infection. Usually JavaScript infections can also be caused by automatically downloading those files without knowing as a result of having clicked on a malicious URL. The .JS files are used for quite some time now, but gained popularity recently in associated with ransomware viruses, like

Locky Ransomware, which so far remains as the crypto virus that has inflicted the most damage on computer systems for all times.

.VBS and .VB Script Files

The Windows Visual Basic script files are particularly dangerous because they have not only been associated with one or two viruses, but most of the big malware names in the past few years. Starting with both Cerber and Locky ransomware using .vbs files in their e-mail spam campaign, the .vbs files also saw some action in relation to notorious Trojan infections. The primary choice of these particular files to infect with is the speed of infection and the skills of the hacker to create code in Visual Basic environment. VBS is also a type of file that can be easily obfuscated and can pass as a legitimate e-mail message if it is in an archive.

.PDF Adobe Reader Files

The cyber-criminals have the tendency to avoid associating .PDF files with scripts and codes, primarily because they crash very often. However, how there seems to be a method which has become very notorious and widespread. It includes sending .PDF files as spam message attachments and these .PDF files conceal in them the malicious documents that actually contain the malicious macros. This “document inception” strategy so far has remained effective against inexperienced victims and is the main factor responsible for spreading a threat, known as

Jaff Ransomware.

What actually happens is that the victim opens the malicious .PDF file and it has the Microsoft Word document embedded within it. However, like the pictures above shows, the documents prompts the victim to extract the malicious .docm file, which in turn causes the infection. Very devious tactic, especially dangerous for the fast clickers.

.SFX Archive Files

When we discuss malicious files and malware infection, it important to mention the .SFX Self-Extracting archive files that were also used by major malware families to infect computers. The way they work is very similar to setup programs of Windows, primarily because these file types in particular archive the malicious payload of the virus and when they are executed, they can be manipulated to extract the payload automatically and quietly in the background. The more sophisticated .SFX files are even programmed by their code or the payload files they have extracted to be self-deleted after the operation is complete.

.BAT Batch Files

Even though these command-containing files are not met so often, they are one of the most widespread ones ever to be used, primarily because of the Windows Command Prompt and it’s impact on the computer. If properly manipulated, the batch files may insert administrative commands that can do a variety of malicious activities, varying from deleting files on your computer to connecting to third-party hosts and downloading malware directly on your computer.

.DLL Files

The DLL files are basically known as Dynamic Link Library files and they are often system files of Microsoft, but malware finds ways to slither its own, compromised version with malicious functions in the DLL file itself. This ultimately results in the malware starting to perform various different types of malicious activities, like delete Windows files, execute files as an administrator on the compromised computer and also perform different types of modifications in the Windows Registry Editor. This may result in DLL error messages to appear on your PC, but most viruses go through great extents to prevent those errors from being seen by the victim.

.TMP Temporary Files

TMP files are temporary files which hold data on your computer while you are using a program. In the malware world, the TMP files are basically used to hold information that is complementary to the infection itself. This information is related to the activities that the malware will perform and often it used with the main purpose of allowing the malware to collect information which is then relayed to thee cyber-criminals by the file itself being copied and sent without you even noticing. Removing the .TMP file may damage the activity of the malware, but most complicated viruses would not give the user permission to do that or create a backup copy which is used in a parallel way.

.PY Python Files

These types of files are most commonly used when ransomware viruses are in play, meaning that they are written in Python and their main goal may be to be modules that are used to encrypt the files on your computer(documents, videos, images) and make them unable to be opened again. The encrypted files of this ransomware virus are created with the aid of such python scrips which, provided the software, may use them for the file encryption. In addition to this, some malware was detect to be coded entirely I the Python language, meaning that the virus uses it for every aspect of it’s activity.

Custom Types of Files

These types of files may be created exclusively for the virus at hand and are used for different purposes but their main goal is to help the ransomware virus at hand to perform various different types of activities on the computer of the victim. The files may feature custom extensions which can be absolutely anything for example .virus .fun, etc.

What Other Malicious Files You May Encounter

Despite the fact that these files are not so often encountered, they can still be manipulated into infecting your computer and still infect computers presently. These are the other potentially malicious objects, you should scan before opening:


.MSI Files – installer types of files which are used to situate different programs on the computer. They are often used as Setups for different programs, and can also slither the malware also in the form of a setup of a program you are trying to install.

.MSP Files – files that are also the installer type, however they are more oriented on patching currently installed software, meaning that the malware here may pose as a fake patch uploaded online.

.COM Files – similar to the .BAT files, these type of files are also used to insert commands. They were very popular back when Windows XP and older systems were widely used to spread old-school worms, viruses and other malicious software. However, they may still be used for malicious activity and infection.

.GADGET Files – these particular malicious files are used primarily with the Windows Desktop Gadget. So if you are using a Windows version that has those floating Gadgets on your desktop, you should look out for those files. When Windows Vista firstly introduced gadgets, many exploits led to infection of unpatched systems with Trojans and other viruses.

Script Files:

.CMD Files – also a Windows Command Prompt file that can insert malicious commands on your computer.

.VBE Files – Encrypted VBS files.

.JSE Files – Encrypted JavaScript files.

.PS1, .PS1XML, .PS2, .PS2XML, .PSC1, .PSC2 – The Windows PowerShell script files that when programmed can automatically run direct PowerShell commands on a Windows system, as long as they are ran with Administrative privileges. Particularly dangerous.

Malicious Shortcut Files:

.LNK Shortcuts – A shortcut used usually to link a program contained locally on the computer. However, with the right software and functions it can perform multiple malicious activities on the infected computer, like delete important files.

.INF Files – These text files are usually not of a dangerous character, but they may also be utilized to launch an app. And if this app is malicious, this makes them dangerous as well.

.SCF Files – These type of files are used to interfere with Windows Explorer and can be modified to perform actions on Explorer that can ultimately lead to infection. But the actions can also be post-infection as well.

Conclusion, Prevention and Protection

It is one thing to know what types of files could ultimately lead to infection on your computer, but it is a whole different ball game to learn how to protect yourself. Since the malware scene is very dynamic and changes on a daily basis, there may be infections for which you still may be unprepared. This is why we have decided to create those general tips to help increase your protection and malware awareness significantly:

Tip 1: Make sure to install the appropriate

protection software.

Tip 2: Learn how to

safely store your important files and hence protect them from file encryptors or other malware.

Tip 3: Learn how to protect your computer from

malicious e-mails.

Tip 4: Always make sure you scan a downloaded file. For archives, you can use the service Zip-e-Zip and for various file types and web links that you believe are malicious, you can use VirusTotal online scanner. Both services are completely free.

Tip 5: If you are ok with it, use Sandboxing, it is a very effective method to isolate malware within encrypted sandbox code, even if you do not have the proper protection. A good program to start with is



Ventsislav Krastev

Ventsislav has been covering the latest malware, software and newest tech developments at SensorsTechForum for 3 years now. He started out as a network administrator. Having graduated Marketing as well, Ventsislav also has passion for discovery of new shifts and innovations in cybersecurity that become game changers. After studying Value Chain Management and then Network Administration, he found his passion within cybersecrurity and is a strong believer in basic education of every user towards online safety.

More Posts - Website

Leave a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

Share on Facebook Share
Share on Twitter Tweet
Share on Google Plus Share
Share on Linkedin Share
Share on Digg Share
Share on Reddit Share
Share on Stumbleupon Share