New Member
If image contains malware and that same picture converted to other size with some programs. Is that img still infected?
  • Like
Reactions: BryanB

Mahesh Sudula

Level 16
Malware Tester
Yes it is still effected....suppose i have a .rar virus ..and i converted to zip
Does the physical state of the sample changes NO ..It is still an infected .zip
  • Like
Reactions: BryanB


Level 17
Content Creator
Are you talking about a picture file when you are referring to "image"?

If so, then yes, when you convert to another format the malware part will be removed.

The reason for that is because the malicious code is usually hidden in the non-visible part of the picture/image file, such as the header or the footer. Conversion to another format works to remove this malicious code because it will only convert the image part of the JPEG, leaving the malicious code behind when it moves the image to the Bitmap format for example.

Anyway malicious images depends on exploits to execute malicious code, it isnt something simple.