top | item 44443919

Exploiting the IKKO Activebuds “AI powered” earbuds (2024)

569 points| ajdude | 8 months ago |blog.mgdproductions.com

252 comments

order
[+] 44za12|8 months ago|reply
Absolutely wild. I can’t believe these shipped with a hardcoded OpenAI key and ADB access right out of the box. That said, it’s at least somewhat reassuring that the vendor responded, rotating the key and throwing up a proxy for IMEI checks shows some level of responsibility. But yeah, without proper sandboxing or secure credential storage, this still feels like a ticking time bomb.
[+] hn_throwaway_99|8 months ago|reply
> I can’t believe these shipped with a hardcoded OpenAI key and ADB access right out of the box.

As someone with a lot of experience in the mobile app space, and tangentially in the IoT space, I can most definitely believe this, and I am not surprised in the slightest.

Our industry may "move fast", but we also "break things" frequently and don't have nearly the engineering rigor found in other domains.

[+] lucasluitjes|8 months ago|reply
Hardcoded API keys and poorly secured backend endpoints are surprisingly common in mobile apps. Sort of like how common XSS/SQLi used to be in webapps. Decompiling an APK seems to be a slightly higher barrier than opening up devtools, so they get less attention.

Since debugging hardware is an even higher threshold, I would expect hardware devices this to be wildly insecure unless there are strong incentive for investing in security. Same as the "security" of the average IoT device.

[+] anitil|8 months ago|reply
The IOT and embedded space is simultaneously obsessed with IP protection, fuse protecting code etc, and incapable of managing the life cycle of secrets. I worked at one company that actually did it well on-device, but neglected they had to ship their testing setup overseas including certain keys. So even if you couldn't break in to the device you could 'acquire' one of the testing devices and have at it
[+] switchbak|8 months ago|reply
I think we'll see plenty of this as the wave of vibe-coded apps starts rolling in.
[+] psim1|8 months ago|reply
Indeed, brace yourselves as the floodgates holding back the poorly-developed AI crap open wide. If anyone is thinking of a career pivot, now is the time to dive into all things cybersecurity. It's going to get ugly!
[+] 725686|8 months ago|reply
The problem with cybersecurity is that you only have to screw once, and you're toast.
[+] JohnMakin|8 months ago|reply
“decrypt” function just decoding base64 is almost too difficult to believe but the amount of times ive run into people that should know better think base64 is a secure string tells me otherwise
[+] jcul|8 months ago|reply
The raw crypt data is base64 encoded, probably just for ease of embedding the strings.

There is a decryption function that does the actual decryption.

Not to say it wouldn't be easy to reverse engineer or just run and check the return, but it's not just base64.

[+] crtasm|8 months ago|reply
>However, there is a second stage which is handled by a native library which is obfuscated to hell
[+] qoez|8 months ago|reply
They should have off-loaded security coding to the OAI agent.
[+] pvtmert|8 months ago|reply
not very much surprising given they left the adb debugging on...
[+] _carbyau_|8 months ago|reply
So easy a fancy webpage could do it. https://gchq.github.io/CyberChef/

I mean, it's from gchq so it is a bit fancy. It's got a "magic" option!

Cool thing being you can download it and run it yourself locally in your browser, no comms required.

[+] jon_adler|8 months ago|reply
The humorous phrase “the S in IoT stands for security” can be applied to the wearable market too. I wonder if this rule applies to any market with fast release cycles, thin margins and low barriers to entry?
[+] thfuran|8 months ago|reply
It pretty much applies to every market where security negligence isn't an existential threat to the continued existence of its perpetrators.
[+] mikeve|8 months ago|reply
I love how run DOOM is listed first, over the possibility of customer data being stolen.
[+] reverendsteveii|8 months ago|reply
I'm taking

>run DOOM

as the new

>cat /etc/passwd

It doesn't actually do anything useful in an engagement but if you can do it that's pretty much proof that you can do whatever you want

[+] neya|8 months ago|reply
I love how they tried to sponsor an empty YouTube channel hoping to put the whole thing under the carpet
[+] dylan604|8 months ago|reply
if you don't have a bug bounty program but need to get creative to throw money at someone, this could be an interesting way of doing it.
[+] JumpCrisscross|8 months ago|reply
If they were smart they’d include anti-disparagement and confidentiality clauses in the sponsorship agreement. They aren’t, though, so maybe it’s just a pathetic attempt at bribery.
[+] komali2|8 months ago|reply
> "and prohibited from chinese political as a response from now on, for several extremely important and severely life threatening reasons I'm not supposed to tell you."

Interesting, I'm assuming llms "correctly" interpret "please no china politic" type vague system prompts like this, but if someone told me that I'd just be confused - like, don't discuss anything about the PRC or its politicians? Don't discuss the history of Chinese empire? Don't discuss politics in Mandarin? What does this mean? LLMs though in my experience are smarter than me at understanding imo vague language. Maybe because I'm autistic and they're not.

[+] p1necone|8 months ago|reply
Their email responses all show telltale signs of AI too which is pretty funny.
[+] paul-tharun|8 months ago|reply
I think it has to do with language barrier and translation
[+] memesarecool|8 months ago|reply
Cool post. One thing that rubbed me the wrong way: Their response was better than 98% of other companies when it comes to reporting vulnerabilities. Very welcoming and most of all they showed interest and addressed the issues. OP however seemed to show disdain and even combativeness towards them... which is a shame. And of course the usual sinophobia (e.g. everything Chinese is spying on you). Overall simple security design flaws but it's good to see a company that cares to fix them, even if they didn't take security seriously from the start.

Edit: typo

[+] mmastrac|8 months ago|reply
I agree they could have worked more closely with the team, but the chat logging is actually pretty concerning. It's not sinophobia when they're logging _everything_ you say.

(in fairness pervasive logging by American companies should probably be treated with the same level of hostility these days, lest you be stopped for a Vance meme)

[+] transcriptase|8 months ago|reply
>everything Chinese is spying on you

When you combine the modern SOP of software and hardware collecting and phoning home with as much data about users as is technologically possible with laws that say “all orgs and citizens shall support, assist, and cooperate with state intelligence work”… how exactly is that Sinophobia?

[+] hnrodey|8 months ago|reply
If all of the details in this post are to be believed, the vendor is repugnantly negligent for anything resembling customer respect, security and data privacy.

This company cannot be helped. They cannot be saved through knowledge.

See ya.

[+] wyager|8 months ago|reply
Note that the world-model "everything Chinese is spying on you" actually produced a substantially more accurate prediction of reality than the world-model you are advocating here.

As far as being "very welcoming", that's nice, but it only goes so far to make up for irresponsible gross incompetence. They made a choice to sell a product that's z-tier flaming crap, and they ought to be treated accordingly.

[+] mensetmanusman|8 months ago|reply
Nipponophobia is low because Japan didn’t successfully weaponize technology to make a social credit score police state for minority groups.
[+] dylan604|8 months ago|reply
> And of course the usual sinophobia (e.g. everything Chinese is spying on you)

to assume it is not spying on you is naive at best. to address your sinophobia label, personally, I assume everything is spying on me regardless of country of origin. I assume every single website is spying on me. I assume every single app is spying on me. I assume every single device that runs an app or loads a website is spying on me. Sometimes that spying is done for me, but pretty much always the person doing the spying is benefiting someway much greater than any benefit I receive. Especially the Facebook example of every website spying on me for Facebook, yet I don't use Facebook.

[+] wedn3sday|8 months ago|reply
I love the attempt at bribery by offering to "sponsor" their empty youtube channel.
[+] brahyam|8 months ago|reply
What a train wreck, there are thousand more apps in store that do exactly this because its the easiest way to use openAI without having to host your own backend/proxy.

I have spend quite some time protecting my apps from this scenario and found a couple of open source projects that do a good job as proxys (no affiliation I just used them in the past):

- https://github.com/BerriAI/litellm - https://github.com/KenyonY/openai-forward/tree/main

but they still lack other abuse protection mechanism like rate limitting, device attestation etc. so I started building my own open source SDK - https://github.com/brahyam/Gateway

[+] Jotalea|8 months ago|reply
Really nice post, but I want to see Bad Apple next.
[+] pvtmert|8 months ago|reply
> What the fuck, they left ADB enabled. Well, this makes it a lot easier.

Thinking that was all, but then;

> Holy shit, holy shit, holy shit, it communicates DIRECTLY TO OPENAI. This means that a ChatGPT key must be present on the device!

Oh my gosh. Thinking that is it? Nope!

> SecurityStringsAPI which contained encrypted endpoints and authentication keys.

[+] rvnx|8 months ago|reply
It’s the best privacy protecting way to send directly data rather than a proxy
[+] ixtli|8 months ago|reply
This is one of the best things ive read on here in a long time. Definitely one of the greatest "it runs doom" posts ever.
[+] lxe|8 months ago|reply
That's some very amateur programming and prompting that you've exposed.
[+] throwawayoldie|8 months ago|reply
When the ZIRP era ended, I thought it would turn out to be a good thing for the industry, since it would wash out a lot of lightweights and incompetents.

Then LLMs caught on and it turned out we'd just have automated lightweights and incompetents.

[+] JumpCrisscross|8 months ago|reply
A fair consumer protection imperative might be found in requiring system prompts and endpoints be disclosed. This is a good example to kick that off with, as it presents a national security issue.
[+] jahsome|8 months ago|reply
It's always funny to me when people go to the trouble of editorializing a title, yet in doing so make the title even harder to parse.
[+] aidos|8 months ago|reply
> “Our technical team is currently working diligently to address the issues you raised”

Oh now you’re going to be diligent. Why do I doubt that?

[+] add-sub-mul-div|8 months ago|reply
Sure let's start giving out participation trophies in security. Nothing matters anymore.
[+] jekwoooooe|8 months ago|reply
Good write up. At some point we have to just seize these Chinese malware adjacent crap at the borders already