You're right that you can get into morally gray areas, but if the military is using applications that are available to ordinary consumers, businesses, and governments worldwide, it's not really giving them an edge now is it?
We should focus our criticism on people that are doing bad things and know it. We don't need to dive into the most murky territory in order to achieve worthy effects when there's so much low hanging fruit.
With regards to novel threats, it'd be nice if the military could justify these investments without resorting to propaganda, and outright lies. There should be a clear explanation that most people would understand the necessity of and how it works in their interest.