Ugh… It's Termux. You're using GNU/Linux on Android essentially. Which just proves my point that GNU/Linux just offers more stuff.
@safiuddinkhan @iska @m0xee
Top-level
@dushman
Ugh… It's Termux. You're using GNU/Linux on Android essentially. Which just proves my point that GNU/Linux just offers more stuff. @safiuddinkhan @iska @m0xee 37 comments
@dushman
Again, why not use some mobile GNU/Linux OS instead? It's even more robust than a terminal emulator. @safiuddinkhan @iska @m0xee @cyberspook @safiuddinkhan @iska @m0xee
Why not? It's still quite clunky at this stage really. Not that I'm against the concept, it's just not very fleshed out as of now. LOS with termux and no google bloat is comfy. @dushman @safiuddinkhan @iska @cyberspook You can't get rid of Google bloat completely because a lot of stuff won't work without WebView. Replacing Google's implementation with Bromite is probably the best you can do at the moment. Mozilla tried to make WebView based on Gecko, but they've given up long time ago. @inference @safiuddinkhan @cyberspook @iska @dushman But Graphene only supports Google phones, does it not? @inference @safiuddinkhan @iska @dushman @cyberspook @m0xee
actually I believe OnePlus also allows custom signing keys (however not all models have an unlockable bootloader) @roboneko @safiuddinkhan @iska @dushman @cyberspook @m0xee They do, but their implementation is very bad. Their recovery has SELinux set to permissive, making it useless, and it also fails to wipe the memory on reboot. It also has no HSM unlike Pixels, so you're relying on weaker TEE.
@inference
The magic is, the phone is secure… until you root it. "Well, don't root!" Not an option. @safiuddinkhan @iska @dushman @m0xee @cyberspook @safiuddinkhan @iska @dushman @m0xee I'm focused on security, so of course I'm anti-rooting.
If you're not focused on security and want more freedom, sure, root it. @inference
That's the flaw of Android itself, making root so insecure. It's the design issue. One would think getting root is a core functonality of an OS. Not on Android. @safiuddinkhan @iska @dushman @m0xee @cyberspook @safiuddinkhan @iska @dushman @m0xee Linux hardening always includes restricting root access, regardless of Linux proper or Android.
root is, by design, the worst security flaw of Linux. @inference
Root is flawed if there's no proper permission control system in place like sudo or whatever. Nobody suggests this. @safiuddinkhan @iska @dushman @m0xee @cyberspook @safiuddinkhan @iska @dushman @m0xee Even sudo and doas are flawed.
I can give you a simple code block which can save your root password and feed it back: https://madaidans-insecurities.github.io/linux.html#root @cyberspook @dushman @iska @m0xee @safiuddinkhan root access via any means, on any Linux system, regardless of OS, is fatal. Game over. The end.
@inference @safiuddinkhan @cyberspook @m0xee @dushman Maybe. Why isn't the whole web using android servers, if it's so secure? @iska @safiuddinkhan @cyberspook @m0xee @dushman Because no Linux hardware other than Android is really using HSMs or TEEs with verified boot. The only company I know which does that is Google, using the Titan.
@inference @safiuddinkhan @cyberspook @m0xee @dushman Verified boot is not a requirement for android, and exists in standard PCs. @iska @safiuddinkhan @cyberspook @m0xee @dushman Verified boot does not exist in normal PCs. Verified boot is not the same as secure boot, it is an extra layer above which protects the OS integrity, not just checking the bootloader signature. You are very wrong.
@inference @safiuddinkhan @cyberspook @m0xee @dushman How would google's edition of GNU/Linux have verified boot but not normal? puri.sm is even more secure, even neutralizing IME. Here's one of their features. @iska @safiuddinkhan @cyberspook @m0xee @dushman
"Distributions like PureOS are not particularly secure. They are mostly a reskinned Debian and do not include substantial hardening." https://madaidans-insecurities.github.io/linux-phones.html @inference @safiuddinkhan @cyberspook @m0xee @dushman I'm talking about the hardware there. You can install a hardened OS on it, including ChromiumOS or Android-x86. @iska @safiuddinkhan @cyberspook @m0xee @dushman Chromium OS doesn't have verified boot, only Chrome OS does.
There is no system outside of ARM phones and tablets which take advantage of a HSM or TEE to allow storing OS signing keys (not the same as bootloader/kernel keys, which is secure boot). Computer Security is an unachievable goal, the most reasonable thing to do is not connect your computer to internet 24/7.
@colinsmatt11 @safiuddinkhan @inference @dushman @m0xee @cyberspook Besides you need hardware access or hard fuckups to compromise boot. Guix with LUKS and SELinux is 99.99% secure, with simplicity and freedom; and definitely better than proprietary jails. @inference @safiuddinkhan @cyberspook @iska @dushman You may be right, but this article is just bad. Hardening in the OS is not good enough so we can just install Android 🤷 @cyberspook @safiuddinkhan @iska @dushman @m0xee But you also get the hardened security of Android, including full verified boot, all apps sandboxing, and SELinux across entire system by default.
No chance on a Linux phone. @inference @safiuddinkhan @cyberspook @iska @dushman You won't need Android app sandboxing in you've got no Android apps 😅 @cyberspook @inference @safiuddinkhan @dushman @iska That's until you try using desktop Firefox on a phone. Believe me, it's THAT bad! @m0xee
*uses Windows 11 on a phone* Man, and I thought it can't get worse than Android. @inference @safiuddinkhan @dushman @iska @m0xee @safiuddinkhan @cyberspook @iska @dushman Don't have no privacy without sandboxing.
*Insert dumb... I mean smart person pointing towards head here.* @inference @safiuddinkhan @cyberspook @m0xee @dushman who said I don't sandbox on my GNU system. @iska @inference @safiuddinkhan @cyberspook @dushman What's the point in sandboxing if hardware has more holes than Swiss cheese? Sandboxing looks good on paper, but with all this Spectre/Meltdown shit, Apple has this Heartbleed thing… To me it's just a waste of resources security-wise. |
Well, why not use it too? It sure comes in handy.