Session Persistence
- Category
- Rogue Agent
- Confidence
- 85% confidence
- Finding
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
- Content
md | Data locations and size | working directory, data folders, database files; `du -sh <path>`, `df -h` | | Databases | engine and version; for SQLite note any `-wal` and `-shm` files next to the database | | Containers (if used) | `docker ps --format '{{.Names}} {{.Image}} {{.Ports}}'`, `docker inspect --format '{{json .Mounts}}' <name>`, `docker compose config --services`, `docker compose config --volumes` | | Scheduled jobs | `systemctl list-timers --all`; `crontab -l -u <user>` for each relevant user; the system-wide cron folder. Read only: record schedule and program path, never create, change, or remove a job, and leave out arguments that could carry credentials | | Time zone | `timedatectl show -p Timezone`; the time zone the app itself uses (an env name such as `TZ`) | | DNS | `dig +noall +answer <name>` (record and TTL), `dig +short NS <zone>`; whether a CDN proxy sits in front | | Inbound callers | webhooks, API clients, IP allowlists at partners that name the old address |
