Iraqi security forces had spotted two men, one wearing an explosive vest and a driver, approaching the gate of the Intelligence and Counter-Terrorism Directorate in the Qadisiyah neighborhood in the northern city of Kirkuk, a security official said.
The man hurled a grenade and then detonated his explosives vest before entering the premises, the official said. The other man, apparently the driver, sped away from the scene.
There was no claim of responsibility by Daesh, which was largely defeated in Iraq in 2017 but still maintains sleeper cells to target Iraqi forces. Suicide bombings were a hallmark of the militant group, which at the height of its power in 2014 controlled nearly a third of both Iraq and Syria.
A senior Iraqi intelligence official told AP that the department "had knowledge that Daesh would carry out a suicide operation against the Intelligence Directorate, but we did not know on which day."
Both the security official and the senior intelligence official spoke on condition of anonymity because they were not authorized to talk to the media.
The attack was the first attempted suicide bombing in recent months, coming amid minor Daesh attacks in the provinces of Kirkuk, Diyala and Salahaddin. The provinces' rugged terrain is difficult to police and a territorial dispute between the federal government in Baghdad and Iraq's semi-autonomous northern Kurdish region has led to security gaps in the area.
The Daesh terror group has intensified its attacks in Iraq in recent months amid Baghdad’s call on the US to pull out its forces from the Arab country.