The International Criminal Court contained a “sophisticated and targeted” cybersecurity incident that it first identified last week, the organization said in a statement Monday.