JavaScript malware analysis

Posted by begueradj on Programmers See other posts from Programmers or by begueradj
Published on 2014-06-02T06:11:04Z Indexed on 2014/06/02 9:49 UTC
Read the original article Hit count: 191

I want to test websites for JavaScript malware presence . I plan to develop a Python program that sends the URL of a given website to a virtual machine where the dynamic execution of the eventual malicious JavaScript embedded in the website's page is monitored. My questions:

  1. Should my VM be Windows or Linux ?
  2. What if the malware damages my VM: is there a hint how to avoid that ? Or launch a new VM automatically instead ?
  3. If I use telnet client library to communicate with the VM: must I implement a server within the VM to deal with my queries or can I overcome this ?

I am jut looing for hints, general ideas. Thank you for any help.

© Programmers or respective owner

Related posts about JavaScript

Related posts about python