** What is vibrating and can I do anything to stop it? ... when I lightly bang on it the noise stops. **
It may not be installed properly or securely enough and it has gotten worse with the normal vibration of usage.
Did you use any foam seals between it and the window frame (all the way around it)? Is it screwed to the window and is the window screwed tight against it?
You can read some general window air conditioner installation instructions at the following link: