In the specific case of JPMorgan, the bank thinks it was infiltrated in June.
By the time the breach was discovered in July, it was clear that hackers had “obtained the highest level of administrative privilege to dozens of the bank’s computer servers,” the New York Times notes in its very thorough account of the breach.