Despite a crisis of trust both within the country and abroad, three months after the Taliban took control of Afghanistan, it is taking halting steps to pursue international legitimacy, a senior UN official in Kabul told the Security Council on Wednesday.