| Line 7: |
Line 7: |
| | | | |
| | ==Process== | | ==Process== |
| − | With the push for electronics to operate at ever greater speeds, processors have begun using "speculative execution" in which they begin computing an expected task before the task has actually been assigned. Once started, it will be determined whether the expected task was correct or not. If the task was predicted properly, time is saved in the operation. If not, the thread must be dropped and it must start over, working on the task which was actually assigned. Although this may sound inefficient, predictions are often correct, so the management agent is able to complete tasks more quickly.<br /> | + | With the push for electronics to operate at ever greater speeds, [[Central processing unit|processor]]s have begun using "speculative execution" in which they begin computing an expected task before the task has actually been assigned. Once started, it will be determined whether the expected task was correct or not. If the task was predicted properly, time is saved in the operation. If not, the thread must be dropped and it must start over, working on the task which was actually assigned. Although this may sound inefficient, predictions are often correct, so the management agent is able to complete tasks more quickly.<br /> |
| | Unfortunately, by abusing the out-of-order processing of this "speculative execution," software is able to circumvent the system's protection of the kernel's memory addresses and gain direct access to the system's kernel. Once this access is gained, it can gather protected and sensitive information on what the operating system itself is doing, and on what some other programs are also doing. Almost anything processed by the computer could be potentially stolen.<ref name="meltdownattack.com Melt">https://meltdownattack.com/meltdown.pdf</ref><ref>https://www.scientificamerican.com/article/meltdown-and-spectre-expose-the-dark-side-of-superfast-computers/</ref> | | Unfortunately, by abusing the out-of-order processing of this "speculative execution," software is able to circumvent the system's protection of the kernel's memory addresses and gain direct access to the system's kernel. Once this access is gained, it can gather protected and sensitive information on what the operating system itself is doing, and on what some other programs are also doing. Almost anything processed by the computer could be potentially stolen.<ref name="meltdownattack.com Melt">https://meltdownattack.com/meltdown.pdf</ref><ref>https://www.scientificamerican.com/article/meltdown-and-spectre-expose-the-dark-side-of-superfast-computers/</ref> |
| | | | |
| − | <!--==Solution==
| + | ==Solution== |
| − | This vulnerability can be patched, In a few different ways. One method is to simply diable predictive processing, which would restore the originally intended processing method and once again prevent access the the kernel's protected memory.<ref name="meltdownattack.com Melt">https://meltdownattack.com/meltdown.pdf</ref> However, this comes at a cost. Since "speculative execution" was being used to increase processing speed, the removal of this feature will cause the devices to operate more slowly. Although Intel initially stated that this change probably would not have a noticeable impact on performance, Microsoft disagrees. They report that anyone using processors manufactured in or before 2015 will see a drop in speed.<ref>https://www.cnbc.com/2018/01/09/microsoft-says-meltdown-and-spectre-fixes-will-slow-some-pcs-down-significantly.html</ref><br /> | + | This vulnerability can be patched, In a few different ways. One method is to flush the cache used by the CPU every time it switched form processing kernel information to processing user information.<ref name="meltdownattack.com Melt">https://meltdownattack.com/meltdown.pdf</ref> Although Intel initially stated that this change probably would not have a noticeable impact on performance, Microsoft disagrees. They report that anyone using processors manufactured in or before 2015 will see a drop in speed.<ref>https://www.cnbc.com/2018/01/09/microsoft-says-meltdown-and-spectre-fixes-will-slow-some-pcs-down-significantly.html</ref><br /> Indeed, this mitigation tactic does come at a cost. Since caching is used by the CPU to improve performance, emptying the cache causes a noticeable slow-down in processing speed. Information which has been recently used is stored in the cache, and can be quickly accessed again as needed. However, all other information must be stored on the the [[Random-access memory|main memory (RAM)]] which is much slower to retrieve. When the cache is flushed, the processor must "stall" and wait for the needed data to be transferred from RAM. |
| − | There were also some problems when the patch was first released, which were reportedly preventing some computers from turning on. This interrupted the patching process.<ref>https://www.theverge.com/2018/1/9/16867068/microsoft-meltdown-spectre-security-updates-amd-pcs-issues</ref>--> | + | When this patch is implemented, users are seeing speed reductions in many of their devices. There were also some problems when the patch was first released, which were reportedly preventing some computers from turning on. This interrupted the patching process.<ref>https://www.theverge.com/2018/1/9/16867068/microsoft-meltdown-spectre-security-updates-amd-pcs-issues</ref> |
| − | | + | <!--CPID--> |
| | ==References== | | ==References== |
| | {{reflist}} | | {{reflist}} |
| | | | |
| | [[Category:Cybersecurity Vulnerabilities]] | | [[Category:Cybersecurity Vulnerabilities]] |