Security forces say they have caught the masterminds behind a computer virus which hijacked the machines of more than 13 million users worldwide.