How Can JavaScript Be Malicious?

Sep 18, 2016 at 11:55pm
Honesty, I am at a complete loss of how JavaScript could possibly be malicious. I mean, it seems like such a well sand-boxed language that I don't understand how code could be malicious. So, I guess what I am looking for is if there are any good examples of old JavaScript malware (that, obviously, has been patched because no sane person would work out a new way for JavaScript to be malicious and give it away for free).
Last edited on Sep 19, 2016 at 12:22am
Sep 19, 2016 at 1:36am
Some people say that Java cant be malicious (I am fully aware that Java and JavaScript have absolutely NOTHING in common) but people have written malware in Java. Cant pretty much any language be used to create malware?
Sep 19, 2016 at 2:13am
One example that comes readily to my mind: https://en.wikipedia.org/wiki/Cross-site_scripting
Sep 20, 2016 at 3:15am
Yes, in theory probably any language could be malicious, but the reason i'm focused on JavaScript is because that is where most-everyone's attention is centered at for exploiting bugs to make malware because, as you know, it runs freely in a sort of sense because all currently discovered malicious things have been removed) on clients computers.

Thank you so much, that is an awesome perfect example, exactly what I was looking for. You are so incredibly helpful.

How about something more complicated like abusing the paging file?
Last edited on Sep 20, 2016 at 3:19am
Topic archived. No new replies allowed.