Do you have remote start? On one of our older cars, we had an after-market remote start added and the 'antenna' was a similar box attached like that. In our case it was placed at the top, behind the rear view mirror.
We’re the best Subaru Forester Owners Forum to talk about the best years of the Subaru Forester, modifications and reliability history of the Subaru Forester.