{"id":68394,"date":"2024-05-25T02:54:11","date_gmt":"2024-05-24T18:54:11","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=68394"},"modified":"2024-05-25T02:54:11","modified_gmt":"2024-05-24T18:54:11","slug":"root-privileges-android","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/root-privileges-android.html","title":{"rendered":"\u9488\u5bf9\u7269\u7406\u5185\u5b58\u7684\u653b\u51fb\u53ef\u53d6\u5f97 Android \u8bbe\u5907\u7684 root \u6743\u9650"},"content":{"rendered":"
\u7814\u7a76\u8005\u4eec\u53d1\u73b0\u4e86\u4e00\u79cd\u65b0\u7684\u5728\u4e0d\u5229\u7528\u4efb\u4f55\u8f6f\u4ef6\u6f0f\u6d1e\u60c5\u51b5\u4e0b\uff0c\u5229\u7528\u5185\u5b58\u82af\u7247\u7269\u7406\u8bbe\u8ba1\u4e0a\u7684\u5f31\u70b9\u6765\u4fb5\u5165 Android \u8bbe\u5907\u7684\u65b9\u5f0f\u3002\u8fd9\u79cd\u653b\u51fb\u6280\u672f\u540c\u6837\u53ef\u4ee5\u5f71\u54cd\u5230\u5176\u5b83\u5982 ARM \u548c X86 \u67b6\u6784\u7684\u8bbe\u5907\u4e0e\u8ba1\u7b97\u673a\u3002<\/p>\n
\u8fd9\u79cd\u79f0\u4e4b\u4e3a\u201cRowhammer\u201d\u7684\u653b\u51fb\u8d77\u6e90\u4e8e\u8fc7\u53bb\u5341\u591a\u5e74\u4e2d\u5c06\u66f4\u591a\u7684 DRAM\uff08\u52a8\u6001\u968f\u673a\u5b58\u53d6\u5b58\u50a8\u5668\uff09\u5bb9\u91cf\u5c01\u88c5\u8fdb\u8d8a\u6765\u8d8a\u5c0f\u7684\u82af\u7247\u4e2d\uff0c\u8fd9\u5c06\u5bfc\u81f4\u5728\u7279\u5b9a\u60c5\u51b5\u4e0b\u5b58\u50a8\u5355\u5143\u7535\u5b50\u53ef\u4ee5\u4ece\u76f8\u90bb\u4e24\u884c\u7684\u4e00\u8fb9\u6cc4\u6f0f\u5230\u53e6\u4e00\u8fb9\u3002<\/p>\n
\u4f8b\u5982\uff0c\u53cd\u590d\u4e14\u5feb\u901f\u7684\u8bbf\u95ee\u76f8\u540c\u7684\u7269\u7406\u50a8\u5b58\u4f4d\u7f6e\uff0c\u8fd9\u79cd\u88ab\u79f0\u4e3a \u201c\u9524\u51fb\u201d \u7684\u884c\u4e3a\u53ef\u4ee5\u5bfc\u81f4\u76f8\u90bb\u4f4d\u7f6e\u7684\u4f4d\u503c\u4ece 0 \u53cd\u8f6c\u6210 1\uff0c\u6216\u8005\u76f8\u53cd\u3002<\/p>\n
\u867d\u7136\u8fd9\u6837\u7684\u7535\u5b50\u5e72\u6270\u5df2\u7ecf\u88ab\u751f\u4ea7\u5546\u77e5\u6653\u5e76\u4e14\u4ece\u53ef\u9760\u6027\u89d2\u5ea6\u7814\u7a76\u4e86\u4e00\u6bb5\u65f6\u95f4\u4e86\uff0c\u56e0\u4e3a\u5185\u5b58\u9519\u8bef\u80fd\u591f\u5bfc\u81f4\u7cfb\u7edf\u5d29\u6e83\u3002\u800c\u7814\u7a76\u8005\u4eec\u73b0\u5728\u5c55\u793a\u4e86\u5728\u53ef\u63a7\u65b9\u5f0f\u7684\u89e6\u53d1\u4e0b\u5b83\u6240\u5b58\u5728\u7684\u4e25\u91cd\u5b89\u5168\u9690\u60a3\u3002
\n<\/p>\n
\u6765\u81ea\u8c37\u6b4c Project Zero \u9879\u76ee\u7684\u7814\u7a76\u8005\u516c\u5e03\u4e86\u4e24\u4efd\u57fa\u4e8e\u5185\u5b58 \u201cRowhammer\u201d\u6f0f\u6d1e\u5bf9\u4e8e x86-64 CPU \u67b6\u6784\u7684\u63d0\u6743\u5229\u7528\u3002\u5176\u4e2d\u4e00\u4efd\u5229\u7528\u53ef\u4ee5\u4f7f\u4ee3\u7801\u4ece\u8c37\u6b4c\u7684 Chrome \u6d4f\u89c8\u5668\u6c99\u76d2\u91cc\u9003\u9038\u5e76\u4e14\u76f4\u63a5\u5728\u7cfb\u7edf\u4e0a\u6267\u884c\uff0c\u53e6\u4e00\u4efd\u53ef\u4ee5\u5728 Linux \u673a\u5668\u4e0a\u83b7\u53d6\u5185\u6838\u7ea7\u6743\u9650\u3002<\/p>\n
\u6b64\u540e\uff0c\u5176\u4ed6\u7684\u7814\u7a76\u8005\u8fdb\u884c\u4e86\u66f4\u6df1\u5165\u7684\u8c03\u67e5\u5e76\u4e14\u5c55\u793a\u4e86\u901a\u8fc7\u7f51\u7ad9\u4e2d JaveScript \u811a\u672c\u8fdb\u884c\u5229\u7528\u7684\u65b9\u5f0f\u751a\u81f3\u80fd\u591f\u5f71\u54cd\u8fd0\u884c\u5728\u4e91\u73af\u5883\u4e0b\u7684\u865a\u62df\u670d\u52a1\u5668\u3002\u7136\u800c\uff0c\u5bf9\u4e8e\u8fd9\u9879\u6280\u672f\u662f\u5426\u53ef\u4ee5\u5e94\u7528\u5728\u667a\u80fd\u624b\u673a\u548c\u79fb\u52a8\u8bbe\u5907\u5927\u91cf\u4f7f\u7528\u7684 ARM \u67b6\u6784\u4e2d\u8fd8\u662f\u6709\u7591\u95ee\u7684\u3002<\/p>\n
\u73b0\u5728\uff0c\u4e00\u961f\u6210\u5458\u6765\u81ea\u8377\u5170\u963f\u59c6\u65af\u7279\u4e39\u81ea\u7531\u5927\u5b66\u3001\u5965\u5730\u5229\u683c\u62c9\u8328\u6280\u672f\u5927\u5b66\u548c\u52a0\u5dde\u5927\u5b66\u5723\u5854\u82ad\u82ad\u62c9\u5206\u6821\u7684 VUSec \u5c0f\u7ec4\uff0c\u5df2\u7ecf\u8bc1\u660e\u4e86 Rowhammer \u4e0d\u4ec5\u4ec5\u53ef\u4ee5\u5e94\u7528\u5728 ARM \u67b6\u6784\u4e0a\u5e76\u4e14\u751a\u81f3\u6bd4\u5728 x86 \u67b6\u6784\u4e0a\u66f4\u5bb9\u6613\u3002<\/p>\n
\u7814\u7a76\u8005\u4eec\u5c06\u4ed6\u4eec\u7684\u65b0\u653b\u51fb\u547d\u540d\u4e3a Drammer\uff0c\u4ee3\u8868\u4e86 Rowhammer \u786e\u5b9e\u5b58\u5728\uff0c\u5e76\u4e14\u8ba1\u5212\u4e8e\u5468\u4e09\u5728\u7ef4\u4e5f\u7eb3\u4e3e\u529e\u7684\u7b2c 23 \u5c4a ACM \u8ba1\u7b97\u673a\u4e0e\u901a\u4fe1\u5b89\u5168\u5927\u4f1a\u4e0a\u5c55\u793a\u3002\u8fd9\u79cd\u653b\u51fb\u5efa\u7acb\u5728\u4e4b\u524d\u5c31\u88ab\u53d1\u73b0\u4e0e\u5b9e\u73b0\u7684 Rowhammer \u6280\u672f\u4e4b\u4e0a\u3002<\/p>\n
VUSec \u5c0f\u7ec4\u7684\u7814\u7a76\u8005\u5df2\u7ecf\u5236\u9020\u4e86\u4e00\u4e2a\u9002\u7528\u4e8e Android \u8bbe\u5907\u7684\u6076\u610f\u5e94\u7528\uff0c\u5f53\u5b83\u88ab\u6267\u884c\u7684\u65f6\u5019\u5229\u7528\u4e0d\u6613\u5bdf\u89c9\u7684\u5185\u5b58\u4f4d\u53cd\u8f6c\u5728\u4e0d\u9700\u8981\u4efb\u4f55\u6743\u9650\u7684\u60c5\u51b5\u4e0b\u5c31\u53ef\u4ee5\u83b7\u53d6\u8bbe\u5907\u6839\u6743\u9650\u3002<\/p>\n
\u7814\u7a76\u8005\u4eec\u6d4b\u8bd5\u4e86\u6765\u81ea\u4e0d\u540c\u5236\u9020\u5546\u7684 27 \u6b3e Android \u8bbe\u5907\uff0c21 \u6b3e\u4f7f\u7528 ARMv7\uff0832-bit\uff09\u6307\u4ee4\u96c6\u67b6\u6784\uff0c\u5176\u5b83 6 \u6b3e\u4f7f\u7528 ARMv8\uff0864-bit\uff09\u6307\u4ee4\u96c6\u67b6\u6784\u3002\u4ed6\u4eec\u6210\u529f\u7684\u5728 17 \u6b3e ARMv7 \u8bbe\u5907\u548c 1 \u6b3e ARMv8 \u8bbe\u5907\u4e0a\u5b9e\u73b0\u4e86\u4e3a\u53cd\u8f6c\uff0c\u8868\u660e\u4e86\u8fd9\u4e9b\u8bbe\u5907\u662f\u6613\u53d7\u653b\u51fb\u7684\u3002<\/p>\n
\u6b64\u5916\uff0cDrammer \u80fd\u591f\u4e0e\u5176\u5b83\u7684 Android \u6f0f\u6d1e\u7ec4\u5408\u4f7f\u7528\uff0c\u4f8b\u5982 Stagefright\u6216\u8005BAndroid\u6765\u5b9e\u73b0\u65e0\u9700\u7528\u6237\u624b\u52a8\u4e0b\u8f7d\u6076\u610f\u5e94\u7528\u7684\u8fdc\u7a0b\u653b\u51fb\u3002<\/p>\n
\u8c37\u6b4c\u5df2\u7ecf\u6ce8\u610f\u5230\u4e86\u8fd9\u4e00\u7c7b\u578b\u7684\u653b\u51fb\u3002\u201c\u5728\u7814\u7a76\u8005\u5411\u8c37\u6b4c\u6f0f\u6d1e\u5956\u52b1\u8ba1\u5212\u62a5\u544a\u4e86\u8fd9\u4e2a\u95ee\u9898\u4e4b\u540e\uff0c\u6211\u4eec\u4e0e\u4ed6\u4eec\u8fdb\u884c\u4e86\u5bc6\u5207\u7684\u6c9f\u901a\u6765\u6df1\u5165\u7406\u89e3\u8fd9\u4e2a\u95ee\u9898\u4ee5\u4fbf\u6211\u4eec\u66f4\u597d\u7684\u4fdd\u62a4\u7528\u6237\uff0c\u201d\u4e00\u4f4d\u8c37\u6b4c\u7684\u4ee3\u8868\u5728\u4e00\u4efd\u90ae\u4ef6\u7533\u660e\u4e2d\u8fd9\u6837\u8bf4\u5230\u3002\u201c\u6211\u4eec\u5df2\u7ecf\u5f00\u53d1\u4e86\u4e00\u4e2a\u7f13\u89e3\u65b9\u6848\uff0c\u5c06\u4f1a\u5305\u542b\u5728\u5341\u4e00\u6708\u7684\u5b89\u5168\u66f4\u65b0\u4e2d\u3002\u201d<\/p>\n
VUSec \u7684\u7814\u7a76\u8005\u8ba4\u4e3a\uff0c\u8c37\u6b4c\u7684\u7f13\u89e3\u65b9\u6848\u5c06\u4f1a\u4f7f\u5f97\u653b\u51fb\u8fc7\u7a0b\u66f4\u4e3a\u590d\u6742\uff0c\u4f46\u662f\u5b83\u4e0d\u80fd\u4fee\u590d\u6f5c\u5728\u7684\u95ee\u9898\u3002<\/p>\n
\u4e8b\u5b9e\u4e0a\uff0c\u4ece\u8f6f\u4ef6\u4e0a\u53bb\u4fee\u590d\u4e00\u4e2a\u7531\u786c\u4ef6\u5bfc\u81f4\u7684\u95ee\u9898\u662f\u4e0d\u73b0\u5b9e\u7684\u3002\u786c\u4ef6\u4f9b\u5e94\u5546\u6b63\u5728\u7814\u7a76\u76f8\u5173\u95ee\u9898\u5e76\u4e14\u6709\u53ef\u80fd\u5728\u5c06\u6765\u7684\u5185\u5b58\u82af\u7247\u4e2d\u88ab\u4fee\u590d\uff0c\u4f46\u662f\u5728\u73b0\u6709\u8bbe\u5907\u7684\u82af\u7247\u4e2d\u98ce\u9669\u4f9d\u7136\u5b58\u5728\u3002<\/p>\n
\u66f4\u7cdf\u7684\u662f\uff0c\u7814\u7a76\u8005\u4eec\u8bf4\uff0c\u7531\u4e8e\u6709\u8bb8\u591a\u56e0\u7d20\u4f1a\u5f71\u54cd\u5230\u653b\u51fb\u7684\u6210\u529f\u4e0e\u5426\u5e76\u4e14\u8fd9\u4e9b\u56e0\u7d20\u5c1a\u672a\u88ab\u7814\u7a76\u900f\u5f7b\uff0c\u56e0\u6b64\u5f88\u96be\u53bb\u8bf4\u6709\u54ea\u4e9b\u8bbe\u5907\u4f1a\u88ab\u5f71\u54cd\u5230\u3002\u4f8b\u5982\uff0c\u5185\u5b58\u63a7\u5236\u5668\u53ef\u80fd\u4f1a\u5728\u4e0d\u540c\u7684\u7535\u91cf\u7684\u60c5\u51b5\u4e0b\u5c55\u73b0\u4e0d\u540c\u7684\u884c\u4e3a\uff0c\u56e0\u6b64\u4e00\u4e2a\u8bbe\u5907\u53ef\u80fd\u5728\u6ee1\u7535\u7684\u60c5\u51b5\u4e0b\u6ca1\u6709\u98ce\u9669\uff0c\u5f53\u5b83\u5904\u4e8e\u4f4e\u7535\u91cf\u7684\u60c5\u51b5\u4e0b\u5c31\u662f\u6709\u98ce\u9669\u7684\u3002<\/p>\n
\u540c\u6837\u7684\uff0c\u5728\u7f51\u7edc\u5b89\u5168\u4e2d\u6709\u8fd9\u6837\u4e00\u53e5\u4fd7\u8bed\uff1a\u653b\u51fb\u5c06\u53d8\u672c\u52a0\u5389\uff0c\u5982\u706b\u5982\u837c\u3002Rowhammer \u653b\u51fb\u5df2\u7ecf\u4ece\u7406\u8bba\u53d8\u6210\u4e86\u73b0\u5b9e\u53ef\u80fd\uff0c\u540c\u6837\u7684\uff0c\u5b83\u4e5f\u53ef\u80fd\u4f1a\u4ece\u73b0\u5728\u7684\u73b0\u5b9e\u53ef\u80fd\u53d8\u6210\u786e\u786e\u5b9e\u5b9e\u7684\u5b58\u5728\u3002\u8fd9\u610f\u5473\u7740\u4eca\u5929\u67d0\u4e2a\u8bbe\u5907\u662f\u4e0d\u88ab\u5f71\u54cd\u7684\uff0c\u5728\u660e\u5929\u5c31\u6709\u53ef\u80fd\u88ab\u6539\u8fdb\u540e\u7684 Rowhammer \u6280\u672f\u8bc1\u660e\u5b83\u662f\u5b58\u5728\u98ce\u9669\u7684\u3002<\/p>\n
Drammer \u5728 Android \u4e0a\u5b9e\u73b0\u662f\u56e0\u4e3a\u7814\u7a76\u8005\u671f\u671b\u7814\u7a76\u57fa\u4e8e ARM \u8bbe\u5907\u7684\u5f71\u54cd\uff0c\u4f46\u662f\u6f5c\u5728\u7684\u6280\u672f\u53ef\u4ee5\u88ab\u4f7f\u7528\u5728\u6240\u6709\u7684\u67b6\u6784\u4e0e\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u3002\u65b0\u7684\u653b\u51fb\u76f8\u8f83\u4e8e\u4e4b\u524d\u5efa\u7acb\u5728\u8fd0\u6c14\u4e0e\u7279\u6b8a\u7279\u6027\u4e0e\u7279\u5b9a\u5e73\u53f0\u4e4b\u4e0a\u5e76\u4e14\u5341\u5206\u5bb9\u6613\u5931\u6548\u7684\u6280\u672f\u5df2\u7ecf\u662f\u4e00\u4e2a\u5de8\u5927\u7684\u8fdb\u6b65\u4e86\u3002<\/p>\n
Drammer \u653b\u51fb\u7684\u5b9e\u73b0\u4f9d\u9760\u4e8e\u88ab\u5305\u62ec\u56fe\u5f62\u3001\u7f51\u7edc\u3001\u58f0\u97f3\u7b49\u5927\u91cf\u786c\u4ef6\u5b50\u7cfb\u7edf\u6240\u4f7f\u7528\u7684 DMA\uff08\u76f4\u63a5\u5b58\u50a8\u8bbf\u95ee\uff09\u7f13\u5b58\u3002Drammer \u7684\u5b9e\u73b0\u91c7\u7528\u4e86\u6240\u6709\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u90fd\u6709\u7684 Android \u7684 ION \u5185\u5b58\u5206\u914d\u5668\u3001\u63a5\u53e3\u4e0e\u65b9\u6cd5\uff0c\u8fd9\u7ed9\u6211\u4eec\u5e26\u6765\u7684\u8b66\u793a\u662f\u8be5\u8bba\u6587\u7684\u4e3b\u8981\u8d21\u732e\u4e4b\u4e00\u3002<\/p>\n
\u201c\u7834\u5929\u8352\u7684\uff0c\u6211\u4eec\u6210\u529f\u5730\u5c55\u793a\u4e86\u6211\u4eec\u53ef\u4ee5\u505a\u5230\uff0c\u5728\u4e0d\u4f9d\u8d56\u4efb\u4f55\u7279\u5b9a\u7684\u7279\u6027\u60c5\u51b5\u4e0b\u5b8c\u5168\u53ef\u9760\u7684\u8bc1\u660e\u4e86 Rowhammer\u201d\uff0c VUSec \u5c0f\u7ec4\u4e2d\u7684\u5176\u4e2d\u4e00\u4f4d\u7814\u7a76\u8005 Cristiano Giuffrida \u8fd9\u6837\u8bf4\u9053\u3002\u201c\u653b\u51fb\u6240\u5229\u7528\u7684\u5185\u5b58\u4f4d\u7f6e\u5e76\u975e\u662f Android \u72ec\u6709\u7684\u3002\u653b\u51fb\u5728\u4efb\u4f55\u7684 Linux \u5e73\u53f0\u4e0a\u90fd\u80fd\u5de5\u4f5c -- \u6211\u4eec\u751a\u81f3\u6000\u7591\u5176\u5b83\u64cd\u4f5c\u7cfb\u7edf\u4e5f\u53ef\u4ee5 -- \u56e0\u4e3a\u5b83\u5229\u7528\u7684\u662f\u64cd\u4f5c\u7cfb\u7edf\u5185\u6838\u5185\u5b58\u7ba1\u7406\u4e2d\u56fa\u6709\u7684\u7279\u6027\u3002\u201d<\/p>\n
\u201c\u6211\u671f\u5f85\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u66f4\u591a\u9488\u5bf9\u5176\u5b83\u5e73\u53f0\u7684\u653b\u51fb\u7684\u53d8\u79cd\uff0c\u201d\u963f\u59c6\u65af\u7279\u4e39\u81ea\u7531\u5927\u5b66\u7684\u6559\u6388\u517c VUSec \u7cfb\u7edf\u5b89\u5168\u7814\u7a76\u5c0f\u7ec4\u7684\u9886\u5bfc\u8005 Herbert Bos \u8865\u5145\u9053\u3002<\/p>\n
\u5728\u4ed6\u4eec\u7684\u8bba\u6587\u4e4b\u5916\uff0c\u7814\u7a76\u8005\u4eec\u4e5f\u91ca\u51fa\u4e86\u4e00\u4e2a Android \u5e94\u7528\u6765\u6d4b\u8bd5 Android \u8bbe\u5907\u5728\u5f53\u524d\u6240\u77e5\u7684\u6280\u672f\u6761\u4ef6\u4e0b\u53d7\u5230 Rowhammer \u653b\u51fb\u65f6\u662f\u5426\u4f1a\u6709\u98ce\u9669\u3002\u5e94\u7528\u8fd8\u6ca1\u6709\u4f20\u4e0a\u8c37\u6b4c\u5e94\u7528\u5546\u5e97\uff0c\u53ef\u4ee5\u4ece VUSec Drammer \u7f51\u7ad9\u4e0b\u8f7d\u6765\u624b\u52a8\u5b89\u88c5\u3002\u4e00\u4e2a\u5f00\u6e90\u7684 Rowhammer \u6a21\u62df\u5668\u540c\u6837\u80fd\u591f\u5e2e\u52a9\u5176\u4ed6\u7684\u7814\u7a76\u8005\u6765\u66f4\u6df1\u5165\u7684\u7814\u7a76\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n
via:http:\/\/www.csoonline.com\/article\/3134726\/security\/physical-ram-attack-can-root-android-and-possibly-other-devices.html<\/a><\/p>\n \u4f5c\u8005\uff1aLucian Constantin<\/a> \u8bd1\u8005\uff1awcnnbdk1<\/a> \u6821\u5bf9\uff1awxy<\/a><\/p>\n \u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n \u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-8523-1.html<\/a><\/p>\n\n