The Ghost in the Browser: An Analysis of Web-based Malware