A high ranking military officer has been assassinated in Egypt amid worsening security and economic situation.