Better HN
topnewbestaskshowjobs
Log inSign up

landr0id

1,352 karma · joined Mar 1, 2012 (14y ago) · 347 submissions

[ my public key: https://keybase.io/lander; my proof: https://keybase.io/lander/sigs/EH5ZD_-bXVwuHyJBpOud37S7telhzEEkGtmhbeIL0rQ ]
Submissions

comment 1w ago · link · parent

>As a seasoned C programmer, I can immediately observe that the whole API is bad: the caller is expected to calculate the buffer length in their own, using a nontrivial formula, and the caller does not pass in the output buffer length, so the implementation cannot validate it. But apparently OpenSSL 4 also implemented it wrong and wrote (possibly far) past the end of the buffer.

Many such cases.

I expect we'll see some fun libyuv bugs soon in applications which decode media. The APIs are begging for misuse.

https://chromium.googlesource.com/libyuv/libyuv/+/refs/heads...

comment 1mo ago · link · parent

Damned if you do. Damned if you don’t.

An account was suspended for 90 minutes. Why is the automatic assumption that it was malicious?

In fact, if Meta had protections against this I’m sure some people would be crying about “obvious political favoritism”.

Hopefully they can move the needle that makes the system in general harder to abuse. But wow, the outrage is insane.

comment 1mo ago · link · parent

>Maybe, but that's what the cyber program is for.

I have been in the cyber program since around the time it first went public and recently renewed it with the updated program.

You still trivially hit guadrails. I was trying to reverse engineer some bit of 20-year-old software that already has known, unmitigated exploits and it still downgraded me.

comment 1mo ago · link · parent

The Rock Band Blitz demo was distributed as a roamable package -- i.e. no license that ties it to any particular console (this was intended for e.g. demos distributed on magazine CDs or whatever).

You can just throw it on the filesystem and the console will accept it. I believe it would require a system update to add the executable to a revocation list, which Microsoft is unlikely to do. It's not the only method of achieving initial code execution either.

comment 1mo ago · link · parent

The software exploit works for all console revisions, but the persistent softmod does not.

There exist 3 main things in the software hack space for Xbox 360:

1. BadUpdate (Grimdoomer) which is the only software hypervisor exploit for the Xbox 360. It's intended to be launched from scenarios where someone could achieve code execution. The main method for launching BadUpdate was through Rock Band Blitz (created by ihateccompvir and InvoxiPlayGames). Pure software, works across all hardware revisions of the Xbox.

2. ABadAvatar (shutterbug2000) which uses a memory corruption vulnerability in the avatar loading code in the Xbox dashboard to gain code execution after the dashboard loads, then launches BadUpdate to exploit the console. Pure software, works across all hardware revisions of the Xbox.

3. Peer Pressure (Grimdoomer). First compromises the console through one of the above methods and modifies the SMC firmware to attack the southbridge. The SMC was abused in a similar manner for the JTAG hack, which likely led to Microsoft hardening it in later revisions of the hardware and mitigating the attack used here by Grimdoomer.

More info on #3 here: https://youtu.be/ftEuor1asBM?t=96

At any rate, #1 and #2 do not provide early boot exploitation.

#3 does. The hard drive security sector is involved and the kernel is responsible for loading that, so at this stage you've gone through 2BL, hypervisor, and kernel initialization. So you can't compromise the bootloaders, but you're early enough in the boot chain to do interesting things like replacing the boot animation with something custom.

The JTAG hack does some weird stuff that, truthfully, I've never seen replicated on other hardware. tl;dr the console must be on a vulnerable software version which did not blow a downgrade fuse and using an additional hardware flash chip containing a different version of the OS which had a hypervisor bug, boots the console into that, triggers the exploit using SMC black magic, then reboots back into the upgraded version of the OS.

The RGH hack described in this article would allow you to replace 2BL, so you've compromised the console earlier in the boot chain.

comment 1mo ago · link · parent

BadUpdate works on all revisions. It's just not persistent.

With BadAvatar you get interactionless console exploitation that's good enough for most people.

comment 1mo ago · link · parent

I was in the Xbox 360 scene back in the day before JTAG hacks existed -- modding savegames, getting a devkit, and building my own private homebrew. For the most part I left the scene around 2013.

The softmod had me seeing what the status quo is and things are... not great.

17 years since the JTAG hack and just as of a couple days ago someone finally vibecoded a non-proprietary SDK. The scene by and large to the masses (or at least, the loudest group) mostly associates homebrew with "stealth" servers aka servers your console connects to which assist in bypassing Xbox LIVE challenges that detect modified consoles. The servers provide mod menus (trainers, basically) for various games and the ability to use older dashboards.

The kicker is the custom servers are not required, code for bypassing challenges leaked ages ago, and people still pay for stealth server access! I can't even imagine who is still playing Xbox 360 titles on Xbox LIVE except people with modded consoles at this point.

Hacking the console is complete. But the state of the scene is a bit sad.

At least now we can vibecode the missing bits of the ecosystem (I say this as I'm literally reverse engineering and reimplementing the devkit debug monitor).

comment 1mo ago · link · parent

Server racks which are vertically integrated and provide great cooling, are quiet, and fully vertically integrated software (including bootloaders, hypervisor, etc. -- no BIOS!).

This includes everything from the rack itself to the PDU/switch/BMC, to the actual server blade and its chassis.

All presented in a nice package to give you a on-prem cloud-like experience.

comment 1mo ago · link · parent

I was watching some Oxide videos recently and I think this one answers that question: https://youtu.be/n2ze5RCy3TM?t=928

Timestamped to "the differentiator" (15:45) and "what are you guys doing about GPU?".

comment 2mo ago · link · parent

Thanks for the links. I'm confused how this works and the USPS report seems to be heavily redacted around details.

I would assume that the tracking number has the address details tied to it (I mean, based on support claims with USPS it definitely does), but maybe there's some obscure package type where destination is not distinct and they abuse that in a pool with other sellers, then at the last mile it gets sorted appropriately?

Seems wild that this market even exists considering how USPS flat rate postage exists.

Was your package something heavy or extremely light which makes weight-based shipping more economical?

comment 2mo ago · link · parent

It's not just moving a code pointer. They had to migrate CEF runtimes (Alloy to Chrome) which, as I understand from the few minutes of reading I did to understand the complexities outlined in the PR, was necessary because Alloy was removed in M128. So OBS was using the last version of legacy runtime and needed to migrate. I imagine they wanted to do a decent amount of testing to ensure compat.

comment 2mo ago · link · parent

While problematic, this is pointing the finger at the wrong thing. The version of the browser was from 2024. The permutations of full chain exploits permitting sandbox escape since then is probably pretty high.

It's a patch gap, plain and simple. Removing the sandbox certainly did not help things.

comment 2mo ago · link · parent

I used to date a girl who was a designer and had to plead with her that breaking behaviors I'm used to is not a positive UX.

"But it adds motion" was the classic reply.

comment 3mo ago · link · parent

It's useful for security research since you can do kernel debugging and inspection of the device not possible in the simulator.

As others pointed out it's also useful for e.g. click/spam farms which need a "real" iPhone.

comment 3mo ago · link · parent

[3] is no longer true. They're definitely not unprepared for an incident like this. It's not the first time they've done it and they published an update to their process in Feb:

https://blog.rust-lang.org/2026/02/13/crates.io-malicious-cr...

Not having an advisory INSTANTLY available isn't a sign of a decaying org. Chill.

comment 4mo ago · link · parent

Comments like these are why, even if Fil-C has cool technical accomplishments, I find it hard to speak positively about it. You unfortunately seem to forgo all nuance and push disingenuous arguments which fuel the cycle with similarly disingenuous people.

I'll do you a favor though and cite a few things related to "lobbying"

The White House put out an RFI regarding open-source security: https://bidenwhitehouse.archives.gov/wp-content/uploads/2024...

Rust foundation's response: https://www.regulations.gov/comment/ONCD-2023-0002-0045

Neither have anything to do with making "programming in C illegal".

comment 4mo ago · link · parent

>you must go through a system provided shared library rather than make syscalls directly

Just to add to this, on Windows for example you're really only supposed to invoke syscalls via ntdll as the syscall table is not stable so their numbering changes over time. You cannot guarantee forward or backward compat if you do not use the library.

If you look at some of the syscalls in https://github.com/j00ru/windows-syscalls, you can see they clearly do change over time too.

comment 4mo ago · link · parent

I still don't think that does anything regarding use-after-frees, only double-frees.

Here's the code: https://codeberg.org/ziglang/zig/src/commit/e44e927d33d37c44...

The closest callout in the doc comment is:

>Never reuses memory addresses, making it easier for Zig to detect branch on undefined values in case of dangling pointers. This relies on the backing allocator to also not reuse addresses.

But it's not really clear what this means. "branch on undefined values" would I think indicate that maybe they're doing a fill pattern that the compiler can detect at runtime when dereferenced? But I don't see it in the `free` path. It's not clear if this is deterministic or not either.

comment 4mo ago · link · parent

>The DebugAllocator catches use-after-free (at least on page-level)

To clarify, is that to say that you have to use the `std.heap.page_allocator` as its backing allocator?

comment 4mo ago · link · parent

>ReleaseSafe catches use-after-free errors through runtime checks which panic if the program tries to use freed memory.

I don't know Zig so maybe they know something I don't, but I have seen no evidence that it catches any type of use-after-free including double-free?

While writing a blog post (below) I went through the documentation to figure out the possible runtime memory safety checks Zig can insert. The term "use-after-free" or "UaF" never occurs on that documentation page. Searching for "safety-checked" doesn't yield any related hits either.

Unless maybe they're using the DebugAllocator in release builds? Even that does not reliably surface UaF.

https://landaire.net/memory-safety-by-default-is-non-negotia...

comment 4mo ago · link · parent

For the Nomad: The caps slightly rotate. If you look at them from the side profile, they are also all varying heights. I found enough variance in the physical layout of keys that I was constantly making mistakes and pressing multiple keys simultaneously. It has this gimmicky magnetic riser on the back which the magnets fell out of. The display is just a gimmick but has a fun Tamagotchi-type thing that analyzes WPM, so that's cool at least.

The company itself had crazy production delays on both the Nomad and the Knob1, and seem to depend on hypebeast marketing. For $400 you would expect a very premium product and it's easy to argue that they missed the mark pretty hard.

Oh I also placed a pre-order and they refused to cancel after many delays. Unfortunately after that point it was too late for a chargeback.

*just found a random review if you want to see other opinions. The comments discuss some of the weird company shenanigans: https://old.reddit.com/r/MechanicalKeyboards/comments/1ngka3...

comment 4mo ago · link · parent

If anyone is looking at this thinking it looks pretty and wants to check out Work Louder's keyboards, let me save you the time. Their keyboards must be made by designers who do not type much because they are both not pleasant to type on and not very high-quality.

The Nomad [E] might be one of the worst keyboards I've ever purchased, and I owned one of the original butterfly switch MacBooks.

comment 4mo ago · link · parent

Big fan of nextest and this is my first time seeing this site. I'll be real I feel a bit ridiculous commenting this but you might want to consider rephrasing this:

>Treat tests as cattle, not pets. Detect and terminate slow tests.

Not sure saying, "hey, treat your tests as an animal you can kill at will" paints the right image.

comment 4mo ago · link · parent

Yeah my bad for not defining it. "Extra-Sensory Perception", basically as you said I believe is the most common feature -- but in general I think encompasses cheats that generally boost your "senses". So it could use audio to visually draw on your screen/radar where the sound came from.

The screenshot in this repo is kind of similar to wallhacks, but you could imagine this could easily be extended to show dropped items and the 3D audio location: https://github.com/ryanjpwatts/esp-analysis

comment 4mo ago · link · parent

I wonder how often wall hacks are actually used in high-level competitive play by cheaters vs ESP. ESP seems like the better route to avoid manual review flagging suspicious activity. Audible cues (which this currently does not mitigate, and I'm not sure it can) are things that can genuinely separate players by skill and you'd think someone running such a cheat just has very good hearing.

>CS2FOW uses static baked map geometry. Dynamic occluders such as doors, breakables, props, smokes, particles, and projectiles are intentionally out of scope for now.

Market window on Mirage just became more powerful on these servers :)

Very cool project nonetheless.

comment 5mo ago · link · parent

I suppose they did make their work public after all :)

Thank you for pulling up the references.

comment 5mo ago · link · parent

Not to take away from the authors' work, but this was actually the approach taken by some engineers while Spectre / Meltdown were still under embargo. Not sure if they ever mentioned their work publicly so I will avoid naming them, but some talented folks from Microsoft who basically came to the same conclusion that a specialized environment free of noise was necessary both to test mitigations and find variants.

comment 6mo ago · link · parent

I didn't really mind the fn keys being there. I rarely use function keys unless I'm RDP'd to a Windows machine.

What drove me crazy though was the escape key. They later added the physical escape key back but I think at that point it was a bit too late.

comment 6mo ago · link · parent

GPU memory/shaders/etc. isn't protected by MTE or PAC. They said "data-only", so I guess GPU commands could fit into this description.

comment 6mo ago · link · parent

Static analysis tools + MCP server + a debugger with an MCP server makes reverse engineering incredibly easy and low-cost.

I wrote a blog post about this recently: https://landaire.net/reverse-engineering-with-ai/

Just yesterday I completely reverse engineered several proprietary audio codecs from a game without even having to touch the static analysis tool myself.

12345
12