My high mount (3rd brake light) started rattling on a rough road. Had to add some thin foam tape (left over from trd kit) between a joint in the brake light assembly. Also the keyless entry receiver on the parcel shelf rattles on most cars but I sorted mine out before it started.
Under dash ones are probably parts of the wiring harness rattling against the plastic (most of the time ones near the center stack/radio).