How are you sure it is the shower drain that's leaking? Although that would be the most likely thing, plastic shower pans can leak from cracks that develop
elsewhere. The "gray material" may or may not be the source of the leak. How is the joint between the brass thing and the pan sealed? I really think
you are going to have to access the bottom of the pan to do a proper diagnosis and repair.