This commit is contained in:
parent
3b5df50248
commit
ca4e7703e1
6 changed files with 2781 additions and 623 deletions
|
|
@ -7,8 +7,8 @@
|
|||
=== Countermeasures <sec:cl-countermeasures>
|
||||
|
||||
Countermeasures against shadow attacks depend on each tool and its objectives.
|
||||
The first important recommendation is to implement the class selection algorithm according to the algorithm described in Listing @lst:cl-loading-alg.
|
||||
It should solve any case of self-shadowing, except for tools like Apktool, which do not have to select a class for computing the result, but show the whole application's content.
|
||||
The first important recommendation is to implement the class selection algorithm according to the algorithm described in @lst:cl-loading-alg.
|
||||
It should solve any case of self-shadowing, except for tools like Apktool, that do not have to select a class for computing the result, but show the whole application's content.
|
||||
For those tools, a clear warning should be added, pointing out that multiple implementations have been found and displaying the one that will be used at runtime.
|
||||
|
||||
Countermeasures against #SDK shadow and Hidden shadow attacks are more complex to handle: they require the list of platform classes on the target smartphone and, in some cases, their implementation.
|
||||
|
|
@ -72,7 +72,7 @@ In addition, platform classes are stored differently in older versions of Androi
|
|||
For this reason, we did not compare the classes found in applications to their versions older than #SDK 32 to avoid producing unreliable statistics for those versions.
|
||||
|
||||
|
||||
=== Futur Works <sec:cl-futur>
|
||||
=== Future Works <sec:cl-future>
|
||||
|
||||
As we just said, our Smali-based comparison of class implementation is quite naive and could use more work.
|
||||
It could be insightful to be able to detect exactly when two classes are from the same source file, or which version of a library a class belong to.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue