iShutdown
Open sourceUnmaintained
The last commit in the repository was on 2024-01-22 (cross-platform fixes and PyInstaller-compiled binaries). The Securelist research was published 2024-01-16.
iShutdown is a set of three Python 3 scripts published by Kaspersky in January 2024 that examine the Shutdown.log artifact inside an iOS sysdiagnose archive. One script flags anomalies Kaspersky associated with Pegasus, Reign and Predator infections, one extracts and parses the log to CSV with hashes, and one produces reboot statistics. Kaspersky describes it as a lightweight triage aid, not a way to prove a device is clean.
Facts
| Website | github.com |
|---|---|
| Vendor | Kaspersky (KasperskyLab) |
| Licence | Open source (MIT) |
| Category | Spyware detection |
| Functions | Spyware detection, Parsing, Triage |
| Targets | iOS |
| Runs on | Python 3 |
| Pricing | Free |
| Users | Research, Civil society, Open-source DFIR community |
| Last activity | 2024-01-22 · Last commit: iShutdown_parse cross-platform fixes and compiled binaries [github.com] |
| GitHub activity | KasperskyLab/iShutdown · 460 stars · last push 2024-02-24 · checked 2026-11-10 |
Capabilities
- iShutdown_detect.py analyses a sysdiagnose tar archive for anomalies Kaspersky linked to infections: repeated delays before a reboot and suspicious processes under /private/var/db/ or /private/var/tmp/. [github.com]
- iShutdown_parse.py extracts Shutdown.log from the sysdiagnose archive and writes the entries to CSV together with MD5, SHA1 and SHA256 hashes and processing timestamps. [github.com]
- iShutdown_stats.py produces reboot statistics from a Shutdown.log, such as first reboot, last reboot and reboots per month. [github.com]
- Kaspersky's research observed matching Shutdown.log paths in Pegasus infections it analysed in 2021 and 2022, in Reign (path documented by Citizen Lab) and in Predator (/private/var/tmp/), and described the log as retaining entries for several years. [securelist.com]
Limitations
- Kaspersky states the method is 'not a silver bullet that can detect all malware' and relies on the user rebooting the phone as often as possible. [securelist.com]
- The scripts examine a single artifact (Shutdown.log) from a sysdiagnose archive that the user must first generate on the phone and copy to a computer; they do not acquire the device. [github.com]
- The heuristics come from a small set of Pegasus infections the authors analysed, with Reign and Predator inferred from matching filesystem paths; Kaspersky says it expects to build more heuristics and asked for additional samples. [securelist.com]
Links
Related tools
- MVT · Spyware detection
- iVerify · Spyware detection
- iMazing Spyware Analyzer · Spyware detection
- Sysdiagnose Analysis Framework · Analysis
Sources
- GitHub: KasperskyLab/iShutdown (README) (github.com)
- GitHub: iShutdown commit history (github.com)
- Securelist: A lightweight method to detect potential iOS malware (2024-01-16) (securelist.com)
Reviewed . Spotted an error? See the corrections policy.