Pull the rubber window seal down out of its track and you'll find phillips screws holding that trim piece in. I have a pair off of an '07 STi if you're looking for replacements!