Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uraniborg: Major upgrade to version 2. #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

billy-lau
Copy link
Member

  • added a VERSION file
  • amended the README.md to reference the VERSION file.

Hubble:

  • changed compileSdkVersion to CompileSdk.

    build.gradle:

    • changed compileSdkVersion to CompileSdk, and set it to 35.
    • also bumped targetSdkVersion to 35.
    • bumped versionCode to 10
    • bumped versionName to "2.0.0".
    • updated some dependencies, except "androidx.appcompat:appcompat", which still stays at 1.0.2.

    gradle.properties:

    • disabled enabling Jetifier, as dependency analysis shows that it currently isn't being utilized.
    • disabled buildconfig, as it seems to be being deprecated.

    MainActivity:

    • re-encoded version name to VERSION constant since we phased out BuildConfig.
    • changed data structure backing a dictionary mapping package name to package metadata from HashMap to TreeMap such that it is automatically sorted. This helps with output comparison, such that diff can provide better output.
    • added new result file named preinstalled_packages.txt that lists only preinstalled APKs, where packages.txt would continue to list all installed packages.

    PackageMetadata:

    • added a new flag and logic to determine whether an APK is preinstalled or not.

docs/hubble_results.md:

  • added a new field indicating whether a package is preloaded or not.

prebuilt/APK:

  • added a release signed Hubble-v2.0.0.apk
  • updated the latest pointer to point to Hubble-v2.0.0.apk

scripts/python/automate_observation.py:

  • added new capability to pull APKs, by supplying --pull-all-apks flag.

scripts/python/data/V-GSI.json:

  • added new baseline packages from GSI of Android 15.

scripts/python/package_whitelists.py:

  • added new API level mapping to BaselinePackages class.

scripts/python/risk_analyzer.py:

Test: Rebuilt everything and ran on a komodo device running Android 15, and everything worked out, including APK extractions. Risk scoring also works on results from Android 15.

- added a VERSION file
- amended the README.md to reference the VERSION file.

Hubble:
- changed compileSdkVersion to CompileSdk.

  build.gradle:
  - changed compileSdkVersion to CompileSdk, and set it to 35.
  - also bumped targetSdkVersion to 35.
  - bumped versionCode to 10
  - bumped versionName to "2.0.0".
  - updated some dependencies, except "androidx.appcompat:appcompat",
    which still stays at 1.0.2.

  gradle.properties:
  - disabled enabling Jetifier, as dependency analysis shows that it
    currently isn't being utilized.
  - disabled buildconfig, as it seems to be being deprecated.

  MainActivity:
  - re-encoded version name to VERSION constant since we phased out
    BuildConfig.
  - changed data structure backing a dictionary mapping package name to package
    metadata from HashMap to TreeMap such that it is automatically sorted.
    This helps with output comparison, such that `diff` can provide better
    output.
  - added new result file named `preinstalled_packages.txt` that lists only
    preinstalled APKs, where `packages.txt` would continue to list *all*
    installed packages.

  PackageMetadata:
  - added a new flag and logic to determine whether an APK is preinstalled or not.

docs/hubble_results.md:
- added a new field indicating whether a package is preloaded or not.

prebuilt/APK:
- added a release signed Hubble-v2.0.0.apk
- updated the `latest` pointer to point to Hubble-v2.0.0.apk

scripts/python/automate_observation.py:
- added new capability to pull APKs, by supplying `--pull-all-apks` flag.

scripts/python/data/V-GSI.json:
- added new baseline packages from GSI of Android 15.

scripts/python/package_whitelists.py:
- added new API level mapping to BaselinePackages class.

scripts/python/risk_analyzer.py:
- added risk classes for Android V.
- also updated the permission list within RiskyPermissions class, and it is now
  in sync with https://github.com/DEKRA-Cybersecurity/MAS-Preloaded-Apps-Scripts/blob/main/config/methods_config.yml
  up to Android 14.

Test: Rebuilt everything and ran on a komodo device running Android 15,
and everything worked out, including APK extractions.
Risk scoring also works on results from Android 15.
@billy-lau billy-lau added the enhancement New feature or request label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants