Earlier today google said that unusual traffic was emanating from my computer and gave me a captcha. I got curious and installed nethogs. Everything appears normal except for an unknown program running as root. It connects to seemingly random ip addresses using very high port numbers (from 40000-60000). The foreign ip rotates every few minutes. This is not happening on my other ubuntu computer.
I actually did a fresh install of ubuntu (moving from 14.04 to 16.04) and upon reboot the program is still there occasionally sending and receiving data. Attached is a screenshot. Please help me figure out what this traffic is! Have I been hacked?