The FBI’s IC3 reported more than $12.5 billion in cybercrime losses, with investment fraud among the most costly categories.