Characterization and Detection of Malicious Behavior on the Web