当前位置:网站首页>【错误记录】Android 应用安全检测漏洞修复 ( StrandHogg 漏洞 | 设置 Activity 组件 android:taskAffinity=““ )
【错误记录】Android 应用安全检测漏洞修复 ( StrandHogg 漏洞 | 设置 Activity 组件 android:taskAffinity=““ )
2022-06-11 00:36:00 【韩曙亮】
一、报错信息
检测应用是否存在 StrandHogg 漏洞 :
StrandHogg 是一个存在于 Android 多任务系统中的应用漏洞。此
漏洞利用 APP 清单文件 AndroidManifest.xml 中
android:taskAffinity 的属性设置,使安装在 Android 设备上的恶
意应用可以伪装成该设备上的任意其他应用程序,包括需要特权的
任意系统应用程序。当用户点击正常应用图标时,恶意程序可以拦
截劫持这个任务,并伪装成正常应用程序的界面,从而窃取用户的
敏感数据。同时恶意应用程序还可以冒充正常应用向用户请求权限,
包括 SMS、照片、麦克风和 GPS 等,从而允许攻击者访问短信和
通讯录、查看相册、窃听并跟踪受害者等。

上述检测时爱加固检测生成的报告信息
二、修改方案
在 AndroidManifest.xml 清单文件中 , 设置所有的 Activity 组件的亲和性属性 :
android:taskAffinity=""
如果有亲和性属性的直接设置 , 如果没有的设置为空字符串 ;
边栏推荐
- Leetcode search questions
- ava. Lang.noclassdeffounderror: org/apache/velocity/context/context solution
- Clean up the broken artifacts data (.lastUpdated files) and reload the project. Problem resolution
- Solution to prompt "network initialization failed operation failed" in PD virtual machine installation system
- Multi interest recall model practice | acquisition technology
- CSRF attack
- Web3 ecological decentralized financial platform sealem Finance
- How to write this with data and proc without SQL
- Daily problem essay | 21.11.29: use resttemplate to call external put request, and prompt '400 bad request'
- I was so excited about the college entrance examination in 2022
猜你喜欢

Middleware_ Redis_ 06_ Redis transactions

Linux安装mysql数据库详解

SAS因子分析(proc factor过程和因子旋转以及回归法求因子得分函数)

如何下载网页照片

Docking of express bird system

There is a problem with numpy after CONDA installs pytoch

Leetcode 652 find duplicate subtrees (recommended by DFS)

Project_ Visual analysis of epidemic data based on Web Crawler
![[VBA Script] extract the information and pending status of all annotations in the word document](/img/dc/0db51d092cde019cef4113796e4882.png)
[VBA Script] extract the information and pending status of all annotations in the word document

1.4px4 program download
随机推荐
1.2、ROS+PX4预备基础知识
Leetcode 1605 find valid matrix given row and Column Sums
2.0、ROS与PX4通信详解
Configurable custom implementation 1 Implementation interface, 2 Custom configuration 3 Default configuration
About mobx
China-open-ssl编译的一些记录
MATLAB数字运算函数笔记
PX4装机教程(六)垂起固定翼(倾转)
LeetCode 1749 Maximum Absolute Sum of Any Subarray (dp)
Leetcode linked list queue stack problem
Middleware_ Redis_ 05_ Persistence of redis
Classic questions: 01 backpack, complete backpack, multiple backpack, two-dimensional cost Backpack
2021-02-27MATLAB的图像处理
MultipartFile和File互转工具类
From "0" to "tens of millions" concurrency, 14 technological innovations of Alibaba distributed architecture
1.4PX4程序下载
SQL question brushing and sorting in leetcode of partial deduction
Throttling and anti chattering of functions
Px4 installation tutorial (VI) vertical fixed wing (tilting)
Threejs: how to get the boundingbox of geometry?