The present invention relates to novel azoles, novel antiviral active components of the general formulas 1A and 1B, pharmaceutical composition, antiviral medicament, method for prophylaxis and treatment of viral diseases, particularly caused by hepatisis C viruses (HCV). In general formulas 1A and 1Bwherein: solid lines with accompanying dotted lines (---) represent ordinary bond or double bond, provided that one of them is an ordinary bond, the other one is double bond X and Y accept various meanings, one of them is - nitrogen, the other - oxygen, sulfur or NH group R1 and R2 - optionally the same radicals selected from 2-(R)- and (S)- substituted N-acyl pyrrolidine derivatives N-methyl-N-[2-(R) and (S)- substituted 2,2-disubstituted acetamides methyl[2-(R) and (S)-substituted ((methyl)amino)-(1-oxobutan-2-yl)-2-(R)-] and (S)-iso-propyl)-carbamates. A represents aliphatic C2-C8 biradical dioxane, cyclo- and bicycloaliphatic, alkyloxyalkyl, alkyloxyalkylenoxyalkyl, alkenyloxyalkyl, alkynyloxyalkyl biradicals and their thioanaloges aryl and thiophene alkynylcycloalkyl, alkynyldioxane, alkynylaryl, alkylthiophene, alkenylthiophene and alkynylthiophene, alkyloxyaryl, alkenyloxyaryl, alkynyloxyaryl, alkylthioaryl, alkenylthioaryl, alkynylthioaryl, cycloalkylthiophene, aryldioxane and thiophenyldioxane biradicals. B represents: aliphatic C2-C8 radical, including 1,2 or 3 triple C≡C bonds aryl and thiophene, alkynylcycloalkyl, alkynyldioxane, alkynylaryl, alkylthiophene, alkenylthiophene and alkynylthiophene, cycloalkylbenzene, 4-cycloalkylbiphenyl, bicycloalkylbenzene, 4-bicycloalkylbiphenyl, cycloalkylthiophene, aryldioxane and thiophenyldioxane radicals.