Cybercriminals will often try to prey on your inattention and carelessness. One of the simpler methods they use is by making the name of an executable malware seem like a different program.
For instance, they might name it something like: VID004.mpeg.exe or Job Position.docx.exe.
If you are in a rush and just glance over the first few words and then click it, you will accidentally execute the malware and infect your computer.
Dangerous File Extensions
However, .exe isn’t the only type of dangerous file extension. Other potentially dangerous file extensions that can run code include: .msi, .bat, .com, .cmd, .hta, .scr, .pif, .reg, .js, .vbs, .wsf, .cpl, .jar and more. This is not an exhaustive list — there are many different file extensions in Windows that will run code on your computer when executed.
Office files with macros are also potentially dangerous. If an Office document extension ends with an m, it can — and probably does — contain macros. For example, .docx, .xlsx, and .pptx should be safe, while .docm, .xlsm, and .pptm can contain macros and can be harmful. Of course, some businesses use macro-enabled documents. You’ll have to exercise your own judgment.