Recent Tasks & App Snapshots

AndroidUser ActivityDevice Extraction

Location

/data/system_ce/0/recent_tasks/ and /data/system_ce/0/snapshots/

Description

XML task description files and JPEG screenshot snapshots stored by the Android ActivityManager for the recent apps switcher. Each task file contains the package name, root activity component, creation timestamp, last active timestamp, and user ID. Associated snapshot images capture the visual state of the application at the time it was backgrounded.

Forensic Value

Recent tasks provide evidence of application usage with timestamps for both task creation and last active time, even for applications that do not maintain their own history. The snapshot images are particularly valuable because they capture the actual screen content of each application at the moment it was switched away from, potentially preserving message content, map views, document text, or other transient information that is no longer accessible within the app itself. Snapshots may survive after the originating app data is deleted or the app is uninstalled.

Tools Required

ALEAPPMagnet AXIOMCellebrite UFEDAutopsyADB

Collection Commands

adb

adb pull /data/system_ce/0/recent_tasks/ /forensics/recent_tasks/

adb

adb pull /data/system_ce/0/snapshots/ /forensics/snapshots/

ALEAPP

python3 aleapp.py -t tar -i /path/to/extraction -o /forensics/output/

Collection Constraints

  • Availability depends on Android version, OEM build, encryption state, privilege level, and whether the collection was logical, rooted, or full-filesystem. OEM-specific builds may move or rename stores.
  • Mobile application data may be partially cached, excluded from backup, or pruned by the OS. Validate against the extraction type before treating gaps as meaningful.

MITRE ATT&CK Techniques

T1513T1426T1636T1005