Credential Access
- Category
- Privilege Escalation
- Confidence
- 60% confidence
- Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Content
python for linktype in (tarfile.SYMTYPE, tarfile.LNKTYPE): f = self.root / (str(linktype) + '.tar') with tarfile.open(f, 'w') as t: e = tarfile.TarInfo('escape.pdf'); e.type = linktype; e.linkname = '/etc/passwd'; t.addfile(e) with self.subTest(linktype=linktype), self.assertRaisesRegex(ValueError, 'links'): arc.inventory(f)
