Substituted 2-(2-phenylhydrazinyl)pyrazine of general formula I, wherein each R1, R2 is independently H or CN R3 is CH3 or CONH2 each R4, R5, R6, R7, R8 is independently H, CI, or NO2. The invention further provides a method for preparing such substances, in which the appropriate substituted chloropyrazine is treated with a substituted phenylhydrazine under conditions of microwave synthesis. The compounds of general formula I are characterized by their low toxicity and high activity against mycobacteria. They can also be used in pharmaceutical preparations as antitubercular drugs.2-(2-phénylhydrazinyl) pyrazine substituée de formule générale I, où chaque R1, R2 est indépendamment H ou CN R3 est CH3 ou CONH2 chaque R4, R5, R6, R7, R8 est indépendamment H, CI ou NO2. Linvention concerne en outre un procédé de préparation de ces substances, la chloropyrazine substituée appropriée étant traitée avec une phénylhydrazine substituée dans des conditions de synthèse micro-ondes. Les composés de formule générale I sont caractérisés par leur faible toxicité et une activité élevée contre les mycobactéries. Ils peuvent également être utilisés dans des préparations pharmaceutiques comme médicaments antituberculeux.