This hazard is technological because it is due to air pollutants caused by humans. The big pollutant emissions are from coal-burning, vehicle exhaust and the burning of crop stalk on the outskirts, according to environmental authorities in Heilongjiang.There isn't much protection against something like this without stopping constant pollution. The defense is mainly adaption because they had masks ready for sale. They are also able to warn the rest of the country that are in danger of the smog to roll in. Other protective measures include keeping people indoors(especially the elderly or young children).
http://www.newsbullet.in/world/52-more/46748-china-city-shutdown-due-to-hazardous-smog
http://www.cnn.com/2013/10/22/world/asia/china-smog-lingers/