Can I get any virus from google images in my system?

5.6K    Asked by Ankityadav in SQL Server , Asked on May 24, 2024

Can using "Save image as" on google images be dangerous? 

I was wondering if some malicious code could be placed in the image file (the formats I am concerned with are JPEG, PNG and WEBP, basically the common formats available when you download from google), for example as metadata, so that it would be executed when opened (or simply downloaded but that seems less likely), and if such malicious images can be obtained from Google Images after right clicking on it after a search and selecting "save image as".

Answered by Andrew Jenkins

  1. In general, viewing an image is safe.
  2. Viewing Google cached versions of an image is the safest.
  3. Viewing the original image on the original site is usually very safe as well.
  4. Visiting the page of an unknown site is always a small risk, but Google is pretty good about blacklisting sites that transmit malware.
  5. Theoretically, the image itself can contain malware, so you can get virus from google images but it would have to attack a vulnerability in a specific image viewer. Very unlikely.
  6. You can read ways that images might be unsafe at Watch out for photos containing malware, but this talks more about the use of an image to deliver a trojan horse executable.


If you are exploring questionable websites, the best thing to do is to explore them from inside a Virtual Machine or on a non-Windows machine (like a Linux liveCD) . This way, if anything goes wrong you can just kill off the LiveCD or erase the VM. Not much ordinary malware can jump VM barriers. A quick test using "Inspect Element" in Chrome reveals: The image on the search results screen is raw base64 encoded data re-rendering of the image. That is totally safe. If you click to expand the image, the expanded image comes directly from the website in question. "View image" takes you to that same image on the screen by itself, exposing the site URL in the address bar. Clicking on the image or the "Visit Page" button takes you to the page containing the image.



Your Answer

Answer (1)

Getting a virus from Google Images directly is highly unlikely, as images themselves are generally not harmful. However, there are indirect ways that viewing images through Google Images could potentially expose your system to malware or other security risks. Here are some scenarios and preventive measures:

How You Could Be Exposed

Malicious Websites:

If you click on an image and visit the website hosting that image, the website itself could potentially be malicious. These sites might try to exploit vulnerabilities in your browser or prompt you to download malware.

Malware Embedded in Image Files:

While rare, there have been instances where malicious code has been embedded in image files using steganography. However, modern browsers and operating systems have security measures to prevent such exploits.

Fake Download Buttons:

Some websites display fake download buttons or prompts that trick users into downloading malware, disguised as software updates, video players, or other files.

Phishing:

Clicking on an image link could lead to a phishing site designed to steal your personal information by mimicking a legitimate site.

Preventive Measures

Use a Secure Browser:

Ensure your browser is up to date and has security features enabled, such as blocking pop-ups and warnings about malicious sites.

Antivirus Software:

Use reputable antivirus software to provide an additional layer of protection against malware.

Be Cautious with Downloads:

Avoid downloading files from unfamiliar or suspicious websites. Only download software from official and trusted sources.

Enable Browser Security Features:

Use browser security settings to block harmful content. Most modern browsers have built-in protections against malicious sites.

Regular Updates:

Keep your operating system, browser, and other software up to date to protect against known vulnerabilities.

Avoid Suspicious Links:

Be cautious about clicking on links from unknown or untrusted sources, even if they appear in Google Images.

Summary

While it is not common to get a virus directly from viewing images on Google Images, there are indirect risks associated with visiting the websites that host these images. By following good security practices, such as keeping your software updated, using antivirus protection, and being cautious about the websites you visit and the files you download, you can significantly reduce the risk of exposing your system to malware.


5 Months

Interviews

Parent Categories