Egypt's state news agency says gunmen on a speeding motorcycle opened fire, killing two members of the tourist police at the famed Giza Pyramids.

Wednesday's drive-by shooting was a rare incident at a tourist site. Egypt sees regular attacks on its security forces as it struggles with a low-level Islamist insurgency, mostly in the lawless northern Sinai Peninsula.

But the attacks have inched closer to the capital, mostly targeting individual security agents but also included small bombings in public areas. A deadly car bombing last year hit the security headquarters in Cairo, also damaging an Islamic museum.

The surge in violence has followed the 2013 ouster of Islamist President Mohammed Morsi.

Tourism, a major foreign revenue earner, plunged recently, after recovering from a wave of Islamist attacks in the 1990s.