Have you heard of hacking? Most police forces have offensive hacking teams by now, it's not much of a secret. Also there are some quite famous tools that aid in this.
Also, there are tools like Pegasus that pretty much do all the heavy lifting in hacking.