The three were killed in an overnight attack on a police post in the western outskirts of Kabul .