Better HN
topnewbestaskshowjobs
Log inSign up

NotPractical

1,422 karma · joined May 19, 2020 (6y ago) · 451 submissions

Submissions

comment 2y ago · link · parent

> This technical failing probably, partially, explains why they are so against allowing sideloading.

This occurred to me the other day. I've always laughed at the idea that Apple blocks sideloading for security purposes, but if the first line of defense is and always has been security through obscurity + manual App Store review (>= 2.0) on iOS, it's very possible that sideloading could cause problems. iOS didn't even have an App Store in release 1.0, meanwhile the Android security model has taken into account sideloaded apps since the very beginning [1]:

> Android is designed to be open. [...] Securing an open platform requires a strong security architecture and rigorous security programs. Android was designed with multilayered security that's flexible enough to support an open platform while still protecting all users of the platform.

[1] https://source.android.com/docs/security/overview

Edit: Language revised to clarify that I'm poking fun of the idea and not the one who believes it.

302.

How to Easily Patch Fedora Packages(blog.aloni.org ↗)

1 points · by NotPractical · 2y ago · discuss

comment 2y ago · link · parent

> GrapheneOS already has fine-grained firewall support exposed to the user via the standard VPN service feature which despite misconceptions can be used while also using an actual VPN and there are multiple apps supporting this.

Interesting, didn't know that. Maybe I should file an issue with the official WireGuard app asking them to support this. It would be nice if "multiple VPNs" was provided as an OS feature.

> It's not simply difficult to set up firewall rules where leaks aren't possible but rather it doesn't really work because not everything is done via direct socket access from the apps.

This only applies to rules intended for specific apps and not system-wide rules, no? I'd hope so, since as you said people are already applying system-wide (or at least user-wide) rules using the VPN interface.

comment 2y ago · link · parent

Not OP, but I think that their concerns are legitimate for the most part. One example they've brought up is that, with root, a single bug in the display server could lead to complete and immediate compromise of the entire device (assuming root access is gated by UI prompts as is common on most rooted ROMs). Additionally, with verified boot, persistent changes to the OS made via root would cause the phone to be unable to reboot, which limits what you can do with root (assuming you still want verified boot). GrapheneOS standards are much higher than on desktop Linux, where root can be acquired as easily as injecting a fake `sudo` into ~/.bashrc.

Basically the idea is that there should be no need for root if everything is nicely gated by permission controls and high-level APIs. If every component of Android were actually well-designed, this idea would have more merit, but unfortunately there are still a few big gaps in what you can do with a rooted versus non-rooted device, e.g. custom firewall rules (which could provide a hotfix for the issue at hand here). When asked to expose more fine-grained firewall control to the end user, the Graphene devs basically responded that it's extremely difficult to set up firewall rules properly such that leaks are impossible [1], which may be true, but I'd like to think it's better than nothing.

Also, because root access would break Android's protection against end user application tampering, that would likely rule out the possibility of GrapheneOS receiving special support from banking apps, which is something they hope to see in the future [2].

Anyway, this particular issue is definitely a bug in AOSP, and will hopefully be resolved promptly. It's being tracked here: https://issuetracker.google.com/issues/337961996

[1] https://discuss.grapheneos.org/d/4113/6

[2] https://grapheneos.org/articles/attestation-compatibility-gu...

comment 2y ago · link · parent

Minor conveniences like this are not worth the complete erosion of privacy, in my opinion. Just go to the nearest ATM to deposit checks (who uses checks anymore, btw?) and use the site for everything else. Not everyone even has a smartphone, and out of those that do, many prefer banking on their laptop over their phone anyway, which incentivizes banks to create feature-rich websites. If the mobile site isn't any good, usually the "desktop site" isn't too difficult to navigate on mobile, if you need to.

comment 2y ago · link · parent

> If you're not on a rolling release distro, your version is probably older.

Ironic considering security is often advertised as a feature of rolling release distros. I suppose in most instances it does provide better security, but there are some advantages to Debian's approach (stable Debian, that is).

comment 2y ago · link · parent

I doubt that Nintendo was aware of any of that, aside from maybe the Patreon, when they decided to initiate the litigation process. The Patreon was admittedly risky, but as far as I can tell the settlement states that the emulator itself is illegal as per the DMCA, regardless of whether or not they were making money off of it. If a precedent is set here, it is quite dangerous.

> Also, doesn't Yuzu itself include pre-decrypted ROM dumps from the actual Switch hardware, like for example the OS bootloader ?

As other commenters have pointed out, Yuzu did not include any Nintendo copyrighted assets, so this is wrong.

308.

Obsidian Shell Commands(github.com ↗)

2 points · by NotPractical · 2y ago · discuss

comment 2y ago · link · parent

Awesome! I'd love to see a detailed writeup on how the exploit works, if someone has the time and interest to put one together.

We were incredibly lucky to get one for the Switch BootROM exploit: https://github.com/Qyriad/fusee-launcher/blob/master/report/...

comment 2y ago · link · parent

It seems surprising to me that they went from shipping a vulnerable WebKit with numerous public CVEs on day 1, to producing a more or less bulletproof OS?

comment 2y ago · link · parent

> Pirates will always find a way

Except it's usually not pirates who find these exploits, rather curious tinkerers that want to unlock the full capabilities of the hardware that they own. The pirates / script kiddies usually come in after the groundwork has already been laid by these true hackers. E.g. the people who hacked the Switch in fact condemn piracy and any discussion of it on within their communities will lead to an immediate ban.

I'm proud to say that I've hacked my Switch, but have never pirated anything on it. An impressive homebrew scene has formed around the console, which has produced gems such as Mission Control, allowing you to seamlessly pair third party controllers. I use it with my PS4 controllers.

https://github.com/ndeadly/MissionControl

comment 2y ago · link · parent

Wouldn't the group members at least be notified that someone joined the group? And the server would only have access to messages sent after that notification, right?

comment 2y ago · link · parent

It will solve all of our problems for good and after it's implemented across every ISP, everyone will live in an interconnected utopia without NAT and other obstacles getting in the way of direct P2P communications across any device. /s

It will at least address the NAT problem. Theoretically, if ISPs truly embrace it, it will also open up the possibility of direct P2P communication across most devices on the Internet. Can't remember if there's a standardized protocol for IPv6 like UPnP but if not you can just configure your firewall manually. Of course, that's assuming ISPs allow you to do so.

Tbh, I misread your OP and I somehow got the idea you were talking about NAT. Static addressing is also a problem but a smaller one. In fact, IPv6 probably does nothing to help here, and may even make the problem worse with address randomization (which is a legitimate privacy feature, but still).

comment 2y ago · link · parent

True, but in my experience WireGuard + unencrypted file transfer protocols is faster, not to mention more flexible. But if you already have SSH set up, that's a good option for sure. I used to use SSH port forwarding extensively before I discovered WireGuard.

comment 2y ago · link · parent

IPv6.

comment 2y ago · link · parent

I would also wrap it in a WireGuard tunnel, especially if doing it over the Internet, unless you want your fellow hackers intercepting everything you're transferring.

P.S. I love WireGuard, it's easy to set up and allows you to use protocols with no encryption (or bad proprietary encryption) securely.

comment 2y ago · link · parent

Bluetooth is really slow, that's the main drawback.

WiFi Direct is a really great technology but unfortunately it is as simple as its name implies: it's a peer-to-peer version of WiFi. It establishes a connection between two devices, but you need to do everything else (like figuring out how to send files over the socket) yourself.

There are plenty of cross-platform apps that implement WiFi Direct file sharing though.

comment 2y ago · link · parent

Syncthing tries to send over the LAN if it's available, and only uses Internet relay servers if it can't establish LAN connectivity. This is why it's (usually) blazing fast. Not sure why the OP thinks this is a misuse of the tool. In fact, it's probably one of the intended purposes of it.

comment 2y ago · link · parent

Just based on the Apple developer documentation, it appears that you're correct: https://developer.apple.com/documentation/security/notarizin...

I was actually surprised not to at least see "your app must agree to abide by some basic terms of service" on the list of requirements. It seems like a mostly automatic system.

At the same time, I would also be surprised if Apple were explicitly alerted by Hollywood lawyers of the fact that an app like Popcorn Time was endorsed in any way by them, and they didn't proceed to revoke the signature.

comment 2y ago · link · parent

The "unsigned" part isn't surprising, considering Apple would never approve it. But the installer package is far from ideal. It's typically only used when a program needs to install a privileged helper service, and I don't know why Popcorn Time would need that?

Edit: It appears to be just a .app file? Unless the .pkg is bundled in there...

comment 2y ago · link · parent

TPM without PIN is the default configuration, so I'd consider it to be a big deal.

comment 2y ago · link · parent

More details about this feature (no paywall): https://www.patreon.com/posts/91026490

The Pixel 8 is Google's first phone since the Nexus 5 to support display output on a hardware level, afaik.

323.

GrapheneOS enables Pixel 8's hidden DisplayPort output support(github.com ↗)

1 points · by NotPractical · 2y ago · 2 comments

comment 3y ago · link · parent

> I am concerned about letting stimulants loose on the population.

They already have been. It's not hard at all to get an Adderall prescription. Just Google "ADHD symptoms" (the main one being trouble focusing) then go to your doctor and tell them you have those.

comment 3y ago · link · parent

I imagine that (thoughtfully) moderating a site as large as HN is no easy task, and though I'm all for more transparency, I think logs like that have the potential to open a whole can of worms and add much more burden on Dan. All of a sudden you get a bunch of HN posts that solely exist to criticize Dan's decisions which clog up the feed. If a rule is added against this it looks like even more censorship.

Lobsters [1] has mod logs, but it also has a much smaller community, and it's invite-only so there's less need for moderation in the first place.

[1] https://lobste.rs/moderations

comment 3y ago · link · parent

Anyone know how to actually examine the contents of the request? Everyone's tossing around their own theories as to what this request is for but it looks like nobody's doing any real investigation. I'm on macOS Ventura and I tried this method that was suggested in another HN post: https://lapcatsoftware.com/articles/logging-https.html

But it doesn't seem to work. According to the aforementioned post, Apple system binaries are using cert pinning so it's difficult to intercept the network requests that they make. The suggestion was setting an environment variable to politely ask them to log their requests. I don't think mediaanalysisd respects this variable, however.

comment 3y ago · link · parent

> The ideal is locally running libre software implementing open protocols

comment 3y ago · link · parent

I think it's really important to protect children from this type of content. I'm not necessarily against these kinds of blocks but I don't think they'll be effective because there will always be extremely easy ways to bypass them (use a VPN, find a website that isn't beholden to US laws, etc etc etc).

IMO the best approach is to ensure parents are technically competent and knowledgeable enough to be able to configure effective parental controls on all of their children's devices that are difficult to circumvent. E.g. iOS already has iCloud Lock which has proven to be difficult to bypass even with bootROM exploits and jailbreaks. Perhaps they should expand this level of protection to parental controls (if it isn't already).

1
101112
16