SAN JOSE — PayPal is back in battle against the hacking group Anonymous.

Two years after fending off a cyberattack from the international hacking network known as Anonymous, the Silicon Valley company is fighting to shield business records from defendants accused of carrying off the attack.