調試信息可幫助攻擊者了解系統和制定攻擊計劃。
通過對 Android 應用程序的配置,系統可以生成調試二進制碼。這些二進制碼提供了詳細的調試信息,它們不能用在生產環境中。<application> 標簽的 debuggable 屬性定義了已編譯的二進制碼是否應包含調試信息。
應用程序可使用調試二進制碼為用戶提供盡可能多的有關自身的信息。調試二進制碼只能用于開發或者測試環境中,如果它們被部署到生產環境中,將會對安全造成危險。攻擊者可以利用他們從調試輸出中獲得的更多信息來發動針對應用程序所用的框架、數據庫或其他資源的攻擊。
[1] Standards Mapping - OWASP Top 10 2004 - (OWASP 2004) A10 Insecure Configuration Management
[2] Standards Mapping - OWASP Top 10 2007 - (OWASP 2007) A6 Information Leakage and Improper Error Handling
[3] Standards Mapping - OWASP Top 10 2010 - (OWASP 2010) A6 Security Misconfiguration
[4] Standards Mapping - Security Technical Implementation Guide Version 3 - (STIG 3) APP3120 CAT II, APP3620 CAT II
[5] Standards Mapping - Security Technical Implementation Guide Version 3.4 - (STIG 3.4) APP3120 CAT II, APP3620 CAT II
[6] Standards Mapping - FIPS200 - (FISMA) CM
[7] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 11
[8] Standards Mapping - Web Application Security Consortium 24 + 2 - (WASC 24 + 2) Information Leakage
[9] JavaDoc for Android Android
[10] Standards Mapping - Payment Card Industry Data Security Standard Version 1.1 - (PCI 1.1) Requirement 6.5.10
[11] Standards Mapping - Payment Card Industry Data Security Standard Version 2.0 - (PCI 2.0) Requirement 6.5.5
[12] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 - (PCI 1.2) Requirement 6.5.6