What is gen_204?

What is gen_204?

I saw it downloading earlier today only to find another copy of it in my downloads and deleted both. It just downloaded again. It was a small file with no extension. I searched Google and find some stuff about a Chrome error but nothing really specific or current related to what this thing is.

It has downloaded at sporadic times while browsing the internet. The first time I saw it pop up I was on Facebook and the other time I was in my ETrade account. I saw it appear on the bottom of my browser window with no extension. I'm running OSX Sierra.

(If you know what it is and want to improve the tags please feel free or if I find out what it is I'll update them myself. Not really sure how to tag this question in a useful way)

2

6 Answers

When searching for "gen_204" I came across this post from Stackoverflow: javascript in google - what's it doing ? and is it trying to encrypt its work, where gen_204 is listed as part of a Google Javascript.

Troy Hunt on troyhunt.com (link) found out that it's foreign browsers with Javascript running, trying to find something that doesn't exist, quote:

That’s enough to draw some conclusions:

  1. The gen204 reference is coming from the Google Translate script
  2. It appears to be executing in the DOM context of the target site
  3. The script above is setting an image source of gen204 plus a query string
  4. I have no idea why this is happening (although best guess is a browser plugin)

On that last point, whilst I haven’t gone deep enough down the rabbit hole to explain why this is happening, I’ve seen enough to conclude it’s nothing that requires any effort on my part. It’s not a broken reference on my site nor is it a malicious attack, it’s simply some screwy JavaScript looking for something that doesn’t exist.

Perhaps a browser plugin of yours (a Google one) is doing something?

For some reason, Chrome is downloading the gen_204 file. It isn't actually any malware or any useful file, although I am not quite sure why it is saving it.

Google uses gen_204 to generate a "204 No Content" response to your web browser. It is possible that an extension is making it download the file. Try disabling any extensions that force downloads of certain files and see if the problem continues.

If I'm correct, you're not a native English speaker. I believe that has something to do with language translation based on the information here: "The gen204 reference is coming from the Google Translate script".

I'm getting:

when I use following script tag in HTML:

script_tag: async defer src=""

I presume that csp in this case stands for Content Security Policy.

The response is: {}

See:

is basically a way to check/verify if you have real internet connectivity, as opposed to being behind a captive portal (example: wifi signup page at random cafe or airport) or a local only wifi network without internet connectivity at all (example: wifi from a printer that allows you to print, but can't reach the internet)

Normally these URLs should automatically be fetched in the background, successfully download nothing, and not result in anything being saved to disk.

The fact it's getting saved to disk sounds like a bug. It might be due to the fact that on some wifi networks it doesn't actually reach google at all, and instead gets intercepted by the network to give you a sign up page...

(I'm guessing there's similar captive portal / no network detection logic in Chrome, as there is in Android)

Maybe earlier it had other meaning like checking online connectivity of Android devices, but currently all those gen_204 requests are members of tracking/spying infrastructure. One does not need so many different parameters to check if device is online. They are tracking virtually everything down to mouse movement. If you know how to use developer tools in browser you can easily check that by yourself.

gen_204 logs

maps.google.com gen_204 logs

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like