The explosion is the latest in a string of attacks on buildings housing the security forces of government offices.