In an exclusive interview with ABC News today, Apple CEO Tim Cook told "World News Tonight" anchor David Muir that what the U.S. government was asking of the tech giant -- to essentially create software enabling the FBI to unlock an iPhone used by one of the San Bernardino, California, shooters -- amounted to the "software equivalent of cancer."
Interested in ?Add as an interest to stay up to date on the latest news, video, and analysis from ABC News.
"The only way to get information -- at least currently, the only way we know -- would be to write a piece of software that we view as sort of the equivalent of cancer. We think it's bad news to write. We would never write it. We have never written it -- and that is what is at stake here," he said. "We believe that is a very dangerous operating system."
The interview will also air on "Nightline" at 12:35 a.m. and Thursday on "Good Morning America."
The FBI has called on Apple to help crack into the iPhone of Syed Farook, who along with wife Tashfeen Malik killed 14 and injured 22 at a training session and holiday party in December. The FBI attempted to crack the pass code but failed because Apple phone systems have a function that automatically erases the access key and renders the phone "permanently inaccessible" after 10 failed attempts.
Last week, at the request of the Justice Department, a federal judge told Apple to assist law enforcement. However, the tech giant refused and vowed to fight the order, sparking a continuing fight between federal authorities and Silicon Valley. Cook today called the issue "complex" but said the creation of such software would put hundreds of millions of customers at risk and "trample" civil liberties.
"If a court can ask us to write this piece of software, think about what else they could ask us to write -- maybe it's an operating system for surveillance, maybe the ability for the law enforcement to turn on the camera," Cook said. "I don't know where this stops. But I do know that this is not what should be happening in this country."
This week, FBI director James Comey urged Apple in an open letter to comply with its investigation into the massacre.
Comey wrote that the FBI wanted the chance to try to guess the pass code without the phone self-destructing and without it taking a decade to guess correctly. The FBI director said he understood the case highlights the serious tension between privacy and security. And today, CIA Director John Brennan weighed in on the side of the FBI, saying that the agency has a "legitimate basis to try to understand" what is on the San Bernardino shooter's cellphone.
In a message to customers last week, Cook said that Apple had helped the FBI, but would not create a so-called backdoor that would have the potential to unlock any iPhone, not just the one that belonged to Farook. Apple decision was hailed by some of the biggest names in Silicon Valley, including Google CEO Sundar Pichai and WhatsApp CEO Jan Koum.
Cook told ABC News today that Apple had cooperated fully with the FBI.
"We gave everything that we had," he told Muir today. "We don't know that there's any information on the phone. We don't know whether there is or there isn't. And the FBI doesn't know. ... What we do know is we passed all of the information that we have on the phone and to get additional information on it or at least what the FBI would like us to do now would expose hundreds of millions of people to issues."
Cook said that the issue was not just about privacy, but also about the public's safety.
"This case is not about one phone," Cook said today. "This case is about the future. ... If we knew a way to get the information on the phone -- that we haven't already given -- if we knew a way to do this, that would not expose hundreds of millions of other people to issues, we would obviously do it. ... Our job is to protect our customers."
ABC News' Alyssa Newcomb, Julia Jacobo, Kelly Stevenson, Mike Levine and Jim Hill contributed to this report.