The present invention belongs to the field of virology and is related to agents with antiviral activity against enveloped viruses, particularly anti-HIV and anti-HCV activity, and methods for the prevention of viral infection in a subject, in particular HIV and HCV infections. Agents according to the invention comprise a DNA-lipid conjugate forming a G-quadruplex structure.