An army spokesperson has accused the Muslim Brotherhood of carrying out a shooting that killed a soldier and injured three others on Thursday morning.
Yossri Hassan was killed and three other soldiers were injured in the attack in Al-Amireya in eastern Cairo, Ahmed Ali confirmed.
A security source has blamed Ansar Beit Al-Maqdis for the attack.
The soldiers were travelling in an army bus when two gunmen on a motorcycle opened fire at 7am then fled the scene.
Witnesses and local residents said they heard gunfire but could not specify where it came from.
The three injured soldiers are being treated in hospital.
The armed forces offered their condolences to the family of the dead soldier.
A judicial source said the investigation into the attack would be the conducted under the supervision of a military prosecutor.
There has been a surge of attacks on police and army targets since the ouster of president Mohamed Morsi in July 2013. In North Sinai, more than 175 members of the security forces have been killed in attacks by militants.
Attacks on security personnel have taken place in the Upper Egyptian city of Beni Suef, Al-Badrasheen in Giza, the southern city of Aswan, the Nile Delta city of Mansoura, Sharqiya and a number of others.
Interior Minister Mohamed Ibrahim survived an assassination attempt in Cairo last September.