|
Posted by Roger Abell [MVP] on January 27, 2007, 1:45 pm
If you were Registered and logged in, you could reply and use other advanced thread options For IE there is a setting in the security options (not sure when
this showed up, perhaps IE6 SP1) named
Misc\Open files based on content, not file extension
Of course it does not impact the Explorer behaviors of post
(save perhaps if file had been downloaded?).
Roger
> IE does MIME snooping as well. It looks at the first few bytes of a file
> to
> determine what type it really is. If the file header starts with MZ it is
> a
> pretty sure bet it is a PE image file. This can be disabled on Windows
> Vista,
> but I don't think it can on XP.
>
> BTW, if your AV program can't detect a virus that has had its extension
> modified with just two letters on the front I would consider a new AV
> program.
>
> "Dustin Cook" wrote:
>
>> 66.250.146.159:
>>
>> > I downloaded a file (let's call it BLUESKY.EXE) which my anti-
>> > virus guard says may be a virus.
>> >
>> > I wanted to get more info about this file, so I disabled it by
>> > adding a couple of random letters to the extension.
>> >
>> > I renamed BLUESKY.EXE to BLUESKY.EXEHJ.
>> >
>> > I figured this would stop XP from running it if I double clicked
>> > it in error. But my antivirus guard 'AntiVir PE' warned me about
>> > it again. Even with the dummy extension letters. Surely such a
>> > program file is now safe enough?
>> >
>> > --
>> >
>> > I found that if I put the random letters *before* the EXE then
>> > 'AntiVir PE' did not detect it as a virus.
>> >
>> > So BLUESKY.HJEXE is ok according to 'AntiVir PE'.
>> >
>> > Is this just an oddity in 'AntiVir PE' or is this being done
>> > because of something in my XP Pro which might truncate the letters
>> > in a file's extension after the first three letters?
>> >
>> >
>> >
>>
>> Ehm... You really can't trust this with windows. I know for sure via
>> console filename isn't important, it can still be executed. I know if you
>> set it via a registry run key it will execute fine, regardless of named
>> extension. To ehh, be safe, don't double click on them. Treat them as
>> live rounds.. :)
>>
>> AntiVir PE is going by filename extension to determine if it should scan
>> the file. A decision on it's programmers part. One I disagree with, for
>> reasons like you found. :)
>>
>>
>> --
>> Dustin Cook
>> Author of BugHunter - MalWare Removal Tool - V2.1
>> web: http://bughunter.it-mate.co.uk
>> email: bughunter.dustin@gmail.com.removethis
>> Last updated: January 25th, 2007
>>
|