The Nuremberg defense "didn't work" because it was not morally justifiable, nothing to do with being active or passive - the whole trial literally created law out of moral imperatives. I urge you to educate yourself on the German post-nazi discourse.
Also, quitting your job is not an answer, evil does not stop if you ignore it.
I believe the term is "malum in se" vs "malum prohbitium". Some crimes, especially murder are so wrong and universally so that it is a worse crime than one that is just wrong because the law says so.
Also, quitting your job is not an answer, evil does not stop if you ignore it.