Misfeasance

Improperly doing something which a person has he legal right to do.