<?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 The Cyber Hut on Medium]]></title>
        <description><![CDATA[Stories by The Cyber Hut on Medium]]></description>
        <link>https://medium.com/@simonmoffatt?source=rss-65056657998b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tKyEBcbNYMIYDsZxRCpxrA.jpeg</url>
            <title>Stories by The Cyber Hut on Medium</title>
            <link>https://medium.com/@simonmoffatt?source=rss-65056657998b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 04:03:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@simonmoffatt/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[Next Generation Distributed Authorization]]></title>
            <link>https://medium.com/@simonmoffatt/next-generation-distributed-authorization-302080edbfe?source=rss-65056657998b------2</link>
            <guid isPermaLink="false">https://medium.com/p/302080edbfe</guid>
            <category><![CDATA[authorization]]></category>
            <category><![CDATA[distributed]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[access-management]]></category>
            <dc:creator><![CDATA[The Cyber Hut]]></dc:creator>
            <pubDate>Tue, 16 Jul 2019 09:50:27 GMT</pubDate>
            <atom:updated>2019-07-16T09:51:22.434Z</atom:updated>
            <content:encoded><![CDATA[<p>Next Generation Distributed Authorization</p><p>Many of today’s security models spend a lot of time focusing upon network segmentation and <a href="https://www.thecyberhut.com/2019/04/how-to-build-authentication-platform.html">authentication</a>. Both of these concepts are critical in building out a baseline defensive security posture. However, there is a major area that is often overlooked, or at least simplified to a level of limited use. That of authorization. Working out what, a user, service, or thing, should be able to do within another service. The permissions. Entitlements. The access control entries. I don’t want to give an introduction into the many, sometimes academic acronyms and ideas around authorization (see <a href="https://en.wikipedia.org/wiki/Role-based_access_control">RBAC</a>, <a href="https://en.wikipedia.org/wiki/Mandatory_access_control">MAC</a>, <a href="https://en.wikipedia.org/wiki/Discretionary_access_control">DAC</a>, <a href="https://en.wikipedia.org/wiki/Attribute-based_access_control">ABAC</a>, <a href="https://en.wikipedia.org/wiki/XACML">PDP/PEP</a> amongst others). I want to spend a page delving into the some of the current and future requirements surrounding distributed authorization.</p><h3>New Authorization Requirements</h3><p>Classic authorization modelling, tends to have a centralised policy decision point (PDP)- a central location where applications, agents and other SDK’s call, in order to get a decision regarding a subject/object/action combination. The PDP contains signatures (or policies) that map the objects and actions to a bunch of users and services.</p><p>That call out process is now a bottle neck, for several reasons. Firstly the number of systems being protected is rapidly increasing, with the era of microservices, API’s and IoT devices all needing some sort of access control. Having them all hitting a central PDP doesn’t seem a good use of network bandwidth or central processing power. Secondly, that increase in objects, also gives way to a more mesh and federated set of interactions such as the following, where microservices and IoT are more common.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*bMAuwQSzij4jMCUe.jpg" /><figcaption>Mesh interactions between microservices and devices</figcaption></figure><h3>Distributed Enforcement</h3><p>This gives way to a more distributed enforcement requirement. How can the protected object perform an access control evaluation without having to go back to the mother ship? There are a few things that could help.</p><p>Firstly, we need to probably achieve three things. Work out what we need to identify the calling user or service (aka authentication token), map that to what that identity can do, before finally making sure that actually happens. The first part, is often completed using tokens — and in the distributed world a token that has been cryptographically signed by a central authority. JSON Web Tokens (<a href="https://en.wikipedia.org/wiki/JSON_Web_Token">JWTs</a>) are popular, but not the only approach.</p><p>The second part — working out what they can do — could be handled in two slightly different ways. One, is the calling subject brings with them what they can do. They could do this by having the cryptographically signed token, contain their access control entries. This approach, would require the service that issues tokens, to also know what the calling user or service could do, so would need to have knowledge of the access control entries to use. That list of entries, would also need things like governance, audit, version control and so, but that is needed irregardless of where those entries are stored.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*awDGYdUTpXVG2Y5Z.jpg" /><figcaption>Token issuer based distribution</figcaption></figure><p>So here, a token gets issued and the objects being protected, have a method to crytographically validate the presented token, extract the access control entries (ACE) and enforce what is being asked.</p><p>Having a token that contains the actual ACE, is not that new. Capability Based Access Control (<a href="https://en.wikipedia.org/wiki/Capability-based_security">CBAC</a>) follows this concept, where the token could contain the object and associated actions. It could also contain the subject identifier, or perhaps that could be delivered as a separate token. A similar practical implementation is described in Google’s <a href="https://ai.google/research/pubs/pub41892">Macaroons</a> project.</p><p>What we’ve achieved here, is to basically remove the access control logic from the object or service, but equally, removed the need to perform a call back to a policy mother ship.</p><p>A subtly different approach, is to pass the access control logic back down to the object — but instead of it originating within the service itself — it is still owned and managed by central authority — just distributed to the edges.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*YwKrOzWGOj_JEGmS.jpg" /><figcaption>Centralised design and distributed enforcement</figcaption></figure><p>This allows for local enforcement, but central governance and management. Modern distribution technologies like web sockets could be useful for this. In addition, even flat file systems like JSON and YAML, could allow for “repave and replace” approach, as policy definitions change, which fits nicely into devops deployment models.</p><p>The object itself, would still need to know a few things to make the enforcement complete — a token representing the user or service and some context to help validate the request.</p><h3>Contextual Integration</h3><p>Access control decisions generally require the subject, the object and any associated actions. For example <strong>subject</strong>=Bob, could perform <strong>actions</strong>=open on <strong>object</strong>=Meeting Room. Another dimension that is now required, especially within <a href="https://www.thecyberhut.com/2018/08/a-zero-trust-manifesto.html">zero trust</a> based approaches, is that of context. In Bob’s example, context may include time of day, day of the week, or even the project he is working on. They could all impact the decision.</p><p>Previous access control requests and decisions could also come into play here. For example, say Bob was just given access to the Safe Room where the gold bullion was stored. Maybe his request two minutes later to gain access to the Back Door is denied. If that first request didn’t occur, perhaps his request to open the Back Door is legitimate and is permitted.</p><p>The capturing of context, both during authentication time and during authorization evaluation time is now critical, as it allows the object to have a much clearer understanding of how to handle access requests.</p><h3>ML — Defining Normal</h3><p>I’ve talked a lot so far about access control logic and where that should sit. Well, how do we know what that access control logic looks like? I spent many a year, designing role based access control systems (<a href="https://www.thecyberhut.com/2009/11/automating-bad-process-doesn-make-it.html">wow, that was 10+ years ago</a>), using a system known as role mining. Big data crunching before machine learning was in vogue. Taking groups of users and trying to understand what access control patterns existed, and trying to shoe horn the results into business and technical roles.</p><p>Today, there are loads of great SaaS based machine learning systems, that can take user activity logs (logs that describe user to application interactions) and provide views on whether their activity levels are “normal” — normal for them, normal for their peers, their business unit, location, purchasing patterns and so on. The typical “access path analytics”. The output of that process, can be used to help define the initial baseline policies.</p><p>Enforcing access based on policies though is not enough though. It is time consuming and open to many many avenues of circumvention. Machine learning also has a huge role to play within the enforcement aspect too, especially as the idea of context and what is valid or not, becomes a highly complicated and ever changing question.</p><p>One of the key issues of modern authorization, is the distinction between access control logic, enforcement and the vehicles used to deliver the necessary parts to the protected services.</p><p>If at all possible, they should be as modular as possible, to allow for future proofing and the ability to design a secure system that is flexible enough to meet business requirements, scale out to millions of transactions a second and integrate thousands of services simultaneously.</p><p>Originally posted at <a href="https://www.thecyberhut.com/2019/07/next-generation-distributed.html">The Cyber Hut</a>, July 2019.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=302080edbfe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[12 Steps to Zero Trust Security]]></title>
            <link>https://medium.com/@simonmoffatt/12-steps-to-zero-trust-security-ab35ba7f827b?source=rss-65056657998b------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab35ba7f827b</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[access-control-systems]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[identity-management]]></category>
            <dc:creator><![CDATA[The Cyber Hut]]></dc:creator>
            <pubDate>Fri, 07 Sep 2018 13:35:26 GMT</pubDate>
            <atom:updated>2018-09-07T13:35:26.950Z</atom:updated>
            <content:encoded><![CDATA[<p>A Google search for “zero trust” returns ~ 195Million results. Pretty sure some are not necessarily related to access management and cyber security, but a few probably are. Zero Trust was a term coined by analyst group <a href="https://www.forrester.com/search?N=10001+21061&amp;sort=3&amp;everything=true&amp;source=browse">Forrester</a> back in 2010 and has gained popularity since Google started using the concept with their employee management project called <a href="https://beyondcorp.com/">BeyondCorp</a>.</p><p>It was originally focused on network segmentation but has now come to include other aspects of user focused security management.</p><p>Below is a hybrid set of concepts that tries to cover all the current approaches. Please comment below so we can iterate and add more to this over time.</p><ol><li><strong>Assign unique, non-reusable identifiers to all subjects [1], objects [2] and network devices [3]</strong></li><li><strong>Authenticate every subject</strong></li><li><strong>Authenticate every device</strong></li><li><strong>Inspect, verify and validate every object access request</strong></li><li><strong>Log every object access request</strong></li><li><strong>Authentication should contain 2 of something you have, something you are, something you know</strong></li><li><strong>Successful authentication should result in a revocable credential [4]</strong></li><li><strong>Credentials should be scoped and follow least privilege [5]</strong></li><li><strong>Credentials should be bound to a user, device, transaction tuple [6]</strong></li><li><strong>Network communications should be encrypted [7]</strong></li><li><strong>Assume all services, API’s and applications are accessible from the Internet [8]</strong></li><li><strong>Segment processes and network traffic in logical and operational groups</strong></li></ol><p>[1] — Users of systems, including employees, partners, customers and other user-interactive service accounts<br>[2] — API’s, services, web applications and unique data sources<br>[3] — User devices (such as laptops, mobiles, tablets, virtual machines), service devices (such as printers, faxes) and network management devices (such as switches, routers)<br>[4] — Such as a cookie, tokenId or access token which is cryptographically secure. Revocable shouldn’t necessarily be limited to being time bound. Eg revocation/black lists etc.<br>[5] — Credential exchange may be required where access traverses network or object segmentation. For example an issued credential for subject 1 to access object 1, may require object 1 to contact object 2 to fulfil the request. The credential presented to object 2 may differ to that presented to object 1.<br>[6] — Token binding approach such as signature based access tokens or TLS binding<br>[7] — Using for example standards based protocols such as TLS 1.3 or similar. Eg <a href="https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security/">Google’s ALTS</a>.<br>[8] — Assume perimeter based networking (either software defined or network defined) is incomplete and trust cannot be placed simply on the origin of a request</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab35ba7f827b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>