ISIS would have a big problem trying crap with Egypt.
You might think so, given the relative size and the power of the conservative military—but remember Egypt voted in their native Muslim Brotherhood during the so-called Arab Spring. They are in the midst of a Islamic counter-reformation of their own. Somewhere on the internet is an interesting series of pictures of graduating classes from Cairo University over a long period of time. It is interesting to see a progressive transformation from a largely secular group of young people to more current graduating seniors where the few women are in Islamic dress.
Furthermore, the unrest in terms of bombs and attacks on tourists can continue for a long time since they have a built in Muslim Brotherhood constituency. The attack on tourists a few years ago severely hurt the tourist industry.
What could save Egypt is the ordinary people who are proud of their ancient heritage and would not support destroying all those statues and hieroglyphs.
If I recall correctly, the Egyptian government was quite upset when ISIL oriented terrorists killed a group of Copitic Christian men working in Libya. I was surprised since the Coptics have not always been treated well by Egypt.