US intelligence agencies have traced the hacking of the Democratic National Committee computer systems back to the highest levels of the Kremlin and before leaving office in January, President Barack Obama imposed a range of sanctions and other retaliatory measures on Russia.