Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. World Labs Is Joining AMD (worldlabs.ai)
    13comments
  2. Jeff – Jev-compatible 0.8B decision models, trained at home, ~30 ms (github.com/firelex)
    6comments
  3. Pirating the Pirates (mubi.com)
    162comments
  4. MicroLLM Lab – Try 7 tiny LLM's in the browser (stateofutopia.com)
    24comments
  5. 12,000-year-old Göbeklitepe burials explain scattered bones (archaeologymag.com)
    3comments
  6. Best of British Design (best-of-british-design.vercel.app)
    7comments
  7. Scientists solve 1840s space weather mystery (arstechnica.com)
    6comments
  8. Hijacking the PS5's RTMP stream (yashgarg.dev)
    44comments
  9. Joseph Szabo’s pictures of American adolescents (newyorker.com)
    24comments
  10. Parley: Federated, decentralised chat that speaks plain IRC (mills.io)
    141comments
  11. Pacing the Frontier is not the actual goal for AI labs (lesswrong.com)
    —discuss
  12. Sonnet 5.5 (anthropic.com)
    293comments
  13. First Steps of the PLC Organization – Independent Public Ledger of Credentials (plcred.org)
    12comments
  14. Cf: The Agentic CLI for the Cloudflare API (cloudflare.com)
    36comments
  15. Launch HN: Vespper (YC F24) – SOTA Docx MCP (vespper.com)
    8comments
  16. It's Time to Investigate the AI Labs (calnewport.com)
    4comments
  17. Who wrote Elizabeth I's most scathing letters? (smithsonianmag.com)
    16comments
  18. What heraldry and Japanese mon can teach about visual-identity generators (benovermyer.com)
    19comments
  19. GrapheneOS – When an app is slow (wirelessmoves.com)
    30comments
  20. MongoDB CEO resigns to join Meta (reuters.com)
    231comments
  21. I made a visual workspace for AI Automations (biom.dev)
    17comments
  22. Show HN: Destroy Any Website with Stickman (spritefusion.com)
    20comments
  23. Nvidia wants to put a watchdog chip next to every AI agent (cnbc.com)
    100comments
  24. Kids turned low-traffic NPR Spotify comments into a secret group chat (thisamericanlife.org)
    127comments
  25. Windows 11½ (definitelynotwindows.com)
    107comments
  26. So long Google, and thanks for all the nudes (lecaro.me)
    63comments
  27. Palantir founder purchases large swath of forest in Sweden (arctictoday.com)
    41comments
  28. California Farmers Are Struggling to Sell Grapes as Demand for Wine Drops (kqed.org)
    33comments
  29. SB 923 is Law: CCPA deletion rights now reach third-party data (getprivisy.com)
    11comments
  30. Neal Stephenson responds with wit and humor (2004) (slashdot.org)
    15comments

Hijacking the PS5's RTMP stream

150 pointsby 5h agoyashgarg.dev
43 comments
4h agoHN ↗

Maybe I'm missing something but there seems to be a gap between "figure out the REAL hostname" and "we no longer have to worry about the stream never showing up on YouTube"

4h agoHN ↗

Me too. YouTube was given up, and what the op did was to use Twitch streaming and redirect it before the forward to a TLS-verifed server, bypassing verification:

redirects the actual stream to the Mac without any certificate issues.

4h agoHN ↗

The live-video.net domain belongs to Twitch. So, from what I can gather, apparently the OP switched back to Twitch streaming and the last-hop RTMP server does not use certificates.

1h agoHN ↗

twitch doesnt actually require tls. it uses plain rtmp over port 1935 and rtmps over port 443.

3h agoHN ↗

Another crypto mistake by Sony this time leaving traffic completely unencrypted.

3h agoHN ↗

is it truly a security issue here? Especially relative to the machine's effort to encrypt the stream.

2h agoHN ↗

My video stream sent to a public streaming audience might be seen by the public in transit!

2h agoHN ↗

Both YouTube and Twitch allow you to do non public streams. And someone can get the stream key and stream over you. With the twitch model where stream keys don't get replaced you can imagine a secondary market place selling access to stream content on compromised channels.

2h agoHN ↗

Debatable, but historically quite a few consoles and handhelds have been popped wide open by leveraging defects or vulnerabilities in how media is handled. Without looking at an exhaustive list, I believe tif files have claimed the most victims with the next two being split between videos and then media within browsers. I'm aware this is more about out than in, but a gap is a gap and gamers will use whatever they can find.

3h agoHN ↗

PS5 uses DNS to resolve where to send RTMP stream. The author found out that they cannot spoof the main server since that server uses TLS and it's not possible to make the PS5 trust self made certificate. The author then runs a real Twitch stream and monitors DNS requests and finds DNS of the server that receives the RTMP stream and spoofs only that final server. It's more of a problem with RTMP protocol/Twitch security rather than the PS5.

1h agoHN ↗

If sony wanted the ps5 to only send to twitch, they could absolutely enforce TLS authentication of the server, but they don't, so i guess send your video wherever.

3h agoHN ↗

Don't mind me, I'm just sitting here with my HDMI-RX port on rk3588 being happy that is works and I didn't brick the board when doing uboot update to uncurse it.

1h agoHN ↗

Man, that article has _all_ the AI smells. Here's the only interesting part:

    gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! autovideosink sync=false

I guess it just has an HDMI capture chip on-board. If you have a spare USB port, these are under $20 everywhere.

3h agoHN ↗

You can combine the last two steps the nginx and mpv with obs and gstreamer, or just gstreamer really.

2h agoHN ↗

Vote with your $ and get a gaming PC. Don’t let people who remember the 1990s tell you it will be a sweaty experience, install Steam and it won’t be. There are like 15 exclusive games for the PS5, what’s the point?

2h agoHN ↗

Don’t use Windows. Try CachyOS or Bazzite.

2h agoHN ↗

Depending on what you play, you don't have to. But if you play draconian anti-cheat games then fair point.

1h agoHN ↗

Linux works quite well for gaming these days. I have a desktop that used to run Windows 11, which is EOL, so I was faced with either upgrading to Windows 12 or trying out Linux on desktop.

So far there have been zero games that have had issues. Granted I've only really had time to play 5 or so games, but I am genuinely impressed with how far it's come.

2h agoHN ↗

I vote with my time by not maintaining drivers, setting profiles, and evading anticheat rootkits. Also, M$ is cancer.

2h agoHN ↗

I just click "Install" and then "Play" in Steam on my non-Windows machine. I guess you can't play Fortnight or whatever, but it works great for me.

2h agoHN ↗

Playing 20 or so games on my Steam Deck I had to edit one only .INI. The Steam Deck is the only device I've ever seen that pairs perfectly with AirPods every time, it beats Apple devices.

I also have a big gaming PC/AI development with a NVIDIA GPU and, yeah, NVIDIA's app to maintain drivers is a little skeezy but I just download games on Steam and they "just work" though I am not really a day one kind of gamer unless it is a new Dynasty Warriors or Fate game.

I'll grant that kernel anti-cheat sucks, if you play that kind of game and cheating bothers you well then... Maybe a locked down environment like the PS5 is a feature and not a bug.

2h agoHN ↗

You kind of undermine your own argument here. The Steam Deck is more a console than a PC, with lots of "just works" baked in either directly or through community support that makes it simple.

In 2026 I still have to mess with game settings, driver issues, and DRM garbage behavior as a primarily PC gamer. PC gaming is still a long way from "just works" and I think you probably just take for granted a lot of things you have to do to make it work vs a typical console experience.

1h agoHN ↗

Look, in the 1990s I was horrified of PC gaming because I was always dealing with kids who thought they were having fun with their PC whereas they were really fighting with an ugly plastic oversized joystick that fell apart two times during a level and had to be recalibrated three times. Or that it was a sweaty battle with the keyboard and mouse that reprises the sweaty battle with the keyboard and mouse I have at work and with my productive hobbies.

I got into console gaming in the late 00's and had a few portables and an Xbox 360 and a PS 3 just after they became obsolete and played through the libraries. My favorite games were games for the PS Vita from Japanese publishers like Altus, Idea Factory and Acquire. When Sony and the publishers quit investing in the Vita those games went right to Steam. And my experience with Steam is, "click on the Steam icon", pair the Xbox controller, use the controller to pick a game, and sit back. Like yeah, there still are sweaty keyboard-and-mouse games and I might even play one once in a while, but I'd say my experience on the big machine is "console like" with the condition that the kind of games I play are "console like" games.

24m agoHN ↗

I haven't had a driver issue other than 'you didn't upgrade your drivers lately' on a gaming PC in years and years. The problem now with pc gaming is the cost to enter the market with the GPU, RAM and storage prices.

2h agoHN ↗

Sorry, already own a PS5 and the money for replacements is spoken for.

I think that was the point?

1h agoHN ↗

To be fair with the current RAM prices I don't want to replace any device right now!

25m agoHN ↗

you'll be voting with a lot of dollars, look at the 4090 pricing these days? hell even the 4070 is north of a grand, JUST FOR THE GPU, now check the DDR5 prices...

2h agoHN ↗

I'd kill for a Bluetooth peripheral workaround. I've a Clicks Power Keyboard that'd be great to use with the PS5.

2h agoHN ↗

Imagine if they just let you specify your own RTMP destination. Crazy thought, I know.

2h agoHN ↗

Kinda sad that it's 2026 and this data still goes over the internet unencrypted...

RTMP and all the video and audio protocols behind it aren't trivial either - I bet there are hundreds of exploits waiting to be found that any three letter agency sitting on the internet can use to take over your PS5 and all credentials stored within too...

2h agoHN ↗

Well, the server just responds with acknowledgement information, the client is doing most of the work and most of the complex parts of RTMP are hand waved and faked by both the client and the server because no one cares about how Flash used to work.

So somewhat unlikely to be able to exploit it but have at it hass.

I'd imagine it'd be easier to exploit the server side, actually.

1h agoHN ↗

Yeah, but the server is most likely running the whole thing in a docker container with no permissions to do anything. Big companies security teams tend to require that when opening non-trivial third party code up to the internet.

The client on the other hand I would guess is running it's code as root, or at least something with full GPU access.

54m agoHN ↗

Wouldn't this require a man-in-the-middle since the PS5 is transmitting data to a specific server, YouTube or Twitch in the article?

There are extensions to RTMP to use encryption or even just TLS. But do you mean that the risk of fragments of audio and video bitstreams going out unprotected presents a remote code execution risk? That seems less a problem of vulnerability and more one of privacy.

1h agoHN ↗

Feel like there's a few parts missing that I'm not getting.

The author mentions that the PS5 uses RTMPS to push video up to twitch - but suddenly it just uses plain RTMP?

29m agoHN ↗

because he switched to it's youtube integration which doesn't support RTMPS...

47m agoHN ↗

Honestly the DNS trick in this post is neat but I'm not setting up dnsmasq just to share my screen. This is the kind of thing where Sony could just let you stream to anything and they don't, and it's annoying

24m agoHN ↗

This is how Lightstream Studio has provided stream overlay for consoles[1]. Some years ago Microsoft added them as an official destination using a better protocol and dropped the need for MITM hackery.

I used to work in this space and Lightstream was always doing interesting things, even if they never seemed to find PMF.

1: https://support.golightstream.com/hc/en-us/articles/38643168...

7m agoHN ↗

PMF… I love how we’ve invented a term which means “customers”. I know it’s not the point of your comment but the acronym in place of a common word will be tougher for folks to follow.