There is a great book based on an incident in the 1970's. It is The Cuckoo's Egg by Clifford Stoll.
It details the story of how Stoll tracked a hacker from Germany who was breaking into top secret US computers using his computers at Berkley as a relay point.
Just for laughs, picture a bearded hippy type astronmy prof with a genius level IQ going to the CIA with "Hey mannnn some duuude is breaking into the (Name) system at (locations) .. when both the system and location was top secret.
anyway, it is a good way to get some insight into how hackers work.
Another book is "How I stole the network" although I forget the author. In order to beat a hacker, you have to get inside their heads. .. e.g. in the latter book, one of the authors details how PRINTERS can be used as a tool for hacking or for storing hacking apps.