start	end	text
0	2240	We have some new speakers here.
2900	12060	Ray, Nix, talking to you about some technology that's in our local schools.
12060	13700	Without further ado.
23710	24850	Hello, DEF CON.
24850	26850	Thanks for coming to our talk.
26850	31890	This is Unmasking the Snitchpuck, the creepy IoT surveillance tech in the school bathroom.
32710	34930	Just so you know, we don't think kids should vape.
35090	39790	Probably nobody should vape, actually, but vaping among high schoolers is pretty bad.
40590	44030	It's become a big problem in schools and, yeah, this talk isn't a vaping ad.
45310	48550	But let's say you were a kid in high school and you did want to vape.
50310	53290	What's a place you can go that has some sort of privacy?
55110	56290	Obviously the bathroom.
56470	57990	So you go in there and you hit the vape.
58970	63970	And suddenly the smoke detector lights up and starts yelling, vape detected and security notified.
65310	72130	Or to get more serious, what if a girl was talking to her friend about potentially getting an abortion in a state where that's not legal?
73350	77710	What if the smoke detector was recording her conversation?
79430	80310	Hey, I'm Ray.
80310	82350	I'm a Portland-based security researcher.
82350	87890	I've been learning InfoSec stuff on my own for about three years, since I was a sophomore in high school.
88510	91110	This is actually my first time ever going to DEF CON, as you heard.
91190	93090	So I'm pretty excited to be up here on stage.
99050	101510	This whole thing actually started when I was 15.
102010	104410	I used to poke around on the high school's network a lot.
104850	107810	When I got bored, I didn't really want to do any school work.
109610	111530	The school's Wi-Fi wasn't segmented at all.
111770	114970	So I could just discover a lot of devices on the network.
115470	121730	So yeah, one day I was poking around on the Wi-Fi and I found this device that had a strange OUI I had never seen before.
123270	129750	Normally I would just see HP printers and Microsoft devices, but this time it was a company called IP Video Corporation.
130250	131230	So I Googled them.
132110	134470	I found out they were a small startup in New York.
134670	136210	They had less than 50 employees.
136610	137390	Not a lot.
138110	150150	Their CrunchBase profile says they used to do a lot of video management systems, basically just camera systems, you know, those like multi-monitor camera setups you see in security offices.
150870	153730	But their main product now is called the Halo 3C.
154010	156970	It's basically an IoT version of a smoke detector.
162240	173920	But it has all these sensors and features like, for example, for health, it detects carbon monoxide, CO2, humidity, you know, like just the general health things you expect to see in a device like this.
174880	183240	It also has these safety features that detect gunshots, aggression, as well as spoken keywords like help emergency or help 911.
184640	190920	But its main gimmick is snitching on kids doing dumb shit in the school bathroom, like smoking weed or vaping.
194700	200040	They mention schools in their FAQ, so clearly it's one of the target markets.
201020	208340	So when I first saw the audio features, I was curious about one claim, and that is ensures privacy without audio recording.
208580	213260	I was curious about what this meant exactly, but I did not have a way to check at the time.
214620	220660	The website also has a testimonials page that was pretty interesting to look into as a high schooler.
220660	224580	This principal likes how they can catch kids vaping before they even leave the bathroom.
226180	227860	Here's one saying it's futuristic.
233560	239700	This one talks about how they have punishments in place, but how it's also serving as a deterrent.
252080	253640	Here's a kind of funny one.
253640	262620	This one talks about how they caught a kid ripping off a door from a bathroom stall and used the audio logs in conjunction with their camera system to catch him.
274210	275790	But there are competitors.
275890	282070	Zeptiv does a lot of work on vape detection and less on safety.
282490	286330	It also just looks like it belongs in a school bathroom or maybe like a prison.
286490	291010	It looks like something they put in a cell to stop prisoners from making prison wine or something.
293930	299590	Or other ones, like this forensic detectors device only detect vape and don't detect anything else.
300630	304350	But it seems like Halo is the number one used most popular vape detectors out there.
304350	306810	So I was wondering, how did they get there?
307410	311270	Going back to the LinkedIn, what's that at the top?
311350	312190	Enhance.
315190	316510	Motorola solutions.
319530	322370	So yeah, they were bought up by Motorola in 2023.
322630	328630	Motorola has been buying up a lot of these cop tech companies and integrating them into their security and safety offerings.
329710	336430	So now I really wanted to get my hands on one, but I couldn't afford to because they were super expensive and about $1,200 each.
337230	339290	But also because I was a broke high school student.
341770	343510	So what about the firmware updates?
343510	346210	I found out that I could just download it from their website.
347590	355290	I didn't really know how firmware worked at the time, so I tried the usual bin walking it, opening it up in a reverse engineering tool.
356010	359230	But none of those worked because it was encrypted.
359390	361350	When I checked the entropy, it was just random bytes.
363510	364410	I hit a wall.
364430	365650	I couldn't get my hands on one.
366170	369830	I didn't know what I was doing at the time, so I just kind of left it there for a while.
371010	376310	A couple years later, one popped up on eBay for about half the price.
376410	379310	Pretty good considering how expensive these are from the vendor.
385710	390430	Around the same time, I found out about the Portland Hacker Foundation.
391210	395430	It's basically just a non‑profit that gives out mini grants to hackers in the Portland area.
395750	398050	You submit a cool project idea and they give you money.
408150	412230	So I got a mini grant, went back to eBay and I bought it.
414490	417230	Got here and I was actually kind of nervous about opening it up.
418610	425630	This was my first hardware teardown project, so I didn't know what to expect at the time when it came to embedded devices.
425750	426690	But finally I opened it up
437130	437530	and...
437530	439430	turns out it's just a Pi.
441570	443410	Specifically a compute module 4.
446770	449350	So yeah, this is about where I got involved.
449630	454190	Ray shows up to the hacker space, has this thing, says it's an IOT vape detector.
454330	455570	They had it in my school.
455570	456910	It's got a Raspberry Pi in it.
456910	457910	I'm a hack it.
458070	459370	I'm like, yeah, sign me up.
459370	460230	Where's the screwdriver?
461290	462870	Hello, I'm Nix.
462870	463870	I'm a hacker.
465830	466710	Thank you.
469190	470970	I wanted to do this stuff when I grew up.
470970	474830	Since I was like 10, I got my hands on a copy of the cuckoo's egg by Cliff Stoll.
475370	483130	In the intervening years, I have been to school for electrical and computer engineering and put in a few years tenure doing software stuff at a large tech company.
483590	484870	Do love hacking stuff.
484870	487450	Got my OSCP a few years ago just for the lulz.
487550	490750	And I spend a lot of my free time these days down at the local hacker space.
490750	494110	Getting into trouble and poking at whatever lands on the workbench.
494570	496450	And yeah, this thing landed on the workbench.
496450	498470	And gosh, did we poke at it.
499310	500830	So you get the case open.
500890	508090	It's got two double sided PCBs that are connected in parallel into a kind of PCB sandwich with a through hole pin header mezzanine connector.
508850	513950	If you start on the underside of the bottom board, this is the part closest to the floor when it's mounted in the ceiling.
513950	515470	This is where most of the sensors are.
516590	523570	There is an SHT40 temperature humidity sensor on that kind of cut out thing probably to thermally isolate it from the rest of the board.
523890	527570	It does get quite warm while it's running for reasons that will be clear shortly.
528730	531530	Omron pressure sensor, not much to say about that one.
532230	534510	There is an SCD41CO2 sensor.
534510	536210	This is actually a nice part.
536610	538650	It's about a $15 bomb cost.
538650	542390	It is expensive because it directly measures the CO2 concentration.
543010	551470	Cheaper CO2 sensors like this SGP30, it also has, measured volatile organic compounds, TVOCs and estimates CO2 from it.
551470	556690	So if you see a sensor that does ECO2 or CO2EQ for equivalent, that's what it's doing.
557570	563110	Other gas sensors, this MICS is part of a line of sensors that all look like this but have different internals.
563110	566450	This one does VOCs as well as ammonia and nitrogen dioxide.
567710	570690	Another total VOC sensor like the SGP30.
570690	573990	This one also does its own like air quality estimate calculation.
575750	577950	Middle of the board has a light level sensor.
577950	582430	Not sure on the exact part number but Vishay semiconductors makes a ton that look just like this.
583070	588690	And then a passive infrared motion detector turns body heat into voltage so it can see when people are moving around under it.
589930	591990	So we go to the top of the top board.
591990	594530	This is closer to the ceiling when it's mounted in the ceiling.
594770	596590	There's a pair of POE connectors.
596590	598290	This is for network and power.
598330	604590	There's in and out because one halo can sink enough power to power two, both itself and a friend that it daisy chains.
604590	606510	So you only need one run back to the switch.
606510	607830	Makes install cheaper.
608290	610670	There's a ring of RGB LEDs.
610670	612930	These are for lighting up when it's mad about something.
612930	615650	As well as emergency lighting apparently.
616390	619330	In between the two boards there's this MEMS accelerometer.
619330	621290	This powers the tamper detection.
621290	626270	So if you like to try to take it down or like throw a stapler at it, it will get mad and light up.
627110	630430	Also an Ethernet switch I see to power the daisy chaining thing.
630530	637150	And then in the bottom right corner, a couple of MEMS microphones that are connected to a wave share audio codec.
637590	641590	Again, the spec sheet says like this is not for recording audio actually.
641590	642930	We just do analysis.
642990	646450	Noise and aggression, spoken word, gunshots, et cetera.
647670	651050	Back on the underside of the case, there's a speaker.
651050	652810	This is for playing alert noises.
653310	656270	And then the sensor that powers the headlining vape detection stuff.
656270	658170	The SPS30 particle sensor.
658190	661290	If you haven't seen how one of these particular sensors works, it's actually really cool.
661290	662990	They have a little fan and a laser.
663010	665530	And the fan draws an air sample through that metal box.
665530	667530	It shoots the laser into the air.
667530	670550	And then it can estimate the particles based on how the laser scatters.
671050	672430	So yeah, super sci-fi.
672510	677990	And all of these sensors together give us this web dashboard that the device itself serves up.
678210	680730	Each one of those green circles, you don't have to read the labels.
680730	681570	I don't know if you can.
681790	683870	But each one is a different alert type.
684470	686330	And it will turn red if something is wrong.
686550	689510	There's the ones you'd expect like vaping, tampering, motion.
689670	691270	But also like environmental stuff.
691270	692310	Like it's too cold in here.
692310	693530	The air is too stuffy.
694050	697830	By the way, the device can also serve a picture of this over RTSP .
697910	703250	So you can have it like in your NVR and be able to scrub back and see what it looked like an hour or 24 hours ago or whatever.
704190	706870	So yeah, naturally we wanted to see how this worked.
707310	709630	So we turned our attention back to that Raspberry Pi.
711990	717090	So this is a diagram of the secure boot flow on the Broadcom 2711 SOC.
717090	720090	That is in the Pi CM4, model 4 and model 400.
720330	723610	Once secure boot is toggled on, you cannot toggle it back off.
724270	729370	So to kind of summarize how it works, the first code that runs when you turn it on is called boot ROM.
729370	733130	That also has some public keys and that's all baked into the SOC.
733670	736350	Boot ROM loads the first stage boot loader off the spy flash.
736350	737670	That's called boot sys.
737870	741370	It contains a signature from one of those keys which it verifies before running.
741650	755970	Boot sys loads customer public key from the EPROM and then checks the digest against the SOC's OTP which has, it's a one time programmable like EFUSE type thing so you can write once and then you can't change it but you can continue to read it.
757390	761310	Boot sys also contains hashes of boot main which is the second stage boot loader.
764450	774630	So boot main loads the actual OS boot image and then that has a signature against that customer key which again is verified against the thing baked into flash or baked into the SOC rather.
775830	783790	And then the OS image can finally load and mount that looks encrypted file system which is encrypted to the device specific private key also baked into the OTP.
783790	796750	So altogether this whole process ensures that each stage of boot that runs is verified by the one before it and the end result is you get a file system that's encrypted at rest and it becomes quite difficult to just plug it in and dump the contents of the EMMC.
798270	801570	So we just plugged it in and dumped the contents of the EMMC.
806770	809490	Yeah, this is the real world secure boot doesn't always happen.
809490	810510	This is fine.
810650	817130	So we took the CM4 off of the halo and put it on this carrier board that basically turns it into the form factor of the model 4.
817510	823670	It also contains this handy switch that grounds a particular pin that tells the Pi to run in USB boot loader mode.
823770	830450	And then the Raspberry Pi GitHub has a script that when you run it, it like throws a mass storage device boot gadget over to the Pi.
830450	833390	So it just comes up on the host device as a block device.
833730	837810	Meaning you can just DD it into a file and then go spelunking all you want offline .
839070	840510	So yeah, what's in that software?
841330	848130	The smoke detector runs Linux, specifically Raspbian 10 which is currently old stable, like a little old but fine, whatever.
848510	852910	I cannot believe I'm saying this next part but the smoke detector runs Node.js.
855110	860630	Yeah, the code running all of this is JavaScript with an express web server to do the web stuff.
860630	861890	It's not quite all JavaScript.
861890	871270	There's also like a bunch of like Python and bash on there that it shells out to and like it builds command lines out of user supplied parameters and then fires those in subshells.
871270	872810	This is probably fine.
873650	875210	And then there's a bunch of drivers.
875290	878570	These are either elf binaries or sometimes like Python byte code.
879130	886810	These basically read the sensor data over I squared C and then send it to that main server process over like a JSON web socket thing or TCP socket rather.
886810	887530	It's not web.
888270	890530	Not important to read any of the names up here.
890530	897290	The point is there's a ton of integrations as well like it supports all these different APIs for different video and camera systems and security stuff.
897290	899330	A lot of vendors we recognize in that list.
900730	905190	Yeah, and then we went back looking for those encrypted updates that Ray was trying to look at before.
905890	907650	We found a script to unpack them.
907650	910890	Actually a super user friendly script which was nice for us.
910890	913710	But we were really just interested to see how the encryption works.
914110	915890	And then we found this.
916350	925990	So the file format of those encrypted updates is a header that has the key in it and then the IV and then the encrypted contents.
926330	933310	So like we're giving the customers a lock box where the key is taped to the bottom of it and then like most people don't know to look there.
933310	934850	So this kind of works I guess.
934850	939710	The contents turn out to be a tar GZ that like it's splatted onto the file system when it unpacks.
939970	942690	But aside from that like there's no signing.
943350	945030	No other validity checks.
945170	950670	Once we know that the key is literally in the fucking file there's nothing to stop us from making our own.
950830	952910	So like that's shells, right?
952910	956850	Like we can overwrite the firmware with whatever we want.
956850	959370	But it gets even sillier kind of.
959370	963550	This is the code behind the API endpoint for handling the firmware uploads.
963650	969910	It grabs the file, dumps it onto the disk and like a temp location and then fires this extract UPK shell script at the end.
971010	973270	That shell script looks like this.
973470	975050	Our favorite part is this.
975050	980110	If it unpacks it and it finds a file called extra, it fucking runs it.
981790	985470	This is probably for like clean up tasks or migrations or whatever.
985470	988630	But like what if our migration is this?
989090	996290	So yeah, standard reverse shell payload and I will give you three guesses which user it's running it as.
1003310	1008010	So yeah, this was the documenting the first time we got a root shell on it.
1008230	1013270	The deranged comic sans terminal font is one of our friends who helped us with this a little bit.
1014350	1016810	So yeah, we have this thing, right?
1016810	1020670	So if you can log into the website as admin, you can turn that into a root shell.
1020670	1023470	But we're really interested in like the other part too, right?
1023470	1026410	Like how can we get from having nothing to being admin on the dashboard?
1027790	1029450	So how do we do that?
1029450	1031530	We go and peek at the off code.
1031610	1033430	It's all just kind of weird and janky.
1033430	1035530	Actually all the code is kind of weird and janky.
1035530	1043710	We've been joking this feels like they took like a grizzled 80s Unix C hacker and sat him down and said like, okay, your new job is writing JavaScript, go.
1045010	1050490	There's some weird like nonce math stuff that seems like it might leave the device vulnerable to replay attacks.
1050710	1053270	We didn't POC that because it's all TLS in the latest.
1053390	1057710	It's all TLS so it's encrypted on the wire so that kind of makes it harder.
1059190	1061330	Then we thought what if we could brute force the login?
1061810	1066050	Usually web logins like this have some kind of like rate limiting brute force protection.
1066110	1070530	So it will keep track of how many times you've guessed and if you guess too many times too fast it will back you off.
1071230	1073230	The halo did implement rate limiting.
1074450	1075310	And it works like this.
1075310	1076490	So we try to log in.
1076610	1079030	It initializes a counter for the auth attempts.
1079130	1081470	The password is bad so it increments the counter.
1081530	1082870	And then it stores the counter.
1083590	1084750	In a cookie.
1088940	1092460	So the flow is like I guess a bad password.
1092480	1094720	The halo says 401 unauthorized.
1094720	1095240	That's wrong.
1095240	1097040	Also you have guessed wrong once.
1097200	1099480	Please remind me of that next time you guess.
1100400	1102920	And so we can just not use the cookie next time.
1102920	1108020	If we're writing a script to do this, it's actually more work to comply with the rate limiting by handing it the cookie.
1109200	1112540	So yeah, seems like we can maybe brute force it over the network.
1113840	1115960	It is pretty slow actually.
1115960	1117100	So it's like a raspberry pie.
1117100	1119580	So it can only respond to about 3,000 guesses a minute.
1119720	1122620	This means it would take like five hours to do a word list of a million.
1122780	1124960	But high schoolers have a lot of time, right?
1125880	1127600	It's also extremely loud.
1127680	1130780	If there's network security stuff watching it will definitely notice.
1130960	1133840	But we suspect there might not always be network security stuff.
1133840	1140660	We did find like 20 of these on showdown on the open internet with their own public IPV4s.
1140700	1142220	Very cool, very normal.
1142360	1145200	There's also a password policy to the credit of the vendor.
1145840	1148180	There's got to be a capital , a lower, a number and a special.
1148180	1149460	It has to be eight characters.
1149520	1152140	So all this in mind, you do have to get a little bit lucky.
1152840	1154440	But it still totally works.
1154440	1155020	We tested it.
1155020	1155640	You can brute force.
1155640	1156380	Works great.
1156980	1168320	So with ten lines of bash and a little luck and one 400 byte updatey boy, we've got like an unauthenticated over the network full chain device takeover thing.
1168420	1169120	Cool.
1169420	1170860	We have some video demos.
1170860	1172040	You want to see the demos?
1173540	1175300	I'm going to let Ray introduce those.
1179190	1183850	Yeah, before we get into that, there's some things we forgot to mention.
1183850	1185450	It's not just in schools.
1186290	1188970	They're putting these in retail stores.
1189710	1190950	It's in banks.
1191830	1194250	It's in hotels, air B&Bs.
1194250	1195990	It's in hospital rooms.
1196970	1200290	It's in assisted living facilities, like care homes.
1201070	1203950	And it's in public housing projects and section 8 apartments.
1205530	1211690	Here's one case study from the vendor talking about how it was used in section 8 housing in New York.
1213670	1220590	They started implementing them in residential units as part of enforcing a no smoking policy and are planning to install more.
1221850	1226750	In this case study, they're basically bragging about how they use the halo to catch poor people.
1227710	1232590	The director of the housing authority says it's like having an expert witness on the stand in the courtroom.
1235350	1238050	So with that context in mind, let's see the video.
1245220	1251200	Yeah, it's not playing.
1251740	1252860	No video?
1255140	1256160	Oh, yeah.
1256160	1258020	Other screen, I see.
1258380	1259300	Hey.
1259300	1260400	All right.
1399700	1401900	Put my C-Phrase.
1432150	1433810	Pure.
1434250	1435590	Command.
1435710	1437230	Keenness.
1437230	1438450	Boom.
1438450	1439690	Fairy.
1439690	1441130	Exhaust.
1441130	1442550	Hate.
1442550	1444230	All.
1458180	1465340	A little pause...
1473040	1474400	and we are back.
1474400	1474760	Now...
1484100	1485700	Anybody in there?
1486420	1487680	Get back in there.
1487680	1489200	I'm not there.
1489680	1491240	Can you move out of your way?
1498300	1500200	Which one do I go back to?
1501600	1502620	Left one.
1502720	1504100	Where's my cursor?
1504100	1504840	Right there.
1504840	1506820	All right.
1510920	1514020	Yeah, so after that, we disclosed all of this to the vendor.
1517540	1522000	We sent them an e-mail to the vulnerability disclosure program on July 10th.
1522000	1523440	We told them about the findings.
1523440	1527640	We also mentioned in the e-mail that we were going to present this in a conference about a month.
1528480	1531480	We received an automatic response about a day later.
1531480	1535200	They assigned us a ticket number, but didn't say much, really.
1536480	1543360	And then about a week later, they got back to us with an actual human response, saying they acknowledge the vulnerabilities and will try to patch it before DEF CON.
1545820	1547600	And they actually did, on Monday.
1547600	1551880	We haven't had a lot of time to look at it yet, but trust me, we are going to look at it.
1555530	1558730	Before that, we did actually see they patched stuff.
1558730	1561350	In the original firmware, we pulled off the Halo.
1561350	1565990	This function for setting the time zone and stuff was not sanitizing user input at all.
1566330	1568970	It would just take parameters and insert them into shell commands.
1572180	1578860	After we updated the Halo to the latest version, we found they had updated it with a new function called CleanArg.
1580100	1585200	And that basically just goes through the string and escapes dangerous characters.
1586020	1588480	To recap, these are the things we have found.
1589220	1591640	You can just brute force a login on the web interface.
1592920	1596820	You might be able to do a replay attack, but we didn't develop a POC for this.
1598620	1603620	There's a lack of firmware signing, which lets us make our own firmware and take over the device.
1604860	1607400	And a firmware update can just turn it into a listening device.
1608900	1611980	So yeah, this is the list of issues we have found.
1613600	1616380	And these are the ones they can fix with patch.
1621210	1622990	Anybody remember this thing?
1623950	1628310	A few years ago, Google had this cloud enabled home alarm system called Nest Secure.
1628310	1631530	This little control unit keypad thing is called Nest Guard.
1631830	1633310	And one day they make this blog post.
1633310	1636570	It's like, hey everybody, Google Assistant is coming to Nest Secure.
1636570	1640790	So great news, you're going to be able to say hey Google at it and ask it what the weather is or whatever.
1640790	1646250	And everybody in unison is like, yo, what the fuck, you didn't tell us you put a microphone in this thing?
1646690	1647550	Because they hadn't.
1647550	1649470	They omitted that from the spec sheet.
1649830	1652770	And then they tweeted like, oh yeah, we totally, there's a mic in that.
1652930	1654310	But we haven't even used it yet.
1654310	1657770	And also you can turn it off in the app that we also control.
1658130	1662130	And then a few years later they discontinued the cloud service and bricked everyone's thing.
1662310	1663430	Because that's kind of what Google does.
1663430	1664190	But that's for another talk.
1664190	1670350	The point is, people don't like when you can turn a device into an audio bug with a server side toggle.
1670350	1673790	And it seems like the company that makes the Halo understands this as well.
1673790	1677750	Because again, all their marketing stuff says ensures privacy without audio recording.
1677930	1687450	I imagine this would have been workshopped heavily from what the engineers might have written, which would have been like, it has microphones in it, but we're not saving the audio or shipping it off anywhere.
1688070	1689390	Not in this firmware.
1690970	1692290	Trust me, bro.
1694510	1700570	So when you're trying to evaluate some new gadget or system, I think there are two questions that are important to ask.
1700570	1701550	And the first one is really easy.
1701550	1703170	It's what does the technology do?
1703330	1704070	How does it work?
1704070	1704650	What's inside it?
1704650	1705630	What are the capabilities?
1706030	1710190	But just as important as what it does, is who does it do it for?
1710470	1712950	Whose interests does this technology serve?
1713350	1715270	I want to show you something else we found in the firmware.
1715270	1722690	So when the thing starts up, in its startup routine, which is called start main B for some reason, it sets up a call to this reverse proxy thing.
1723310	1731310	Ten seconds later, that fires and the device opens up a TLS encrypted web socket to the company, which owns this IOTmanager.com domain.
1731310	1733210	We didn't poke at any of their cloud stuff, by the way.
1733210	1734030	That's crimes.
1734030	1734930	Those are illegal.
1735390	1742830	But the message handler for this socket says, like, anytime something comes back over this socket, put it into this for halo array and then call send to halo.
1743210	1744410	Well, what does that do?
1744410	1745530	So we go looking for that.
1745530	1753210	Turns out that function opens another socket to the local web API and takes the first thing out of for halo and shoves it into the web API.
1753210	1755810	Then it calls itself recursively until that array is empty.
1756090	1759430	The web API then, and it's authorized middleware.
1759430	1761790	People who have written express will recognize this.
1761790	1772010	It looks at those requests and sees that if they came from inside the building, like if the remote address is local host, it sets the user name to this cloud server placeholder and then sets is admin to true.
1772790	1785730	So, like, what this enables, in addition to the paid cloud subscription service, because of course it has that, is that the company that made the halo can, at any time, call any of the end points on the device's local web API as admin.
1787510	1790750	So, look, to be clear, we are not saying this thing is listening to you.
1790850	1791890	It probably isn't.
1791890	1796690	We saw no evidence on the one we got our hands on that they are doing anything dodgy, that they're saving it or shipping it off.
1796690	1802990	The problem, though, is that, like, this is microphones connected to a Raspberry Pi that's on the network.
1803050	1804790	And someone else has root on it.
1804790	1809610	So, like, at any time, it could just decide to start listening to you and you would not know the difference looking at it.
1810230	1813910	So we thought it would be fun to, like, try to enumerate who might be listening to you through your halo.
1814950	1817230	It could be script kiddies who saw this talk.
1818570	1821630	It could be the IT admin who has access to that dashboard.
1822770	1826090	It could be system integrators, the installers, who have access to the dashboard.
1827930	1831910	Motorola themselves, who have root by that cloud reverse proxy backdoor thing.
1833210	1836630	Local cops who compel any of the above to act on their behalf.
1837470	1838750	Same deal with feds.
1838750	1839950	Like, thank DHS.
1839950	1841230	Thank ICE.
1841870	1846250	And, you know, statistically speaking, probably...
1848430	1851110	The possibilities with this device are endless.
1851110	1853690	And, like, you're probably asking, did they have to do it this way?
1853690	1856330	Did they have to engineer it in a way that opens it up to these risks?
1856330	1858430	And, like, no, totally not.
1858430	1862710	This is a peripheral made by a boutique shop in India called PCB Artists.
1862730	1864650	It is an I2C decibel meter.
1865150	1869090	It has a microphone, just like the halo, and its own STM32.
1869110	1876370	And all day long, that STM32 reads the microphone, calculates the decibel level, and sends just the number back to the host machine over I2C.
1876550	1882910	So this means that you get the data that you wanted, but if somebody pops your web server, they can't trivially turn the whole thing into an audio bug.
1883530	1889930	And they could have done the same thing with the silly wake word feature, separate coprocessor, like, get it away from the main computer.
1890130	1893670	The part costs about $30, but you could do this way cheaper at scale.
1893890	1897470	Or you could do what the Zeptive thing does, that prison wine one from before.
1897490	1900230	They have a noise add-on that is an add-on.
1900330	1906030	It's optional, you don't have to have it, but you can buy this if you want to enable microphones in your deranged setup.
1907310	1914790	But, you know, even if you get rid of all the microphone stuff completely, and this might be a slightly hotter take, I think this thing still sucks.
1915270	1917530	Because, again, who is it working for?
1917530	1920410	Who benefits from this device existing in our society?
1922370	1925390	I want to rant for a little bit about the death of privacy.
1925830	1927830	It never happens all at once, right?
1927830	1929090	Like, it's a gradual thing.
1929090	1930370	It erodes over time.
1930370	1932610	Little nibbles of it get taken around the edges.
1933610	1936090	Y'all know about usage-based car insurance?
1936490	1951530	So, like, way back when this was for over-the-road truck drivers, or actually for the trucking companies, they had, like, dongles in the trucks that would report back if the truck driver was obeying the speed limit and, like, not driving too many hours without taking their legally mandated rest breaks.
1951850	1968810	And more recently, some car insurance companies have started offering this program where you can put an app on your phone that will keep an eye on your driving and, like, nominally give you discounts, but actually just narc on you to the insurance company if you go too fast or brake too hard or drive too many miles so they can raise your insurance.
1968810	1973350	And then they realized that nobody was signing up for these because that's creepy and weird.
1973390	1979870	So they just started buying your driving data directly from OnStar via LexisNexis and raising your insurance without even getting you involved.
1980850	1982690	What about the Amazon drivers?
1982730	1984570	They aren't really Amazon drivers.
1984570	1998070	Those drivers work for these other companies called delivery service partners, or DSPs, which are third parties that Amazon contracts to provide delivery services to Amazon, which gives Amazon access to a labor force that is fragmented enough that they probably won't unionize.
1998070	2012170	Anyway, those fucking vans have cameras in them pointed at the drivers, and they caught some bad press a couple of years ago because the drivers were, like, scratching their face or sipping their coffee or opening their mouth to sing along with the radio,
2012170	2016970	and the cameras were reporting them to their bosses so they could get penalized for driving while distracted.
2017550	2025870	If your car at home has any kind of, like, advanced driver assistance or smart cruise control, like, it might have a cabin-facing camera in it, right?
2025870	2028990	Like, all I'm saying... but back to the halo.
2028990	2031930	So this thing starts out in schools, hospitals, whatever.
2032210	2033330	Relatively benign.
2033870	2037150	And then some ghoul is like, what if we could just put it into poor people's houses?
2037890	2043650	And do we think at that point the company is going to be like, okay, we have addressed a modest proportion of our total addressable market.
2043710	2046090	Like, we've done enough shareholder value, let's pack it up.
2046090	2046610	No, right?
2046610	2047190	Of course not.
2047190	2048110	Blood for the blood god.
2048110	2048970	Number must go up.
2048970	2052670	So this thing is coming for you in your bougie downtown apartment.
2052690	2055810	Or, like, what if the home insurance company demands you put one in your house?
2055810	2058370	Or else they drop your insurance because you're a fire risk.
2058570	2068750	And, you know, when I start extrapolating along these lines, even to a relatively privacy-conscious audience, I'm sure I start to sound like a frothing conspiracy theorist or a swivel-eyed loon.
2069530	2075630	But to borrow the title of this Cory Doctorow piece a while ago, the swivel-eyed loons have a point.
2076050	2080010	Because over and over again, the rest of us say, surely they wouldn't sink any lower.
2080090	2081210	And then they do.
2081210	2092010	The company that makes the Halo says in their marketing stuff that because it doesn't record video or audio, supposedly, it can, and I quote, be safely used in private areas like restrooms.
2092690	2101290	In other words, not only are they marketing a promise to put every square inch under some kind of surveillance, but they're actually saying nothing is sacred as a selling point for their thing.
2101670	2106750	And, like, honestly, what happens to the magic of technology making the world a better place thing?
2106810	2118670	Why does it seem like any time we develop some new capability as a species that in the best case, it gets used to track and profile our thoughts and behaviors, to put more accurate targeted ads in our faces, or capture more of our attention.
2118750	2124950	And in the worst case, it gets used to literally subjugate and abuse poor people, immigrants, school children.
2125350	2135910	And there's a sick hypocrisy underlying all of it, because do we really think the depraved creeps who cooked this thing up and, like I said, put them in poor people's houses would be thrilled to have them on the ceilings of their living rooms?
2136290	2137830	I think they wouldn't.
2137830	2138710	I'd guess they wouldn't.
2138710	2150630	But I'd also guess it doesn't keep them up at night, because they know, as they drift off to sleep atop their fucking Scrooge McDuck piles of Motorola acquisition money, that they're in an economic position where nobody's going to compel them to bug their houses.
2150690	2158190	Nobody's going to come knocking on the CEO's front door to investigate an anomaly from the particulate sensor mounted above his fucking living room sofa.
2160570	2165510	It's enough to make anyone want to walk away from all this and build a tiny cabin in the woods in Montana.
2166770	2171050	But if this stuff pisses you off, too, I want you to stick around for this last bit.
2171970	2174710	What can you, the hackers, do about any of this?
2175270	2176910	Well, you can do what Ray did.
2176970	2180670	You could buy some weird cop tech on eBay and mess with it and then tell people about it.
2180890	2184930	You might have noticed we didn't have to discover any V8 runtime ODAs to pop this thing.
2184930	2186070	Like , it wasn't that hard.
2186070	2186990	You could probably do it, too.
2186990	2188030	You should give it a shot.
2189030	2193130	Or go to your school board and ask if they're putting these things in your local schools.
2193390	2201550	And if they are, maybe also ask if the tens of thousands of dollars they've blown making their schools more like prisons might have been better spent on, like, a music teacher or something.
2202590	2204730	Campaign for strong privacy legislation.
2204910	2208070	Because this is not a problem the free market is interested in solving.
2208130	2213150	Because neither the people who sell this thing nor the ones who buy it are the ones who eventually have to suffer with the surveillance.
2213390	2216790	Up in Oregon, we are really lucky to have Senator Ron Wyden.
2218990	2223590	He's been on the right side on just about every digital privacy and surveillance debate.
2223590	2227290	And he knows what he's talking about in part because he listens to his hacker constituents.
2227590	2232270	If your representative does not know anything about any of this, consider reaching out.
2232270	2233850	Ask what it might take to change that.
2234770	2241310	If you don't have time for any of this stuff, but you do have money, consider giving some money to the Electronic Frontier Foundation.
2241750	2245390	The EFF has been around since literally before I was born fighting the good fight.
2245390	2247070	And they are here at DEF CON in the vendor hall.
2247070	2249610	So swing by their booth, give them some cash, get some stickers.
2249730	2251110	Give a little more, get one of the hoodies.
2251110	2252770	The design is freaking sick this year.
2252770	2255910	And the contributions go to making the world better for everyone.
2257190	2259250	Stay aware, stay informed.
2259610	2261990	Look, I know it's a shitty time to be reading the news right now.
2261990	2264030	I'm not advocating for doom scrolling.
2264250	2265290	Pace yourself.
2265610	2270890	But if you can stomach it, I believe it is your duty to read and understand the adversaries.
2271070	2277450	Because knowing what is happening now and what's coming next is the only way to keep yourself, your friends, and your community safe.
2280830	2283370	From beginning to end, this talk has been a wild ride.
2283370	2289630	Ray and I did not do it alone, so a huge and heartfelt thanks to everybody up on screen right now for helping us out along the way.
2289630	2305750	Do not have time to read everyone individually, but I do want to call special attention again to the EFF and their Coder's Rights Team for the generous legal advice and counsel, as well as to Joseph Cox at 404 Media and Andy Greenberg at Wired for listening to our story and finding it compelling enough to share it with the rest of the world.
2305850	2308350	I don't know if you guys saw, but we were in Wired this morning.
2308350	2309450	That was pretty cool.
2314280	2322940	On an even more personal note, Ray is a freshly minted high school graduate who already has his first main stage DEF CON talk under his belt.
2325440	2327200	This kid is going places.
2327200	2335660	He is passionate, he is curious, and he is looking for opportunities for scholarships, internships, and inter-level employment, particularly in hardware hacking and security research.
2335700	2338940	If you want to be a part of his story, reach out to him directly via Macedon DM.
2338960	2341240	He is bujo at defcon.social.
2341240	2343680	I am also looking for opportunities.
2343980	2347040	I've just been caught in the latest round of Corpo Layoff Roulette.
2347300	2352900	My last day at my current employer is a week from today, and I am so excited and thrilled for what might happen next.
2352900	2363920	So if you'd like to hire me on a consulting or full-time basis to hack stuff that sucks, build stuff that doesn't, or do cool research and write talks like this about it, you are more than welcome to reach out to me via Blue Sky DM.
2364020	2366360	I am nixwtf.bsky.social.
2366720	2378420	And finally, if you're looking for something to do this evening, and you'd like to hang out with me, Ray, a bunch of the Portland, Oregon hacker crew, and dozens of our closest friends from around the internet, you are humbly invited to join us at the 503 party.
2378480	2379720	It's hosted by the Portland folks.
2379720	2381080	It's in the Flamingo this year.
2381220	2382280	And it's going to be a good time.
2382280	2383300	Doors open at 8.
2383300	2385420	We will hack the planet all night long.
2385440	2389300	And you can get more details on venue by pointing your web browser at 503.party.
2391140	2392280	Thanks for listening.
2392500	2393440	That's all we got.
2396820	2400220	Any burning questions, we will be out in the hall for a couple of minutes.
2400220	2402480	And if not, see you at the party later maybe.
