I hope you don't get offended if I say that when you attribute Stasi to Nazis, you don't show a depth of historical knowledge required to blindly trust you on your analysis on these issues.
Yes, every regime is trying to get information about who's trying to destroy it. But (1) it's not a tool to get to power as much as a tool to hold to power, and (2) it's not inherently evil: if you have some regime that you actually like and don't want to see violently overthrown, you would support such measures, implemented in a reasonable way (!), too.