Link to home
Start Free TrialLog in
Avatar of gigazer
gigazer

asked on

Misc. code in an image?

Is it possible for someone to insert misc. or possibly dangerous code into an image file such as a .gif, .jpg, .bmp and so on?
The coding i am referring to is something like html tags, javascript and any other possible code format.
And if it is possible, how?

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gigazer
gigazer

ASKER

Well i don't really mean to give a step by step method of implementing such code into an image. I was just wondering, what type of image format i would have to keep an eye out for, or how i would tell a coded image from a safe one?

I am just curious and want to stay safe.
> .. or how i would tell a  coded image from a safe one?
you can't if you don't know what you're looking for.
Any image may be infected, use lynx or links or w3m if you want to be safe :-))
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>> Is it possible for someone to insert misc. or possibly dangerous code into an image file such as a .gif, .jpg, .bmp and so on?

Yes. However, this code would not be executable unless the code was extracted from the image by some other program. Therefore, for the code to be exectuted, the target machine would have to be infected already, unless there are other weaknesses inherent to the Microsoft OS of which I am unaware, when the image was cached by your browser.

Moral: Keep your virus scanner updated.

Cheers!
Exceter
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
simple question, simple points, simple answer, and a very simple solution too:
  see my previous comments ;-))
Avatar of gigazer

ASKER

well i think my question was answered well enough by all the comments posted, so i will split more points between the answers i feel suited my needs, thank you for your cooporation.