The ERF2-ERF4 complex is a palmitoyltransferase specific for Ras proteins. hexadecanoyl-CoA + L-cysteinyl-[protein] = CoA + S-hexadecanoyl-L-cysteinyl-[protein] Interacts with ERF4. The DHHC domain is required for palmitoyltransferase activity. Autopalmitoylated. Belongs to the DHHC palmitoyltransferase family. ERF2/ZDHHC9 subfamily.