This is nothing new - they were dancing around the issue in season two, referring to the unnamed trio of Middle Eastern countries who had supposedly sponsored the attempt to detonate a nuke on American soil.
Then they made up a fictional African country, Sangala, last season as well.
and yet they have no problem 'naming' the Russians or Chinese as bad guys. Its comical.
Not the "Russians," the Russian Mafia, which is a criminal organization with absolutely no redeeming qualities, so what would be the problem with using it?
Were the Chinese really all that bad in comparison to the US on the show? We invaded their embassy to kidnap someone and ended up killing one of their embassy staff. They kidnapped Jack, tortured him (which Jack and CTU do regularly), and put him in prison before trading him back to the US. Seems like a pretty fair exchange of bad deeds to me.
It's a little bit different between those examples and using a Middle Eastern or African country and actual problems which are relevant to today. In those cases they usually make up a fake country that's a composite of multiple countries in the region as a substitute.
The West Wing did use Qumar on a few occasions, which Aaron Sorkin is on record as regretting. On most other occasions, it used real countries.
And of course, who could forget the plight of Equatorial Kundu, which was a composite of Equatorial Guinea and Rwanda?