Attacked is the right word. The office is a legitimate place of business with election signs in the window. Throwing rocks and shooting up the windows sounds like 'attack' to me.
I agree with you Old Lady .. attack is the right word.
If it was just vandalism .. there would have been several stores with broken windows, or spray paint, etc. .. but they targeted just one place. I'd say that was an "attack".