Javascript Viruses

These are javascript exploits that seem to work best with Internet Explorer.

In general, I've changed the urls in the code so that specific sites can not be identified.

Start Page Hijacker | Can't Close Web Page | References


Start Page Hijacker

This is the type of code fragment that infects Internet Explorer. The fact that this is even possible says it all.

I'm not sure if this is javascript or vbScript - they both allow this. The difference is whether or not there should be 1 or 2 backslashes in the registry paths.

I have provided a simple browser hijacker to demonstrate how easy this is. Before you try it, please use Tools / Internet Options... / Home page to copy your current home page url to the clipboard and then paste it somewhere so that you don't loose it - you've been warned.

Waning: Clicking this link opens a page that modifies YOUR registry - Javascript_virus_test


Can't Close Web Page

I found this code on a page that you could not close - every time you try to close the existing window it just opens a new one. I finally used Alt-Ctrl-Del to close the window. Examining the code, it is obvious that more normal behaivor is restored once you click one of the links. The page was included via


References

Be careful searching the internet for data related to these exploits - the page you open "might" infect your system.


Author: Robert Clemenzi
URL: http:// mc-computing.com / Parasites / Javascript_viruses.html