Cosmoline is a petroleum based rust preventative. Heat, like a heat gun, but not too crazy will soften it up, and brake cleaner will remove it. Remove the grips as the brake cleaner may hurt them. Soaking it will take care of most of it. WD-40 will help clean it up as well. Nice gun, by the way.