Your iPhone does not turn off entirely. Its chipset remains active on low-power mode to allow features such as Find My to work. This capability of the iPhone could be misused, researchers have shown.
Apple's iPhone is susceptible to a malware despite it turned off, says researchers. An iPhone malware can run and infect devices despite it being shut down or turned off, and it will continue to do its malicious actions without the smartphone running.