<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jonathon Grigg on Medium]]></title>
        <description><![CDATA[Stories by Jonathon Grigg on Medium]]></description>
        <link>https://medium.com/@jonathongrigg?source=rss-aff5724bb98e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QjIlBU0fPrM581H_iQ6CpQ@2x.jpeg</url>
            <title>Stories by Jonathon Grigg on Medium</title>
            <link>https://medium.com/@jonathongrigg?source=rss-aff5724bb98e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 05:51:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jonathongrigg/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Meltdown and Spectre: what are they and what should I do?]]></title>
            <link>https://medium.com/hackernoon/meltdown-and-spectre-what-are-they-and-what-should-i-do-39c0957e307b?source=rss-aff5724bb98e------2</link>
            <guid isPermaLink="false">https://medium.com/p/39c0957e307b</guid>
            <category><![CDATA[meltdown]]></category>
            <category><![CDATA[respect]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Jonathon Grigg]]></dc:creator>
            <pubDate>Thu, 04 Jan 2018 08:32:27 GMT</pubDate>
            <atom:updated>2019-05-03T04:33:37.774Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MNZxBb6ODBiTtitK0K3f4g.png" /><figcaption>Example code demonstrating the Meltdown attack (<a href="http://meltdownattack.com/">http://meltdownattack.com/</a>)</figcaption></figure><p>A coordinated disclosure overnight brought forth details of two large vulnerabilities affecting nearly all computer users worldwide. This comes after days of mounting speculation online following benchmarks of an unexplained bug fix reportedly causing performance losses of anywhere from 5 to 30% depending on the task at hand.</p><p>Discovered independently by separate teams of researchers from Google’s Project Zero, German <a href="https://hackernoon.com/tagged/security">security</a> firm Cyberus Technology and several universities worldwide, these vulnerabilities been dubbed <a href="https://hackernoon.com/tagged/meltdown">Meltdown</a> and Spectre, in part owing to their severity and pervasiveness.</p><p>If you own a computer, mobile phone or any other device made in the last 20 years, this is likely to affect you. The good news is that updates to help mitigate the affects of these vulnerabilities are rolling out now and will continue to do so over the coming weeks. The bad news is that to a certain extent, these attacks exploit the fundamental architecture of modern processors and so are likely to require entirely new hardware to completely fix it.</p><p>Right now, the best thing you can do to help protect yourself is to install any updates for your operating system, web browsers and other critical pieces of software as soon as they become available. We should all be updating our software regularly anyway, but this is not always the case as we saw with the WannaCry ransomware attacks in 2017, an incident that could have been easily prevented by a Windows bug fix that had been available for nearly 2 months. Expect a similar story to play out again in the coming months as malicious actors take advantage of those who haven’t updated their systems. <br> <br>I’ll include links in the footer to relevant updates and will endeavour to update this list as more information becomes available.</p><p>So having got that out of the way, what are these attacks exactly and how do they work?</p><p>At their core, Meltdown and Spectre allow an attacker to access computer memory that they ordinarily would not be able to. Additionally, the Meltdown vulnerability which specifically affects nearly all Intel processors, allows arbitrary access to ‘protected’ memory, an outcome that fundamentally breaks the security systems put in place in modern operating systems. Using this unrestricted memory access, an attacker can easily read passwords and other sensitive data that was previously assumed safe from prying eyes, even though it is kept “secure” by current best practices.</p><h3>Michael Schwarz on Twitter</h3><p>Using #Meltdown to steal passwords in real time #intelbug #kaiser #kpti /cc @mlqxyz @lavados @StefanMangard @yuvalyarom https://t.co/gX4CxfL1Ax https://t.co/JbEvQSQraP</p><p>To do this, both Meltdown and Spectre take advantage of speculative execution, a feature introduced in the 90s and used by processors to speed up execution of programs. To try and explain how this works, imagine you and a friend are walking through the bush and you reach a fork in the trail. You’re not sure whether you need to go left or right, so your friend pulls out a map and tries to figure out where you are and which way you should go. Now, knowing your friend, this could take a while to get an answer, and the track you’ve been following requires you to clear branches out of the way as you go. Without speculative execution, you’d stay with your friend until you knew the correct way to go, but in your mind that’s just wasting time. Instead, as an impatient speculative executor, you decide that there’s a good chance the correct path is the one on the right and so while your friend is still busy at the fork, you’re marching ahead to clear the way. This could turn out to be the wrong path, in which case you’d be able to quickly run back along the cleared track to the fork and take the other path with your friend, clearing it as you went much like if you’d just waited. Or it could be the correct path, in which case you’ve saved time by clearing the track in advance and your friend quickly catches up to you.</p><p>A similar story is playing out in your computer with the processor or CPU. The processor reaches a fork that depends on some value. Accessing the RAM where this value is stored takes a (relatively) long time, so while that’s happening the processor takes a chance at one of the outcomes and carries on it’s way. If it was the right choice, life is good and your computer is faster as a result, but if not, the incorrect work is quickly thrown away and the correct path is taken. This sort of out of order execution is great in theory, as it allows the processor to be doing something at all times rather than sitting idle, but there are some subtle nuances with it’s implementation that are causing the issues we are now seeing.</p><p>Within your computer there are several different types of memory, each with a different order of magnitude of speed. As a general rule, the faster the memory is, the less you’ll have of it. One of the fastest types of memory in your computer is it’s cache, and it’s small — the fastest cache often only stores 32kb of data (a mere fraction of a photo from your phone for example). Now, your computer likes to be able to access the information it needs quickly and so it tries to keep useful data in this fast cache for quick access. Unfortunately what constitutes useful data is often hard to predict in advance, so most processors make the assumption that if a piece of data was recently used then it is more likely to be used again in the near future and will store it in the cache. Just like speculative execution before, this is a good thing for making your computer faster and in theory shouldn’t cause any trouble.<br> <br>Now we get to combine our two favourite CPU optimisations. As a result of speculative execution, the processor reaches a fork and continues down one path in anticipation. Whilst doing so, it’s accessing more values from memory and some of these will end up stored in the much faster cache in order to speed up subsequent use. It may turn out that this was the wrong path, and the processor goes back and follows the correct one, discarding the incorrect work it did along the way. However, the values loaded into the cache are kept there because they might still be useful in the correct path, and because nothing else has yet been loaded that could replace it. This is where the fun begins.</p><p>What happens next is tricky for me to explain in detail, so I’ll do my best to convey the general idea in a somewhat accessible manner that’s hopefully still true to the underlying principles.</p><p>An attacker can construct a program that will try to access protected memory in a branch (our fork in the trail from earlier) that the processor speculatively executes. During ordinary, non speculative execution, the protective measures in place to stop such unauthorised memory access would prevent the data from being accessed and loaded into the cache. However, during speculative execution these measures are only applied once the branch has been verified as the correct one to follow. If the attacker ensures that the branch containing this protected memory access is not the correct branch, then these permissions are never checked, but the requested value is still loaded as mentioned earlier.</p><p>While direct access to the newly loaded data in the cache is not possible, it is possible for a cleverly constructed program to load different items into memory in a perfectly legal way based off the protected value. For example, during speculative execution I might load memory “box” 10 if the protected value is a 0, or load memory “box” 11 if it’s a 1 (for simplicity let’s say it can only be these two values for now). Once the processor has determined that it shouldn’t follow the branch and has continued normal execution, the attacker can measure the time taken to load memory “box” 10 and 11. Since only one of the boxes should have been loaded previously, one box should load significantly faster as it’s already in the cache where as the other is in a slower form of memory. Congratulations, you’ve managed to leak protected data despite the various measures typically employed in your computer to stop you from doing so. Rinse and repeat to potentially expose all the data in memory on your computer.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FbReA1dvGJ6Y%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbReA1dvGJ6Y&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FbReA1dvGJ6Y%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1750deb13175e79b648588bd74718170/href">https://medium.com/media/1750deb13175e79b648588bd74718170/href</a></iframe><p>These sort of attacks are known as side-channel attacks, and rely upon physical phenomena to glean extra information out of a system. In this case, Meltdown and Spectre are timing based side-channel attacks, using the fundamental properties of different hierarchies of memory in a modern computer system. As mentioned earlier, this makes them especially hard to fix since they’re a property of a physical device rather than a logical error in a sequence of instructions for a piece of software.</p><p>The Intel specific Meltdown bug relating to highly privileged memory access is more easily fixed in software, and the fixes for this are currently being made available. You might see the names KPTI or KAISER thrown around in update descriptions. These relate to Meltdown so please install them as soon as possible.</p><p>Mitigations for Spectre are a more troubling situation. Not only does it potentially affect your computer, but also your phone and any other modern computing device regardless of the processor inside. Minimising it’s impact is going to take time and effort from software companies around the world. At high risk are web browsers like Chrome, Firefox and Safari, as code executed by a webpage can potentially trigger the vulnerability. Browser updates with various mitigations are due out in the next few weeks, but there are ways to enable some of these now. Details for these are in the footer and I will do my best to update them as required.</p><p>Long story short, there’s a couple of serious design flaws in almost all modern processors that allow arbitrary memory access, potentially revealing sensitive information like passwords and encryption keys to an attacker. It’s going to take a while to fix everything properly, so in the interim make sure you install any updates as soon as they become available. These attacks were first disclosed to relevant organisations like Intel as far back as 6 months ago. Given that multiple independent groups were part of the disclosure, there’s a chance that these vulnerabilities were also discovered by other groups and potentially weaponised to steal data already. As such, the usual security advice applies — avoid dodgy looking downloads and websites, keep an eye out for suspicious activity emails like password resets and ensure you’re using strong, unique passwords for each website. I’ve found password managers to be super helpful with this, and I’ll link my current choice down below.</p><p>I hope that this explainer has been useful in understanding what’s going on with these recent vulnerabilities. Whilst putting this together, I’ve been keeping an eye on the mainstream news here in Australia and this has barely registered. Meanwhile, the pace at which people around the world are playing with these exploits and sharing their findings is staggering and it won’t be long before some real damage takes place. I imagine we’ll be hearing a lot more about Meltdown and Spectre in the coming days and weeks, so update your devices, get those around you to do the same and then grab some popcorn.</p><p><strong>Further reading</strong></p><p><a href="https://meltdownattack.com/">https://meltdownattack.com</a></p><p>I highly recommend the use of a password manager to keep track of strong, unique passwords for all your logins. My current password manager of choice is RememBear (<a href="https://www.remembear.com/">https://www.remembear.com</a>)</p><p><strong>Updates you should apply:</strong></p><p>Windows:</p><p><em>Microsoft is in the process of rolling out an update via Windows Update and should be available around January 9 </em><a href="https://www.theverge.com/2018/1/3/16846784/microsoft-processor-bug-windows-10-fix">https://www.theverge.com/2018/1/3/16846784/microsoft-processor-bug-windows-10-fix</a></p><p>MacOS:</p><p><em>Apple issued a partial fix in MacOS 10.13.2 (check using the Apple icon &gt; About This Mac). Further fixes are apparently coming with 10.13.3 in the near future.</em></p><p>Chrome:</p><p><em>Chrome 64, due on January 23, will contain mitigations. In the interim, the “Site Isolation” setting can be enabled by following the instructions at </em><a href="https://support.google.com/faqs/answer/7622138#chrome"><em>https://support.google.com/faqs/answer/7622138#chrome</em></a></p><p>Other pieces of software should be updated as required.</p><p>2018 is the year I try and do something a bit different. Follow along with my other creative endeavours on <a href="https://www.instagram.com/hadenhiggs/">Instagram</a> or <a href="https://youtube.com/channel/UCe_ENjWUUNccTyCfBXqfHlQ">YouTube</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fdde502%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fhackernoon%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href">https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39c0957e307b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/meltdown-and-spectre-what-are-they-and-what-should-i-do-39c0957e307b">Meltdown and Spectre: what are they and what should I do?</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Take it easy: knowing when to relax]]></title>
            <link>https://medium.com/@jonathongrigg/take-it-easy-knowing-when-to-relax-48df60d6ae03?source=rss-aff5724bb98e------2</link>
            <guid isPermaLink="false">https://medium.com/p/48df60d6ae03</guid>
            <category><![CDATA[self-awareness]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Jonathon Grigg]]></dc:creator>
            <pubDate>Mon, 01 Jan 2018 09:15:33 GMT</pubDate>
            <atom:updated>2018-01-01T09:15:33.802Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s mid afternoon on January 1st, 2018 and here I am feeling unhappy with myself. To understand why, I tried to step back and actually think about what I wanted to do with my day and what I’ve done.</p><p>Since I arrived home for Christmas, my daily goals were to make a new video about anything, eat well and spend at least 30 minutes working up a sweat (and not just because it’s summer here). That’s exactly what I have been doing for the past week and today was no exception. By any metric, that makes this a good day and a great start to 2018.</p><p>Yet I couldn’t help but feel as if I hadn’t done enough, that today hasn’t been a good day. I think part of it is that I’m exhausted, leaving me vulnerable to irritation by the smallest of annoyances. After nearly 2 years of being near constantly busy I’ve finally realised that taking a break is crucial to my health, yet I can’t quite bring myself to live up to that. Even now, I’m writing this piece rather than resting up – a hypocritical act I know.</p><p>Don’t get me wrong, I think a busy life is a life well lived, but knowing when we have done enough to deserve a break is crucial to the happiness of ourselves and of those around us. So stop and think about what you’ve already managed to do, and give yourself some well deserved time off to relax and unwind. Speaking of which, I’m off for a walk along the beach.</p><p>2018 is the year I try and do something a bit different. Follow along with my other creative endeavours on <a href="https://www.instagram.com/hadenhiggs/">Instagram</a> or <a href="https://youtube.com/channel/UCe_ENjWUUNccTyCfBXqfHlQ">YouTube</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48df60d6ae03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The ALS Ice Bucket Challenge]]></title>
            <link>https://medium.com/@jonathongrigg/the-als-ice-bucket-challenge-9e807e37fca?source=rss-aff5724bb98e------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e807e37fca</guid>
            <dc:creator><![CDATA[Jonathon Grigg]]></dc:creator>
            <pubDate>Mon, 25 Aug 2014 12:57:43 GMT</pubDate>
            <atom:updated>2014-08-27T09:19:34.124Z</atom:updated>
            <content:encoded><![CDATA[<p>Or the first time I’ve seen kids my age get actively involved with charity</p><p>There are moments in life where you can’t quite believe what’s happening. Times when the right things seem to happen for the right reasons. Serendipity. These moments don’t occur often, but when they do it’s a spectacle to behold. I am, of course, talking about the relatively recent ALS (or Motor Neuron Disease in Australia) Ice Bucket Challenge that has come out of nowhere and drenched the world one bucket at a time. Criticise it all you like for ‘wasting water’ or ‘being focussed on the individual’, but at the same remember that the challenge has gone where few charity appeals have gone before and done so with aplomb.</p><h3><strong>1. It’s gone mainstream</strong></h3><p>Raising awareness of a charity cause is a tough call. Heck, raising awareness of anything isn’t a walk in the park, just look at how much is spent annually on advertising! Unlike many other campaigns before it, the ALS Ice Bucket Challenge has managed to spread like wildfire through a combination of social and traditional media. Fortunately this spread was authentic and natural, not forced like many corporate endeavours in today’s social media laden society. True to it’s name, reaching mainstream status brings an influx of new people who may have not otherwise discovered the cause on their own, or who wouldn’t give it a second thought if it was just something they brushed past on a website. While awareness on it’s own doesn’t necessarily translate directly into change, it does at least increase the likelihood of donations which may otherwise not have been made. For a problem to be fixed it first needs to be made known to those who can help fix it!</p><h3>2. It’s become ‘cool’ to get involved</h3><p>This is where the ALS Ice Bucket Challenge really shines, and that is in involving vast numbers of people who normally wouldn’t get involved with charity for fear of their social status, however misguided that may be. One such group that I have been exposed to is my fellow high school peers, and the response here is unlike anything I have seen.</p><p>The number of people participating in the challenge in the past day or two has been phenomenal. I would estimate that within my circle of Facebook friends maybe 20 people have done it today. Without going into any maths, the nomination of 3 friends to join in means that everyone feels included in the movement and the combination of the ease and speed of actually dumping the icy water on your head helps to ensure that these people can actually undertake the challenge once nominated.</p><p>Even more surprising is that people are talking about it in real life. I was sitting on the bus this afternoon and overheard people in other year groups talking about how they had been nominated by their UK relatives or didn’t want to do it and so would probably ‘just donate’ so they didn’t have to face the judgement of their peers. Some people take it further and donate money as well as undertaking the challenge which is of course a wonderful thing to do. In short, it brings out the best in the people around you, many of whom you normally wouldn’t associate with such acts of generosity.</p><h3>3. It gives people something they can actually do in the name of charity</h3><p>These days it is ever easier to spend money online and this results in a disconnect between our money and what we spend it on. As such, throwing money at a problem lacks emotional ties and is easily forgotten. By attaching something fun and light yet laughably unpleasant to potential donations, the ALS Ice Bucket Challenge is sure to maintain awareness of the disease and any progress in the longer term.</p><p>It’s actually quite hard to explain how I feel about the ALS Ice Bucket Challenge. It’s a mix of pride in humanity, joy as I witness my friends having a good time for a good cause and awe at how something like this just happened. Sure it’s not perfect, but it’s certainly made life a little bit better for all of us.</p><blockquote>Note: For those wondering, I am yet to do the challenge myself but I have been nominated in advance by a friend who is in preparations to do his shortly. Bring it on!</blockquote><p><strong><em>Update</em></strong><em>: I have now been drenched by a bucket of icy cold water and I must admit it isn’t that bad. Then again it wasn’t really windy so it could have been far worse. Also just a couple of corrections to the original article (although I have left it intact above for completeness). It should be noted that it turns out the idea is to complete the challenge AND donate a smaller sum to charity too, but this part seems to be often overlooked and as such, much like a game of Chinese whispers, the original message is lost over time. Let’s fix this, remember to donate as part of your challenge too!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e807e37fca" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>