Unless your work involves helping people, treating or educating them, that's basically most industries, no?
Automotive, aerospace, consumer electronics, travel, advertising, mining, shipping, food, meat, chem, pretty much anything related to consumerism, all hurt society or the environment to some degree in order to benefit their customers and shareholders.
SW engineers are an easy target for the mainstream media since "they're paid huge sums for just sitting in front of a screen all day so they can't be adding much value to society as a physical laborer for example".
Edit: Of course, the main thing is if the damage done to society or the environment is outweighed by the benefits provided in return such as the food, energy and pharma industry.