The black tar is most likely raccoon poo. Might want to bleach that shin and make sure your shots are up to date. Also not fun to clean out of dog fur.