HNHacker News
TopNewBestAskShowJobs

JJJollyjim

180 karma · joined October 11, 2014

submissionscomments
JJJollyjim··on Tailscale SSH: Investigation and remediation update
My Tailscale RCE[1] in 2022 involved forcing a device onto an attacker-controlled control plane, at which point your device is no longer "yours", and the fact that Taildrop is implemented in your client binary can be exploited. Chaining the bug to RCE would not have been possible against an ideal Tailscale with only the core feature set.

[1]: https://web.archive.org/web/20221222120703/https://emily.id....

JJJollyjim··on Tailscale SSH: Investigation and remediation update
I agree that this is how you should use it, but it is not "supposed" to be that in the sense that Tailscale strongly encourages you to use it in lieu of auth...
JJJollyjim··on The RCE that AMD won't fix
This is the place they direct researchers to report bugs. If they don’t want to pay out for MITM, that’s fine, but they should still be taking out-of-scope reports seriously
JJJollyjim··on Ask HN: Why hasn't x86 caught up with Apple M series?
Apple CPUs do decode instructions into micro-ops.

https://dougallj.github.io/applecpu/firestorm.html

JJJollyjim··on Ask HN: Why does the US Visa application website do a port-scan of my network?
Chrome doesn't allow it - local network services have to opt-in to being fetchable from public sites (https://github.com/WICG/private-network-access), although they're replacing it with a user-permission-based approach (https://github.com/WICG/local-network-access).

(There is some language online suggesting PNA has not actually shipped, but I experienced it myself in stable Chrome several years ago, so I am unsure of the current state).

Firefox doesn't implement either approach -- I assume this is indicative of their lack of development resources.

JJJollyjim··on Efficient Computer's Electron E1 CPU – 100x more efficient than Arm?
Especially the fact that he says the toolchain is now available for download (which lends credibility – if they're willing to share it so people can see the quality of output it produces), when in fact the website has no download links.
JJJollyjim··on Reversing a Fingerprint Reader Protocol (2021)
As noted in the article I reversed the protocol for a related Goodix device (which was on Intel so used actual SGX instead of the white-box): I used the firmware update system to insert additional vulnerabilities in the sensor firmware and extract the PSK from that side.

I did a talk about it here: https://www.youtube.com/watch?v=IyjUY-xvFw4

JJJollyjim··on Cutting down Rust compile times from 30 to 2 minutes with one thousand crates
They mention that compiling one crate at a time (-j1) doesnt give the 7x slowdown, which rules out the object file/caching-in-rustc theories... I think the only explanation is the rustcs are sharing limited L3 cache.
JJJollyjim··on Perhaps Rust Needs "Defer"
It is in fact documented that you can't do this:

"Currently the default global allocator is unspecified. Libraries, however, like cdylibs and staticlibs are guaranteed to use the System by default.", however:

"[std::alloc::System] is based on malloc on Unix platforms and HeapAlloc on Windows, plus related functions. However, it is not valid to mix use of the backing system allocator with System, as this implementation may include extra work, such as to serve alignment requests greater than the alignment provided directly by the backing system allocator."

https://doc.rust-lang.org/std/alloc/index.html https://doc.rust-lang.org/std/alloc/struct.System.html

JJJollyjim··on Tell HN: Upgrade your Metabase installation
Presumably the metabase instance also has credentials to access some databases, some of which may be have enough privileges to also get RCE on the database machines (as well as messing with the data they hold).
JJJollyjim··on Tell HN: Upgrade your Metabase installation
I found something which is clearly a security fix, using the same idea but more naive: just diffing at the lengths of the decompiled files. It's not at all clear how the issue I found would be triggered by an unauthenticated user though.
JJJollyjim··on Tell HN: Upgrade your Metabase installation
Oh, I didn't mean to imply you can, just that it's 404... presumably it exists in a repo checked out on someone's machine, and maybe in a separate private Github repo.
JJJollyjim··on Tell HN: Upgrade your Metabase installation
They haven't released the source, and the compiled versions are non-trivial to diff (e.g. there are nondeterministic numbers from the clojure compiler that seem to have changed from one to the other, and .clj files have been removed from the jar).

The old version has `hash=1bb88f5`, which is a public commit: https://github.com/metabase/metabase/commit/1bb88f5

Whereas the new version has `hash=c8912af`, which is not: https://github.com/metabase/metabase/commit/c8912af

JJJollyjim··on Transformer architecture optimized for Apple Silicon
llama.cpp runs on the CPU, not the ANE or GPU.
JJJollyjim··on Disclosure: Supervisor security vulnerability
I don't believe so – from a quick glance it seems that supervisor requests are proxied through the normal HA port, and the supervisor doesn't have it's own port except for the Observer (which seems to be a simple read-only thing).
JJJollyjim··on Disclosure: Supervisor security vulnerability
Shodan lists 125,000 HA installs exposed to the internet (though I don't know how accurate that statistic is, nor what fraction have a Supervisor) https://www.shodan.io/search?query=product%3A"Home+Assistant...
JJJollyjim··on My daughter's school took over my personal Microsoft account
As a random example, if your Microsoft account is OAuthed to a GitHub login, and you log in through that, the popup browser just takes you back to a Microsoft account settings page instead of handing the OAuth flow back to Minecraft
JJJollyjim··on CVE-2022-41924 – tailscaled can be used to remotely execute code on Windows
[co-author of the research here]

They actually approximate this functionality in the Windows implementation: It checks netstat to enforce that incoming TCP connections are from the expected Windows user! https://github.com/tailscale/tailscale/blob/2a991a3541ae5d56...

That's why we were happy with the solution they implemented as a stopgap, until they could switch to named pipes (which there is now an open PR for).

JJJollyjim··on A Superoptimizer for LLVM IR
I'd also like to see motivating examples of specific things it does find (that LLVM doesn't), even if that's not a representative benchmark
JJJollyjim··on Element (Matrix chat app) suspended from the Google Play Store
Android's has an app signing system which isn't dependent on Google Play. Updates to a given app have to be signed with the same certificate as previous versions.
JJJollyjim··on Robinhood Play Store listing went from 329K reviews to 180K in few hours
Have you considered making the website actually show the comments instead of pinning yourself on every large post?
JJJollyjim··on GitHub blocks entire company because one employee was in Iran
unfortunately this is a real thing the US imposes on the world (it's called Secondary Sanctions)
JJJollyjim··on Radicle: A peer-to-peer alternative to GitHub
In fairness, filecoin is linked on the IPFS homepage (though it is less prominent than I remember)
JJJollyjim··on AWS Lambda pricing now per ms
I just checked cloudwatch for my rust-based function, I'm now being billed 1ms :D
JJJollyjim··on BL602/BL604 RISC-V WiFi and Bluetooth 5.0 SoC will sell at ESP8266 price point
Probably also with a peripheral access crate (type-safe register definitions) and and HAL integration.
JJJollyjim··on BL602/BL604 RISC-V WiFi and Bluetooth 5.0 SoC will sell at ESP8266 price point
That wouldn't apply to Espressif since they started with WiFi, right?
JJJollyjim··on Arm Updates Its Neoverse Roadmap: New BFloat16, SVE Support
Aside from the variable lengths which are really neat, SVE supports AVX512 style masking (predicates), which makes some algorithms simpler and hopefully faster
JJJollyjim··on The mysterious case of the Linux Page Table Isolation patches
I'm certainly no expert, but I would guess that the context-switch time (where I believe the new overhead is added) in games is fairly small compared to the raw number-crunching in-process, so the effect would be minimal in any case
JJJollyjim··on Voice Calls: Secure, Crystal-Clear, AI-Powered
A UI toolkit
JJJollyjim··on WhatsApp backdoor allows snooping on encrypted messages
AFAIK, Play Services is controlled by Google and has system-level permissions, so it could easily access Signal messages post-decryption if Google wanted it to.
Page 1 of 2Next →