Sheriff Fees

If you win an auction that is way higher than the mortgage lender amount, do the excess funds cover the 5% sheriff/county fees?