Armed militants briefly occupied the West Bank headquarters of the Palestinian Cabinet Thursday , in a protest against the territory 's new Hamas-led government .