News for hackers. Stuff that matters.
Re:Qualcomm’s Chain of Trust by exDM69 on Friday September 21, 2018 @03:32AM (#18037840)
These secure boot systems exist because of DRM protection to media that is mandated by the content companies. Their point is to verify that the whole OS from kernel to userspace can't be modified by 3rd parties (such as you, the owner of the device).

It boils down to "no secure boot, no DRM, no Netflix 4k for you".

At least this was the case when I was still working with consumer electronics a few years ago.

Re:Qualcomm’s Chain of Trust by 01100011 on Friday September 21, 2018 @02:51PM (#18041814)
This. Embedded guy formerly involved with media devices here, and this is 100% correct. The secrecy involved in content protection is far beyond anything I've seen while working as a military contractor. At some shops, developers don't even get unlocked bootloaders. You get a device with a bootloader which must be cryptographically unlocked and allowed to boot a limited number of times before needing to be unlocked again. You also have to sign your life away if you ever divulge any confidential details. Chances are though, that you won't even be exposed to the juiciest details because only a select group of senior devs get to see that stuff. Working with content protection companies like NDS or Nagravision is frankly maddening. I know a guy who has his design rejected(because they review your entire system design before certification) and they couldn't even tell him why they rejected his design.
Re:Qualcomm’s Chain of Trust by JoshuaAshton on Friday September 21, 2018 @07:05AM (#18038770)
DRM restrictions like this are always a joke - HDCP was a great one. Also, I doubt many people are going to be getting their Netflix captures/dumps from an Android device anyway so its a useless restriction, they'll be doing it on a PC where this cannot be enforced.

There are also things such as Google Pay/Banking Apps that don't like it if you are using a custom ROM (although this is root based) it can be bypassed easily using Magisk.

There will always be away round frivolous DRM attempts, even Denuvo and it really just hurts consumer choice and device freedom.

Re:Qualcomm’s Chain of Trust by gruez on Friday September 21, 2018 @09:07AM (#18039381)
>Also, I doubt many people are going to be getting their Netflix captures/dumps from an Android device anyway so its a useless restriction, they'll be doing it on a PC where this cannot be enforced

Not for Netflix 4K, which requires SGX capable CPUs to play.

Re:Qualcomm’s Chain of Trust by maxyme on Friday September 21, 2018 @09:53AM (#18039677)
And windows 10 anniversary update, Microsoft Edge, Direct Play 2.0 support (which can only be found on recent graphics cards or 7th gen Intel integrated and only works over certain video outputs). For example I have a 7th gen Intel cpu, I can boot into windows and use Edge, download the media extensions, update my graphic drivers, but I still can't get 4k Netflix because my GPU is a year or so older than AMF supports for Direct Play 2.0 and additionally I have my 4k 10bit color monitor using Display port for the higher bandwidth. From what I've read at this time Display port isn't even supported with Direct Play 2.0 by AMD.

Basically it's such a pain in the ass, you aren't going to have 4k Netflix on PC, possibly even if you try...

Re:Qualcomm’s Chain of Trust by SSLy on Friday September 21, 2018 @10:52AM (#18040104)
Yet there are 4K rips sourced from Netflix being shared on pirate sites.
Re:Qualcomm’s Chain of Trust by Quekid5 on Friday September 21, 2018 @12:08PM (#18040688)
It's a really bizarre situation that BitTorrent is actually the most convenient consumption mechanism if you want a lot of diverse, specific or old content. All you have to do is be behind the "new releases" by a month or two and wait a few minutes for the downloads to complete, but that's a minor issue.

I think it ultimately is caused by: a) content is not fungible, and b) content-delivery platforms (Netflix, HBO, whatever) cannot seem to agree on cross-licensing the content. This means that they simply cannot deliver the convenience of torrented content. For some reason this translates to "we must protect our content with even 'stronger' DRM" in the business-peoples' minds, but piracy isn't the root of the problem.

Re:Qualcomm’s Chain of Trust by SSLy on Friday September 21, 2018 @01:08PM (#18041099)
>All you have to do is be behind the "new releases" by a month or two and wait a few minutes for the downloads to complete, but that's a minor issue.

Well, even that can be a non-issue if you have access to the better indexers, be it P2P or Usenet.

Re:Qualcomm’s Chain of Trust by close04 on Friday September 21, 2018 @01:52PM (#18041423)
I pay subscriptions to services like Netflix and Amazon Prime and still end up downloading lots of the same stuff from... alternative sources simply due to the convenience that confers.

Anything bad that happens to the companies or entities that are responsible for shoving this crap down customers' throats is their doing alone.

Re:Qualcomm’s Chain of Trust by confounded on Friday September 21, 2018 @11:27AM (#18040383)
And you can play them on anything! :)
Re:Qualcomm’s Chain of Trust by ddingus on Friday September 21, 2018 @04:11PM (#18042322)
Maybe they are attacking the display.
Re:Qualcomm’s Chain of Trust by thedailymail on Friday September 21, 2018 @10:15AM (#18039823)
Just wait. Human-made designs are susceptible to human-made hacks.
Re:Qualcomm’s Chain of Trust by Mindwipe on Friday September 21, 2018 @09:27AM (#18039494)
PC's get lower quality streams precisely because they're more open to recording.

Almost all high end release scene attacks on DRMed content services target Android or Tizen.

Re:Qualcomm’s Chain of Trust by DenisM on Friday September 21, 2018 @09:36AM (#18039554)
XBox DRM is no joke.
Re:Qualcomm’s Chain of Trust by minipci1321 on Friday September 21, 2018 @04:28AM (#18038079)
> These secure boot systems exist because of DRM protection to media that is mandated by the content companies.

That statement sounds too simplified. How about non-approved images pumping power upstream above regulatory limit on RF? Or overclocking the CPU? Or reporting all keystrokes to a place of your choice? Would you, as a manufacturer of the device, like to make that easily possible?

> Their point is to verify that the whole OS from kernel to userspace can't be modified by 3rd parties (such as you, the owner of the device).

What makes it impossible is not the secure boot but the fact that the _unauthorized_ 3rd parties don't have the keys for signing stages of the images. Some owners of some secure-boot devices, do have keys and sign their images. One example: a telecom operator, owner of its park of the set-top box decoders, does that. Secure boot can be made to allow several/many authorized keys.

Re:Qualcomm’s Chain of Trust by exDM69 on Friday September 21, 2018 @06:36AM (#18038639)
My statement above is simplified, thanks for your additions.

> How about non-approved images pumping power upstream above regulatory limit on RF?

This is possible through other means (you can buy RF chips and wreck havoc on the frequencies). And it's illegal to do so anyway.

>Or overclocking the CPU? Or reporting all keystrokes to a place of your choice?

I, the owner of the device, might want to do this and these are sometimes completely reasonable things to do (if you're a developer, for instance).

> Would you, as a manufacturer of the device, like to make that easily possible?

Probably not, but that goes against the interests of the customer. ("but most of them won't care anyways")

> What makes it impossible is not the secure boot but the fact that the _unauthorized_ 3rd parties don't have the keys for signing stages of the images.

I am completely fine with this if, and only if, I can add my own secure boot keys and sign my own firmwares/OS images which allow.

I, the owner of the device, should be an "authorized" party when it comes to my device.

I am willing to accept that I do not get 8k service from YouFlix Inc if I add my own keys.

I have no problem with secure boot (the technology) but I do take issue when it is used to limit the rights of the owner to their own device.

Re:Qualcomm’s Chain of Trust by minipci1321 on Friday September 21, 2018 @10:56AM (#18040137)
I actually replied for the sake of technical discussion (secure boot is ~1/10 of what a decent DRM should be, and adding the remaining 9/10 is a huge cost for the manufacturer).

But since you say:

> I, the owner of the device, ...

I am tempted to ask -- how much would you agree to pay for a phone that is working but will never be able to connect to the network (no 4G and no WiFi)?

Re:Qualcomm’s Chain of Trust by estebank on Friday September 21, 2018 @02:33PM (#18041688)
That... is not a phone? It's a pocket computer, isn't it? I could absolutely see a value for such a device, although I don't see why "no WiFi".
Re:Qualcomm’s Chain of Trust by minipci1321 on Friday September 21, 2018 @03:23PM (#18042020)
Then -- back to my question -- would you agree to pay $600 for an iPad of the size of the iPhone, with no network capability?
Re:Qualcomm’s Chain of Trust by exDM69 on Saturday September 22, 2018 @06:25AM (#18045388)
> ... phone that is working but will never be able to connect to the network ...

If you're implying that devices without locked bootloaders can't connect to RF networks, that's just incorrect. There are lots of devices that aren't locked, and it wasn't a common practice a decade ago.

Re:Qualcomm’s Chain of Trust by gdfasfklshg4 on Monday September 24, 2018 @05:50AM (#18056291)
Why no WiFi? This makes absolutely no sense at all.

4G is also a pointless restriction. It is illegal to connect a device with the wrong specification to 4G networks already. This does not need to be enforced by DRM it is already enforced by law.

Re:Qualcomm’s Chain of Trust by dcow on Friday September 21, 2018 @05:00AM (#18038222)
If I don't own the device then why am I paying for it?
Re:Qualcomm’s Chain of Trust by minipci1321 on Friday September 21, 2018 @05:42AM (#18038412)
Unclear what you had in mind. I'll assume you were speaking about your own secure-booting mobile phone that you paid full price and now would like to be able to reflash?

I am not sure what to tell you. The situation pre-dates the secure boot. If I recall correctly, Iiyama monitors were known to be unrepairable because the manufacturer always refused to release schematics. It did not prevent their extreme popularity.

As an end-consumer, I support very much the freedom to change any products I own, the way I want. I once replaced ball bearings in the drum of my washing machine -- you get the idea.

As a person authorizing a product that can potentially emit unhealthy or unsafe levels of RF, or a parent of teenagers using social media, or a developer of medical applications intended for mobile phone... I am none of that, but I guess I would have a very different opinion.

Re:Qualcomm’s Chain of Trust by TeMPOraL on Friday September 21, 2018 @08:00AM (#18039031)
> As a person authorizing a product that can potentially emit unhealthy or unsafe levels of RF,

This used to be, can be, and should continue to be limited on a hardware level. You can't flash a phone to emit "unhealthy or unsafe levels of RF" if the circuit itself won't let such amounts of power to flow to the radio. Of course, someone could still mess with the hardware itself, but that doesn't scale and (in case of breaking RF limits) is illegal.

> or a parent of teenagers using social media,

This is interesting because, in a way, it's telling me that you the maker of the device are my parent. The argument sounds like, "to prevent your child from flashing your device, we'll prevent you from flashing your device". How about giving me the tools to limit my child's access, if I desire to do so, while not limiting my access?

> or a developer of medical applications intended for mobile phone...

This is a large topic, but to a first approximation, I don't believe a software that cannot be modified by the end-user for health reasons should be allowed on the phone. I also don't believe most medical apps in the smartphone spaces are of this category. The way I see it currently: either accept that some users (like myself) want to have full read & write access to their data on their phones, or make your solution a separate, tamper-proof, black-box device (and get a regulator to rule that for me to open it is illegal).

Re:Qualcomm’s Chain of Trust by jacobush on Friday September 21, 2018 @09:30AM (#18039520)
Maybe not unsafe per se from an emissions perspective, but there are spectrum considerations and other things, and with more and more done in software and less with discrete components, the trend is clear.

Safety is complex - what if the phone starts emitting on bands allocated to emergency services.

Re:Qualcomm’s Chain of Trust by CogitoCogito on Friday September 21, 2018 @06:34AM (#18038631)
> As a person authorizing a product that can potentially emit unhealthy or unsafe levels of RF, or a parent of teenagers using social media, or a developer of medical applications intended for mobile phone... I am none of that, but I guess I would have a very different opinion.

Let's be honest and accept it's just about money and control to the makers of these devices. They will bring reasons such as these in their defense, but really they just want to keep the user from being in control of their device and e.g. making tracking them more difficult. I mean there have probably been tens of thousands of roms flashed on different devices. How many of them have emitted unhealthy levels of RF? And parents could retain the ability to flash their devices without giving that ability to their children. The reasons really just don't hold any water imo.

Re:Qualcomm’s Chain of Trust by minipci1321 on Friday September 21, 2018 @08:18AM (#18039128)
It is not like precedents are not known:

https://null-byte.wonderhowto.com/how-to/set-your-wi-fi-card...

> Let's be honest and accept it's just about money and control to the makers of these devices.

Agree. My point is that less control for manufacturers over the image presumably will lead to lesser profits. My illustrations might be more or less relevant, depending on the standpoint.

Re:Qualcomm’s Chain of Trust by class4behavior on Friday September 21, 2018 @08:22AM (#18039149)
>I am not sure what to tell you. The situation pre-dates the secure boot.

That's an invalid argument. It doesn't matter how long this has been the case.

>As a person authorizing a product that can potentially emit unhealthy or unsafe levels of RF, or a parent of teenagers using social media, or a developer of medical applications intended for mobile phone...

You're presuming this is the only and the correct way of handling this. That is, you're arguing it is the manufacturer's affair and right to restrict one's basic rights to enforce lawful handling of their product.

I'd rather argue that in reality the manufacturer's main interests lie in reducing support costs and the enforcement of their patents and copyrights.

Re:Qualcomm’s Chain of Trust by minipci1321 on Friday September 21, 2018 @08:44AM (#18039257)
> You're presuming this is the only and the correct way of handling this. That is, you're arguing it is the manufacturer's affair and right to restrict one's basic rights to enforce lawful handling of their product.

This is not really what I said (somehow people focus on the second part), but I do believe that offering this freedom (to install any image) will lead to lesser profits for the manufacturers. Quite possibly because other potential customers might find this feature unacceptable (my illustrations may be good or bad). That is, your personal freedom runs into someone else's. Then the market should decide, right?

> I'd rather argue that in reality the manufacturer's main interests lie in reducing support costs and the enforcement of their patents and copyrights.

Yes. Add there loss of face in case of hostile hacking. Etc. Since when this is condemnable?

Re:Qualcomm’s Chain of Trust by class4behavior on Friday September 21, 2018 @03:50PM (#18042173)
>Since when this is condemnable?

Do not confuse the tools businesses are provided by the law with the interest to profit. For instance, 10 to 80 years long copyright terms after death are not your inherent rights as a creator but tools the current legal infrastructure offers. Hence it is not the only solution.

>This is not really what I said (somehow people focus on the second part)

No, you did, and the market decides only a share because it is already affects by numerous direct and indirect regulatory measures, e.g., patents. In the past explicit enforcement of the right to repair was rarely an issue for consumers just as net neutrality had not been a serious issue. This has obviously changed.

Re:Qualcomm’s Chain of Trust by iofiiiiiiiii on Sunday September 23, 2018 @06:52AM (#18050451)
> That statement sounds too simplified.

Having worked with DRM for 10 years, I can confirm that while very simple, that statement is entirely correct. He says this is the reason the secure boot process exists, not that this is the only benefit.

> How about X, Y, Z

Those scenarios certainly benefit from a secure chain of trust but they are not what brought it about. The whole secure boot chain exists because of companies that require DRM to access their content.

Samsung wants Netflix to play the best content on their devices. That's the only motivation that has ever mattered to device manufacturers.

Re:Qualcomm’s Chain of Trust by gcb0 on Friday September 21, 2018 @11:44AM (#18040522)
this point is moot.

didn't iphone 3g did that? it was alwas a few W over what the spec and regulations called for to steal better reception than other devices around it. nobody was punished and it actually become the norm.

Re:Qualcomm’s Chain of Trust by wyldfire on Friday September 21, 2018 @07:12AM (#18038808)
> These secure boot systems exist because of DRM protection to media that is mandated by the content companies

That might be an effect but I doubt it's the cause. Signed bootloader's have been around longer than Android and longer than the Netflix app. They were originally introduced to do things like -- protect the device subsidy lock, prevent customers from flashing their phone with invalid or buggy firmware, prevent modification of radio functions (maybe required for FCC license?).

Nowadays they're useful for more than just DRM too. I'd guess that since the owner unlocks the phone functionality, they are a big disincentive to thefts.

Re:Qualcomm’s Chain of Trust by zeta0134 on Friday September 21, 2018 @03:40AM (#18037887)
At least in the mobile space, I get the feeling that theft of the device factors in here. A lot of carriers advertise some sort of remote lock + wipe mechanism, which isn't guaranteed to work if the device's bootloader is unlocked, allowing an attacker to bypass the feature before it has a chance to run.

I have no idea if that's actually the case (I only worked tangential to a retail store's mobile department) so take that with a grain of salt, that's just what I observed the carriers making a big fuss about on the regular. I don't think that excuses the practice either; I'll always be in favor of being in full control of any hardware I'm supposed to trust with my data, but ofc I realize I'm in the minority there.

Re:Qualcomm’s Chain of Trust by drbawb on Friday September 21, 2018 @01:33PM (#18041281)
I'm totally fine w/ there being a disclaimer on bootloader unlocking, e.g: "Warning! Some security features of your device may not work properly w/ secure boot disabled. Visit foo.com/secure-boot to learn more." To a lesser extent I'm OK w/ bootloader unlocks voiding my warranty, esp. since many of these devices ship w/ permanent fuses whereby writing to the wrong MSRs may brick your device. After all that's how my Moto X (2013) worked: I needed a code from Motorola to unlock the bootloader, which in turn required agreeing to a warranty waiver.

What's not OK is having a permanently locked bootloader that guarantees my device will be useless after the carrier decides to stop delivering OTA updates in a year or two.

Re:Qualcomm’s Chain of Trust by paulie_a on Friday September 21, 2018 @10:43AM (#18040038)
> no DRM, no Netflix 4k for you".

No drm is a feature, and fine I'll just pirate it, it's easier anyways.

Re:Qualcomm’s Chain of Trust by thaumasiotes on Friday September 21, 2018 @03:51AM (#18037940)
> It boils down to "no secure boot, no DRM, no Netflix 4k for you".

I really can't say I'm worried about the theoretical inability to stream 4k video to a 5" screen. At that size, 4k is just wasting bandwidth.

Re:Qualcomm’s Chain of Trust by mjones72 on Friday September 21, 2018 @03:56AM (#18037966)
Netflix streams are usually so compressed that there is a noticeable improvement if you use 4K over 1080p. What you're actually comparing is "blurry 4K" to "blurry 1080p".
Re:Qualcomm’s Chain of Trust by pedrocr on Friday September 21, 2018 @04:03AM (#18037988)
And that's if they give you 1080p. I cancelled Netflix because they rolled out price hikes and yet even dominant platforms like Chrome on Windows only get blurry 720p which is completely unacceptable these days:

https://help.netflix.com/en/node/23742

Re:Qualcomm’s Chain of Trust by izacus on Friday September 21, 2018 @04:54AM (#18038191)
You maybe aren't, but manufacturers of that hardware will get negative PR if their Netflix only runs at 480p - so they comply to limitations.

Is it really that hard to think a bit farther than yourself?

Re:Qualcomm’s Chain of Trust by dpwm on Friday September 21, 2018 @05:30AM (#18038369)
I'm not so sure as many will notice it on a device with a 5" screen.

By my calculations, assuming an angular resolution of the eye of about 1 arcminute[0] and holding the device at 300mm, I get about 700 lines as the upper limit of the human eye. [1] So really there should be no benefit for anything above 720p.

There may be other factors relating to scaling and compression that might make higher resolutions on small devices look better, but it's definitely of diminishing returns.

[0] https://en.wikipedia.org/wiki/Naked_eye

[1] https://gist.github.com/dpwm/af467dff758d6f0c5810a2cf902bbf8...

Re:Qualcomm’s Chain of Trust by stordoff on Friday September 21, 2018 @08:50AM (#18039288)
Allowing for variable angular resolution, and holding the device closer than 300mm, seems to allow plenty of room where you _would_ notice the different. Further, 1080p scaled to 720p is probably going to look better than bit-starved 720p, even if the resolution isn't directly a factor.
Re:Qualcomm’s Chain of Trust by ddingus on Friday September 21, 2018 @04:30PM (#18042446)
Depends on the eye.

I just happen to have some objects from my early childhood, and late teens. I now keep them just for an aging reference.

Until about age 20, I could focus right up to roughly an inch away from my eyes. However, at moderate distances, comparable to some phone viewing, there are features on those objects I know well and could resolve then which take a lens now.

Used to judge quality of LCD displays by the ratio of pixel to space between with naked eye into my early 30s.

Hard to do today. And for me specifically, because of those references, I know about how much harder, or if impossible without a lens.

My point here is I believe many younger people will appreciate 720p plus on modern phone displays. I know I would have.

Re:Qualcomm’s Chain of Trust by izacus on Friday September 21, 2018 @07:56AM (#18039012)
You're still approaching this in a completely wrong way. Noone CARES if you can actually see the difference.

It's a marketing issue - "Galaxy S9 can do Netflix in HD and OnePlus can't" news article is something people will change their purchasing behaviour on.

Not to mention other media providers which will fully refuse to allow video streaming to non-DRMed platforms. Don't get hung up on this one example case.

Re:Qualcomm’s Chain of Trust by dpwm on Friday September 21, 2018 @08:16AM (#18039121)
To be fair you're probably right given the way the capitalist system being developed defecates all over its own foundations, but I wonder how Netflix might feel about their trademark being used for marketing purposes in a way that makes it sound like they are deficient in the devices they support.
Re:Qualcomm’s Chain of Trust by vardump on Friday September 21, 2018 @07:58AM (#18039021)
Don't you need at least 1400 (well, 1399) pixels to distinguish 700 lines? Otherwise they won't be lines anymore.
Re:Qualcomm’s Chain of Trust by dpwm on Friday September 21, 2018 @08:08AM (#18039070)
Or even 1401 if it's black on white. I was being a bit sloppy in my language. Lines was historically a common term for vertical resolution back when it would have been scan lines.
Re:Qualcomm’s Chain of Trust by vardump on Friday September 21, 2018 @08:36AM (#18039216)
Resolution is historically and otherwise commonly expressed as line pairs, so I assumed you used "line" as shorthand for that.
Re:Qualcomm’s Chain of Trust by dpwm on Friday September 21, 2018 @08:42AM (#18039240)
Thanks for that clarification. Nice to learn something new :)

I was incorrect in my usage of the term.

EDIT: Actually, if I was referring to TV lines then I guess I wasn't wrong, but "lines" is ambiguous to the point of confusion if n lines can mean a vertical resolution of both n and 2n.

[0] https://en.wikipedia.org/wiki/Television_lines

Re:Qualcomm’s Chain of Trust by dcow on Friday September 21, 2018 @05:02AM (#18038235)
They're more worried about people ripping the content, not pumping 4k streams to your smartphone.
Re:Qualcomm’s Chain of Trust by mfukar on Friday September 21, 2018 @04:24AM (#18038068)
> Their point is to verify that the whole OS from kernel to userspace can't be modified by 3rd parties (such as you, the owner of the device).

Or, _perhaps_, someone who doesn't own the device.