The tube is probably grease, the brass thingy is the bit which holds the ABS sensor still and stops it falling out. They should be changed every time the sensor is disturbed, yeah right.
Keep it safe, if the ABS light comes on because the sensor has moved, you'll wish you had fitted it when you had the chance ;)