News for hackers. Stuff that matters.
Re:Ask HN: How would French police locate suspects by tappin... by runjake on Saturday November 04, 2023 @01:10PM (#38142968)
Software implants (“RATs” or “rootkits”) or baseband access (“backdoors”).

The baseband is an embedded computer inside the phone that controls the device’s sensors and radios. It runs off of its own OS and is separate from the consumer-facing OS. The phone’s OS then talks to this embedded system.

All phones do this, even the iPhone whose baseband OS was some variant of L4 Linux, IIRC.

Various Intelligence Community people and documents have made statements that they can remotely activate the baseband to interact with a target device.

Re:Ask HN: How would French police locate suspects by tappin... by FFP999 on Saturday November 04, 2023 @01:15PM (#38143027)
To expand on this, you should assume that basically any significant device or microprocessor you buy comes pre-compromised by one or more intelligence agencies, by the simple expedient of them asking manufacturers to put them in. Devices from US companies will be compromised by Five Eyes agencies, those from Chinese firms will have Ministry of State Security backdoors, etc.
Re:Ask HN: How would French police locate suspects by tappin... by musha68k on Saturday November 04, 2023 @01:21PM (#38143115)
Open source / homebrew hardware will be the only way out of this.
Re:Ask HN: How would French police locate suspects by tappin... by gduplessy on Saturday November 04, 2023 @01:38PM (#38143306)
Is it even possible to homebrew a modern computer chip?
Re:Ask HN: How would French police locate suspects by tappin... by FFP999 on Saturday November 04, 2023 @01:41PM (#38143328)
I wanna say I read about some high schooler recently making _a_ microprocessor in his garage, but I'm guessing it's a very simple one, not what we would consider a modern design.

Also I could be thinking of something else entirely so, before repeating this, you'll probably want to google it.

Re:Ask HN: How would French police locate suspects by tappin... by narinxas on Saturday November 04, 2023 @01:43PM (#38143348)
no. and even if it were then are people whose job is to make sure it never really takes off.

why? because power.

what do do about it? get power. how to do that? dunno. If I told you then my own purported (and protracted) attempts would diminish. at least we don't get assasinated to death anymore..... ahahahaha (just our characters, andor career prospects, etc)

Re:Ask HN: How would French police locate suspects by tappin... by dylan604 on Saturday November 04, 2023 @02:06PM (#38143600)
by modern do you mean just the capabilities of or include the size of as a requirement? If you accept that a DIY processor can be the size of a room and not be portable, then maybe???? Expecting a DIY to be miniaturized, then hellz to the naw
Re:Ask HN: How would French police locate suspects by tappin... by dividuum on Saturday November 04, 2023 @02:17PM (#38143699)
Precursor (https://www.crowdsupply.com/sutajio-kosagi/precursor) is interesting with its use of an FPGA.
Re:Ask HN: How would French police locate suspects by tappin... by gduplessy on Sunday November 05, 2023 @07:59AM (#38150751)
That is pretty interesting, thank you!
Re:Ask HN: How would French police locate suspects by tappin... by amelius on Saturday November 04, 2023 @03:26PM (#38144278)
Nope, even an EUV light source would be close to impossible.
Re:Ask HN: How would French police locate suspects by tappin... by FFP999 on Saturday November 04, 2023 @01:28PM (#38143191)
On a technical level, sure. In the bigger picture, I'm concerned that that is simply too esoteric an interest for it to have any significant impact.
Re:Ask HN: How would French police locate suspects by tappin... by fsflover on Saturday November 04, 2023 @03:55PM (#38144537)
Almost any innovation starts like this.
Re:Ask HN: How would French police locate suspects by tappin... by FFP999 on Saturday November 04, 2023 @06:59PM (#38146109)
I certainly would _like_ to believe that...I'm gonna have to think about this some.
Re:Ask HN: How would French police locate suspects by tappin... by amelius on Saturday November 04, 2023 @01:31PM (#38143225)
And tinfoil.
Re:Ask HN: How would French police locate suspects by tappin... by FFP999 on Saturday November 04, 2023 @01:37PM (#38143297)
There are better materials to make a Faraday cage out of, but foil is cheap, I'll concede that.
Re:Ask HN: How would French police locate suspects by tappin... by swader999 on Saturday November 04, 2023 @01:57PM (#38143506)
It's pretty hard with tinfoil. Try it with an am radio. It takes several layers, no small gaps to kill the signal.
Re:Ask HN: How would French police locate suspects by tappin... by FFP999 on Saturday November 04, 2023 @02:03PM (#38143567)
TIL.
Re:Ask HN: How would French police locate suspects by tappin... by BobaFloutist on Saturday November 04, 2023 @01:48PM (#38143407)
Would it not be easier to find the backdoor and use it to patch itself?

Basically rooting the phone but on a firmware level?

Re:Ask HN: How would French police locate suspects by tappin... by swader999 on Saturday November 04, 2023 @01:55PM (#38143492)
Airplane mode does work. I can put an emf meter up to my Android phone and nothing comes out of it. Same with the device off.

But is it still recording for later transmission? Perhaps!

Re:Ask HN: How would French police locate suspects by tappin... by dylan604 on Saturday November 04, 2023 @02:03PM (#38143566)
If you're willing to believe anything can be put in passive mode, you'll absolutely drive yourself mad. There's no way to proove that a device is not listening passively, so of course people will say it is.
Re:Ask HN: How would French police locate suspects by tappin... by mrcode007 on Saturday November 04, 2023 @02:47PM (#38143963)
Anything with an integrated circuit can be proven to be not operating based on power consumption or switching noise of the transistors in the device.
Re:Ask HN: How would French police locate suspects by tappin... by theamk on Saturday November 04, 2023 @02:49PM (#38143979)
Modern microphones need input clock to operate, and are physically incapable of listening when the clock is absent.

This gives a trivial way to detect of the device is listening passively, at least on the workbench.

Re:Ask HN: How would French police locate suspects by tappin... by dylan604 on Saturday November 04, 2023 @03:53PM (#38144524)
I don't even know what the "mic needs a clock" means. I've never used a microphone that needed a clock. Making a mic that needs a clock just seems like a "WTF were they thinking" kind of thing. Can you elaborate on this concept of requiring a clock for a mic?
Re:Ask HN: How would French police locate suspects by tappin... by theamk on Saturday November 04, 2023 @06:13PM (#38145719)
The keyword to search for is "digital mems", and of course we are talking individual parts to place on PCB, not the consumer device. Here is one random example: [0]. Somewhat expensive at $1 ea, but that's what you pay for US manufacturer.

This microphones take 2.4 MHz clock and return PDM (pulse density modulation) signal. Does not seem very convinient for old-school analog electronic circuits, but it's pretty trivial to interface with any micro with pulse counter hardware.

And presumably the audio won't have any hum or interference from nearby radio transmitters, which is especially useful in cell phones.

[0] https://www.digikey.com/en/products/detail/cui-devices/CMM-4...

Re:Ask HN: How would French police locate suspects by tappin... by fsflover on Saturday November 04, 2023 @03:57PM (#38144559)
My phone has hardware kill switches for modem, wifi/Bluetooth and mic/camera.
Re:Ask HN: How would French police locate suspects by tappin... by solardev on Saturday November 04, 2023 @03:50PM (#38144494)
Do those meters work across all frequencies?
Re:Ask HN: How would French police locate suspects by tappin... by Wowfunhappy on Saturday November 04, 2023 @01:54PM (#38143481)
The thing people always say about mandated backdoors is that they make devices less secure for everyone. Ie, if the government can get in, so can other bad actors.

If this is true (and I generally believe this is is), and if basebands do indeed have backdoors for the government, why hasn't anyone found them? Why haven't we seen CVEs on this?

Can anyone point to a published baseband CVE that smells like a government plant, rather than a well-intentioned accident?

Re:Ask HN: How would French police locate suspects by tappin... by reactordev on Saturday November 04, 2023 @02:36PM (#38143872)
Normally these agencies “discover” these back doors through admitted confession by those bad actors. Tell us how you did it and we’ll reduce the sentence, kind of thing. Sometimes it’s of their own accord if they are high up enough (NSA) but the majority of law enforcement relies on vendors who use the same exploits as the nefarious bad actors. Only “for good”… the bad actors are always a step ahead and continue to give talks on how badly insecure our pocket computers really are.
Re:Ask HN: How would French police locate suspects by tappin... by byteknight on Saturday November 04, 2023 @02:04PM (#38143580)
That's simply because you haven't looked. There was literally a black hat talk on exploiting cellular networks this year. Every year there seems like there's a new exploit. Just because it doesn't make it to your particular side of the internet doesn't mean it's not happening.

Now, can anyone definitively prove that they are back doors and not mistakes or exploits? No. But that's thanks to the age old "Never ascribe to malice that which is adequately explained by incompetence."

Re:Ask HN: How would French police locate suspects by tappin... by Akronymus on Saturday November 04, 2023 @02:50PM (#38143985)
> There was literally a black hat talk on exploiting cellular networks this year.

Is that talk recorded somewhere?

Re:Ask HN: How would French police locate suspects by tappin... by ccooffee on Saturday November 04, 2023 @03:34PM (#38144361)
I assume GP is referring to

Title: "Over the Air, Under the Radar: Attacking and Securing the Pixel Modem" Summary/Slides: https://www.blackhat.com/us-23/briefings/schedule/#over-the-... YouTube (48 minute): https://www.youtube.com/watch?v=QrkB_enz2Pk

Re:Ask HN: How would French police locate suspects by tappin... by ActorNightly on Tuesday November 07, 2023 @08:24PM (#38185568)
>There was literally a black hat talk on exploiting cellular networks this year.

Talk at black hat =/= everyones devices are de facto vulnerable. For as tech savy as this forum is, its surprising how many people are not well read up on security.

The summary of vulnerability is this - if you use a cellular network, your baseband chip vulnerability is next to irrelevant. Your location can be triangulated from radio signals, and its likely that there are messaging contacts and calls that are logged that use the respective celluar services.

Now for pure data transmission from a secure messaging app. Most of the communication for privacy is done using end to end encryption apps like Telegram. While those can be compromised, those require a direct targeted attack on the device, you cant just remotely do this over the internet.

Re:Ask HN: How would French police locate suspects by tappin... by dylan604 on Saturday November 04, 2023 @02:02PM (#38143559)
If we believe governments can convince hardware makers to add backdoors, why do we not believe governments can convince CVEs from being removed or not allowed?
Re:Ask HN: How would French police locate suspects by tappin... by Wowfunhappy on Saturday November 04, 2023 @02:03PM (#38143574)
Because a lot of security research is done by individuals or small firms, and the NSA doesn't generally review disclosures. I find it hard to believe this wouldn't leak, at least in the western world.
Re:Ask HN: How would French police locate suspects by tappin... by dylan604 on Saturday November 04, 2023 @02:17PM (#38143696)
And? I don't know the CVE process, so I'm honestly asking while you're not actually answering. Who controls the release of CVEs? Sure, individuals can report something as a vuln, but does the report automatically create a CVE? Or do the reports get verified and then "promoted" to CVE? If the latter, then there's absolutely a part in the process that can be subverted
Re:Ask HN: How would French police locate suspects by tappin... by wepple on Saturday November 04, 2023 @02:51PM (#38143990)
CVEs have absolutely nothing to do with finding out whether our devices are backdoored.

CVEs come out of Mitre, but lots of countries have equivalent systems or tracking codes. Further, large companies are pre-allocated blocks of CVEs to use.

But it’s irrelevant. The original position was that if govt are putting obvious remote access into devices, why has nobody ever seen and blogged or tweeted about it?

Re:Ask HN: How would French police locate suspects by tappin... by smoldesu on Saturday November 04, 2023 @02:05PM (#38143591)
This article does a good job summing things up: https://www.devever.net/~hl/nosecuresmartphone

> Modern smartphones have a CPU chip, and a baseband chip which handles radio network communications (GSM/UMTS/LTE/etc.) This chip is connected to the CPU via DMA. Thus, unless an IOMMU is used, the baseband has full access to main memory, and can compromise it arbitrarily.

> It can be safely assumed that this baseband is highly insecure. It is closed source and probably not audited at all.

The problem is less that there are identified issues, and more that the variety of hardware and vulnerability of the implementation is suspicious.

Re:Ask HN: How would French police locate suspects by tappin... by hlandau on Sunday November 05, 2023 @05:46AM (#38149962)
Author of the above blogpost here.

To my knowledge the situation has changed nowadays and IOMMUs on smartphone SoCs are now common. Having said that I still don't rate the security of any smartphone and you should assume it will get compromised. There's a million reasons for this:

- Baseband is still radioactive and probably trivially compromised by any nation-state adversary so it's all down to the IOMMU.

- IOMMUs are hard to configure correctly and frequently misconfigured by drivers which don't use them correctly.

- Any host driver bugs in talking to the baseband might be exploitable.

- It's hard to verify an IOMMU is actually working correctly, so it's not like any of this is commonly audited.

- We're talking about SoCs here with the baseband usually integrated on the same chip, so there's always the risk of some undocumented channel between the baseband and the rest of the chip the vendor omitted to notice or tell anyone about.

The situation is at least better than it was but it's still 100% my assumption that no phone can be trusted in the face of an adversary who can put up a fake cellular network. There's simply far too much proprietary firmware, mysterious black boxes, etc. to be able to really trust these things.

Also I'm assuming here there's a desire to get access to the host processor and stored data, but you don't need to do that if you just want to get at the microphone or GPS or leak someone's location or so on. There's a million bad things someone could do getting access just to the baseband even if the IOMMU works right.

Re:Ask HN: How would French police locate suspects by tappin... by ActorNightly on Tuesday November 07, 2023 @08:22PM (#38185553)
Article from 2016 in this area is irrelevant in 2023.
Re:Ask HN: How would French police locate suspects by tappin... by warner25 on Saturday November 04, 2023 @03:03PM (#38144092)
I tried to express a similar question / curiosity last year in a discussion about the Intel Management Engine (https://news.ycombinator.com/item?id=33345040#33346166) but you have expressed it better.

It's like what intelligent skeptics keep saying in the ongoing discussion of UFOs / UAPs and claims of extraterrestrial visits: With everyone having a camera in their pocket (or, more likely, in their hand) these days, shouldn't there be more compelling photographic evidence of extraordinary things at this point, if extraordinary things are really happening?

Edited to add: I guess I said it pretty well further down in that thread, "It does seem like some researcher or journalist should have blown the case open by now if this thing were systematically providing telemetry from everyone's "powered off" (but still plugged in) machines to an intelligence agency."

Re:Ask HN: How would French police locate suspects by tappin... by solardev on Saturday November 04, 2023 @03:45PM (#38144456)
If you discover a zero day in a major operating system, you can sell it and become rich overnight.

Or you can play the public hero and end up best buddies with Snowden and exiled from every Western country. The governments don't particularly like whistle blowers.

And if you found a backdoor, you probably wouldn't want to use it on every device all at once and reveal its existence. Somebody somewhere will log it. But if you carefully pick and choose your targets, just a few in a million (or several billion), it might not be detected for a long time.

White hack groups like Project Zero routinely find these exploits. That doesn't necessarily mean they're planted, it just means that it's definitely possible to hide them from common view, and it takes a lot of skill and dedication to uncover that, then also a strong enough corporate shield to protect you from any possible fallout.

Unlike taking pictures of UFOs, it's not just being in the right place at the right time. It takes a very high level of skill that the general population doesn't have.

Re:Ask HN: How would French police locate suspects by tappin... by cookiengineer on Saturday November 04, 2023 @06:46PM (#38146006)
But "we" have found them for MediaTek chipsets. There is even an APK shared in almost all Telegram channels related to hacking, which includes even uploading your implant for future use as a "demonstration".

Also check Mexico incidents of deactivated devices, Samsung, Oppo, Motorola and others have rootkits, too.

Re:Ask HN: How would French police locate suspects by tappin... by reactordev on Saturday November 04, 2023 @02:33PM (#38143847)
This. Unless you flashed it yourself from code you compiled and analyzed yourself, or have a verified signature/hash, assume that it’s pre-compromised and the “agencies” have access to it. For 99.999% of us, this doesn’t matter outside of civil liberties or whatnot. For the 0.001%, you’re their target audience. Smile for your camera. Ask Kaspersky.
Re:Ask HN: How would French police locate suspects by tappin... by fsflover on Saturday November 04, 2023 @03:39PM (#38144412)
> For 99.999% of us, this doesn’t matter outside of civil liberties

Civil liberties matter to everyone at some point.

Re:Ask HN: How would French police locate suspects by tappin... by reactordev on Saturday November 04, 2023 @08:10PM (#38146605)
I said outside of. Of course civil liberties matter to all.
Re:Ask HN: How would French police locate suspects by tappin... by kawsper on Saturday November 04, 2023 @01:37PM (#38143289)
Intel ME and AMD PSP is the computer equivalents of this.

https://libreboot.org/faq.html#intel

https://libreboot.org/faq.html#amd

Re:Ask HN: How would French police locate suspects by tappin... by pengaru on Saturday November 04, 2023 @01:47PM (#38143394)
One of the interesting aspects of the Librem 5 is putting the cellular component on USB rather than something like PCI, substantially limiting the baseband's reach. Part of why the Librem 5 is such a big heavy and chunky device is it's assembled more like an OG ThinkPad with discrete peripherals, in smartphone form.

Most (all?) modern smartphones comingle the baseband and application processors to the extent that the baseband has direct access to the application processor's memory. You can logically envision your smartphone's GUI/application environment as the baseband's guest. You are not in charge, despite owning the device.

Re:Ask HN: How would French police locate suspects by tappin... by agumonkey on Saturday November 04, 2023 @01:49PM (#38143425)
so right to repair promoting easily removable battery would be of help here :D

unless the com chips have a purely passive mode ..

Re:Ask HN: How would French police locate suspects by tappin... by byteknight on Saturday November 04, 2023 @02:08PM (#38143618)
It takes a surprisingly small amount of power to intermittently ping cell towers at longer intervals.
Re:Ask HN: How would French police locate suspects by tappin... by hn_throwaway_99 on Saturday November 04, 2023 @02:03PM (#38143571)
Here's a good article about a backdoor built into Samsung's Galaxy baseband processor, discovered in 2014: https://www.fsf.org/blogs/community/replicant-developers-fin...
Re:Ask HN: How would French police locate suspects by tappin... by wepple on Saturday November 04, 2023 @02:57PM (#38144044)
This isn’t a backdoor in the baseband.

It’s code in the kernel which allows the baseband to effectively execute code in said kernel.

Definitely not ideal, but (especially without seeing baseband code) not something you can call a backdoor.

That said, I’d never use a Samsung. But that’s a whole other story.

Re:Ask HN: How would French police locate suspects by tappin... by runjake on Saturday November 04, 2023 @04:30PM (#38144825)
I’m not going to say this is a backdoor but what I will say is that the best backdoor is the one with plausible deniability.
Re:Ask HN: How would French police locate suspects by tappin... by COOL_DUDE_2112 on Saturday November 04, 2023 @02:35PM (#38143859)
>The baseband is an embedded computer inside the phone that controls the device’s sensors and radios. It runs off of its own OS and is separate from the consumer-facing OS. The phone’s OS then talks to this embedded system. All phones do this, even the iPhone whose baseband OS was some variant of L4 Linux, IIRC.

It's my understanding if you route all your traffic through an always on VPN (eg Algo) you can frustrate basband nonsense, since all they'd see is a bunch of... stuff... going off to some colocated IP.

Now, maybe military intelligence can be a nearly global passive adversary, but if "the police" hacked such a phone they'd see noise going in and out to some strange server.

The above is the setup I had from ~2016 to ~2020 by the way -- while it provided a measure of privacy from local party officials, it also made me and my traffic stand out.

The key, in my experience, is to make data move around in such ways to require an MLAT and a zero day, and then be less interesting than those who would be cause to obtain both... but neoliberals are sadists and voyeurs forever aggrieved, forever inventing reasons so... all you can do is make them work for it IMHO and make it such that so many use your techniques they will regret their intrusions for even if they obtain the powers they want they will be overcome with analysis paralysis -- as we saw on Jan 6th, the issue is not that the state lacks power, it is that elements of "the state" never intend to follow the will of the people and react like toddlers having tantrums if they don't get their way.

Re:Ask HN: How would French police locate suspects by tappin... by photonbeam on Saturday November 04, 2023 @02:41PM (#38143910)
I worked at a commercial L4 microkernel company ten-ish years ago. My memory of it was that AMSS ran on OKL4, but without a linux on top
Re:Ask HN: How would French police locate suspects by tappin... by akomtu on Saturday November 04, 2023 @03:35PM (#38144370)
All that hinges on a functioning antenna.