蛇缠身是什么病| 奶酪是什么| 脾肾两虚吃什么中成药最好| 唇上有痣代表什么| 庸俗是什么意思| 皮肤痒用什么药最好| b27是什么检查| 可尔必思是什么饮料| 野合什么意思| 萎谢是什么意思| 总是放屁是什么原因引起的| 河堤是什么意思| 六月二十八是什么日子| 孕吐反应什么时候开始| 兹有是什么意思| 学生吃什么补脑子增强记忆力最快| 范思哲香水是什么档次| 努尔哈赤和皇太极是什么关系| 长沙有什么学校| 猪咳嗽用什么药好得快| 开心果是什么意思| 偷什么不犯法| 性生活时间短吃什么药| 五戒十善是什么| 摩羯座和什么座最配| 气胸是什么意思| 涤棉是什么材质| 救赎是什么意思| 抽烟打嗝是什么情况| 武则天是什么朝代| 地中海贫血是什么病| icu和ccu有什么区别| 吃什么东西补血快| 排卵期有什么症状| 同房痛什么原因引起的| 非户籍是什么意思| 偷什么不犯法| 喝酒后手麻是什么原因| 考试用什么笔| 小鹦鹉吃什么| 杏林是指什么| 康熙是乾隆的什么人| 经常性偏头疼是什么原因| 双相情感障碍是什么| 西双版纳有什么好玩的地方| 什么价格| 为非作歹是什么意思| 萧字五行属什么| 耳鸣用什么药治疗效果最好| 什么是阴阳水| 白内障什么症状| 心绞痛吃什么药最管用| 禾字五行属什么| 婆媳关系为什么难相处| 看见黑猫代表什么预兆| 口腔医学是干什么的| 开飞机需要什么驾照| 伶字五行属什么| 慕字五行属什么| 左手小手指麻木是什么原因引起的| 电气火灾用什么灭火| 苦不堪言是什么意思| 小孩子黑眼圈重是什么原因| 什么样的土豆不能吃| 脚气是什么原因引起的| 你有毒是什么意思| 乙酉是什么意思| 专科是什么意思| 夏天晚饭吃什么比较好| 炸薯条用什么淀粉| 上飞机不能带什么| 超市属于什么行业| 什么的树丛| 喉咙痛可以吃什么| 六月二十五号是什么星座| 机关单位和事业单位有什么区别| macd什么意思| 大便羊粪状吃什么药| hiv弱阳性是什么意思| 一人吃饱全家不饿是什么生肖| plg是什么意思| 葫芦什么时候成熟| 脑疝是什么原因引起的| 养老保险什么时候开始交| 什么动物不长胡须| 芹菜和什么一起炒好吃| 鼻息肉长什么样子图片| 裂帛是什么意思| 兔子尾巴像什么| 支气管炎吃什么药好| 一直拉肚子吃什么药| 婴儿不睡觉是什么原因| 乐不思蜀是什么意思| le是什么元素| 半夜口干舌燥是什么原因| 巧克力囊肿有什么症状表现| 留白是什么意思| 艾灸肚脐眼有什么好处| 胡桃木色是什么颜色| 尿白细胞高是什么原因| 间接是什么意思| 南京有什么美食| 万马奔腾是什么生肖| 淋巴细胞偏低是什么原因| 医学mr是什么意思| 控线是什么意思| 洗头膏什么牌子好| 异象是什么意思| 姓名字号是什么意思| 流鼻血吃什么药效果好| 睡前吃香蕉有什么好处| 见红是什么颜色| 肠胃炎吃什么药好| 什么人需要做肠镜检查| 血糖仪h1是什么意思| 盗汗挂什么科| 吕布属什么生肖| 什么水果可以美白| 急性结肠炎什么症状| 头发长的慢是什么原因| 肌酐偏低是什么意思| 喝什么水去火| 画蛇添足是什么意思| 寒热往来什么意思| 黄金属于五行属什么| 书房字画写什么内容好| 晕车药有什么副作用| 爸爸的姐姐应该叫什么| 测血型挂什么科| 玫瑰代表什么| 蝉的鸣叫声像什么| 宝宝佛适合什么人戴| 护士是干什么的| 身上痣多是什么原因| 七月二十二什么日子| 德国什么东西值得买| 生物制剂对人体有什么副作用| 总胆红素是什么| 体力不支是什么意思| 阴囊潮湿用什么药| met是什么意思| 居心叵测是什么意思| 检查脑袋应该挂什么科| 印度阿三是什么意思| 鼻涕带血是什么原因引起的| 利多卡因是什么| 观音菩萨属什么生肖| 部长什么级别| 血管炎症状表现是什么| s是什么m是什么| 潼字五行属什么| 狗被蜱虫咬了有什么症状| 后背凉是什么原因| 夏天适合喝什么茶| gap是什么品牌| 什么时机塞给医生红包| 窦性心律不齐是什么情况| 7月25日什么星座| 结核t细胞阳性说明什么| 宽带m是什么意思| 牙龈经常出血是什么原因| 额窦炎吃什么药管用| 脾围是什么意思| 晚上老咳嗽是什么原因| 磷脂是什么东西| 男性雄激素低吃什么药| 藏红花不能和什么一起吃| 葡萄糖属于什么糖| 小燕子吃什么| 淋病和梅毒有什么区别| 2.5什么星座| 梦见自己出轨是什么意思| 芙蓉是什么花| 水漂是什么意思| vana是什么牌子| 庭字五行属什么| 查乳房挂什么科| 4月22日什么星座| 玉和翡翠有什么区别| 夏天手上长小水泡是什么原因| 本意是什么意思| 杂合变异是什么意思| 冷萃是什么意思| www指什么| 嘴巴经常长溃疡是什么原因| a-l-岩藻糖苷酶偏高是什么原因| 小别胜新婚是什么意思| 三道杠是什么牌子| 腋毛癣用什么药膏最好| 此地无银三百两是什么意思| 什么的鞋子| 胆小怕事是什么生肖| 第二视角是什么意思| 德不配位是什么意思| 金牛座女和什么星座最配| 哺乳期感冒可以吃什么药| 戒定真香是什么意思| 鹿晗什么星座| 额娘是什么意思| 53岁属什么| 膝盖缝里面疼什么原因| 密度是什么意思| 人瘦肚子大是什么原因| gummy是什么意思| 上火喝什么药| 什么茶降糖效果最好| 两个圈的皮带是什么牌子| 时光什么意思| ml 什么意思| 移动增值业务费是什么| 杭盖是什么意思| 覆盖的意思是什么| 黄酒是什么酒| 脑供血不足吃什么| 为什么小便是红色的尿| Cr是什么意思医学| 上火吃什么水果| 补铁有什么好处| 什么花是蓝色的| 石墨灰是什么颜色| 病毒为什么会变异| 名存实亡是什么意思| 健将是什么意思| 人为什么会有胎记| 起司是什么| 痔疮吃什么消炎药好得快| 吃什么对血液好| 肌腱属于什么组织| 抑郁症有什么表现| 流脑是什么| 为什么高考要体检| 烈日灼心什么意思| 命门是什么意思| 什么的歌声| 红色属于五行属什么| 脚趾发紫是什么原因| 什么是羊水栓塞| 插管意味着什么| 六月26日是什么日子| 脖子凉是什么原因| 月经期间吃什么水果| 棋逢对手下一句是什么| 确认妊娠是什么意思啊| 命根子是什么| 喉咙痛吃什么消炎药| 鼻子疼是什么原因| 十斋日是什么意思| 胆固醇低吃什么| 鸡毛菜是什么菜| 彪悍是什么意思| 4月29号0点是什么时候| 玉如意什么属相不能戴| 夏天吃什么养生| 什么茶降糖效果最好| 小龙女叫什么名字| dady是什么意思| 有什么办法可以怀孕| 肚子中间疼是什么原因| 出痧是什么原因| 老二是什么意思| 什么情况下需要做宫腔镜| 舌头发麻是什么情况| fda是什么| 小肠火吃什么药效果快| 百度
Showing posts with label IIoT security. Show all posts
Showing posts with label IIoT security. Show all posts

Saturday, April 29, 2017

The RISC-V Files: On Princeton MCM and Linus' Law

Princeton and RISC-V MCM

In the past week, a research team from Princeton's school of engineering released details on flaws they uncovered in the RISC-V memory consistency model (MCM). This is exciting work from Professor Margaret Martonosi and her team, because it demonstrates the value of using automation to uncover design flaws in complex systems. 

This strategy may be similar to the techniques used by commercial tools, such as Tortuga Logic's silicon security analysis utilities. Regardless, advances in capability from both commercial and academic teams has exponentially improved the state of the art over recent years. As a result, these bugs are being uncovered faster, and earlier in the engineering (or ratification) process, than ever before. 


Codasip and Linus' Law

To comment on the Martonosi's findings, the Codasip team released a blog post describing their thoughts in the context of long-term RISC-V reliability and security. While I typically agree with the Codasip team, and have a large amount of respect for their engineering staff, I thought it imperative to comment on one aspect of their article: complex security landscapes are not made shallow when more eyes are focused on them. 

This concept, colloquially known as Linus' Law, posits that all flaws in complex (and open) systems are increasingly easy to observe, detect, and resolve as the number of users and engineers of that system increases. While this model does work for quality assurance (stability) purposes, it does not work well for subtleties that impact the security of complex systems. 

While there are many reasons why this mantra fails with respect to security models, I'll focus on one example for the purposes of this blog post: Linus' Law largely implies that bugs will reveal themselves.


Security is Not Stability

Linus' Law presumes one of two things will occur to diminish the total number of bugs in a complex system:
  1. Many engineers hunt for flaws in source code
  2. A subset of N users out of T total users will observe and report any given bug
While there are hundreds of engineers working on the Linux code base, they are often constrained within the technology they are focused on improving or implementing. Though these engineers can identify problems within their own ecosystem, they are largely focused on the source code of their implementation, not the resultant object code or machine code generated to run their source code, or the effects their code will have (and vice-versa) on multiple aspects of a running system. This level of visbility into a complex architecture is extremely challenging to acquire, and even more challenging to maintain. This is why, while many engineers submit patches to the Linux kernel, only a handful of engineers are authorized to actually approve code for inclusion into each branch of the kernel. Put simply, only a few individuals are capable of observing complex security flaws, and these individuals are largely bogged down by engineering tasks that do not include the overarching analysis of subtle behaviors in the context of security. 

Yet, this point describes bugs that can be found easily prior to inclusion into the release of a kernel version. But, what happens when a bug does get through these checks and balances and ends up in the wild? This is where the many users part of Linus' Law comes into play. Someone, somewhere, out in production, will observe anomalous behavior. Hopefully, this user (or users) will also report this issue to the kernel team, or their distribution maintainers. It's fine to presume this will occur, but this will likely only occur if the bug is actually triggered by the user. 

In the case of complex security flaws, they are almost never triggered in the wild on accident. Exploiting a complex security flaw usually only occurs with intent, not arbitrarily. If one piece of a complex set of bugs leading to a critical gap in system security is triggered accidentally, it may never be observed as a flaw impacting security unless a specific chain of flaws are triggered all at once, and in a particular order. This is highly improbable in the real world, and results in a lot of simple bugs either being ignored as irrelevant, or resolved in the context of stability and not flagged as security related, which affects who applies the patch and how quickly

This is why applications like Ubuntu's whoopsie are imperative, to ensure that even the simplest bugs are not ignored. But, it also requires the team reviewing whoopsie bug/crash reports to be capable of evaluating the risk of each flaw, then properly escalating the issue to someone with authority. So, there are still gaps even with this practice in place. 

Thus, as we can see, Linus' Law works well to ensure the stability of complex systems, but it is very inefficient at identifying and guarding users against security flaws. 


That Lonesome Road

The real resolution to complex security related issues is creating a team to perform a unified analysis of each technology used in a system, and the overarching interactions between the technologies that make up the whole system. Using this model, less long-term flaws can make their way into system releases, and the ones that do are more likely to be simple bugs that can be detected using the presumptions in Linus' Law. 

In addition, tools like Professor Martonosi's team's technology, and commercial tools like Tortuga Logic's silicon security utilities, can greatly assist an internal security team, streamlining their workload and reducing errors by optimizing their time. 

This path, however, requires a long-term commitment to security, and an understanding that security is not a separate discipline from engineering, but is an effect of engineering stable systems. This is because a stable system is one that enforces rigid constraints around how data is accessed, stored, and processed. Insecure systems create arbitrary paths around these constraints, reducing the integrity of a system. Thus, any system with reduced integrity cannot be considered a stable system

Though it comes at a cost, the positive effects of implementing a security program are long lasting for both manufacturers and consumers, ensuring greater stability and system integrity for not only end-users, but for the global Internet. 

For more information on architectural security analysis, please reach out to Lab Mouse Security. We specialize in architectural security for embedded systems, from wearable IoT, to Industrial IoT, and more! 

Don A. Bailey
Founder and CEO
Lab Mouse Security

单亲家庭是指什么 614是什么星座 什么食物含维生素k最多 资产负债率高说明什么 理想主义是什么意思
今年9岁属什么 苏打水有什么作用 1025是什么星座 医学生规培是什么意思 吃完羊肉不能吃什么水果
支行行长什么级别 心脏增大吃什么药 舌头痛挂什么科 琴酒是什么酒 气血不足吃什么东西
空调为什么要加氟 经常偏头疼是什么原因 kub是什么检查 石英是什么 什么鸟好养
怀孕失眠是什么原因hcv8jop9ns6r.cn 拍ct挂什么科hcv7jop7ns1r.cn 连麦是什么意思hcv9jop7ns9r.cn 女人贫血吃什么补血最快hcv7jop9ns5r.cn 呦是什么意思hcv8jop8ns6r.cn
david是什么意思cl108k.com 什么茶降血糖hcv8jop9ns5r.cn 低密度脂蛋白胆固醇高是什么意思hcv9jop6ns5r.cn 什么情况打破伤风wuhaiwuya.com la帽子是什么牌子hcv7jop6ns9r.cn
日本樱花什么时候开hcv8jop5ns5r.cn 鳝鱼吃什么hcv8jop1ns1r.cn 皮肤瘙痒用什么药aiwuzhiyu.com 冰火两重天是什么意思hcv8jop5ns2r.cn 康乃馨的花语代表什么hcv7jop9ns9r.cn
泌尿感染吃什么药hcv9jop6ns5r.cn 催经吃什么药hcv9jop0ns9r.cn 八七年属什么的520myf.com 青榄配什么煲汤止咳做法hcv9jop0ns4r.cn 什么叫脂溢性皮炎hcv9jop6ns5r.cn
百度