its a science fiction trilogy i think
its about an alien invasion and the aliens are using tri pod vehicles like in war of the worlds
but its not that story
the put these metal caps on people's heads to control them the hero of the story killed his cousin i think cause of the cap and he joins a underground resistance
i recall in one book he was in an alien city? perhaps sneaking in or was a prisoner,