As per apnaqanoon,The Fascinating History of Cybercrime
Technically, the first cyber attack happened in France well before the internet was even invented, in 1834. Attackers stole financial market information by accessing the French telegraph system.