They're abscesses that form probably as a result of inflammation of glands around the anus which become infected. They are most common in middle aged male dogs and 84% occur in German Shepherd Dogs. Veterinary treatment is necessary and the sooner it is begun, the better the outcome.