the inverted sti struts were well know for the grease to dry up inside them, i had them on my old forester at one stage, they need to be dissaembled and re greased to fix the knocking noise
full explanation & fix in here:
https://www.youtube.com/watch?v=zYiP4DG_OQU