Unfortunately, this is a fairly common event. I can think of several people I know that use Yahoo. Gmail, and even AOL who have had their account address books hijacked. AOL was the most recent and addresses were used to advertise a male pharmaceutical. But its likely those sites were attacked, not your machine. Beyond maintaining your computer's A/V systems, there is not much you can do except staying alert.
Bill
Fractal Design R5 | Asus Z170 Pro | Intel i5 6600k | 16 GB G.Skill Ripjaws DDR4 2133 | Seasonic 650w PSU | eVGA GTX 550 TI | Samsung 960 M2 500 GB | Samsung 850 EVO 500 GB | ASUS Burner | Windows 7 64-bit