From a corrupted pronunciation of 険悪(けんあく) (ken'aku, “hostility”), with epenthetic "m". The characters are ateji (当て字).
剣(けん)幕(まく) • (kenmaku)