The Hacker-medal can be earned by hacking Portals. This medal is one of the easiest medals to earn (the easiest one being the Recharger-medal).
Hacking Portals via Dronenet counts towards this medal.