If it was just on the thread itself someone put it there but if the hex and porcelain section then as above the rocker cover gasket is leaking down onto the plug tubes
Once you have the coils etc out which you obviously know how to then remove the rocker cover and replace the rubber gasket
The gasket is not expensive genuine I did mine last year on my E34 525i not hard at all (but I guess as a mechanic most jobs fall into the not hard catagory)
Good luck
Jason.......