The New York attorney general has launched an investigation into eight banks to determine whether they misled ratings agencies about mortgage securities, according to a person familiar with the investigation.

Attorney General Andrew Cuomo is trying to figure out if banks provided the agencies with false information in order to get better ratings on the risky securities, said the person, who spoke on condition of anonymity because the investigation has not been made public.