Spy agencies scrounge for details on North Korean nuclear test