Mars doesn't have much of a magnetic field since its density is so low- its core must not be completely metal, or really small.
But Mars does have some crustal magnetism - leftovers from minerals getting magnetized a few billion years ago, when it still had a molten core. CF, how fast can a Mars-sized body's core cool?