Better HN
topnewbestaskshowjobs
Log inSign up

Andromxda

58 karma · joined Jul 25, 2025 (1y ago) · 66 submissions

Mastodon: @Andromxda@infosec.space
Submissions

comment 4d ago · link · parent

GrapheneOS combines hardware and software-based security features to offer the best overall privacy and security. GrapheneOS has, for example been investing lots of time and effort into memory safety, long before hardware memory tagging existed in ARM chips, but hardened_malloc still can't catch every memory corruption vulnerability (still a lot better than other "hardened" allocators). Combining it with MTE makes it very useful.

Other requirements, such as the 7 year OEM update mandate, don't just exist for security but also for longevity and avoiding e-waste, etc. Modern smartphone hardware is powerful enough to still be useful 7 years later, so customers should really be able to use their devices for that long. This means receiving full driver, HAL, and firmware updates from the manufacturer.

GSI builds may work for other Android forks that don't care about the kernel, but GrapheneOS makes significant changes to the kernel, such as enabling the hardware tag-based Kernel Address Sanitizer (KASAN/HWASan) (which isn't enabled by default, even on devices that have the hardware), zero-on-free, as well as enabling BTI and SCS. This only works with a custom kernel, so it's incompatible with GSIs.

comment 4d ago · link · parent

Used Pixel "a" models like the Pixel 8a are pretty cheap. Buying used also means that Google doesn't get your money. The 8a was released in 2024 and gets 7 years of updates, so you're good until 2031. Until then, Motorola will hopefully offer cheaper devices that fulfill the GrapheneOS hardware requirements. It's not entirely in Moto's power, since Qualcomm also needs to hurry up and finally bring MTE support and some other features to their lower end chipsets. Google has had MTE on all Pixels, even the cheaper "a" models, since 2023 (to be fair, the "a" models use the same SoCs as the normal Pixels).

comment 6d ago · link · parent

Brave wrote their own content filtering engine in Rust, it's more performant than uBO and other JS-based adblockers, so it pretty much eliminates the need for MV2 in Brave. Firefox doesn't have a built-in adblocker, so it makes sense for Mozilla to keep supporting MV2.

comment 1mo ago · link · parent

I recommend reading https://grapheneos.org/usage and https://grapheneos.org/faq, at least in parts. You can take a look at the table of contents and see what's relevant for you.

comment 1mo ago · link · parent

> LineageOS really should be based directly on GrapheneOS

I get the point you're trying to make, but in reality, it wouldn't be very useful. Many security features of GrapheneOS could easily be bypassed, due to flaws in LineageOS, such as the fact that they ship userdebug instead of production builds, don't really allow for bootloader relocking, etc. High-level improvements like the GrapheneOS hardened memory allocator, Auditor app (hardware-based remote attestation/device integrity monitoring), etc. are pretty useless, when the entire system has an unlocked bootloader and thus no verified boot, weakend SELinux policies due to the use of userdebug builds, etc. GrapheneOS also purposely narrows the list of supported devices for security reasons. They mandate a high-quality secure element, hardware memory tagging, etc. whereas LineageOS tries to support as many devices as possible. Those two very different philosophies simply aren't compatible.

comment 1mo ago · link · parent

It's quite the other way around. GrapheneOS is definitely more secure and private, see https://eylenburg.github.io/android_comparison.htm, and also more usable, because Sandboxed Google Play has better app compatibility than microG.

comment 1mo ago · link · parent

I think they're referring to past contributions to AOSP from GrapheneOS developers.

comment 1mo ago · link · parent

Klarna also offers tap to pay in their app, at least in Germany. Not sure whether that's the case in the rest of Europe or elsewhere.

comment 1mo ago · link · parent

Klarna has NFC tap to pay in their app too. Not sure if it works outside Europe though.

comment 2mo ago · link · parent

That's not true. Look at their FAQ [1]:

> GrapheneOS is permissively licensed and is usable for building devices with an immutable root of trust. GPLv3 is deliberately incompatible with these kinds of locked down devices, unlike GPLv2 code such as the Linux kernel. This means GrapheneOS can't include GPLv3 code without forbidding use cases we want to support. GPLv3 is no problem for our own usage, but we don't want to forbid using GrapheneOS as a replacement for the Android Open Source Project in locked down devices.

They're not against GPLv3 and, but they explain why it's not suited for a project like GrapheneOS.

[1] https://grapheneos.org/faq#:~:text=In%20some%20cases,locked%...

comment 4mo ago · link · parent

You can also use a privacy screen protector. Or use the two factor fingerprint unlock, which requires both a fingerprint and a PIN to unlock. And that's only after first unlock, so you can still use a separate, strong passphrase for BFU state.

comment 4mo ago · link · parent

And fully disable the USB port (GrapheneOS-exclusive feature). This will make it impossible to extract data with mobile forensics software/devices (such as the Cellebrite UFED).

comment 4mo ago · link · parent

GrapheneOS already has an auto-reboot feature that can be set to time intervals ranging from 10 minutes to 72 hours. Rebooting puts the device back in before first unlock (BFU) state. This wipes all memory contents, including the encryption keys. Any unlock attempt will have to go through the secure element, which is basically impossible to tamper with (no successful attacks on the Titan M2 so far, or the Apple SEP for that matter), and includes substantial security mechanisms, such as throttling key derivations (through the Weaver API), or insider attack resistance (requiring user authentication before new firmware can be flashed to the secure element).

Leaked documents from mobile forensics companies, such as Cellebrite or XRY confirm this. It's impossible to crack a Pixel with GrapheneOS in BFU state. See https://grapheneos.social/@GrapheneOS/112462758257739953 and https://grapheneos.social/@GrapheneOS/112826067364945164

comment 5mo ago · link · parent

https://grapheneos.social/@GrapheneOS/116016068519170752

comment 5mo ago · link · parent

This makes no sense. GrapheneOS is open source, while SailfishOS isn't. On top of that, GrapheneOS is much more secure.

comment 5mo ago · link · parent

> It's still more open than AOSP

Uh, no? How are you getting this idea?

This is the manifest file for GrapheneOS: https://github.com/GrapheneOS/platform_manifest/blob/17/defa...

It literally contains links to all the AOSP repos or GrapheneOS forks of them. You can clone these exact repos and build the OS from source. GrapheneOS provides instructions for it: https://grapheneos.org/build

comment 5mo ago · link · parent

Straight up conspiracy theories you're spreading here. Daniel Micay is Canadian, Dmytro Mukhomor is Ukrainian (he was literally conscripted into the Ukrainian army last year), and Khalykbek Yelshibekov is from Kazakhstan.

> Micay is somewhat Russian-sounding too

Sorry what?

comment 5mo ago · link · parent

1) No one is saying that. As another commenter mentioned, Android is open source.

2) The point still stands, desktop operating systems like Windows and desktop Linux distributions are much less secure than Android or iOS. Read https://privsec.dev/posts/linux/linux-insecurities/

comment 6mo ago · link · parent

They're partnering with Motorola to build devices with official GrapheneOS support. https://grapheneos.social/@GrapheneOS/116159602850585685

comment 6mo ago · link · parent

It's open source [1], and they're pretty transparent about everything. You can ask the devs anything, and they will probably give you a really useful and informative answer. They have extensive documentation, and they're pretty open, even about stuff like their servers [2], configurations [3], everything.

[1] https://grapheneos.org/source

[2] https://grapheneos.org/articles/grapheneos-servers

[3] https://github.com/GrapheneOS/infrastructure

comment 6mo ago · link · parent

If you want an outdated, insecure, and extremely overpriced phone, sure, go ahead.

It's literally 2018 hardware being sold for 800 bucks. 3 GB of RAM? Seriously? The iPhone XS, also from 2018, has 4 GB of RAM, just saying.

And regarding the security: https://madaidans-insecurities.github.io/linux-phones.html

comment 6mo ago · link · parent

That's perhaps because typical consumers don't build their own operating systems?

comment 6mo ago · link · parent

They're insecure [1] and far from usable.

[1] https://madaidans-insecurities.github.io/linux-phones.html

comment 8mo ago · link · parent

Of course the topic as a whole is much more complex than that, but I'll try to summarize it. Android has 3 systems of access control [1][2]:

- Discretionary Access Control, i.e. the standard Unix file permissions

- Mandatory Access Control, implemented in the form of the SELinux and YAMA LSMs (GrapheneOS stopped using YAMA in the 2024031400 release and replaced it with advanced SELinux policies)

- Android permissions which have to be disclosed in the AndroidManifest.xml, and most of the time need to be granted by the user at runtime

Root simply bypasses ALL of these security mechanisms. This is a clear violation of the principle of least privilege, since most of the stuff you are doing with root probably doesn't require access to your entire filesystem, and could easily run within an SELinux context. But writing and deploying a modified SELinux policy would take extra time and effort, and devs are lazy, so they just use root to completely bypass it.

As madaidan points out, only a tiny subset of system processes on Android run as root. [3] And Android has clear guidelines about what root process are and aren't allowed to do. From the AOSP documentation:

> Where possible, root code should be isolated from untrusted data and accessed via IPC.

> Root processes must not listen on a network socket.

> Root processes must not provide a general-purpose runtime for apps (for example, a Java VM).

Desktop systems are very different from Android and iOS. Out of Android's three major security mechanisms, they typically only implement one. This is why ransomware is so insanely successful. Every program has access to all the files and folders of the logged in user, including network shares, etc. Even on systems that implement application sandboxing and a permission system, such as macOS, it's only an afterthought, and isn't enforced properly. (macOS is still miles ahead of Windows and Linux though) For example, when installing a 3rd-party terminal emulator such as iTerm2 on macOS, you have to grant it the permission to access your entire file system (otherwise you will be limited to the home directory IIRC). But this permission also applies recursively to every process started within the terminal, greatly limiting its usefulness.

> I don't understand this. Could someone explain it with more details to me, please?

Android uses Verified Boot to protect against both Evil maid attacks [4], i.e. someone modifying the operating system on the hard drive, and malware persistence. By default, the Android /system partition is mounted in read-only mode, unlike for example your C:\Windows directory, or system directories like /bin on Linux. This prevents malware from modifying the operating system. If you ever get malware on Android or iOS, in most cases you can get rid of it, by simply rebooting your device. Unless of course, the malware has some persistence mechanism. Root obviously provides a great vector for persistence, since the system partition could simply be remounted in a writable mode, and the system could be modified however the attacker wants to.

When you build your own copy of AOSP or GrapheneOS, include your modifications, and sign the image with your own Verified Boot keys, that image can't be modified or tampered with by an attacker. It's perfectly secure to do that (of course only if you can trust the extra code you're including).

[1] https://source.android.com/docs/security/app-sandbox#protect...

[2] https://arxiv.org/pdf/1904.05572

[3] https://source.android.com/docs/security/overview/implement#...

[4] https://en.wikipedia.org/wiki/Evil_maid_attack

comment 8mo ago · link · parent

No, this is incorrect. The GrapheneOS NetworkLocation client (https://github.com/GrapheneOS/platform_packages_apps_Network...) is using Apple's request format and performing the calculations locally, similar to how it's done on iPhones. The proxy is just an entry in the nginx config: https://github.com/GrapheneOS/grapheneos.org/blob/main/nginx...

The data is cached for roughly 15 minutes. https://grapheneos.org/features#:~:text=It%20caches%20the%20...

GrapheneOS plans to scrape Apple's database and make it downloadable, so Wi-fi positioning could be done fully locally.

comment 8mo ago · link · parent

Rooting is a very bad idea. https://madaidans-insecurities.github.io/android.html#rootin... But GrapheneOS is fully open source and provides great build instructions, so you can always make your own build and add whatever features or privileged apps you like within the standard AOSP frameworks for privileged apps with system integration.

> Backing up all app data via Neo Backup

GrapheneOS includes Seedvault by default. https://grapheneos.org/features#encrypted-backups

> High-quality call recording via Call Recorder

Call recording is built into the Dialer app on GrapheneOS. https://grapheneos.org/features#encrypted-backups:~:text=Cal....

> DNS-based ad blocking is possible via apps like AdGuard

DNS-based blocking can also be accomplished by using Android's native Private DNS feature with a resolver that blocks ads. You could even host your own on a VPS if you are more comfortable running name resolution and DNS-level adblocking on infrastructure you control.

The RethinkDNS app also lets you use DNS-level adblocking and a VPN at the same time. https://grapheneos.org/faq#ad-blocking-apps

> I have no experience with GrapheneOS, so I'd be interested to hear if these features are possible on it without rooting.

I recommend giving https://grapheneos.org/features a read.

> If not, can I request these features somewhere?

Check out the issue tracker on GitHub: https://github.com/GrapheneOS/os-issue-tracker/issues

comment 8mo ago · link · parent

and CAN'T link the location information to any other data

comment 8mo ago · link · parent

Definitely wouldn't be unheard of in the Fintech industry. But I don't know, because I don't use the service. My bank thankfully offers their own implementation of NFC payments within their own app, so I don't need to rely on any third-party services. Many banks in Europe actually do this. Here's a German article about Google-free mobile payments on GrapheneOS: https://www.kuketz-blog.de/nfc-datenschutzfreundlich-bezahle...

comment 8mo ago · link · parent

> you can inspect the code it's running

That's only true for microG itself, not the Google blobs it needs to download and execute in order to function. GmsCompat on GrapheneOS is also fully open source.[1]

> For example you can replace the location service with a privacy respecting one.

GrapheneOS literally does that.[2] It's currently not perfect in regard to privacy because they are using Apple's Wi-Fi positioning service, but proxying it through their own servers, so Apple never gets the user's IP address or any unique identifiers, and link the location information to any other data. One thing Apple currently does better than most network location providers is the fact that they don't just return position data for one BSSID, they actually give you the data for hundreds of nearby BSSIDs as well[3], which is more private, and means that much fewer requests need to be made to the service.

Because of this aforementioned aspect, Apple's Wi-Fi positioning system is also incredibly easy to scrape. GrapheneOS plans to build their own database, and let users download it, so Wi-Fi positioning could be performed fully locally.

> It would be amazing if grapheneos would support microG as an option. But they are too much "not invented here" for that to happen.

GrapheneOS doesn't support microG, because it has worse app compatibility than Sandboxed Google Play, and requires elevated privileges, unlike SGP.

[1] https://github.com/GrapheneOS/platform_packages_apps_GmsComp...

[2] https://grapheneos.org/features#network-location

[3] https://github.com/acheong08/apple-corelocation-experiments

comment 8mo ago · link · parent

GrapheneOS doesn't support face unlocking right now, but they have a useful two-factor unlock option that requires both a PIN, and biometrics (currently a fingerprint on Pixel devices) to unlock the device while in AFU. It also allows you at the same time to use a long passphrase in BFU.
123