Security forces killed an Islamic State commander and four fighters in the Hamrin Mountains area of northeast Iraq on Sunday, the military said.