The United States "expressed support for Pakistan's right to defend itself against Taliban attacks", a US official said.