Once the victim received a text message that included a certain protocol, the malware would send the collected data back to the command-and-control server.
FORBES: First-Known Targeted Malware Attack On Android Phones Steals Contacts And Text Messages