It is not legal to hide from an ATM camera. You can use a full-face cover mask, burkha, big beanie cap, and helmet for doing this but it is totally illegal to enter an ATM without any identification.