to be clear all 7 of the  countries are of "concern" to the Canadian government too and visa restrictions - not an outright ban - have been in place for some time now for all of them

all are failed or fragile states (save Iran)  all have or have been known to have extensive terrorist networks including al shabab, ISIL and Al Qaida

CBSA closely monitors all applicants coming from these countries as a result 

Obama  imposed severe restrictions  on these countries and the legal factual basis for the ban was implemented by Obama - because they are recognized threats 

the press does a disservice  to the public by describing this as a Muslim ban - since 90% of Muslim majority countries are not on the exclusion list