The mol-ecule of the title compound, C(9)H(8)N(4)S, adopts an E configuration about both the C=N and C-NH bonds. In the crystal structure, adjacent mol-ecules are linked by inter-molecular N-H⋯S hydrogen-bonding inter-actions, forming chains running parallel to the b axis.