Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AndroidQF does not currently preserve APEX containers as dedicated evidence. File listings and ordinary APK collection do not provide the original APEX signing material needed for offline investigation of publicly known signing keys.
This adds an
apexcollection module that preserves complete factory and installed.apexand.capexcontainers alongside the original APEX inventory. Signature verification, key matching and vulnerability assessment remain the responsibility of MVT.The module:
/apex/apex-info-list.xmlto associate module names, versions, active/factory flags and original paths with the collected files.suaccess only for otherwise inaccessible paths..capexcontainers unchanged, including their embedded original APEX. Flattened directories are recorded without recursively copying their contents.Collection runs by default and with
-module apex, independently of APK download and trusted-certificate removal options. The documentation describes the output schema, collection limitations, and the additional archive size and transfer time associated with retaining complete containers.Validation:
go test -tags unbundle ./...passes. Added tests cover byte-for-byte preservation, duplicate paths, plain and encrypted archives, root fallback, failed transfers, invalid inventory fallback, unsafe paths, flattened directories, older Android versions and cancellation. No physical-device testing has been performed.Related to #43. This provides evidence collection for subsequent analysis rather than implementing the issue's key checks inside AndroidQF.