I think it could be the anal gland pal , the ferret may have a small infection that has caused a blockage , resulting in odd sh*t and causing some irritation so the ferret is dragging it's arse trying to stop it irritating, get it to the vet they will empty the anal gland and you should recieve ome medication for it .
Atb mate JD