<?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 Rob on Medium]]></title>
        <description><![CDATA[Stories by Rob on Medium]]></description>
        <link>https://medium.com/@hyakuhei?source=rss-b04d131e1a28------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*9ZJJVH9NvBZ3mk-K.jpeg</url>
            <title>Stories by Rob on Medium</title>
            <link>https://medium.com/@hyakuhei?source=rss-b04d131e1a28------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 04:12:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hyakuhei/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[An introduction to SSH Certificates]]></title>
            <link>https://medium.com/@hyakuhei/an-introduction-to-ssh-certificates-b6fca71a0dfe?source=rss-b04d131e1a28------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6fca71a0dfe</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Rob]]></dc:creator>
            <pubDate>Thu, 11 Oct 2018 13:22:28 GMT</pubDate>
            <atom:updated>2018-10-12T09:17:57.922Z</atom:updated>
            <content:encoded><![CDATA[<h3>An introduction to SSH Certificates 1/2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iBRwufXPFSXPqu23KSpI5Q.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/VkpeYLQDnBI?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Fancycrave</a> on <a href="https://unsplash.com/search/photos/keys?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Badly implemented SSH management can cause a lot of harm, normally this is down to the use of keys and bad configurations. The not-well known SSH Certificate feature can help us build better, simpler SSH based access systems.</p><p>One of the most engaging talks at KubeCon America 2017 was presented by <a href="https://twitter.com/majorhayden">Major Hayden</a> and <a href="https://twitter.com/pczarkowski">Paul Czarkowski</a> on “Deploying Kubernetes without Scaring Off Your Security Team” — much of this focussed on using Ansible as a control language and a tool to demonstrate compliance with the heavy-weight internal compliance and controls that big enterprises often require.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_msyYSReB-YAk5qDAMU1EQ.jpeg" /></figure><p>During the Q&amp;A at the end of the session an audience member asked if the systems they discussed (i.e Ansible) can be used to help with SSH-Key rotation. The question was a reasonable one, the individual asking was struggling to manage SSH keys in a large Cloud. Systems like Ansible can be a sensible way of managing key rotation but at best they only solve the server side of the problem. Clients require the same level of control over key distribution and authorization. Additionally there are challenges related to point in time authorization that need to be solved by some other mechanism.</p><p>In this two part artcile I’m sharing why I believe that the correct way to manage SSH access is to <strong>replace keys with SSH certificates</strong>.</p><h4>SSH:</h4><p>If asked to describe SSH usage, the reader may well end up drawing an image like the one below. It includes the client (SSH) and server (SSHD) components of SSH as well as the private (id_rsa) and public (id_rsa.pub) keys.</p><p>Does the diagram below represent your mental model of how SSH works?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*5RCT3mFz-FwPFXBtNulA7A.png" /></figure><p>Unfortunately, a system that implements the diagram above is <strong>not robust enough</strong> to allow the client and server to converse securely. The server and the client don’t know anything about each other and as a consequence, there is no way for these machines to reliably identify each other. The communication channel between the client and server is at risk of being intercepted by a “man in the middle” or MITM — this is a very real issue, we use SSH to protect us against eavesdroppers on the network, that is the primary function of SSH.</p><p><strong>If we are choosing to use SSH then we are acknowledging that the threat is real</strong> yet so often the way we use it means that we end up with a usage scenario where we as the client do not verify that the server really is whom they claim to be. This can lead to a MITM attack where the attacker just pretends to be the server we wanted to connect to. That could easily look like the diagram below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*QVWGQkTwMGph_IJ5-nLNeA.png" /></figure><p>Once a “secure” connection is established the client is likely to send various other credentials along that wire to authenticate with the Server such as passwords or MFA tokens, all of which the Evil MITM can intercept and use to attack not only that server but perhaps other machines within the infrastructure.</p><p>Anyone who’s been around SSH for a while will be familiar with notifications similar to the one below. When attempting to log into a machine on the network it’s all too common a behaviour to simply accept the fingerprint of the machine as valid. The image below shows the warning you get from PuTTY (A windows SSH client) when connecting to a machine that it has not seen before — and therefore has no way to know if the server is really the one you wanted:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/479/0*mCpwnreOGvOqh32k.jpg" /></figure><p>SSH tries to protect us from making really bad errors. Often SSH Clients will remember the SSH key of a server once a connection has been established. In doing this, the key can be checked on subsequent connections and if it’s found to be different it’s possible that an attacker is trying to break into your connection. Users should take this message seriously but in a world of ephemeral architectures where machines are constantly reinstalled and moved around, users have become apathetic to warnings like the one below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*_TOAAw8VAyj9mikQ.png" /></figure><p>It can be hard to know if the server you’re connecting to is the one you want for two reasons: we might not have seen the server before or because the server’s key might have changed. The common way to manage this situation is to use your configuration orchestration system to manage key distribution — this can work but becomes brittle over time; it requires every server’s key to be communicated to every client in a consistent way. This issue is compounded by the fact that often, SSH is being used in emergency situations when configuration orchestration or other automated infrastructure elements may have failed.</p><p>Keeping users and servers up to date with all the SSH keys that are valid in an environment was a difficult challenge with physical infrastructure deployments. In a world of virtual machines and Cloud services where SSH keys change frequently, it’s almost impossible — leading to many organisations to passively accept the risk of not really knowing if they are connecting to the correct servers or if there is some man in the middle.</p><p>The orgasnisations that do a make a big effort here normally invest significant efforts in their configuration/orchestration as code platforms — for the purposes of moving our conversation along, we’ll call this “Magic”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*4Jx2GVs2JMAiHEpvYDnxHA.png" /></figure><p>The diagram above shows a pretty reasonable approach at solving the problem, the magic is taking care of making sure the server knows about the clients and the clients know about the servers. When we dig a bit deeper though we find that there’s a few problems with this process.</p><p>Every server needs to know about every client and likewise, every client needs to know about every server — this mapping creates huge known_hosts and authorized-keys files for large scale deployments. These lists have to be kept up to date for the system to operate effectively — a single machine missing an update to it’s authorized-keys can result in a later compromise.</p><p>Keeping these files up to date can be hard because key pairs (id_rsa / id_rsa.pub) should be created on the clients and servers that use them rather than be gifted to those boxes (the private keys should only ever exist on the endpoint)— this means that often our ‘magic’ has to reach out to each server and each client and retrieve their public keys. If a key has changed, or been added, then magic needs to push new known_hosts and authorized-keys files out to every machine in the infrastructure.</p><p>Every time a new user is added or a new employee on-boarded, every Server that access is required to must have it’s authorized-keys file updated. This process doesn’t scale very well at all and typically results in the use of “shared” keys — these remove an alarming amount accountability from the system and are in fact harder to manage, now when an employee leaves from the group it’s a big management headache to update the shared keys and distribute them to the group — often this simply gets overlooked.</p><p>Even when keys are not shared there are typically gaps in the process when an employee leaves or a machine is decommissioned — every other machine needs to have that users key removed in order to be sure that their access is removed. We know that these processes tend to have gaps and this is the reason that we need regular key rotation — we know that our mechanisms for dealing with individual keys are messy so we rely on regular whole-sale rotations to make sure edge cases get caught.</p><p>When key management practices brake down in this way, there are also significant issues that unmanaged keys remain active when they should not. This is a huge risk and includes abuse by 3rd parties (e.g ex employees) and the potential for accidental disclosure and subsequent abuse of keys through vectors like GitHub as was seen <a href="https://it.slashdot.org/story/13/01/25/132203/github-kills-search-after-hundreds-of-private-keys-exposed">recently</a>.</p><p>In my next post I’ll introduce SSH Certificates and discuss why I think that a lot more of us should be looking to use the Certificate feature of SSH to secure access to our systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*EvErtRlJzUhvuGC5_U4Lrg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6fca71a0dfe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Security Advisory: How To Protect Your Login & Admin Credentials]]></title>
            <link>https://medium.com/@hyakuhei/google-security-advisory-how-to-protect-your-login-admin-credentials-2b8242926003?source=rss-b04d131e1a28------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b8242926003</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Rob]]></dc:creator>
            <pubDate>Wed, 28 Mar 2018 16:51:23 GMT</pubDate>
            <atom:updated>2018-03-28T19:44:13.060Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*VYd4kv4AgjKaTOHhfKYI5w.png" /><figcaption>Google Security by <a href="https://dribbble.com/wakaba556">Wakaba</a></figcaption></figure><p>According to a recent presentation by Grzegorz Milka from Google, passwords remain the dominant, but least secure, form of authentication on the web.</p><p>Grzegorz was presenting at the Usenix Enigma conference in Santa Clara where he took the audience through the complex methods that Google employs to keep its users safe from several common forms of attack.</p><p>The most interesting part of this presentation was the research data that was presented; understanding the scope of password compromises at “Google-scale” seemed to capture a lot of attention from the audience.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FW2a4fRalshI%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DW2a4fRalshI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FW2a4fRalshI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/628b5668747816617c18c6d317b4b31a/href">https://medium.com/media/628b5668747816617c18c6d317b4b31a/href</a></iframe><p>Grzegorz took the audience on a brief tour of the black-markets for user passwords, malware and phishing kits and demonstrated that the technical bar is very low for any would be hacker who wants to get access to your information.</p><p>Recently Google’s dedicated security staff began collecting and researching publicly available password dumps. When analyzing the data they had discovered, they found <strong>67 million</strong> active Google credentials in their results!</p><p>Unsurprisingly, Grzegorz confirms that phishing campaigns are extremely effective in terms of gaining access to user credentials — compared to other basic methods; google observed that phishing is 500x more likely to succeed in getting an attacker access to users’ accounts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*8UL2_b_jcXyDAOJcFeedCQ.png" /></figure><p>The standard defence against phishing attacks is to add a second step verification (2SV) or second factor authentication (2FA) to the login process. Google has been offering these supplementary controls in a few different flavours for a while, however, the take-up of their Authenticator and SMS alerting platforms has been low;<strong> less than 10% of active Google accounts have 2FA or 2SV configured.</strong></p><h3>Phishing : Cat and Mouse</h3><p>Over the years, Google has used all sorts of algorithms and heuristics to try to quantify the “riskiness” of a login — was the user logging in at a strange time, from a strange place or in a strange way etc. Over time the effectiveness of these sorts of heuristics has reduced. Modern attackers rapidly respond to changes in the algorithms used by Google to detect malicious usage, their security operations team is in a constant game of cat and mouse with attackers.</p><p>When Google started looking at geographical information to judge the risk of an incoming login request, the phishing industry reacted immediately by updating their tools and frameworks. Around 83% of phishing kits now include geographic location harvesting. As a result, Grzegorz says that Google now rarely looks at geographic information when evaluating the risk of a login attempt.</p><p>These days Google uses dynamic risk assessments to decide if users logging in with a password should be challenged for additional verification. Google calls this “dynamic 2FA” and works by Google asking the user for additional information, such as providing SMS codes, Google Authenticator, Google Prompts etc.</p><p>I have briefly reviewed the four primary methods of performing two step verification and multi factor authentication with Google. Other methods and vendors are available but most of the general points around advantages and challenges hold true and it’s useful to review in the context of Google because they offer all of these solutions for their customers:</p><h4>2SV: SMS code</h4><p>By far the easiest and most ubiquitous control available — SMS codes work by the login system sending a SMS code to the registered mobile phone number for their users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/271/1*AWufyG59wTXPuQn0PzLOhQ.png" /></figure><p>The biggest advantage of SMS codes is that for the most part, they just work — they don’t require any additional training on the part of the user — a great solution for organisations dealing with the general public; banks, retailers etc.</p><p>Unfortunately SMS codes provide a limited degree of protection against advanced phishing attacks. In a recent article on TechCrunch, John Biggs described how his email was hacked, despite having SMS code’s turned on.</p><p>Most successful hijackings of high-value accounts that Google maintained involve breaking the SMS code — some 10% of breaches involving high risk accounts at Google took place where SMS codes were enabled. Although there are many ways to subvert the process, SIM hijackings (subject of a future post) seem to be the most prevalent; Lorrie Cranor, the FTC Chief Technologist, stated that <strong>there were 2,658 phone hijackings across the USA in January 2016!</strong></p><h4>2SV: Google Prompt</h4><p>As mobile operating system vendors, Google and Apple have made great use of their platforms to help secure their users. Each has slightly different systems for informing the user that potentially suspicious activity is taking place with their account and providing a simple mechanism for the user to approve/deny the activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*AEDcGxbKYPhjK2aSAR0skg.png" /></figure><p>This mechanism is more flexible than SMS codes and doesn’t suffer from the same technical issues that SMS does. It’s the easiest 2SV solution to use however, the reason it’s second on this list is because the bar for entry is higher — it requires a user to have an appropriate android device or app to be installed on iOS and be signed into Google.</p><h4>2SV: Google Authenticator</h4><p>Authenticator is a great tool, it allows you to add a second-step of verification to many websites, including Google services. It works by first establishing a secret key with the site, typically represented as a QR code. The site will only share this with you once, from that point on, the site will ask you to enter a code, derived from that secret, in order to log in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*haAvG-N-IeUmUA10iNAatg.png" /></figure><p>I really like Google Authenticator, it has made second-step verification really simple for developers to implement in their projects. <strong>There are thousands of websites that use Google Authenticator to provide 2SV protection for their customers today.</strong> Outside of the world of full two factor authentication, this is probably the most robust security option available today. Of the three 2SV technologies described in this blog, it’s technically the most difficult to implement too.</p><h4>2FA: Google Advanced Protection</h4><p>Of all the options that Google offers to enhance login protections for your accounts, Google Advanced Protection is the only one that is a true two factor authentication (2FA) solution.</p><p>With this level of protection users must purchase a pair of physical tokens that are used to interact with Google’s services — this allows Google to make the assertion that to access their services you must physically poses a 2FA token — Google Authenticator doesn’t count in this regard because a sufficiently advanced remote attack could probably compromise Authenticator while it ran on your phone — the same cannot be said for true 2FA tokens.</p><p>The need to use physical tokens makes Google Advanced Protection the most secure option for Google customers, it also makes it the most cumbersome which is why Google recommends it only for users who are at high risk of account compromise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*obTDRL6luCEmpNPG1mBCzA.png" /></figure><p>When a user switches on Advanced Protection the other security services that they may have enabled (like SMS codes) will cease functioning — users will then require their physical tokens to access Google services.</p><p>Unlike the RSA tokens of old where users would be required to carry and individual token for every site they required access for, Google Advanced Protection uses <a href="https://en.wikipedia.org/wiki/FIDO_Alliance">FIDO</a> tokens for access —which means the same token can be used for any service that supports <a href="https://www.yubico.com/solutions/fido-u2f/">universal second factors (U2F)</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nDgZXAu5gQ3bo24hx-GOzQ.png" /><figcaption>U2F solves the multiple token problem that inhibited 2FA in the past</figcaption></figure><p>The reason that the use of physical tokens provides an enhanced level of security over mobile phone based systems is that it requires an attacker who desires persistent access to steal a physical device, there’s no mechanism for an attacker to exploit this. Unfortunately there are severe usability challenges that make this technology impractical for a lot of users, if you lose your keys then you have lost access to your account, possibly permanently— which is why Google stipulates that while the feature is available to everyone, it is most appropriate for those users who are at high risk for compromise.</p><h3>Secure your accounts</h3><p>Second step verification technologies such as SMS codes, Google Prompt and Google Authenticator do not provide users with full 2FA protection, but they massively raise the bar on attack complexity and protect all but the highest risk users from attack. At a bare minimum, everyone should enable SMS codes, they’re simple to understand and simple to use for even for the technophobic. <a href="https://support.google.com/accounts/answer/1085463?hl=en&amp;ref_topic=2954345">Click here to get more information on how to setup SMS codes and Google Prompt.</a></p><p>For the more technical user I’d recommend setting up Google Authenticator and using it not only with Google services but any other service (Github, PayPal, Dropbox, AWS etc) — it’s a simple way to add 2SV to many parts of your workflow and protecting not only your Google services but a whole host of other services that many users consume on a daily basis. <a href="https://support.google.com/accounts/answer/1066447?co=GENIE.Platform%3DAndroid&amp;hl=en">Click here to get more information on how to setup Google Authenticator.</a></p><p>If you have a good reason to be paranoid; you are a journalist, dissident, CEO or “they really are out to get you” then you should consider the added complexity of deploying true two factor authentication, which for google means deploying Advanced Protection, the uptake of U2F is growing and it’s likely that it will be as ubiquitous as Google Authenticator in the near future. <a href="https://landing.google.com/advancedprotection/">Click here to understand how to setup Google Advanced Protection.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b8242926003" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three Techniques For Squeezing Security Enhancements Into Products]]></title>
            <link>https://medium.com/@hyakuhei/three-techniques-for-squeezing-security-enhancements-into-projects-64360f957e1b?source=rss-b04d131e1a28------2</link>
            <guid isPermaLink="false">https://medium.com/p/64360f957e1b</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Rob]]></dc:creator>
            <pubDate>Thu, 08 Mar 2018 14:59:28 GMT</pubDate>
            <atom:updated>2018-04-04T20:04:14.189Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d9F4DWKvmZT3qdCs17pykw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/5otlbgWJlLs?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Andre Hunter</a> on <a href="https://unsplash.com/search/photos/anger?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>It’s often difficult to get security enhancements into products as they’re being built, it is challenging to prioritise hardening and security improvements against the never ending train of feature demands.</p><p>I think part of this stems from friction between developers and security practitioners. I think that the root of this friction likely comes from a misalignment of objectives between the security and development functions within an organisation. This has created a really painful situation for a lot of development and security teams alike. Sometimes this manifests in teams that “don’t have time” to work on security.</p><p>My approach to solving this problem has changed over the years. I used to think it was enough to articulate the risk to the organisation and communicate this “up the chain”. Over time I realised that while I saw the world only in terms of security assurance, the program managers, developers and product owners all had priorities that in their mind were the most important. It’s rare for an offering manager to be measured on something as intangible as security, it’s far easier (and more common) to measure them on features delivered.</p><p>The central theme to all three of my tips below is understanding what peoples’ objectives are, how to communicate effectively with them and how to provide systems that make it easier for them to deliver secure versions of those objectives.</p><h3>Security as a feature</h3><blockquote>Most of the time, something we build to make our offerings more secure would also be a desirable feature for our customers.</blockquote><p>Where possible find a way to make a security improvement into a feature that shows direct benefit to the customer or ecosystem that you are working on. Customer facing enhancements very often get higher priority on the project managers roadmap, as they are what the project manager is judged by.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o9A5uTcfWZ2nc3epHe_LRg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/X9fdmlGEo4Y?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">rawpixel.com</a> on <a href="https://unsplash.com/search/photos/whiteboard?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Security architects need to work closely with the program management groups in their organisations. They need to be part of the planning process and attend the meetings etc. When priorities are hard to quantify, security architects should look to the security outputs described later in this post — namely, can regulatory compliance be leveraged to push a security feature further up the stack ?</p><h3>Secure the path of least resistance</h3><p>Developers are busy, this means that often when faced with something mundane they will find the easiest way to tick it off the list and move on. This can lead to big security issues down the line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VV60PMIVzwkxrDDhVLkvlg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/-P3pkiSSFjU?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Norbert von Niman</a> on <a href="https://unsplash.com/search/photos/river?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Let’s take certificate management as a <a href="https://www.telegraph.co.uk/technology/2018/03/08/oculus-rift-virtual-reality-headsets-suffer-15-hour-outage/">prescient example</a>: I’ve never worked somewhere where either self signed certificates or expired certificates didn’t cause some sort of painful outage or security incident at some point. To address that at HP we built a system called <a href="https://github.com/openstack/anchor">Anchor</a> and introduced client tooling that made it easy to get a certificate that was recognised and valid for the environment you are working in.</p><blockquote>We built tools that made it easier to obtain a valid certificate than using google to find out how to cut a self signed one using OpenSSL.</blockquote><p>There are so many areas of low hanging fruit where we can secure the path of least resistance, there’s still a lot to be done around secrets management at the infrastructure layer, tools like <a href="https://www.vaultproject.io/">HashiCorp Vault</a> are helping but we still need to build wrappers or automation to make using these tools easier than say, storing keys in Github… Find that low hanging fruit, solve it with automation and tooling.</p><h3>Leverage “compliance”</h3><p>I’m not a fan of the disconnect that many companies have between their “compliance team” and their “security team”. I understand that in some situations there are good reasons to keep these teams decoupled but that does not mean that they should not be cohesive in their objectives or collaborate to create better outcomes for the business. Security teams should be building the technologies and processes that make life easier for developers, align with compliance controls and generate robust audit streams for the compliance team to review, evaluate and document.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tp9bRTOJr2UPe3fE4Uo7dg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/-8ttvM3Ca94?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Bruno Bergher</a> on <a href="https://unsplash.com/search/photos/road-landscape?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Your organisation probably needs various regulatory compliance certifications for its products/services. They’re useful for demonstrating to customers that you can do the security basics and they’re also a good litmus for comparing similar offerings.</p><blockquote>You’re going to need this to meet compliance requirements X,Y,Z and Z requires a 6 month evidence window — instead of doing that manually let&#39;s figure out how to roll it into a feature that adds value now and gets you compliance for free in six months…</blockquote><p>Good security should have outcomes beyond “we didn’t get hacked”. Pay attention to your compliance roadmap when considering features you can build into your roadmap or automation that can ease security pain for developers. What artefacts should this feature emit, what evidence does my automation need to generate, what other things can we do that will make compliance easier for everyone in the long run?</p><p>I’ve found that the spectre of regulatory compliance can be a fantastic way to engage with project managers. Compliance certifications are concrete deliverables that are often driven by sales requirements. A savvy security architect will find ways to meet these compliance requirements; by deploying technical security controls that benefit the wider product.</p><p>We probably all know that Compliance != Security, what I’m suggesting is that you can leverage Compliance to ratchet up security while making everyone (Developers, Security, Project Managers, Sales, Customers) a bit happier about the product.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64360f957e1b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is a security architect?]]></title>
            <link>https://medium.com/@hyakuhei/what-is-a-security-architect-a65d3b0c9707?source=rss-b04d131e1a28------2</link>
            <guid isPermaLink="false">https://medium.com/p/a65d3b0c9707</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Rob]]></dc:creator>
            <pubDate>Thu, 22 Feb 2018 15:02:01 GMT</pubDate>
            <atom:updated>2018-03-25T01:06:24.190Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*2LUGKlYyMthYbSZITdqVKw.png" /><figcaption>Tools Of The Trade by <a href="https://dribbble.com/mattandersondesign">Matt Anderson</a></figcaption></figure><h3>What is a Security Architect?</h3><p>It was my second year of university when I realised that I wanted to work in security, I just loved the problem space, the challenge of finding bugs and working out how to exploit them. My first job after university was working for the government helping to find bugs in software that was being built to support the military. This involved reviewing cryptographic implementations, system code etc. It was fun and I learned a lot about working in a consultant role with engineers and topics such as cryptography, networks and systems design. In the following years I worked as a security engineer, a senior security engineer, architect and senior architect. Now I lead a team of senior architects and other amazing professionals.</p><p>I consider myself a security architect — it’s a title that a lot of people in industry seem to be adopting at the moment. One of my <a href="https://techcrunch.com/2017/11/15/linkedin-rolls-out-its-career-advice-mentoring-program-to-us-uk-and-india/">LinkedIn Mentees</a> has recently decided to call himself an “architect” with just two years experience. I’m not sure that’s a good thing, I think title inflation can be dangerous. Certainly I’ve met a lot of self-described “security architects” who wouldn’t hold a candle to the men and women on my team. In this article I discuss the qualities I personally feel make someone a great security architect.</p><p>Generally speaking a security architect is someone in the IT security hierarchy who is more senior than an engineer but less so than the Chief Technology Officer (CTO) or Chief Information Security Officer (CISO). Depending on the organisation, there may be different levels of engineers and architects. For the purposes of this discussion. I’ve drawn a generic career ladder / org structure that we can use to discuss the different security roles out there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ltVButpSifkOqAY62rfptQ.png" /></figure><p>I accept there are lots of roles missing from this generic diagram, perhaps even entire career streams; but it should be generic enough for this discussion. Most of the time, a security architect is near the top of the technical tree. There are only a few of us. We are supported by a cast of security engineers, specialists and analysts.</p><p>Security architects should be able to set, and alter the course of an organisations security journey. I expect architects to be able to look at processes such as <a href="https://en.wikipedia.org/wiki/DevOps">DevOps</a> with it’s collapsed separation of duties and rapid deployments-to-production process; and work out how we build new policy, guidance and audit processes that enable the business to meet all of it’s security requirements. Then, security engineers can create useful tools, services and crucially automation to support the business mission.</p><p>I’m a strong believer that security has to include a code delivery component. For me that means working with security engineers to get things built that make life easier for our developer communities. I’m convinced that <strong>the best way to achieve security assurance is to secure the path of least resistance for developers. </strong>Architects should understand the needs of the business and developers, and work out ways for both to succeed.</p><p>In my time I’ve met a lot of people who call themselves security architects but not many who I would recommend for our team. The title of security architect can be very flexible. I’m sure there are exceptions but I think it’s unlikely that you’ll be a successful architect if you haven’t come up through some security engineering role first, the basics are just too broad.</p><h3>What a Security Architect isn’t</h3><ul><li>Someone who was previously an “architect” responsible for building systems and services who is now in a security role.</li><li>Someone who’s really good at plumbing existing security products together in order to build “solutions” for customers</li><li>Someone who works primarily in the medium of Visio</li><li>A project manager</li></ul><h3>Qualities every Security Architect should have</h3><p>I don’t expect Security Architects to be experts in any of these areas but they need to have a very good working knowledge of all these topics. I have built up a list of some 50 interview questions that we use to assess Security Architect candidates. Most are open-ended like “Describe how TLS protects the connection between a browser and a server”. This is a question almost anyone can answer to some degree. It allows me to dig deeper and look for depth on networking and cryptography.</p><p>My interview questions fall into a number of categories that an architect needs to understand. I’ve explained some of the most important ones here.</p><h4>Genuine Interest:</h4><p>You wouldn’t believe how many candidates fail to answer questions that demonstrate they take an interest in the industry: “Tell me about something that happened recently in the information security world that you found interesting” — it’s not a trick question, I just want to know that candidates are engaged with the industry.</p><h4>Business Awareness:</h4><p>A Security Architect should understand a lot about the business they’re trying to secure. They should have a working knowledge of cloud technologies, understand who the big players are, and the differences between their offerings. A good candidate looking for a role in my team will be able to describe what the security concerns and impact might be for an organisation looking to move from on-premises compute to public cloud. An excellent candidate will be able to explain how some clouds can improve the security of a number of different types of applications, depending on where they fit in the shared responsibility model.</p><h4>Basic Cryptography:</h4><p>Cryptography is the foundation of a significant number of security controls. Cryptography helps us to protect both the confidentiality and integrity of data in many ways. A good candidate will be able to explain the symmetric and asymmetric parts of a<a href="https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_7.1.0/com.ibm.mq.doc/sy10660_.htm"> TLS handshake</a>, and explain the difference between signing and hashing. An impressive candidate is able to explain the difference between stream and block implementations, and convey an understanding of code books and authenticated encryption.</p><h4>Distributed Systems / Software Design:</h4><p>Architects cannot work in ivory towers of academic correctness. We need to understand the compromises that teams make every day, in order to make things work. Security Architects should have strong opinions about the right way to build systems. Understanding common patterns for data ingestion, distribution, etc. is also very important. Good candidates can explain how we might implement distributed identity patterns, or how we trade consistency for availability in the light of network issues.</p><h4>Threats, Risks, and Modelling Both:</h4><p>Security Architects need to use the same terms as customers. For example, architects should be able to explain the difference between threats and risks. I look for architects who can understand what organizations need to protect, who they need to protect it from, and how that protection should work. Bonus points if the architect can walk through threat classification frameworks like<a href="https://msdn.microsoft.com/en-us/library/ee823878%28v=cs.20%29.aspx?f=255&amp;MSPPError=-2147217396"> STRIDE</a> or risk assessment models such as<a href="https://www.owasp.org/index.php/Threat_Risk_Modeling#DREAD"> DREAD</a>.</p><h4>Vulnerabilities and Exploitation:</h4><p>A good architect should relish the opportunity to take an afternoon off to play on some wargame or Capture the Flag (CTF) servers — I still do it from time to time. The reason is because we have to stay close to the basics. The day job may well involve more Powerpoint than C but when Spectre rolls around or Heartbleed rears its head, we have to be able to read the PoC’s and interpret the academic papers to understand how our organisation is affected. I expect architects to be able to describe basic buffer overflows, what one might look like, what happens to the stack and common protections. From there, we might talk about more low-level exploitation stuff like ROP or heap spraying. If the candidate is struggling, we’ll walk up the stack to talk about OS level exploitation and then web applications. A very good candidate will be able to explain the<a href="https://www.owasp.org/index.php/Top_10-2017_Top_10"> OWASP top 10</a> and what the common methods of mitigation are.</p><h4>Focussed on Collaboration:</h4><p>Think, would I want to work with this person every day? I learned a great piece of wisdom as an undergraduate, when the wonderful<a href="https://www.linkedin.com/in/clive-king-90a847/"> Clive King</a> of Sun Microsystems (now Oracle) presented to my class at university. Clive showed how being personable, approachable, and empathetic are extremely valuable qualities in a Security Architect. The Security Architect role requires lots of cooperation and engagement within the security organisation and the business they’re supporting. Unfortunately, I’ve met too many Security Architects who have gotten used to bossing teams around and generally developing a superiority complex.</p><h3>Should you be a Security Architect?</h3><p>If you’re interested in learning new things, sympathetic to the needs of developers and passionate about security then, yes, you probably should consider becoming an IT Security Architect. It takes time to develop the experience required, the areas of interest I’ve called out above are really just a sampling of what’s required.</p><p>Every architect on our team is different. Some are crypto-wizards but struggle with massively distributed systems. Some are ninjas at low level exploitation, but hate talking about identity systems. However, thanks to our technical breadth and willingness to engage in difficult problems; all of us are security generalists, eager to understand new concepts.</p><p>Does that sound like you? We need more Security Architects!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a65d3b0c9707" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>