简体   繁体   English

.apk是Android上可执行的唯一类型的文件(不是root)吗?

[英]Is a .apk the only type of file that is executable on Android (not rooted)?

更准确地说,.apk是唯一可能具有恶意行为的文件吗?

The short answer is that any file can be malicious, regardless of file extension. 简短的回答是,无论文件扩展名如何, 任何文件都可能是恶意的。 What is more important is the contents, and what is opening/parsing the file in question. 更重要的是内容,以及打开/解析相关文件的内容。 For example, someone could send you a malicious .mp3 , which infects your system by exploiting a vulnerability in the music player that loads it. 例如,有人可能会向您发送恶意.mp3 ,它会通过利用加载它的音乐播放器中的漏洞感染您的系统。

While any file can be malicious, I would say .apk 's have the most potential to be malicious. 虽然任何文件都可能是恶意的,但我会说.apk最有可能是恶意的。 The interesting part is that the Android team probably has invested some serious effort into protecting the loading of .apk s and so it is probably unlikely that just opening a .apk will do harm. 有趣的是,Android团队可能已经投入了大量精力来保护.apk的加载,因此打开.apk可能不会造成伤害。 Only if you allow the program to install with any invasive permissions will you be open to attack. 只有当您允许程序以任何侵入权限进行安装时,您才会受到攻击。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM