Credential Access
- Category
- Privilege Escalation
- Confidence
- 90% confidence
- Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Content
md - Create service accounts with `--system` flag — no home directory, no login shell - `sudo` with specific commands, not blanket ALL — principle of least privilege - Lock accounts instead of deleting: `usermod -L` — preserves audit trail and file ownership - SSH keys in `~/.ssh/authorized_keys` with restrictive permissions — 600 for file, 700 for directory - `visudo` to edit sudoers — catches syntax errors before saving, prevents lockout ## Process Management
