The US president will announce he is establishing an office in the White House to protect government-run and private networks from attack , a senior administration official said on condition of anonymity .