Seven men were charged Wednesday for their alleged roles in a worldwide Internet scheme that used a computer virus to infect more than 4 million computers in over 100 countries, according to federal prosecutors.