SAN FRANCISCO (Reuters) - Yahoo Inc knew it had been a target to sophisticated Chinese cyber attacks on U.S. corporations before Google alerted the company to them, a source familiar with the matter said, but chose to remain silent after its bigger rival went public.