Actually there are specialized parts for fixing squeaks and rattles.
This is not a joke:
The kit is labeled "Buzz, squeak, and rattle kit"
It contains greases, oils, hi and low density foams, a high density waxy tape, felt like tapes, etc. It is used to isolate parts that rub one another. If parts can not be isolated, the oils can be used to penetrate plastics, and eliminate squeaks.