diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 30d815f34c..8022eecaaa 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -122,17 +122,12 @@ jobs: restore-keys: | ${{ runner.os }}-htmlproofer- ${{ runner.os }}-htmlproofer - - name: Check All External Links (Informational, Soft-Fail) + - name: Check External Links (Informational, Soft-Fail) uses: chabad360/htmlproofer@v1.1 with: directory: ${{ github.workspace }}/_site arguments: --assume-extension --external_only --internal-domains privacyguides.org,www.privacyguides.org --timeframe 30d --url-ignore '/https:\/\/developers\.cloudflare\.com\//,/https:\/\/github\.com\/privacyguides\/privacyguides\.org\/(edit|tree|blob)\/main/,/https:\/\/support\.(startmail|yubico)\.com\//' continue-on-error: true - - name: Check External Links (Only 4XX) - uses: chabad360/htmlproofer@v1.1 - with: - directory: ${{ github.workspace }}/_site - arguments: --assume-extension --external_only --only_4xx --http-status-ignore 429 --internal-domains privacyguides.org,www.privacyguides.org --timeframe 30d --url-ignore '/https:\/\/developers\.cloudflare\.com\//,/https:\/\/github\.com\/privacyguides\/privacyguides\.org\/(edit|tree|blob)\/main/' https: name: "Require HTTPS Internal Images" diff --git a/Gemfile b/Gemfile index 73c34c22e9..5dbb4f7617 100644 --- a/Gemfile +++ b/Gemfile @@ -11,6 +11,7 @@ end # Jekyll 3.9.0 now requires this explicitly installed, apparently gem "kramdown-parser-gfm", "~> 1.1" gem "webrick", "~> 1.7" +gem 'eventmachine', '1.3.0.dev.1', git: 'https://github.com/eventmachine/eventmachine', branch: 'master' # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] diff --git a/Gemfile.lock b/Gemfile.lock index 7556eb17f0..141d793a0c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,10 @@ +GIT + remote: https://github.com/eventmachine/eventmachine + revision: 8e1d6b11fd8400593af035a7a0d203d24c10c9b0 + branch: master + specs: + eventmachine (1.3.0.dev.1) + GEM remote: https://rubygems.org/ specs: @@ -9,7 +16,6 @@ GEM em-websocket (0.5.2) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) - eventmachine (1.2.7) ffi (1.15.4) forwardable-extended (2.6.0) http_parser.rb (0.6.0) @@ -70,6 +76,7 @@ PLATFORMS ruby DEPENDENCIES + eventmachine (= 1.3.0.dev.1)! jekyll (~> 4.2) jekyll-brotli (~> 2.3) jekyll-feed (~> 0.6) diff --git a/_data/nav/1_home.yml b/_data/nav/1_home.yml deleted file mode 100644 index 9271f9b690..0000000000 --- a/_data/nav/1_home.yml +++ /dev/null @@ -1,3 +0,0 @@ -type: link -title: Home -file: index.html diff --git a/_data/nav/2_providers.yml b/_data/nav/1_providers.yml similarity index 100% rename from _data/nav/2_providers.yml rename to _data/nav/1_providers.yml diff --git a/_data/nav/3_software.yml b/_data/nav/2_software.yml similarity index 97% rename from _data/nav/3_software.yml rename to _data/nav/2_software.yml index 6f5b490051..a864aa5c04 100644 --- a/_data/nav/3_software.yml +++ b/_data/nav/2_software.yml @@ -6,7 +6,7 @@ items: icon: fad fa-browser file: _evergreen/browsers.html - type: link - title: Operating Systems + title: Operating Systems (Legacy) icon: fad fa-compact-disc file: legacy_pages/os.html - type: divider diff --git a/_data/nav/3._operating_systems.yml b/_data/nav/3._operating_systems.yml new file mode 100644 index 0000000000..133e4fbdfa --- /dev/null +++ b/_data/nav/3._operating_systems.yml @@ -0,0 +1,7 @@ +type: dropdown +title: Operating Systems +items: + - type: link + title: Android + icon: fab fa-android + file: _evergreen/android.html diff --git a/_data/operating-systems/android-applications/1_orbot.yml b/_data/operating-systems/android-applications/1_orbot.yml new file mode 100644 index 0000000000..1941da4955 --- /dev/null +++ b/_data/operating-systems/android-applications/1_orbot.yml @@ -0,0 +1,24 @@ +title: Orbot +type: Recommendation +logo: /assets/img/android/orbot.svg +description: | + Orbot is a free proxy app that routes your connections through the Tor Network. + + Orbot can proxy individual apps if they support SOCKS or HTTP proxying. It can also proxy all your network connections using the VpnService and can be used with the VPN killswitch (⚙️ Settings → Network & internet → VPN → ⚙️ → Block connections without VPN). + + For resistance against traffic analysis attacks, consider enabling Isolate Destination Address ( ⁝ →Settings → Connectivity). This will use a completely different Tor Circuit (different middle relay and exit nodes) for every domain you connect to. + +

Notes

+ Orbot is often outdated on the Guardian Project's F-Droid repository and Google Play so consider downloading directly from the GitHub repository instead. + + All versions are signed using the same signature so they should be compatible with each other. +website: 'https://guardianproject.info/apps/org.torproject.android' +downloads: + - icon: fab fa-android + url: 'https://guardianproject.info/fdroid' + - icon: fab fa-google-play + url: 'https://play.google.com/store/apps/details?id=org.torproject.android' + - icon: fab fa-github + url: 'https://github.com/guardianproject/orbot' + - icon: fab fa-gitlab + url: 'https://gitlab.com/guardianproject/orbot' diff --git a/_data/operating-systems/android-applications/2_shelter.yml b/_data/operating-systems/android-applications/2_shelter.yml new file mode 100644 index 0000000000..2f819b407d --- /dev/null +++ b/_data/operating-systems/android-applications/2_shelter.yml @@ -0,0 +1,20 @@ +title: Shelter +type: Recommendation +logo: /assets/img/android/shelter.svg +description: | + Shelter is an app that helps you leverage the Android work profile to isolate other apps. + + Shelter supports blocking contact search cross profiles and sharing files across profiles via the default file manager (DocumentsUI). + +

Notes

+ CalyxOS includes a device controller so we recommend using their built in work profile instead. +website: 'https://gitea.angry.im/PeterCxy/Shelter' +downloads: + - icon: fab fa-android + url: 'https://f-droid.org/en/packages/net.typeblog.shelter' + - icon: fab fa-google-play + url: 'https://play.google.com/store/apps/details?id=net.typeblog.shelter' + - icon: fab fa-github + url: 'https://github.com/PeterCxy/Shelter' + - icon: fab fa-git + url: 'https://gitea.angry.im/PeterCxy/Shelter' diff --git a/_data/operating-systems/android-applications/3_auditor.yml b/_data/operating-systems/android-applications/3_auditor.yml new file mode 100644 index 0000000000..4bb9cf7f7d --- /dev/null +++ b/_data/operating-systems/android-applications/3_auditor.yml @@ -0,0 +1,26 @@ +title: Auditor +type: Recommendation +logo: /assets/img/android/auditor.svg +description: | + Auditor is an app which leverages hardware security features to provide device integrity monitoring for supported devices. It currently works with GrapheneOS and the stock operating system. It performs attestation and intrusion detection by: + + + No personally identifiable information is submitted to the attestation service. We do still recommend that you sign up with an anonymous account and enable remote attestation for continuous monitoring. + + If your threat model requires complete anonymity you could consider using Orbot or a VPN to hide your IP address from the attestation service. + + To make sure that your hardware and operating system is genuine, perform local attestation immediately after the device has been installed and prior to any internet connection. + +website: 'https://attestation.app' +privacy_policy: 'https://attestation.app/privacy-policy' +downloads: + - icon: fab fa-google-play + url: 'https://play.google.com/store/apps/details?id=app.attestation.auditor' + - icon: fab fa-github + url: 'https://github.com/GrapheneOS/Auditor' diff --git a/_data/operating-systems/android/1_grapheneos.yml b/_data/operating-systems/android/1_grapheneos.yml new file mode 100644 index 0000000000..b96c679281 --- /dev/null +++ b/_data/operating-systems/android/1_grapheneos.yml @@ -0,0 +1,19 @@ +title: GrapheneOS +type: Recommendation +logo: /assets/img/android/grapheneos.svg +description: | + GrapheneOS is the best choice when it comes to privacy and security. + + GrapheneOS has a lot of security hardening and privacy improvements. It has a hardened memory allocator, network and sensor permissions, and various other security features. GrapheneOS also comes with full firmware updates and signed builds, so verified boot is fully supported. + + Notably, GrapheneOS supports Sandboxed Play Services. Google Play Services can be run fully sandboxed like a regular user app and contained in a work profile or user profile of your choice. This means that you can run apps dependant on Play Services, such as those that require push notifications using Google's Firebase Cloud Messaging service. GrapheneOS allows you to take advantage of most Google Play Services whilst having full user control over their permissions and access. + + Currently, only Pixel phones meet its hardware security requirement and are supported. + +

Notes

+ GrapheneOS's "extended support" devices do not have full security patches (firmware updates) due to the original equipment manufacturer (OEM) discontinuing support. These devices cannot be considered completely secure. +website: 'https://grapheneos.org/' +privacy_policy: 'https://grapheneos.org/faq#privacy-policy' +downloads: + - icon: fab fa-github + url: 'https://github.com/GrapheneOS' diff --git a/_data/operating-systems/android/2_calyxos.yml b/_data/operating-systems/android/2_calyxos.yml new file mode 100644 index 0000000000..00fb8fcff7 --- /dev/null +++ b/_data/operating-systems/android/2_calyxos.yml @@ -0,0 +1,25 @@ +title: CalyxOS +type: Recommendation +logo: /assets/img/android/calyxos.svg +description: | + CalyxOS is a decent alternative to GrapheneOS. + + It has some privacy features on top of AOSP, such as the Datura firewall, Signal integration in the dialer app, and a built in panic button. CalyxOS also comes with firmware updates and signed builds, so verified boot is fully supported. + + To accomodate users who need Google Play Services, CalyxOS optionally includes MicroG. With MicroG, CalyxOS also bundles in the Mozilla and DejaVu location services. + + Currently, CalyxOS supports Google Pixel phones and the Xiaomi Mi A2. For legacy devices, CalyxOS offers "extended support" for much longer than GrapheneOS, making it a good choice once GrapheneOS has dropped support. + +

Notes

+ CalyxOS's "extended support" does not have full security patches due to the original equipment manufacturer (OEM) discontinuing support, therefore they cannot be considered completely secure. + + With the Xiaomi Mi A2, CalyxOS does not distribute the the latest firmware. Newer versions of the firmware prevented the device from performing verified boot. + + The Daruta firewall can leak in some circumstances (see #572 and #581). +website: 'https://calyxos.org' +privacy_policy: 'https://calyxinstitute.org/legal/privacy-policy' +downloads: + - icon: fab fa-github + url: 'https://github.com/CalyxOS' + - icon: fab fa-gitlab + url: 'https://gitlab.com/calyxos' diff --git a/_data/operating-systems/android/3_divestos.yml b/_data/operating-systems/android/3_divestos.yml new file mode 100644 index 0000000000..d6c386591d --- /dev/null +++ b/_data/operating-systems/android/3_divestos.yml @@ -0,0 +1,29 @@ +title: DivestOS +type: Recommendation +logo: /assets/img/android/divestos.svg +description: | + DivestOS is a soft-fork of LineageOS. + + DivestOS inherits many supported devices from LineageOS. It has signed builds, making it possible to have verified boot on some non-Pixel devices. + + DivestOS has automated kernel vulnerability (CVE) patching, fewer proprietary blobs, a custom hosts file, along with bundled F-Droid as the app store. It also includes UnifedNlp for network location and some hardening with Mulch Webview. DivestOS also includes kernel patches from GrapheneOS and enabling security features in defconfig. + + DivestOS also inherits LineageOS's iptables network access feature. You can deny network access to an individual application by pressing and holding on the app's icon. (App info → Data and Network → Uncheck "Network Access"). + + DivestOS 16.0 and 17.1 has GrapheneOS's hardened memory allocator. There are plans to port this to DivestOS 18.1. + +

Notes

+ DivestOS firmware update status varies across the devices it supports. For Pixel phones, we still recommend using GrapheneOS or CalyxOS. For other supported devices, DivestOS is a good alternative. + + Like CalyxOS's firewall, the network access toggle can also leak in some situations. + + Not all of the supported devices have verified boot and some perform it better than others. + +website: 'https://divestos.org' +website_tor: 'http://divestoseb5nncsydt7zzf5hrfg44md4bxqjs5ifcv4t7gt7u6ohjyyd.onion' +privacy_policy: 'https://divestos.org/index.php?page=privacy_policy' +downloads: + - icon: fab fa-github + url: 'https://github.com/divested-mobile' + - icon: fab fa-gitlab + url: 'https://gitlab.com/divested-mobile' diff --git a/_data/software/browsers-desktop/1_firefox.yml b/_data/software/browsers-desktop/1_firefox.yml index 05a21c6a58..717e54283b 100644 --- a/_data/software/browsers-desktop/1_firefox.yml +++ b/_data/software/browsers-desktop/1_firefox.yml @@ -28,16 +28,16 @@ description: |

Arkenfox (advanced)

The Arkenfox project provides a set of carefully considered options for Firefox. These options are quite strict but a few are subjective and can sometimes cause a website to not work properly. You can easily change these settings to suit your needs. We strongly recommend reading through the basics section. Arkenfox also enables container support. -website: 'https://firefox.com/' -privacy_policy: 'https://www.mozilla.org/privacy/firefox/' +website: 'https://firefox.com' +privacy_policy: 'https://www.mozilla.org/privacy/firefox' downloads: - icon: fab fa-windows - url: 'https://www.mozilla.org/firefox/windows/' + url: 'https://www.mozilla.org/firefox/windows' - icon: fab fa-apple - url: 'https://www.mozilla.org/firefox/mac/' + url: 'https://www.mozilla.org/firefox/mac' - icon: fab fa-linux - url: 'https://www.mozilla.org/firefox/linux/' + url: 'https://www.mozilla.org/firefox/linux' - icon: fab fa-freebsd url: 'https://www.freshports.org/www/firefox' - icon: fab fa-git - url: 'https://hg.mozilla.org/mozilla-central/' + url: 'https://hg.mozilla.org/mozilla-central' diff --git a/_data/software/browsers-mobile/1_bromite.yml b/_data/software/browsers-mobile/1_bromite.yml index 1366ad6e24..c1c27504c8 100644 --- a/_data/software/browsers-mobile/1_bromite.yml +++ b/_data/software/browsers-mobile/1_bromite.yml @@ -18,7 +18,7 @@ description: |
  • Select: Open external links in incognito.
  • -website: 'https://www.bromite.org/' +website: 'https://www.bromite.org' privacy_policy: 'https://www.bromite.org/privacy' downloads: - icon: fab fa-android diff --git a/_data/software/browsers-mobile/3_firefox.yml b/_data/software/browsers-mobile/3_firefox.yml index 6cb9052d26..9bc51bd85f 100644 --- a/_data/software/browsers-mobile/3_firefox.yml +++ b/_data/software/browsers-mobile/3_firefox.yml @@ -12,8 +12,8 @@ description: |
    Sanitizing on close
    Firefox iOS does not have have an option to clear cache on quit so you must do it manually. ( ≡ → ⚙️ Settings → Data Management). -website: 'https://firefox.com/' -privacy_policy: 'https://www.mozilla.org/privacy/firefox/' +website: 'https://firefox.com' +privacy_policy: 'https://www.mozilla.org/privacy/firefox' downloads: - icon: fab fa-app-store-ios url: 'https://apps.apple.com/app/id989804926' diff --git a/_data/software/browsers-mobile/4_firefox_focus.yml b/_data/software/browsers-mobile/4_firefox_focus.yml index c7fd1abc8c..b316e66c1d 100644 --- a/_data/software/browsers-mobile/4_firefox_focus.yml +++ b/_data/software/browsers-mobile/4_firefox_focus.yml @@ -12,8 +12,8 @@ description: |

    Notes

    Focus only lets you open one tab at a time. -website: 'https://firefox.com/' -privacy_policy: 'https://www.mozilla.org/privacy/firefox/' +website: 'https://firefox.com' +privacy_policy: 'https://www.mozilla.org/privacy/firefox' downloads: - icon: fab fa-app-store-ios url: 'https://apps.apple.com/app/id1055677337' diff --git a/_includes/legacy/sections/android-addons.html b/_includes/legacy/sections/android-addons.html deleted file mode 100644 index 2375f4d1e2..0000000000 --- a/_includes/legacy/sections/android-addons.html +++ /dev/null @@ -1,33 +0,0 @@ -

    Android Privacy Add-ons

    - -
    - -
    -
    - NetGuard -
    -
    -

    Control your traffic with NetGuard

    -

    NetGuard provides simple and advanced methods to block certain apps from accessing the internet, without requiring root privileges. Applications and addresses can be individually allowed or denied access to your Wi-Fi and/or mobile connections, allowing you to control exactly which apps are able to phone home or not.

    -
    -
    - -
    -
    - Orbot -
    -
    -

    Tor for Android with Orbot

    -

    Orbot is a free proxy app that empowers other apps to use the internet more securely. Orbot uses Tor to encrypt your Internet traffic and then hides it by bouncing through a series of computers around the world.

    -
    -
    - -
    - -

    See also

    - - diff --git a/_includes/legacy/sections/android-operating-systems.html b/_includes/legacy/sections/android-operating-systems.html deleted file mode 100644 index 5752f5fae3..0000000000 --- a/_includes/legacy/sections/android-operating-systems.html +++ /dev/null @@ -1,32 +0,0 @@ -

    Mobile Operating Systems

    - -{% include legacy/cardv2.html - title="GrapheneOS" - image="/assets/img/legacy_svg/3rd-party/grapheneos.svg" - image-dark="/assets/img/legacy_svg/3rd-party/grapheneos-dark.svg" - description='GrapheneOS is a free and open-source security and privacy-focused mobile operating system built on top of the Android Open Source Project. It expands upon android security by providing a hardened memory allocator, network and sensors permission, sandboxed Play Services support, and various other security features. Using GrapheneOS is recommended if you want the utmost security for your device. Currently, only Pixel phones are supported.' - badges="info:AOSP" - website="https://grapheneos.org" - github="https://github.com/GrapheneOS" -%} - -{% include legacy/cardv2.html - title="CalyxOS" - image="/assets/img/legacy_svg/3rd-party/calyxos.svg" - description='CalyxOS is a custom ROM based on the Android Open Source Project, with support for Google Pixel devices and the Xiaomi Mi A2. It aims to be secure and private by default, and includes a number of good choices for default applications. Some of its features include optional MicroG support and a built-in firewall. It should be noted that CalyxOS lacks a lot of the security hardening that GrapheneOS has, such as a hardened memory allocator, hardened webview, more secure spawning system, and so on.' - badges="info:AOSP" - website="https://calyxos.org" - gitlab="https://gitlab.com/calyxos" -%} - -{% include legacy/cardv2.html - title="DivestOS" - image="/assets/img/legacy_svg/3rd-party/divestos.svg" - description='DivestOS is a soft-fork of LineageOS with signed builds, automated kernel vulnerability (CVE) patching, fewer proprietary blobs, along with bundled F-Droid and UnifedNlp. Not all of its supported devices support verified boot, and DivestOS does not handle firmware updates well currently. For Pixel devices, we still recommend using GrapheneOS or CalyxOS. For other supported devices, DivestOS is a good option.' - badges="info:AOSP" - website="https://divestos.org" - tor="http://divestoseb5nncsydt7zzf5hrfg44md4bxqjs5ifcv4t7gt7u6ohjyyd.onion" - privacy-policy="https://divestos.org/index.php?page=privacy_policy" - github="https://github.com/divested-mobile" - gitlab="https://gitlab.com/divested-mobile" -%} diff --git a/_includes/legacy/sections/ios-addons.html b/_includes/legacy/sections/ios-addons.html index bda3a544ec..413616c9e5 100644 --- a/_includes/legacy/sections/ios-addons.html +++ b/_includes/legacy/sections/ios-addons.html @@ -23,11 +23,3 @@

    Block content in Safari with Our DNS client recommendations, which have information on enabling encrypted DNS on iOS. - - diff --git a/_layouts/default.html b/_layouts/default.html index e8cd65aaf3..518e88c55f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -11,5 +11,6 @@ + {% if page.mathjax %}{% endif %} diff --git a/assets/img/android/auditor.svg b/assets/img/android/auditor.svg new file mode 100644 index 0000000000..1223d9e2d7 --- /dev/null +++ b/assets/img/android/auditor.svg @@ -0,0 +1,2 @@ + + diff --git a/assets/img/legacy_svg/3rd-party/calyxos.svg b/assets/img/android/calyxos.svg similarity index 100% rename from assets/img/legacy_svg/3rd-party/calyxos.svg rename to assets/img/android/calyxos.svg diff --git a/assets/img/legacy_svg/3rd-party/divestos.svg b/assets/img/android/divestos.svg similarity index 100% rename from assets/img/legacy_svg/3rd-party/divestos.svg rename to assets/img/android/divestos.svg diff --git a/assets/img/legacy_svg/3rd-party/grapheneos-dark.svg b/assets/img/android/grapheneos-dark.svg similarity index 100% rename from assets/img/legacy_svg/3rd-party/grapheneos-dark.svg rename to assets/img/android/grapheneos-dark.svg diff --git a/assets/img/legacy_svg/3rd-party/grapheneos.svg b/assets/img/android/grapheneos.svg similarity index 100% rename from assets/img/legacy_svg/3rd-party/grapheneos.svg rename to assets/img/android/grapheneos.svg diff --git a/assets/img/legacy_svg/3rd-party/orbot.svg b/assets/img/android/orbot.svg similarity index 100% rename from assets/img/legacy_svg/3rd-party/orbot.svg rename to assets/img/android/orbot.svg diff --git a/assets/img/android/shelter.svg b/assets/img/android/shelter.svg new file mode 100644 index 0000000000..15ba70eaaa --- /dev/null +++ b/assets/img/android/shelter.svg @@ -0,0 +1,2 @@ + + diff --git a/assets/img/legacy_png/3rd-party/netguard.png b/assets/img/legacy_png/3rd-party/netguard.png deleted file mode 100644 index 5bfaaa18fa..0000000000 Binary files a/assets/img/legacy_png/3rd-party/netguard.png and /dev/null differ diff --git a/collections/_evergreen/android.html b/collections/_evergreen/android.html new file mode 100644 index 0000000000..7c44896e46 --- /dev/null +++ b/collections/_evergreen/android.html @@ -0,0 +1,175 @@ +--- +layout: evergreen +title: Android +mathjax: true +description: "Android is a secure operating system that has strong app sandboxing, verified boot, and a robust permission control system. + +The main privacy concern with most Android devices is that they usually include Google Play Services. This component is proprietary, closed source, has a privileged role on your phone and may collect private user information. It is not a part of the Android Open Source Project (AOSP) nor is it included with the below derivatives." +--- + +

    + + AOSP Derivatives +

    + +{% for item_hash in site.data.operating-systems.android %} +{% assign item = item_hash[1] %} + +{% if item.type == "Recommendation" %} +{% include recommendation-card.html %} +{% endif %} + +{% endfor %} + +

    + + Android security and privacy features +

    + +
    User Profiles
    + +

    Multiple user profiles (Settings → System → Multiple users) are the simplest way to isolate in Android. With user profiles you can limit a user from making calls, SMS or installing apps on the device. Each profile is encrypted using its own encryption key and cannot access the data of any other profiles. Even the device owner cannot view the data of other profiles without knowing their password. Multiple user profiles is a more secure method of isolation.

    + +
    Work Profile
    +

    Work profiles are another way to isolate individual apps and may be more convenient than separate user profiles.

    + +

    A device controller such as Shelter is required, unless you're using CalyxOS which includes one.

    + +

    The work profile is dependent on a device controller to function. Features such as File Shuttle and contact search blocking or any kind of isolation features must be implemented by the controller. The user must also fully trust the device controller app, as it has full access to the data inside of the work profile.

    + +

    This method is generally less secure than a secondary user profile, however, it does allow you the convenience of running run apps in both the work and personal profiles simultaneously.

    + +
    Verified Boot
    +

    Verified boot is an important part of the Android security model. It provides protection against Evil maid attacks, malware persistence, and ensures security updates cannot be downgraded with rollback protection.

    + +

    Android 10 and above has moved away from full disk encryption (FDE) to more flexible file based encryption.

    + +

    Each user's data is encrypted using their own unique encryption key, and the operating system files are left unencrypted. Verified boot ensures the integrity of the operating system files preventing an adversary with physical access from tampering or installing malware on the device. In the unlikely case that malware is able to exploit other parts of the system and gain higher privileged access, verified boot will prevent and revert changes to the system partition upon reboot of the device.

    + +

    Unfortunately, original equipment manufacturers (OEMs) are only obliged to support verified boot on their stock Android distribution. Only a few OEMs such as Google support custom Android Verified Boot (AVB) key enrollment on their devices. Some AOSP derivatives such as LineageOS or /e/ OS do not support verified boot even on hardware with verified boot support for third party operating systems. We recommend that you check for support before purchasing a new device. AOSP derivatives which do not support verified boot are not recommended.

    + +
    VPN Killswitch
    +

    Android 7 and above supports a VPN killswitch and it is available without the need to install third party apps. This feature can prevent leaks if the VPN is disconnected. It can be found in (⚙️ Settings → Network & internet → VPN → ⚙️ → Block connections without VPN).

    + +
    Global Toggles
    +

    Modern Android devices have global toggles for disabling Bluetooth and location services. Android 12 introduced toggles for the camera and microphone. When not in use, we recommend disabling these features. Apps cannot use disabled features (even if granted individual permission) until renabled.

    + + + +{% for item_hash in site.data.operating-systems.android-applications %} +{% assign item = item_hash[1] %} + +{% if item.type == "Recommendation" %} +{% include recommendation-card.html %} +{% endif %} + +{% endfor %} + +

    + + General Recommendations +

    + +
    Android Rooting
    +

    Rooting Android phones can decrease security significantly as it weakens the complete Android security model. This can decrease privacy should there be an exploit that is assisted by the decreased security. Common rooting methods involve directly tampering with the boot partition, making it impossible to perform successful verified boot. Apps that require root will also modify the system partition meaning that verified boot would have to remain disabled. Having root exposed directly in the user interface also increases the attack surface and may assist in privilege escalation vulnerabilities and SELinux policy bypasses.

    + +

    Adblockers (Adaway) which modify the hosts file and firewalls (AFWall+) which require root access persistently are dangerous and should not be used. They are also not the correct way to solve their intended purposes. For Adblocking we suggest DNS or VPN based blocking solutions instead. Adaway in non-root mode will take up the VPN slot preventing you from using privacy enhancing services such as Orbot or a VPN. AFWall+ works based on the packet filtering approach and is bypassable in some situations.

    + +

    We do not believe that the security sacrifices made by rooting a phone are worth the questionable privacy benefits of those apps.

    + +
    Firmware Updates
    + +

    Firmware updates are critical for maintaining security and without them your device cannot be secure. Original equipment manufacturers (OEMs) - phone manufacturers have support agreements with their partners to provide the closed source components for a limited support period. These are detailed in the monthly Android Security Bulletins.

    + +

    As the components of the phone such as the processor and radio technologies rely on closed source components, the updates must be provided by the respective manufacturers. Therefore it is important that you purchase a device within an active support cycle. Qualcomm and Samsung support their devices for 4 years while cheaper products often have shorter support. With the introduction of the Pixel 6, Google now makes their own system on chip (SoC) and they will provide 5 years of support.

    + +

    Fairphone claims that they will support their device for 6 years. However, as they use Qualcomm SoC there has been some skepticism surrounding that claim.

    + +

    Devices that have reached their end-of-life (EoL) and are no longer supported by the SoC manufacturer, cannot receive firmware updates from OEM vendors or after market Android distributors. This means that security issues with those devices will remain unfixed.

    + +
    Android versions
    +

    It's also important to make sure that you're not using an end-of-life version of Android. Newer versions of Android not only receive security updates for the operating system but also important privacy enhancing updates too. For example, prior to Android 10, any user apps with the READ_PHONE_STATE permission could access sensitive and unique serial numbers of your phone such as IMEI, MEID, your SIM card's IMSI, whereas now they must be system apps to do so. System apps are only shipped by the OEM or Android distribution.

    + +
    Android Permissions
    +

    Permissions on Android grant users control over what apps are allowed to access. Google regularly makes improvements on the permission system in each successive version. All user installed apps are strictly sandboxed, therefore there is no need to install any antivirus apps. The savings you make from not purchasing or subscribing to security apps is better spent on paying for a supported device in the future.

    + +

    Should you want to run an app that you're unsure about consider using a user or work profile.

    + +
    Android Device Shopping
    +

    Google Pixels are known to have good security and properly support verified boot. Some other phones such as the Fairphone and Oneplus devices also support custom Android verified boot (AVB) key enrollment. However, there have been issues with their older models. In the past they were using test keys or not doing proper verification, making verified boot on those devices useless.

    + +

    Avoid buying phones from mobile network operators. These often have a locked bootloader and do not support OEM unlocking. These phone variants will prevent you from installing any kind of alternative Android distribution. Phones that cannot be unlocked will often have an IMEI starting with "35", that includes phones from purchased from Verizon, Telus, Rogers, EE etc.

    + +

    Be very careful about buying second hand phones from online marketplaces. Always check the reputation of the seller. If the device is stolen there's a possibility of IMEI blacklisting. There is also a risk involved with you being associated with the activity of the previous owner.

    + +We have these general tips: + + +

    The installation of GrapheneOS on a Pixel phone is easy with their web installer. If you don't feel comfortable doing it yourself and are willing to spend a bit of extra money, check out the NitroPhone as they come preloaded with GrapheneOS from the reputable Nitrokey company. The GrapheneOS project is not currently affiliated with any vendor and cannot ensure the quality or security of their products.

    + +

    A CalyxOS membership also entitles you to a device preloaded with CalyxOS.

    + +

    + + Security comparison of GrapheneOS and CalyxOS +

    + +
    Profiles
    +

    CalyxOS includes a device controller app so there is no need to install a third party app like Shelter. GrapheneOS plans to introduce nested profile support with better isolation in the future.

    + +

    GrapheneOS extends the user profile feature allowing a user to press an "End Session" button. This button clears the encryption key from memory. There are plans to add a cross profile notifications system in the future.

    + +
    INTERNET permission vs packet filtering
    +

    Packet filter based solutions such Daruta Firewall, LineageOS (DivestOS), AFWall+ and Netguard, are not ideal as they can leak and don't prevent an app from proxying a network request through another app using an intent. Other filtering solutions such as RethinkDNS also prevent you from using a VPN at the same time.

    + +

    Android has a built-in INTERNET permission. This is enforced by the operating system. On AOSP and most of its derivatives, it is treated as an install time permission. GrapheneOS changes it to "run time" permission, meaning that it can be revoked to deny internet access to a specific app. + +

    The INTERNET permission is a strong way of controlling internet access. It also blocks direct access to the internet and access to other APIs that rely on the INTERNET permission. The only way for an app to circumvent it is for it to communicate with another app that has been granted INTERNET permission via mutual consent. Such communication can be prevented by putting apps into seperate profiles.

    + +

    Some apps might crash if their INTERNET permission is revoked. CalyxOS instead uses a firewall to achieve a similar outcome however, in some circumstances CalyxOS's approach may leak (#572, #581). + +

    Sandboxed Play Services vs Privileged MicroG
    +

    When Google Play services are used on GrapheneOS, they run as a user app and are contained within a user or work profile.

    + +

    Sandboxed Play Services are confined using the highly restrictive, default untrusted_app domain provided by SELinux. Permissions for apps to use Play Services can be revoked at any time by the user.

    + +

    MicroG is a reimplementation of Google Play Services. This means it needs to be updated every time Android has a major version update (or the Android API changes). We don't believe MicroG provides any privacy advantages over Sandboxed Play Services except for the option to shift trust of the location backend from Google to another provider such as Mozilla or DejaVu.

    + +
    Device Patch Level
    + +

    GrapheneOS includes the latest Android 12 and comes with full firmware security patches for non "extended support" devices. If it is supported you will have the latest security patch level.

    + +

    CalyxOS has not yet finished Android 12 support. This means they cannot include the updated proprietary firmware with security patches that were designed for Android 12.

    + +
    Privileged App Extensions
    + +

    Android 12 comes with special support for seamless app updates with third party app stores. The popular Free and Open Source Software (FOSS) repository F-Droid doesn't implement this feature and requires a privileged extension to be included with the Android distribution in order to have unattended app installation.

    + +

    GrapheneOS doesn't compromise on security, therefore they do not include the F-Droid extension therefore, users have to confirm all updates manually if they want to use F-Droid. GrapheneOS officially recommends Sandboxed Play Services instead. Many FOSS Android apps are also in Google Play but sometimes they are not (like Newpipe).

    + +

    CalyxOS includes the privileged extension, which may lower device security. Seemless app updates should be possible with Aurora Store when CalyxOS is upgraded to Android 12 and #153 is completed.

    + +
    Additional Hardening
    +

    GrapheneOS improves upon AOSP security with:

    + + +

    Please note that these are just a few examples and are not an extensive list of GrapheneOS's hardening.

    diff --git a/legacy_pages/os.html b/legacy_pages/os.html index cdb62b2095..a40babd415 100644 --- a/legacy_pages/os.html +++ b/legacy_pages/os.html @@ -15,10 +15,6 @@

    Warning

    {% include legacy/sections/tor-operating-systems.html %} -{% include legacy/sections/android-operating-systems.html %} - -{% include legacy/sections/android-addons.html %} - {% include legacy/sections/ios-addons.html %} {% include legacy/sections/router-firmware.html %} diff --git a/package-lock.json b/package-lock.json index 9f42441d0d..05d9728acb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,8 @@ "license": "ISC", "dependencies": { "@fortawesome/fontawesome-pro": "^6.0.0-beta3", - "bootstrap": "^5.1.3" + "bootstrap": "^5.1.3", + "mathjax": "^3.2.0" } }, "node_modules/@fortawesome/fontawesome-pro": { @@ -42,6 +43,11 @@ "peerDependencies": { "@popperjs/core": "^2.10.2" } + }, + "node_modules/mathjax": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/mathjax/-/mathjax-3.2.0.tgz", + "integrity": "sha512-PL+rdYRK4Wxif+SQ94zP/L0sv6/oW/1WdQiIx0Jvn9FZaU5W9E6nlIv8liYAXBNPL2Fw/i+o/mZ1212eSzn0Cw==" } }, "dependencies": { @@ -61,6 +67,11 @@ "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.1.3.tgz", "integrity": "sha512-fcQztozJ8jToQWXxVuEyXWW+dSo8AiXWKwiSSrKWsRB/Qt+Ewwza+JWoLKiTuQLaEPhdNAJ7+Dosc9DOIqNy7Q==", "requires": {} + }, + "mathjax": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/mathjax/-/mathjax-3.2.0.tgz", + "integrity": "sha512-PL+rdYRK4Wxif+SQ94zP/L0sv6/oW/1WdQiIx0Jvn9FZaU5W9E6nlIv8liYAXBNPL2Fw/i+o/mZ1212eSzn0Cw==" } } } diff --git a/package.json b/package.json index dd2d8902d3..f5be645755 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "assets:copy:js": "mkdir -p assets/js/vendor && cp node_modules/bootstrap/dist/js/bootstrap.bundle.min.* assets/js/vendor/", + "assets:copy:js": "mkdir -p assets/js/vendor && cp node_modules/bootstrap/dist/js/bootstrap.bundle.min.* node_modules/mathjax/es5/tex-svg.js assets/js/vendor/", "assets:copy:icons": "mkdir -p assets/fonts/vendor/fontawesome && cp -a \"node_modules/@fortawesome/fontawesome-pro/.\" assets/fonts/vendor/fontawesome/", "assets:install": "npm run assets:copy:js && npm run assets:copy:icons", "build": "npm run assets:install && bundle exec jekyll build", @@ -23,6 +23,7 @@ "homepage": "https://github.com/privacyguides/privacyguides#readme", "dependencies": { "@fortawesome/fontawesome-pro": "^6.0.0-beta3", - "bootstrap": "^5.1.3" + "bootstrap": "^5.1.3", + "mathjax": "^3.2.0" } }