I believe nothing in the world is black and white especially when we think of a regular citizen versus a criminal/terrorist. Hacking is a skill that could be used for good or to easily harm someone else. I think the government believes in utilitarian ethics where the results are what matter more than what you are doing. With that being said, I believe it is ethical.
Question 4