8 hours 10 minutes
Hi, I'm Matthew Clark, and this is less than 5.4 product design software.
In this lesson, we will take a look at software development, including interdependencies and challenges,
and we will talk about software design concepts and conclude with a short case study.
There are a lot of software considerations when it comes to security, including planning for multiple devices and multiple APS where end users may talk to UM I o t devices through gateways or through mobile lapse or through Web pages.
You have to plan for end user privacy, including giving and users stability to opt in or opt out and ability. Exercise the right to be for gotten
as well, securing in user specific data and anonymous izing that data when collected into big pools
as well as securing the supply chain as well.
And considerations for security is related to the device. The cloud in the mobile app from securing that application data and securing the encryption keys to providing for correct logs, protecting databases and, of course, planning for firmware.
I really like this picture time, cost and quality. You can have any two of these just choose wisely.
I o. T devices of many constraints that software developers have to account for,
and resource constraints tend to be one of the biggest factors to plan for. For example, a developer may be working with the MIPS, or arm processor, but developing code as if it would run on a more powerful Intel. Chua
software has to be written for the environment in which will run
I O T devices tend to have less. Memory is well, and this has to be taken into account when designing processes
and with sensors, especially storage is going to be more like flash. Maybe there'll be an SSD, but certainly not hard This
so the developer has to plan for the efficient use of code and including only libraries that are absolutely required.
Remember as well that flash has a limited number of rights, so power could be an issue, especially if the device goes off battery.
This can cause issues in which you may not be immediately consider or immediately aware of. For example, updating the flash on an embedded censor that runs off of a battery can reduce the lifespan of that battery,
and this problem is multiplied. If the device is in a difficult to reach location or the battery is just not serviceable.
If a requirement is not properly planned for during their apparent requirements, gathering process thin. Trying to code for it later can also cause issues,
especially if there's not proper hardware support for what you're attempting to do in software.
So remember that every decision has a positive and a negative effect. And sometimes there's a second or even third order effect that you might not even realize until you get further down the road and testing the device within the overall ecosystem.
And finally, remember that hardware doesn't always act exactly as planned. Most of us have had an experience where, according to the hardware specifications, some software was supposed to run. And of course it didn't or there are problems.
Software development for I O. T. Can be more difficult than other types of software development. I ot developers air generally using a limited software stack running on constrained hardware. Resource is
so if a coding bug makes its way past Q and out into the field, it's not always an easy process updated
as field updates can be difficult to manage, depending on the I o T. Application
and hardware development doesn't always make for good, standard, agile environments
many times due to the nature of dealing with the hardware itself. The waterfall method Maybe more appealing, of course, software development can be run in virtual environments and can be tested in simulation. But to truly know of something was gonna work or not. You have to wait for the hardware to be completed.
And while modern software developers tend to like the agile method
and it supports multiple pushes of code base to production
in the real world, you don't often push code to update I o T devices multiple times a day like you can with an a p i r A Web page Alexa Circular Light Turning red a few times a day is going to drive someone crazy.
One thing to keep in mind is that changes. The software must be backward compatible.
You can't make a change the software that will break devices released years ago
and which are currently sitting dusty on some long forgotten warehouse shelf and then sold to an unsuspecting customer because the big box store such chooses to suddenly liquidate inventory
devices have to also be able to survive updates or the lack of updates,
and you have to be able to support all versions of the firmware that you've released in perpetuity forever. With no exceptions,
the sun s mess January of 2020 is a good riel world example of the issues that can arise when manufacturers decided to stop supporting older versions of their products but no longer providing updates.
This should underscore the importance of having and commuting, communicating a device life cycle.
So let's finish by talking about the 2018 t Mobile AP I incident.
And this was an incident that occurred that I really didn't remember. I might not even have been aware of it when it happened. There's so many different things that go on.
But this is a pretty good one, too. Review, I thought, and fit in nicely in the software section.
Granted, there are a lot of issues with software vulnerabilities, bad coding, lack of security controls on just, you know, things that make your make you scratch your head that we could talk about. In fact, you could probably take entire lesson about software issues.
Um, but we need something really short and small it easy toe easy to digest in this one seemed to be a pretty good fit. So let's go through the problem. And then let's talk about some of the ways in which we could have controlled this.
The problem was that the sub domain, the promo tool dot t mobile dot com, which could easily be found on search engines,
contained a hidden A P I that would return the T mobile customer data simply by heading the customers cell phone number to the end of the Web address.
Although the A P I was meant to be used by a T mobile staff toe look up account details, it wasn't protected with a password and get easily be used by anyone.
And the type of data it returned was lots of, you know, valuable information about the customer, including their full name, their postal address, their building account number and, in some cases, information about tax identification.
So there's several things that T Mobile should have done. First of all, they should review the code prior to releasing it. They should have reviewed the a P I. It looks like the only security control that they released was security by obscurity, which is not really a security control It all. It's just hoping and praying and and looking the other way.
Um, T Mobile did pull the A P I offline the day after it was reported in early of April 2018
by security researcher Bryan Stevenson, who was later awarded $1000 in a bug bounty.
And the T Mobile spokesman said that their Bug bounty program exists so that researchers can alert them of vulnerabilities, which was what happened there, and they supported that type of responsible in coordinated disclosure on We're gonna talk about developing a responsible disclosure program and bug bounties in a future lesson. And here's another great example of
company who has won
it is actively using it.
Um, so these are the things that you have to plan for if you have security. If you have technology that's out there, you need to have security with it. And really, the only way toe be absolutely certain that your security is working is to provide a mechanism for C feedback,
which is what happened here, which was good.
Well, that's it for this lesson. So what do we do well. We took our brief trip into the mysterious world of software and the product design process.
We looked at different security considerations. We discussed constraints and challenges, and we reviewed case study with T Mobile.
That's all for now.