An independent contractor working in Afghanistan for the United Nations Human Settlements Programme (UNHABITAT) was murdered yesterday when unknown assailants opened fire on his vehicle, a senior UN official in the country said today, deploring the killing.