Cyber-attacks on US political groups are stopped after Microsoft grabs key net domains, the company says.