Asteroid material deposited during large impacts record the moon's ancient magnetic field
The moon has no core dynamo magnetic field, but spacecraft detect numerous strong localized magnetic fields in the crust of the moon. Many of these magnetic anomalies are antipodal to large impact basins.