Show HN: Hijacking Samsung TV SmartHub Ads dvratil.cz · 5 points · 0 comments · ...

@show

Show HN: Hijacking Samsung TV SmartHub Ads dvratil.cz · 5 points · 0 comments · HN thread

TL;DR A developer describes how they used the compromised eMudhra CA private key to intercept traffic from their 2022 Samsung smart TV and replace Smart Hub ads with photos of their family. They built a Rust server that impersonates the ad endpoint, blackholes other ad-tracking requests, and serves a wildcard certificate for *.adgrx.com signed with the leaked CA key. The post is a Show HN with no comments yet.

  • The Samsung TV's Smart Hub began showing ads, and the author had previously been blocking them with Pi-hole until a network change broke that setup.
  • The eMudhra CA certificate compromise let the author sign a wildcard certificate for *.adgrx.com, which the TV trusts because Samsung had not yet pushed a revocation update.
  • Routing was done with a Mikrotik policy route sending the TV's traffic through a Raspberry Pi running mitmproxy in transparent mode, which allowed inspection of the TV's requests.
  • The TV calls catalyst.adgrx.com/adopportuni and tvx.adgrx.com/impressions/tile, and receives either {} or a JSON ad description.
  • A Rust server answers the impressions endpoint with an ad pointing to a random family photo, returns 204 for other adgrx.com requests, and includes a simple web frontend for managing images.
  • The author notes the workaround only lasts until the certificate expires or Samsung revokes it, and that the endpoints may differ on other Samsung models; the source is on GitHub.

Discussion No comments have been posted yet, so there is no discussion to summarize.

#Samsung #SmartTV #Adblocking #mitmproxy #TLS