A process for providing a substrate, particularly a metallic substrate, with corrosion resistance and/or with anticorrosion properties, wherein the process comprises the process step of treating at least one surface of the substrate at least partially with an anticorrosion composition; wherein the anticorrosion composition comprises: (i) a dispersion medium as a continuous phase in an amount from 3 to 99.999 % by weight, particularly in an amount from 20 to 99.999 % by weight, preferably in an amount from 50 to 99.999 % by weight, based on the anticorrosion composition; (ii) at least one carbon-based additive selected from the group consisting of carbon nanotubes (CNTs) and analogous carbon allotropes as well as mixtures and combinations thereof in an amount from 0.001 to 4 % by weight based on the anticorrosion composition, wherein the analogous carbon allotropes are selected from the group consisting of (i) optionally modified graphites; (ii) optionally modified graphenes; (iii) fullerenes; (iv) carbon blacks; (v) carbon fibers; (vi) optionally modified carbon nanohorns (CNHs); (vii) carbon nanocones (CNCs); (viii) onion-like carbons (OLCs); and (ix) mixtures and combinations thereof; (iii) at least one dispersing agent (dispersant) in an amount from 0.0001 to 20 % by weight based on the anticorrosion composition, wherein the at least one dispersing agent is selected from the group consisting of (i) polymers and copolymers having functional groups and/or groups with pigment affinity; (ii) alkylammonium salts of polymers and copolymers; (iii) polymers and copolymers having acidic groups; (iv) comb copolymers and block copolymers; (v) optionally modified acrylate block copolymers; (vi) optionally modified polyurethanes; (vii) optionally modified and/or salified polyamines; (viii) phosphoric esters; (ix) ethoxylates; (x) polymers and copolymers having fatty acid radicals; (xi) optionally modified polyacrylates; (xii) optionally modified polyesters; (xiii) polyphosphates; and (xiv) mixtures thereof; wherein the anticorrosion composition is a dispersion comprising the carbon-based additive dispersed in the continuous phase. (i) a dispersion medium as a continuous phase in an amount from 3 to 99.999 % by weight, particularly in an amount from 20 to 99.999 % by weight, preferably in an amount from 50 to 99.999 % by weight, based on the anticorrosion composition; (ii) at least one carbon-based additive selected from the group consisting of carbon nanotubes (CNTs) and analogous carbon allotropes as well as mixtures and combinations thereof in an amount from 0.001 to 4 % by weight based on the anticorrosion composition, wherein the analogous carbon allotropes are selected from the group consisting of (i) optionally modified graphites; (ii) optionally modified graphenes; (iii) fullerenes; (iv) carbon blacks; (v) carbon fibers; (vi) optionally modified carbon nanohorns (CNHs); (vii) carbon nanocones (CNCs); (viii) onion-like carbons (OLCs); and (ix) mixtures and combinations thereof; (iii) at least one dispersing agent (dispersant) in an amount from 0.0001 to 20 % by weight based on the anticorrosion composition, wherein the at least one dispersing agent is selected from the group consisting of (i) polymers and copolymers having functional groups and/or groups with pigment affinity; (ii) alkylammonium salts of polymers and copolymers; (iii) polymers and copolymers having acidic groups; (iv) comb copolymers and block copolymers; (v) optionally modified acrylate block copolymers; (vi) optionally modified polyurethanes; (vii) optionally modified and/or salified polyamines; (viii) phosphoric esters; (ix) ethoxylates; (x) polymers and copolymers having fatty acid radicals; (xi) optionally modified polyacrylates; (xii) optionally modified polyesters; (xiii) polyphosphates; and (xiv) mixtures thereof;