Does your AV detect files with double extensions?

Tom172

Level 1
Thread author
Feb 11, 2011
1,009
29
32
I've noticed this in the last day or two and found it interesting.

If you create a new text file, then save the file with a double extension, for example "Test.txt.exe" Comodo Internet Security will detect the file straight away as malicious.


Wy24N.jpg






Instructions:

Open Notepad > type in any random text you like > Save As

Name the file, for example "Test.txt.exe" (without quotes)
Next to "Save as type" click the dropdown and select "All files"

Next to Encoding select Unicode, and save the file.

iFrek.png



Comodo deleted the file automatically.

Seeing as files with double extensions are in most cases malware, it would be interesting to see if other AV's have the same behavior.

Try this out and post your results.
 
I think it depends on the file behavior, that AV would detect it. Beside the name of double extensions but the content it.
 
Thanks for trying!

I'm surprised more AV's don't implement this idea, seeing as it would eliminate alot of attempts to trick users into running malicious files.
 
The text file isn't malicious though, have you reported this to Comodo?
 
Earth said:
The text file isn't malicious though, have you reported this to Comodo?

The point is it's able to tell a file is using dual extensions. Malware authors use this trick to make a file look like something it's not. Since windows hides extensions by default, they can make a file look like a text document etc, whereas it actually could be a .exe
 
Does not matter what file it is, Comodo will always flag double extensions files... i noticed this when i encrypted some of my sisters files of her college work docs... think it's better to be safe than sorry so understand why it does get flagged to be fair.
 
AyeAyeCaptain said:
Does not matter what file it is, Comodo will always flag double extensions files... i noticed this when i encrypted some of my sisters files of her college work docs... think it's better to be safe than sorry so understand why it does get flagged to be fair.

Yep, it's a good idea. More often than not double extensions signal malware, although as you stated they do arise in legitimate circumstances also.
 
Earth said:
The text file isn't malicious though, have you reported this to Comodo?

There is nothing to report. The whole point of heuristics is to flag suspicious characteristics in the absence of a matching virus definition.

A file with two extensions is a suspicious characteristic due it being exploited by malware for the reasons already mentioned.

Heuristics by their very nature are prone to false positives because suspicious does not always mean harmful.
 
It's a very smart move. This is almost only ever used by malware - there is no reason for a legitimate file to do this.

I would hope most heuristics check for this.
 
I've remember before watching some videos of Avira 9. Simply making file like this one (not sure if its double extension) would popup every single alert.
 
double extensions are old kind of virus trick, very popular. .exe, .vbs, etc...
 
A friend tested this on his computer and it seems like Panda Cloud AV can also detect a double extensions.
Can anyone confirm that?
 
I can confirm Panda cloud does detect double extensions. :)

EDIT: Just looked a little more into this and it seems Panda is blocking the creation of Executables not the dual extensions. If you look at this link http://blog.cloudantivirus.com/2010/06/03/behavioral-blocking-rules/
and looks at rule 5008 that is what is being used to block me creating a file called Test.txt.exe.

Cheers
Shaun
 
ESET doesn't seem to mind me creating a file with a double extension, i am am glad it doesn't.

My schools assignment submission system only accepts some file extensions, so sometimes we use double extensions to submit assignments. So i would be mighty crossed if ESET suddenly started removing my assignments. ;)
 
Agreed with Shaun, Panda does detect Double Extensions.

ESET Smart Security 5 doesn't pick up double extensions as far as i can tell :)
 
I'm using Comodo Internet Security and it does detect double extensions because it quarantined one after doing a full scan.