The invention relates to medicine, specifically to new medicinal compositions that exhibit a biocidal, particularly antimicrobial and antiviral, effect. An agent is proposed that contains an alloferon analogue—;the peptide H2N-His-Gly-Val-Ser-Gly-His-Gly-Gln-His-Gly-Val-His-Gly-COOH and the peptide HN2-(CH2)10-CO-Ile-Leu-Pro-D-Phe-Lys-D-Phe-Pro-D-Phe-D-Phe-Pro-D-Phe-Arg-Arg-NH2 in a mass ratio from 1:2 to 2:1 and excipients. The agent exhibits a combined antibacterial and antiviral effect and is promising for the treatment of vaginal herpes infection, including when complicated by bacterial infection.