Contractors likely breached security and handed over documents describing the Central Intelligence Agency's use of hacking tools to anti-secrecy group WikiLeaks, U.S. intelligence and law enforcement officials said Wednesday.

Two officials said intelligence agencies have been aware since the end of last year of the breach, which led to WikiLeaks releasing thousands of pages of information on its website Tuesday.

According to the documents, CIA hackers could get into Apple Inc iPhones, devices running Google's Android software and other gadgets in order to capture text and voice messages before they were encrypted with sophisticated software.