A compound represented by the general formula (M):(wherein R1 represents a substituted or unsubstituted aromatic heterocyclic group, R2 represents a hydrogen atom, a substituted or unsubstituted alkyl group having 1 to 3 carbon atoms, OR3, N(R3)2, C(═O)OR3 or C(═O)N(R3)2, R3 represents a hydrogen atom, an alkyl group having 1 to 4 carbon atoms, or an acyl group having 1 to 4 carbon atoms, R4 represents a hydrogen atom, an oxygen atom or OR5, and R5 represents a hydrogen atom, an alkyl group having 1 to 3 carbon atoms, or an acyl group having 1 to 3 carbon atoms) or a pharmaceutically acceptable salt thereof is a cortistatin A analog which is useful as an active ingredient of medicaments for cancer prevention or treatment in that the analog can be mass-produced by chemical synthesis due to its simple chemical structure and retains the same biological activities as those of cortistatin A.