one of my dogs get sores that look like that and its due to her allergies, she licks and scratches it , it gets all flakey and then crusty. actually every year at this time she is miserable and has to go on pred. our vet said its an infection due to allergies