BitMEX thwarted an attack by Lazarus Group, the hacking collective with ties to the North Korean government, according to an announcement on Friday.