Understanding and Defending Against Malicious Identities in Online Social Networks