A biomarker group of steranes with a methyl group attached to C-2, C-3, or C-4 on the A-ring. The 4-methylsteranes in petroleum generally originate from dinoflagellates.