start	end	text
0	5800	It didn't warn me it was going to be bright. So we still got people coming in, but so this is
6880	11280	going to start doing a little bit of the intro we're talking about. So while everybody comes
11280	16940	in, we'll get to the meat of it. So welcome. Everybody's having a great, great convention.
16940	22040	Thanks for showing up. This is fantastic. We're really excited to talk about some of this stuff
22040	27960	because it's fresh off the presses. So we're going to be talking about photovoltaics
29340	36420	and some of the findings that are recent for us. So I have here with me, Alexander Lauser,
36420	42340	as one of our senior security researchers. We both work for a company called Bitdefender,
42340	51520	you may have heard of. I added a link here to our work so you can refer to it later. Some of the
52980	58420	vulnerability research that we do. So we've been doing, among other things,
58420	65360	we've been doing IOT vulnerability research for the last 10 plus years on normally and typically
65360	70900	consumer grade devices that are popular or interesting or something that we find just
70900	77600	interesting to look at. So during this time, we've published over 25 high profile cases
78240	84640	and findings, and we have dozens of white papers that came out of that research. This is a pretty
84640	92780	small team, but it's been really lucrative and exciting on our academic and educational side.
92780	99960	So I want to quote a couple of high profile cases that we covered, findings that we had. So I'll say
99960	105360	Ring Doorbell, for example, LG TVs, this is something that's as fresh as a month old, maybe,
105360	110200	you know, the Fire Stick from Amazon, maybe the August Lock, Ring a Bell,
110200	118100	Wyze, Owlet, U5, Vizaviz cameras and more. What's interesting that through our research,
118100	125860	what we found, obviously, besides vulnerabilities, is that more than 30% of the vendors never reply
125860	135320	or they don't reply timely. And to our contact, then we try to reach out to them. And it takes,
135320	142700	180 days to do so. And what's even more concerning is that 20% of these people take
142700	146780	more than a year to fix the vulnerabilities that we are trying to communicate to them or never
146780	151500	actually patch these, sometimes or most of the times exceeding the end of life cycle of that
151500	159000	product. So here's a PSA to all the vendors, if you could pass on the word, appoint a permanent
159000	165700	contact, set up a vulnerability disclosure program, add a URL for it, put a PGP key on it
165700	176500	and monitor that inbox. I can't stress that enough. So this has been for the last decade and a half
176500	183640	or more the most wanted terrorist in the United States and abroad when it comes to the power grid,
183640	192540	the SQRL. And it's called SQRL terrorism. There is a SQRL index on Wikipedia. And we have a couple
192540	199940	of quotes here. For example, we have a former deputy director of the NSA that said, frankly,
199940	208300	the number one threat today to the grid is SQRLs. And then the threat to the internet infrastructure
208300	214840	services posed by SQRLs may exceed the one posed by cyber attacks and so on. So basically, the
214840	222980	narrative here is in general, that cybersecurity is not really potential straight up concern when
222980	231160	it comes to the power grid, because most of the actual attacks were of natural causes, SQRLs,
231160	236920	fires, whatever have you. In general, the grid is really highly regulated and protected and secured.
236920	241820	So a lot of the cyber attack woes don't really apply, even though we have, you know, warnings
241820	250360	from CIA with examples and NSA and all this stuff. So to that, enter solar. And this is what we're
250360	254640	going to talk quickly about today. So obviously, green energy is the forefront of everything that
254640	260260	we do. So as it's transforming the global landscape, we're seeing just, you know, last year,
260900	269600	over 500 gigawatts of capacity added by solar, just last year, which is three quarters.
270340	277780	It's an explosive growth, which obviously is fantastic for us, but at the same time brings,
277780	282000	you know, they, you know, the growing number of systems obviously brings
282000	288860	more interest and more focus to them, to potential attackers. So as the capacity increases,
288860	295440	the question is, you know, is security keeping up? As both businesses and consumers are starting to
295440	302780	add solar panels to their portfolios. Now, again, this space, solar is less
303420	311340	hardened and regulated by, as legacy power generation. So to that point, we investigated
311560	316000	a manufacturer called Day and a management platform called SolarMint to find out.
316560	322800	Why? It's because these are smart systems and they can be obviously controlled remotely.
323520	327700	Someone in our office noticed something that was interesting after installation,
327700	335980	so we decided to keep digging. An inverter, and I'll show you a
335980	340300	sketch just to see how the stuff works out, could be added on both these platforms
341140	347420	using their apps. You just needed the serial number. So it was interesting enough. So here's
347560	352700	a diagram of a system and trying to understand how it works. This applies for both residential
353280	360540	customers, but also larger platforms as well. So you have the solar panels, let's say you have
360540	365800	solar panels on top, you know, on your home. These connect to an inverter that feeds the grid.
365800	373100	The inverter is connected to a data logger that's a bridge between all these systems.
373480	379080	And the data logger sends information to a cloud platform that feeds into various application and
379080	386180	management systems as well. So again, the logger is the conduit that connects everything to the
386180	392240	internet and is responsible for the settings and the data collection and updates of the whole system.
393620	399080	In general, these will be connected and they won't be because they won't work
399080	404900	otherwise with a grid. So obviously end users can control the system from the
404900	408280	internet from their phones or just another platform and they can talk directly to the
408280	413840	platform. And I'm going to invite Alex to discuss and walk us through how we investigated the platform.
416740	424380	Okay, so we started with a man-in-the-middle attack on the day cloud app. We only use the user
424380	430200	certificate, no need to pass the application. Among the traffic, we found a suspicion login request
430200	435800	using hard-coded credentials. I don't know if you can see them, but it is smartconfigurator
435800	443640	at solarmanpv.com and the password 123456, first place on the rocket list.
444800	451600	Okay, what is the account used for? It gets information about a user's device, for example,
451600	459000	the model, the version, and a password. This account is not linked to any user account, so it works for
459000	466380	any device no matter who owns them. Now, I mentioned the password. A logger, while it is running,
466380	473460	has an access point active. The SSID of the access point has a convenient naming scheme. It starts
473460	480440	with AP underscore serial number. So, if we have the serial number of the logger, we can get into
480440	487280	the access point. Let's see how an attack would look. First, we find an access point that corresponds
487280	494120	to the naming scheme. Then, we get the serial number, we use the hard-coded account to make
494120	500640	the request and get the password. Connect to the access point and just profit. Okay, those question
500640	506780	marks do some heavy lifting, but it basically boils down to sending 80 commands to the logger
506780	514980	to get access to the user interface, to get access to the user's Wi-Fi network, and just send commands
514980	522300	to the logger. Now, there are some downsides to this attack. First of all, you need physical
522300	529300	proximity. Then, you need to maintain said physical proximity. You also only get one device at a time,
529300	534840	and as much fun as war driving is, it's not very efficient. I think we can do better.
536240	543540	Now, we looked at other platform features, and we saw that users can only view statistics and
543540	551220	information about their system. To make changes, they require to add a business account as a guest.
551580	559280	How is this done? Well, there is a search API that returns data about all users and organizations.
559300	564360	In the front end, we only see the name of the business when we search for them,
564360	572780	but in the back end, we have emails, phone numbers, addresses, user IDs. For example, we have a vote,
572780	578840	an endpoint for a business, we have the administration name, the admin's phone number,
578840	584220	and for the users, we get the last login IP, we get their address if they put it there.
585340	592120	By itself, it's not really exploitable, at most being a privacy issue. But it gives us a ballpark
592120	598460	for the total number of users, about three and a half millions, and the total number of businesses,
598460	604720	over 300,000. We'll keep this in mind, as it might be useful later.
605600	614060	Now, I talked about SolrMan and Dey, and that's because until recently, Dey was using the SolrMan
614060	620680	infrastructure to run its code. But recently, Dey built its own data center and migrated its
620680	627340	user to a new database. The code also runs on their new data center. But we wondered,
627340	636400	maybe the code is still pretty similar. And it turns out it's very similar. A token from Dey
636940	641740	will work on SolrMan. It gives access to an account that has the same user ID,
641740	649660	but the users were migrated. So now a user from Dey has a different user ID from the one on
649660	657480	SolrMan. So the user IDs are also incremental. A new account gets an ID of about 14 million on
657480	664340	SolrMan, and it's about 30 million on Dey. This means that by creating new accounts on Dey,
664340	671200	you could take over over 1 million accounts. That's good, but I think we can do even better.
672480	678380	Now, I keep talking about the JVT tokens, and let's see how they are obtained. For a normal
678380	685060	user, it's pretty straightforward. You send the email address, the password, the hash password,
685060	692280	and you get back a JVT token containing your email and your user ID. A business account is
692380	699300	a bit different. One account can manage multiple organizations, and when logging in, an admin will
699300	705660	choose which business to manage. The server creates a token that specifies the organization's
705660	713980	ID. Let's see the steps. The first step is basically identical to a normal user,
714360	718960	and I highlighted in the decoded token the fields that pertain to the organization,
718960	726080	the organization ID and the group ID. At the second step, using the token from the first one,
726080	732160	we get a list of organizations that an admin can manage.
733120	739840	And in the third step, we have another login request to the same endpoint, but this time it
739840	747380	uses an authorization header with the barrier token we got from the first step. And in the
747380	752980	post body, we also have the same token together with the organization ID. The server responds
752980	759740	and completes the fields that I highlighted earlier and pertain to the user organization.
760500	767640	Now, what is the issue? In the third step, the endpoint uses data from the token we sent in the
767640	774040	post body and creates the new token that has access to the organization. So we thought, let's
774040	780820	just change the user ID and email and the token we sent. And it just worked. No signature checks,
780820	788120	no errors, didn't even need alg none. The endpoint didn't even need the authorization
788120	796720	header. We could use it just like that. This is a request with a manufactured token that we sent
796720	803180	and the one we received. The tokens here look pretty similar. The one on the left is the one
803180	808200	we manufactured. And the difference between them is that the one on the left has a bad signature
808200	813300	because obviously we don't know the key to sign the token. But the one on the right is signed by
813300	821660	the server and it gives us access to any account we want. I mentioned that we need the ID and email
821660	828500	to create this token. But if you remember earlier, we have some endpoint which gives us this
828500	835260	information for all accounts. So this time, all three and a half million accounts were risking
835260	844700	takeover. Kudos to them. They fixed this in 24 hours since we contacted them. Now I'll let Dan
844700	855160	talk about the impact. Thanks, Alex. So this context, I'll show this more in the timeline.
855160	863640	So this is very fresh. We published the findings just a couple of days ago. So take this list of
863640	869160	vendors with a little bit of a grain of salt. It's mostly inferred, but it's a highly, let's just say,
869160	874400	highly informed chance that these vendors were also impacted because they do share the
874400	881140	SolarMoon platform and potentially use the same database. And we can additionally infer
882280	889600	their potential impact by the fact that we were seeing stuff like this popping up around
889600	897320	the same time we informed the vendors of the findings. So some of these vendors also
897320	904140	patched right away and informed the users about the existing patches. Now let's talk a little bit
904140	913260	about the actual impact in terms of users. So we're seeing, we estimated
913260	916420	about three and a half million users could have been impacted by the vulnerabilities
918020	925200	exemplified here, and more than 330,000 businesses. All these control multiple systems.
925880	931880	Of course, there's a PII component, so having access to the platform could enable a malicious
931880	939940	actor to obtain information about the user's location and so on and so forth. So that's bad
939940	945260	in itself, bad enough in itself, but at the same time, having access and controlling, being
945260	952100	able to control the inverters through the management platform could also either overload
952100	958280	or under load the grid. So basically user imagination of what could have been done here.
958280	965480	Also, it's worth mentioning that the platform serves about a fifth of the world's total
965480	971720	solar generation capacity. So it's quite an impressive number. Kind of put that into
971720	979040	perspective, it's larger than what the U.S. generates through photovoltaics alone. So
979800	988300	the question is, does this finally beat the squirrels now? Because, and of course,
988300	996820	the echoes of national security follow. The idea here being that the conversation generally
996820	1002540	around the grid is that, as I said earlier, it's either the squirrels or natural causes.
1002540	1010800	We're not here to place FUD around about solar, but kind of trying to shine a light that the
1010800	1015440	situation might be changing for the future. And I think it warrants a little more attention.
1015840	1021940	I have the timeline here. We contacted the companies sometime in mid-May. They've been
1021940	1029580	fairly responsive at both acknowledging and fixing the vulnerabilities. And we actually
1029580	1037040	closed disclosure to these findings just a few days ago. With that said, I'm inviting you to
1037040	1043460	ask whatever questions there might be. You can also find us at the IoT Village. We have a little
1043460	1051020	table there. I know we have a challenge to hack a TV. And please do not forget,
1051020	1058020	if you know a vendor, remind them to appoint a permanent contact for vulnerability
1060040	1065300	findings, to set up a program for vulnerabilities, a URL for it, put a PGP key on it,
1065300	1070460	and monitor that inbox, please. So with that said, thank you for coming. We're open for questions.
1076440	1080780	And if there's no questions, just come by the Village and we can talk more.
1080780	1083620	So thanks so much for your time. We'll see you guys there. Thank you.
