« Beware of search engines helpers
Up close with a Bot »

File extensions matter

May 20th, 2008

A file extension is a suffix to the name of a file. In Windows based systems, file extensions have the following characteristic:

filename.extension
i.e. loveletter.txt

An extension indicates what type the file is. For example: .txt refers to a text file, .jpg refers to a picture compressed with the JPEG format, .mp3 refers to an audio file compressed with the mp3 format.

For convenience, most PCs come with file extensions hidden by default. True, most people won’t ever need to know what extension a file is, they’ll just double click to open it.

We get used to certain programs and assume accordingly that any icon that looks like it is a media file, should be a media file.

Well, to show how that beaviour may be dangerous, we collected a couple dozen of files from our malware samples. In the screenshot below you can see several files bearing the icon of well known Windows or other software programs. Note how none of the file has a visible extension:

In reality, all those files are malware. Now, let’s show what their extensions are:

 

As you can see, all those files are Windows executables. When you double click on them, they will execute a certain payload crafted by the malware writer. If you were expecting the annual report to be a spreadsheet, you got it all wrong. It turns out that it is a dangerous Trojan. It is a very common thing to use legit programs icons to lure people.

To avoid being duped so easily, show the file extensions.

On XP do the following:

When browsing folders, click on the Tools menu, then Folder Options. Uncheck “Hide extensions for known file types”.

 

On Vista, do the following:

Click on Organize, then Folder and Search Options, then Uncheck “Hide extensions for known file types”.

After a while you will be more familiar with all file extensions. You will quickly recognize that a .pdf belongs to Acrobat Reader, or .avi is a video format.

Finally, remember that the file extension is always at the very end of a filename. Malware writers use tricks such as doubling the extension: coolpicture.jpg.exe

Very sneaky and effective.

JSegura

    This entry was posted on Tuesday, May 20th, 2008 at 3:39 pm and is filed under Malware Trends. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

    Comments:

    1.      by
    2.      by
    3.      by
    4.      by
    5.      by
    6.      by
    7.      by
    • (1) comments
    • |
    • Add your comments




RSS feed to this site Twitter Linkedin YouTube Channel

 

RSS feed to this site Jerome Segura is a Security Analyst working at ParetoLogic.

You can contact him at:
MalwareDiaries Email

 

Pages

  • Live Malware Map
  • VB2009 pictures
  • Zheng™ Technology
  • About
  • Contact Us



Security Software

  • XoftSpySE Anti-Spyware
  • Anti-Virus PLUS
  • Privacy Controls



Malware Top 10

  • Koobface Worm
  • DNS Changer Trojan
  • Fake Alert Trojan
  • Windows System Suite
  • Smart Protector
  • Home Antivirus 2010
  • PC Antispyware 2010
  • System Security
  • AVCare
  • Perfect Defender 2009



Archives

  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008



Categories

  • Adware (1)
  • Banker Trojans (3)
  • Botnets (2)
  • Conferences (4)
  • DDos (1)
  • Exploits (32)
  • Fake codecs (30)
  • IM threats (1)
  • Interviews (5)
  • Keyloggers (1)
  • Mac security (14)
  • Malware Trends (67)
  • Phishing (7)
  • Podcast (1)
  • ransomware (1)
  • Research (33)
  • Rogue software (47)
  • Rootkits (2)
  • scams (3)
  • Social Networking (4)
  • Uncategorized (104)
  • Wireless Security (1)
  • world map (1)



 
 
 

© 2009 ParetoLogic Inc.