It was the perfect secret criminal investigation.
A messaging app that thousands of underworld figures thought was completely encrypted and hidden from global law enforcement, distributed through special mobile phones that were only in the hands of alleged criminals.
Instead, the app and the jailbroken phones had been distributed, and were being controlled and watched from the beginning, by police in New Zealand, Australia and the US.
The massive coup came in early 2018, when the FBI shut down a different, notorious encrypted service called Phantom Secure that had been used by cartels and other gangs.
Phantom Secure's boss Vincent Ramos and four other employees were arrested and charged for supporting drug trafficking.
Those arrests led the FBI to a builder of the Phantom Secure phones, who was working on the next generation.
The tech wizard already had one drug conviction and faced new charges, so to avoid jail, the person agreed to build Anom for the FBI.
The person not only avoided more jail time, the FBI also paid them $170,000 (US$120,000) for their services as well as almost $86,000 (US$60,000 in living and travel expenses.
The first phones were distributed in October 2018, with their popularity exploding across the globe.
Indeed, by the time police blew up the app earlier this month, there were 9000 active users and more than 300 distinct transnational criminal organisations were using it.
Protecting the Anom app at all costs
Over the past few years, law enforcement around the world has been desperate not to blow the cover of their secret app, only occasionally making arrests when a threat of life or a serious drug bust was detected on it.
When these busts were done, police were always quick to suggest their intel had come from another source.
But in a triumphant press conference on June 8, police revealed their hand – the app had been closed and its joint investigation with the FBI was now over.
Police raids took place around the world as the app was shut down, and globally more than 800 people were arrested.
More than 40 tonnes of cocaine, marijuana, methamphetamine and other illicit substances were seized, as well as 250 firearms.
The operation had been going so smoothly over the past few years that some were left questioning why police decided to blow up the encrypted app.
Hacking into and deciphering information sent on encrypted apps is one of the biggest challenges for law enforcement today.
FBI Special Agent Suzanne Turner told reporters that many criminal cases assisted by the Anom app were coming to an end.
"It was time to get these criminals off the street," she said.
Anom truth revealed by anonymous blogger
Police also said the entire aim of Operation Trojan Shield, known in Australia as Operation Ironside, was to undermine trust in encrypted devices – a goal that could only be achieved if they went public.
But a blog post from earlier this year, penned by an anonymous tech genius, told a different story.
The blogger, named "canyouguess67", took to WordPress in March to label Anom a "scam" and that a device he had tested was "in constant contact with" Google servers and relayed data to non-secure servers in Australia and the US.
"I was quite concerned to see the amount of IP addresses relating to many corporations within the Five eyes Governments (Australia, USA, Canada, UK, NZ who share information with one another)," the post said, before it was deleted.
A final suggestion was that the server, in a mystery third country, that the FBI used to legally copy the Anom messages, was up for expiration.
The warrant that allowed the FBI to blind copy the messages from the third country was due to expire on June 7 this year.
June 8 was the day police on both sides of the Tasman fronted reporters and announced it had pulled off its monumental and historic sting.
'Maximum damage' to global organised crime
On that day, NZ Police were delighted with the 35 arrests and $3.7 million in assets seized, calling it a "huge blow" to organised crime.
"This is a stunning piece of work," National Organised Crime Group director Detective Superintendent Greg Williams said.
"It's a great day for New Zealand. We believe the termination of these operations will have a significant impact on New Zealand's organised crime scene."
AFP Commissioner Reece Kershaw, on the same day, said "maximum damage to serious organised crime" had been inflicted.
"With devastating consequences to those who seek to do harm to Australians and Australia's interests, and today, Australia is a safer country because of this unprecedented AFP-led operation," Kershaw added.
"Ironside has arrested and charged who we allege are some of the most dangerous criminals to Australia."