Virus.DOS.Cookie, Japanese Cookie, Japanese_Xmas, or JapaneseCookie is a variant of the Japanese Christmas DOS virus. It is a very primitive virus, and is also benign.

There are 2 variants:

  • Virus.DOS.Cookie.653
  • Virus.DOS.Cookie.722


When the virus is run, it infects one DOS executable in current directory by random, including COMMAND.COM.

Files larger than 30,720 bytes may get infected incorrectly and cause a system hang.


The virus activates by random.

When triggered, it displays the string "Cookie" across the screen with a beep, followed by spamming the screen with the text string after a while:

Give me a Cookie

And it waits for the user to input "Cookie" by exact cases. Once detected it stops spamming, displays the message and return to DOS:

Oh Thank you!

Other details

Cookie.722 contains bug that would cause a system hang before loading into memory.

The virus contains the internal text string:


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.