Four years before North Korea hacked into Sony Pictures Entertainment's servers and published private information, the United States began cracking into North Korean computer networks and tracking the movements of its government hackers, the New York Times reported Monday.