Automated PC Solutions
VACM - Virus Alerts for the Common Man
VACM-tested
"Stuff That Works" the best
AntiVirus product the best
AntiSpyware product the best
Firewall product VACM Links page
Excellent Windows Insider Tips & Tricks...
your old boxes
are worth CA$H ![]() click to see...
|
How to Unhide File Extensions in Windows What Are File Extensions... The file extension is simply the last characters after the last dot in the file name. For instance, a
file named "XXX.EXE" has a file extension
of ".EXE" and a file name of "XXX". The file extension is whatever comes
after the last "." (period or 'dot'). Why MicroSoft ships Windows with its default Windows settings being as dangerous as they can be in this regard is a mystery to all of us who provide computer support for our customers. Well, I suppose it helps to keep the antivirus companies in business. Very sad. We strongly recommend that you tell Windows that you want to see the FULL filenames of ALL your files. If you choose not to follow these instructions about how to Unhide File Extensions on your PC(s), then please at least be sure that you have the best AntiVirus and AntiSpyware installed on your system(s). The Hackers File Extension Hiding Trick and why it works... The trick is that the virus authors will simply name the file in such a way as to make it appear to be a JPG picture or some other harmless type of file because they know that most peoples' systems will not show the actual file extension (those last 3 characters after the dot). For example, if your system is hiding file extensions, when you get a file attachment called "MyDog.JPG.VBS", your email program will show the attachment as "MyDog.JPG" which leads you to believe that the attachment is simply a picture of someone's dog. But in reality, the attachment is a VB script (a program that can do whatever the virus writer wants it to if you double-click on it). The Fix: One Simple Windows Setting To Unhide File Extensions... To tell Windows to show all file extensions, do these simple steps:
Depending on which folder you were in when you started Windows Explorer, you might immediately notice that you can now see the file extensions for all the files in that folder now (that you couldn't see before). Actually, there are still some file types that Windows insists on hiding from you, but for our purposes today, this new setting will suffice. We'll cover the more advanced UN-hiding of extensions in a future VACM. File Types TO AVOID When Received As Email Attachments... ".EXE", ".DOC", ".XLS", Files ending in any of these file extensions are all capable of executing malicious code on your system (ie- they could be viruses or spywares). Don't Trust Emails From Friends- Even if an email with an attachment is from someone you know, be very careful because many viruses have the ability to send themselves to everyone in the infected computer's Address Book. If you are not careful, you, too, will become infected. Let's see why that is so. Suppose your friend's computer has a virus that emails itself to all your the contacts in your friend's address book. If your email address is in your friend's Address Book, you will receive an email that looks like it came from your friend but was actually sent by the virus on your friend's computer. Scary, huh? Don't assume. Be sure. How Does This Help Me To Fear No Attachments? In order to be sure that your antivirus has a chance to scan any attachments you receive, all you need to do is
right-click
on the attachment in your email message and when
the menu pops up, choose
"Save As".
Then, choose a folder (or the desktop) as a
location in which to save the file. Then click the "Save" button. This will save the attachment to your hard drive. The "FUNNY.JPG" virus was the result of some evil persons who created a VB Script that would compromise people's systems when they ran it. All the virus authors had to do was get their virus script into the systems of as many people as possible and somehow get these people to run their little virus script. Delivery was easy. They used spammer techniques to send their virus payload to millions of people as an email. The email promised a vivacious picture experience and contained an attachment (the virus executable posing as a sexy picture). This particular virus was delivered via email and the script file was simply an attachment in that email. "Oh, but I know what attachments are safe to click on" you say? Victims received this virus email and, those with knowledge and wisdom simply deleted it. The less-informed persons simply saw an email promising a tantalizing picture and were somehow unable to keep themselves from opening what they thought was a picture of something totally amazing or sexy or whatever. Users who received the email AND double-clicked on the attached file actually ran this virus script (program) and compromised their systems because of their poor choice. But it looked like the attachment was just a picture, right? Bait And Switch Got People To Click... In order to get you to run their little virus program, the virus authors simply disguised their virus script file as a picture by naming it "FUNNY.JPG.VBS". You might think "That doesn't look like the name of a picture cuz it has .VBS on the end of it...". But here's the trick. Since virus authors know that most people's systems are configured to hide file extensions of known file types (Windows default), they relied on the fact that most people would not ever see the ".vbs" on the end of the filename. To them, it looked like the file was named "FUNNY.JPG" and so they naturally thought that the attachment was just a picture and they proceeded to try to open it. After all, the email said it was an amazing or sexy or nude or whatever photograph. In fact, the file was not a picture. The filename really ended with ".VBS", so it was an executable script. When they double-clicked on it, they were actually running this dangerous script virus (program) that damaged their systems and/or compromised their identity and other private information. The virus writers were very successful in getting people to double-click on their file attachment or "payload" because most PCs are set to hide file extensions. That is how Windows is configured by default ( for reasons known only to Microsoft in their infinite wisdom). Therefore, many people ended up trying to open what they thought was a salacious picture of some sort and, instead, they ran the virus script and infected their systems. This is the basic bait and switch technique that was used and is the reason why you should waste no time in setting Windows to always show the file extensions of all known file types. My system is now SHOWING all the file extensions... Once you unhide file extensions as detailed above, you will easily be able to spot what kind of file attachments you are dealing with. In our FUNNY.JPG example, you would now be able to see the ".VBS" on the end of the file "FUNNY.JPG.VBS" and you would know to avoid opening it. All that is left to do now is to know that files ending with certain file extensions are dangerous and should never be opened if received as email attachments. You already know that ".VBS" is on the list of executable files that you should never touch and we have seen how this was used by the authors of the FUNNY.JPG virus. There are lots of other file extensions that are indicative of files that will execute something when double-clicked. We gave you a list of file extensions to avoid earlier in this article. It would be a good idea to print the list and post it near your computer. With your list always close at hand, now you just need to remember to always be aware of the FULL and complete filenames and extensions of all attachments you receive and be very sure the attachments are safe before opening them. And remember, do not just double-click attachments. Instead, use the "right-click, Save As" method we gave you in step #3, above, so that you know your antivirus actually has a chance to scan the attachment first.
The only thing the virus writers had to do to hide the file extension from the "smarter" user, even if their system is set to show file extensions, was to use a filename that contains a huge number of spaces right before the end of the file name (the file extension). Very simple, but quite effective. The effect of padding the virus file's name with lots of spaces is that it becomes harder for you to see the file extension, or, at least, easier to miss it. Even if file extensions are being shown by Windows, if the filename is so long that you don't see the ".VBS" or ".EXE" or whatever way out on the end of the filename, you are at risk of feeling safe to open the attachment. This is what the virus mongers count on. With this later tactic, even if your system no longer hides file extensions, you still might decide that the file is OK to open because you cannot see the ".VBS" or ".EXE" at the end of the filename because the filename is so long that you cannot see the file extension way out at the end of the filename. Let's take a more detailed look at how this works. We will use our FUNNY.JPG virus as an example and we will show how long filenames with lots of spaces were used to conceal the fact that there is a ".VBS" extension at the end of the virus script's filename. In fact, you could say that this was an enhanced version of the FUNNY.JPG virus that was designed to fool people regardless of whether Windows was hiding file extensions or not. The virus writers needed you to think that there was just an innocent JPG picture attached to the email even if you have Windows setup to show file extensions. Their solution was painfully simple. They took their virus file "FUNNY.JPG.VBS" and
changed the filename by adding lots of spaces to it, like this: "FUNNY.JPG .VBS" You Can Still Be Safe- Not a problem, though, if you use the right-click / "Save As" Summary: |
||
