X2 re exhaust leak. Mine was making diesel-type noises that went away with cat-back replacement. I was utterly convinced the source was somewhere in the engine compartment, but turned out it wasn't.

Also, check the crank pulley bolt. A loose crank pulley can make quite a knock.