aRt
08-14-2006, 03:01 AM
3.9 Clear Text Passwords in Swap File
Appleās Security Framework does not use mlock() or equivalent to prevent passwords to be
swapped to disk. Therefore it is likely, that user passwords and other passwords from the
Keychain will be written to the swap file in clear text. You can verify this on your own Mac by
typing:
sudo strings /var/vm/swapfile0 |grep -A 4 -i longname
longname
Sart
password
XXXXX... (xxxxx... means password in clear text)
shell
--
longname
ogin.done
XTUM
password
XXXXX...
--
longname
XTUM
password
XXXXX...
XTUM
Appleās Security Framework does not use mlock() or equivalent to prevent passwords to be
swapped to disk. Therefore it is likely, that user passwords and other passwords from the
Keychain will be written to the swap file in clear text. You can verify this on your own Mac by
typing:
sudo strings /var/vm/swapfile0 |grep -A 4 -i longname
longname
Sart
password
XXXXX... (xxxxx... means password in clear text)
shell
--
longname
ogin.done
XTUM
password
XXXXX...
--
longname
XTUM
password
XXXXX...
XTUM