These creatures fear the smell of ammonia. You can try wetting a cloth with ammonia and spray it around the infested area or entry point. They have a high sense of smell and ammonia will sure drive the away. Additionally, spraying fox urine in the entry points to also keep them off your attic.