So they just plugged it directly into the same network switch the ATM is on? That sounds incredibly dumb. The only ATMs I've seen the inside of had the network switch locked inside with the vault.
Also our bank had some kind of port security so if it wasn't a recognized MAC address, the port just switched off.