The specializations are both conducive to remote work. However, they aren't conducive to remote work for people that don't have a good amount of experience in that role.
You can definitely make the switch to either of those things, but you have a long road ahead. If you know specifically what sub-field of security interests you, I might be able to give you some more insight.