The Anbu are able to utilize the "hidden" and the "hidden light" for all their ninjutsu. According to Nagato's biography, even before his death, the Anbu existed in a form of shadow in his village, as a force to enforce certain laws, like what is the result of an execution.