The United States imposed financial sanctions Friday on North Korea and several senior government officials in retaliation for a cyber attack on Hollywood studio Sony Pictures.