<?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 Thomas K. Fischer on Medium]]></title>
        <description><![CDATA[Stories by Thomas K. Fischer on Medium]]></description>
        <link>https://medium.com/@devsecarchitect?source=rss-ec869ef91fd1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Thomas K. Fischer on Medium</title>
            <link>https://medium.com/@devsecarchitect?source=rss-ec869ef91fd1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 04:29:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@devsecarchitect/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[How not to get Hacked. Security 101 for Startups.]]></title>
            <link>https://devsecarchitect.medium.com/how-not-to-get-hacked-security-101-for-startups-82d6c7b0a87e?source=rss-ec869ef91fd1------2</link>
            <guid isPermaLink="false">https://medium.com/p/82d6c7b0a87e</guid>
            <category><![CDATA[security-policy]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[it-security]]></category>
            <dc:creator><![CDATA[Thomas K. Fischer]]></dc:creator>
            <pubDate>Mon, 10 Jan 2022 14:48:28 GMT</pubDate>
            <atom:updated>2022-01-10T14:48:28.295Z</atom:updated>
            <content:encoded><![CDATA[<h4>Formalize Security I: Information Security Governance, Risk Management, and Compliance (GRC)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*29tbgiLp6gkG9tcE" /><figcaption>Photo by <a href="https://unsplash.com/@trolf?utm_source=medium&amp;utm_medium=referral">Tina Rolf</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Learn about the foundation you need for every security program:</strong> your security documentation hierarchy (Policies, Control Objectives, Standards, Procedures, Guidelines, Controls, Threats, and Risks), how to evaluate the information security risks your company faces, how to decide for adequate security controls (safeguards), and measure their effectiveness.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/0*EXBu2ubsZ-Hjrow9" /></figure><p>This article is part of a series that is intended for young companies that still build up their corporate structure, grow very fast, and need to mature their security posture quickly. For an overview of the series visit:</p><p><a href="https://devsecarchitect.medium.com/how-not-to-get-hacked-security-101-for-startups-information-and-cyber-security-43252d4e5b48">How not to Get Hacked: Security 101 for Startups</a></p><h3>Why do I need Policies or Controls for IT Security?</h3><p>If you deal with government agencies, banks, and large enterprises, they expect you to handle security in a structured way to keep their data safe, have a plan if something goes sideways, and test it regularly.</p><p>This is usually what a security program delivers you. But ever more often this is still not enough and your customers want proof that you have a grip on security. This is when security and compliance audits, like ISO 27001 or SOC 2 come into play.</p><h3>Corporate Governance and Oversight</h3><p>Governance is the system by which organizations are managed at the highest level, directed, and controlled to achieve their objectives. This includes systems (structures and processes) for decision making, accountability, control, and ethics.</p><p>ISO 26000 defines organizational governance as a “system by which an organization makes and implements decisions in pursuit of its objectives”. In most companies, this is done by the board of directors that makes decisions about the direction of the company. This comes with some duties too, like oversight, strategic planning, and financial planning.</p><p><strong>Direction and Planning</strong></p><ul><li>Establish an organization’s goals: vision and strategic direction</li><li>Define the relationship between stakeholders (board of directors, management, shareholders, etc)</li><li>Assign decision-making authority and define how decisions are made</li></ul><p><strong>Oversight of operations</strong></p><ul><li>Implementation of rules: policies, processes, ethics</li><li>Management of key risks</li></ul><p><strong>Control of delivery</strong></p><ul><li>Control of adherence to corporate, legal, and regulatory rules</li><li>Control of results based on reporting</li><li>Drive improvements and corrective actions</li></ul><p>Your board of directors can only make good decisions if they know about threats to their business and how likely they will become a real problem. This is called a risk.</p><p>Additionally, they need to work with due care and due diligence. This means they need to ensure compliance with legal, regulatory and contractual requirements. In many countries, the board of directors is even personally accountable.</p><p>This is where information security overlaps with risk and compliance management and your governance framework. After all information security is there to enable the business and support the business objectives. Managing your security threats is basic risk management. How you manage data is usually also regulated (i.e. GDPR for data related to EU citizens) and almost every type of data brings some legal or contractual requirements.</p><h3>Governance, Risk, and Compliance for Information Security</h3><p>A large part of your governance will be around IT, especially if you are providing services or building software. IT Security is for most companies one of the key parts of their Governance, Risk, and Compliance (GRC) efforts.</p><p>To make this work you need to establish and maintain</p><ul><li>an information security framework (describes what needs to be done)</li><li>supporting management structure (implements what needs to be done)</li><li>processes to provide assurance (checks if it was done properly)</li></ul><p>The goal of all this is to identify risks to your data (directly or indirectly), bring appropriate security safeguards (controls) in place, and ensure they are effective. Good governance also ensures that you know and follow all applicable laws and regulations.</p><h3>Your Information Security Vision</h3><p>Does your company already have an information security vision? That’s great — you have a good starting point. If not, you definitely should have one.</p><h3>Top-Down Approach</h3><p>You know the business vision, the policies that are important for you, and what drives the business and its culture. Where and how does security fit into all of this?</p><p>The core goal of security is to enable and support the business and make it sustainable in the long run. If your data gets stolen, most companies will struggle with the fallout. But on the other hand, security needs to be invisible and automatic to a certain degree to be widely accepted.</p><p>Find this sweet spot based on the core values, business drivers, and risk appetite of your company and describe it in the vision. If you want to work as a subcontractor for the military this will look quite different than if you are working on an open-source-based publicly available service.</p><h3>Security Documentation</h3><p>The security documentation has a clear hierarchy. It is abstract and sets the generic tone at the top (read: applicable laws, regulations, business requirements, and risk appetite are defined on your governance layer), and gets more specific with each step, down to procedures that give step-by-step instructions on how to implement a control activity.</p><h3>Governance Layer</h3><p>Your security documentation needs to be based on your organization’s core values. Your first reference should always be your governance and guiding principles documents.</p><p><strong>Governance:</strong> Board of Directors position; Direct and control decisions, actions, and behavior within the organization</p><p><strong>Guiding Principles: </strong>Summarizes what an organization stands for and what kind of behavior it wants to encourage</p><h3>IT Security Layer</h3><p>Based on your requirements from the governance layer and other external factors (i.e. contracts, legal and statutory requirements) you can build your security documentation — from the abstract high-level view (policy) down to the specific implementation (standards and procedures).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/0*jTCgacADPbiDe_Uy" /></figure><p><strong>Policies: </strong>Management’s position; Provides guidance for decisions; Serves as an implementation roadmap without technical specifications</p><p><strong>Control Objectives:</strong> Requirements that must be addressed for a policy, i.e. best practices, based on laws, contractual or regulatory requirements</p><p><strong>Standards:</strong> Set of rules and mandatory actions to further detail the policy; Details the technical requirements or products and settings to use.</p><p><strong>Controls:</strong> Safeguards or measures to prevent or reduce the likelihood of a vulnerability being exploited</p><p><strong>Procedures:</strong> Step-by-step guide on how to implement the policy or standard on a given device/environment.</p><h3>Example Document and Control Structure for Password Requirements</h3><p>The following table illustrates how the documents build on each other — from the very generic policy to the step-by-step instruction in the procedure document.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*Z83-TBvE7TBvc7FmO5-3Uw.png" /></figure><h3>Additional Documents and Metrics</h3><p>Many organizations have additional templates or configurations (baseline) or documentation (guideline) to make control implementation easier.</p><p>Metrics help you, later on, to measure if your control design is valid and effective.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*S_flTp0TlIajfKoBkn2lVw.png" /></figure><h3>Manage Your Risks</h3><p>IT Security is a part of your organization’s risk management, as everything we do in IT Security tries to mitigate the risk of somebody stealing your data, some event (i.e. disaster) destroying your data, interrupting your business, and other risk events from occurring.</p><p>And as with most risks in life, you can do a lot to reduce the likelihood, but in most cases, you cannot completely prevent it.</p><p>As an organization, you need a risk register (can be as simple as a spreadsheet for a startup or a full-blown risk management tool) to track your risks and how you handled them.</p><h3>Threats, Vulnerabilities, and Risks</h3><p>The basic formula to calculate your risk is</p><p><strong>Risk = Threat x Vulnerability x Asset (Impact)</strong></p><p><strong>Asset: </strong>Anything of value to your company — from people to computers to intellectual property.</p><p><strong>Threat:</strong> Anything (or Anybody) that can exploit a vulnerability. This can be intentional (e.g. hacker), unintentional (e.g. work error), or environmental (e.g. floods).</p><p><strong>Vulnerability:</strong> Known weaknesses or gaps in your protection.</p><p><strong>Risk:</strong> Potential for loss or damage of assets. Risk is defined as the damage caused to an asset by a threat (e.g. hacker) exploiting a vulnerability (e.g. unpatched security issue).</p><h3>Evaluate Your Risks</h3><p>Build a catalog of all the risks you are facing and do a qualitative (high/medium/low) or quantitative analysis (impact in $).</p><h3>Qualitative Risk Analysis</h3><p>In most cases, you do not have enough information to actually calculate a reliable value for the effects of a specific risk. This is where qualitative risk analysis comes in — basically, you take an estimated guess, but do it in a structured way, so you can compare risks with each other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/781/0*eJWuUd62WBoI3y2X" /></figure><p>This table is just an example and needs to be adjusted to your organization. If you just have $100k in the bank, a $300k event is no longer medium or high — it is an extinction-level event. If you are working with people (e.g. drivers, workers) you also need to include injuries and fatalities in the risk table.</p><h3>Quantitative Risk Analysis</h3><p>If you can put a number on the loss of an asset or the disruption of a process, you can calculate the quantitative risk. This is a number in a currency, e.g. USD, what it will cost you if this risk really happens.</p><p><strong>Risk = Probability x Loss in $</strong></p><p>You can break this down further, e.g. by using the formula preferred by (ISC)2 for their exams.</p><p>First, you calculate the financial impact of the threat materializing once, e.g. you are successfully attacked by a hacker once.</p><p><strong>SLE = AV x EF</strong></p><p><strong>AV = Asset Value: </strong>Physical and immaterial value of your asset, e.g. value of your data. You should also include associated costs, e.g. loss of productivity, cost of repair, law suites because of data loss.</p><p><strong>EF = Exposure Factor: </strong>Percent of damage to the asset if the threat materializes, e.g. 100% or 1 if the asset is destroyed</p><p><strong>SLE = Single Loss Expectancy: </strong>How much does it cost you if the threat materializes once?</p><p>Then you calculate how often you expect this to happen and how much it will cost you per year:</p><p><strong>ALE = SLE x ARO</strong></p><p><strong>ARO = Annualized Rate of Occurrence: </strong>How many times will it happen per year, e.g. 1 = once per year, 2 = twice in a year, 0.5 = every 2 years</p><p><strong>ALE = Annualized Loss Expectancy:</strong> How much does it cost you per year?</p><h3>How to handle risk</h3><p>You have only a limited number of options for what to do with risk:</p><p><strong>Avoid:</strong> Do not do the risky action! This is not always possible.</p><p><strong>Reduce / Mitigate:</strong> Implement some control(s) to reduce the risk. This almost always leaves you with some residual risk (almost never reduces the risk likelihood or impact to 0).</p><p><strong>Transfer:</strong> Buy insurance or subcontract someone else to handle the risk.</p><p><strong>Accept:</strong> You simply accept that the risk is there and move on without doing anything.</p><p>In most cases, your best option is to mitigate the risk (implement some security controls to reduce the risk). If you should do this and how much you should spend on it, depends on your risk analysis. The risk analysis should tell you the maximum impact of a risk. So don’t spend twice the money of the impact for a fancy security solution.</p><p>After you implement a security control, the risk has changed but is usually not zero. This is called residual risk. Residual risk needs to be documented and accepted.</p><p>Depending on the risk appetite of your organization (How much risk are you willing to accept?), you design your security controls to be very simple (big risk appetite) to quite complex (small risk appetite). Your Governance Layer (Governance Documents, Guiding Principles) should give you a good idea of how much risk your organization is willing to take.</p><h3>Practical Relation between Security Controls and Risk</h3><p>Every security control is associated with a starting risk (What was the risk before implementing the control?) and residual risk (What is the risk after implementing the control?).</p><p>Make sure you have a proper documentation system in place to check if your security controls cover all identified threats for all your assets and to document that the residual risk is really accepted. IT Security and risk management are always closely intertwined.</p><h3>Measure Effectiveness</h3><p>Once you have your controls in place, you need to collect data on their effectiveness. This helps you to evaluate if the control design is good, the effort needed to maintain the control, and in the end whether the control is worth it.</p><p>In the case of our password policy example, you can measure the number of failed password changes (due to users choosing too simple passwords) or the time between password changes.</p><p>Measuring the effectiveness of your controls shows you how the effectiveness of your control changes over time, which gives you a clear indication if you need more training and awareness for your users. It also helps you to identify poorly chosen controls, justify the time and money you spend on your security controls and can help ensure your controls are cost-effective.</p><h3>Get Assurance</h3><p>Up to now, everything we described is your best effort approach to get a secure environment. But how can you be sure you didn’t miss anything? And how can you prove this to your customers? You need to get assurance that your controls actually work.</p><p>This is where audits come in as an instrument to do a self-assessment if everything works as it should (internal audit), to get a report or confirmation (e.g. works as designed in SOC3 reports), or to get a full assessment with an auditors opinion (e.g. is properly designed without obvious flaws in SOC2 reports) by a trusted 3rd party (external audit).</p><p>At the beginning of this series, we talked about ISO27001 or SOC2. The audit reports for ISO 27001 and SOC2 are assurances by external auditors that you did your homework properly.</p><p>They are usually most helpful not for you directly, but for your customers as they can base their due diligence on those assurances. This is the reason many large organizations make some kind of external audit reports a mandatory requirement for contracts. More often than not this is currently ISO 27001 and SOC2, but this can also be market-specific audit reports, like PCI-DSS.</p><h3>What’s Next</h3><p>This article explained what kind of documents you need to start and run a security program, how to integrate it with risk management, and check the effectiveness.</p><p>The next article in this series explains how to actually do this without reinventing the wheel by adopting existing security frameworks and control sets.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82d6c7b0a87e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How not to get Hacked. Security 101 for Startups.]]></title>
            <link>https://devsecarchitect.medium.com/how-not-to-get-hacked-security-101-for-startups-9362a4ec57d4?source=rss-ec869ef91fd1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9362a4ec57d4</guid>
            <category><![CDATA[nist]]></category>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[it-security]]></category>
            <category><![CDATA[iso]]></category>
            <category><![CDATA[soc2]]></category>
            <dc:creator><![CDATA[Thomas K. Fischer]]></dc:creator>
            <pubDate>Mon, 10 Jan 2022 14:48:24 GMT</pubDate>
            <atom:updated>2022-01-10T14:48:24.823Z</atom:updated>
            <content:encoded><![CDATA[<h4>Formalize Security II: How to Establish your Information Security Program</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G59iqmyBbcssB70T" /><figcaption>Photo by <a href="https://unsplash.com/@mitchel3uo?utm_source=medium&amp;utm_medium=referral">Mitchell Luo</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Learn about established frameworks and methods to implement your information security program: </strong>getting started with your information security policy, breaking it down into specific policies, establishing an information security management system (e.g. ISO 27000 series), and getting an overview of established security frameworks and control sets, who they are built for and what they cover.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/0*zvgR_QkeSXyvHeXn" /></figure><p>This article is part of a series that is intended for young companies that still build up their corporate structure, grow very fast, and need to mature their security posture quickly. For an overview of the series visit:</p><p><a href="https://devsecarchitect.medium.com/how-not-to-get-hacked-security-101-for-startups-information-and-cyber-security-43252d4e5b48">How not to Get Hacked: Security 101 for Startups</a></p><h3>Start with your Information Security Policy</h3><p>You can get this started with two simple steps: Get an Information Security Policy that outlines what information security needs to achieve in your company, and then build your Information Security Strategy on this.</p><p>Your Information Security Policy should act as an umbrella document that can include</p><ul><li>the overall goal of your security policy (e.g. to protect the confidentiality, integrity, and availability of your data)</li><li>responsibilities and expected behavior throughout your company</li><li>security risk assessment and mitigation requirements</li><li>security incident response requirements</li><li>continuous monitoring and continuous improvement requirements for the above</li><li>security awareness and education requirements</li></ul><p>If you don’t have an Information Security Policy yet, CIS provides templates based on NIST’s CyberSecurity Framework for the most common security-related policies and standards. Look in Section ID.AM-1 for Information Security Policy: NIST CSF Policy Template Guide [<a href="https://www.cisecurity.org/wp-content/uploads/2020/07/NIST-CSF-Policy-Template-Guide-2020-0720-1.pdf">https://www.cisecurity.org/wp-content/uploads/2020/07/NIST-CSF-Policy-Template-Guide-2020-0720-1.pdf</a>]</p><h3>Important Information Security Policies</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NjJrzLAZVtXsrdopIEiPkw.png" /></figure><p>You can find templates for common policies online for free from SANS</p><p><a href="https://www.sans.org/information-security-policy/">Security Policy Templates</a></p><p>or as part of the NIST CSF Policy Template Guide from the Center for Internet Security CIS [<a href="https://www.cisecurity.org/wp-content/uploads/2020/07/NIST-CSF-Policy-Template-Guide-2020-0720-1.pdf">https://www.cisecurity.org/wp-content/uploads/2020/07/NIST-CSF-Policy-Template-Guide-2020-0720-1.pdf</a>].</p><h3>Information Security Management</h3><p>All those policies look like a lot of work. And they are. You need a system to organize them, establish processes to control implementation, and handle issues. This is your Information Security Management System or ISMS.</p><p>ISO 27001 is the dominant standard for Information Security Management Systems. It is also one of the most highly sought-after security certifications for any company that stores or processes data for its customers.</p><p>The documented policies we discussed before are setting out how an organization wants to approach security and what everybody should be doing to keep the data safe. It does not contain the actual checks and measurements to verify that people stick to the rules. This is where an ISMS comes in to ensure controls are in place, effective, and continuously improved.</p><h3>Steps to set up an ISMS</h3><p>The ISO 27000 series of documents also outline the basic steps necessary from a bottom-up perspective. Those are accepted best practices and you will find the same steps, with minor deviation, in most other security frameworks as well:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/0*VWZ6HcLwXaf6BHNC" /></figure><p>All major security frameworks regard IT Security as part of the general risk management of any organization. This means you need to be aligned with your organization’s risk management, especially in regards to estimating the magnitude of risks (usually every organization has its own method to calculate this) and risk treatment (what to do if you identified a risk).</p><p>ISO 27001 describes how to get started with establishing an ISMS from the top down (i.e. with top management support), define objectives, manage risks, measure performance, document, communicate and improve your ISMS. ISO 27003 additionally describes the process from design to implementation planning.</p><h3>Control Structure</h3><p>ISO 27000 breaks down generic requirements (Control Categories) into more specific goals (Control Objectives) and activities/requirements to fulfill the goals (Controls = safeguards or measures).</p><p>Controls contain the activities and requirements that you actually need to do or fulfill. The other layers (Control Categories and Control Objectives) are organizational layers to structure the Controls, so they can be tracked and managed better.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*nyfp3iO_TdUvNAzRD9cG-w.png" /></figure><p>Other security frameworks follow a similar approach, sometimes with slightly different labels (i.e. Control Groups or Control Domains instead of Control Categories).</p><h3>Select and Implement Controls</h3><p>ISO 27002 includes a basic control set that can be used as a starting point for most organizations. Those are generic controls that need to be adapted to your organization’s policies and risk appetite. It is still your responsibility that your implemented controls cover all your legal, contractual, and regulatory requirements and are in line with your organizational objectives.</p><p>There are a few standardized control sets and frameworks, that can help you as a starting point to build your own, customized ISMS and control set. The most important are listed in the table below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*z1YBrGPAyqBBK_Je7Ulpag.png" /></figure><h3>Add your specific Legal and Regulatory Requirements</h3><p>As an addition to the basic frameworks and control sets, you have to comply with legal and regulatory requirements as well.</p><p>What requirements you need to comply with depends mostly on where your organization is, where your customers are residents, and the type of data you are processing (e.g. PII, banking, health). The most important general requirements are listed below — but be sure to check twice for additional requirements from regulators for the specific type of data you are processing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*mx--iXA9BqOJ92eccJvOjw.png" /></figure><h3>Additional Relevant Frameworks</h3><p>There are some frameworks that are not security or privacy frameworks as such, but have a huge impact or overlap with any security program, so that you will find them mentioned, referenced, or required again and again. The most important frameworks in this discussion, adopted by most large enterprises are listed here:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*nStwFmIS3c_zoYXDaVG2rA.png" /></figure><h3>Is this everything?</h3><p>Unfortunately not. Depending on the area you are doing business in, there can be quite a few additional legal or contractual requirements. Please check them thoroughly as some of them come with hefty fines if you miss them.</p><p>Just having a glance at the sheer number of requirements most organizations need to fulfill, you now see why ISO 27001 became such a dominant requirement. It shows that you have a structured approach to handle all those requirements — and that a 3rd party (your external auditor) certifies that you are not taking any shortcuts.</p><h3>What’s Next</h3><p>This article showed the major frameworks and standards that you can use as a starting point for your information security program. Following the steps outlined in ISO 27000 gives you a tried and tested approach on how to successfully implement it.</p><p>What the frameworks usually don’t mention are tools and utilities that can help you on the way. The next article in this series focuses on how to design and implement a security architecture (i.e. common hardware and software) that enables you to actually implement the most common security controls and requirements.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9362a4ec57d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How not to Get Hacked: Security 101 for Startups]]></title>
            <link>https://devsecarchitect.medium.com/how-not-to-get-hacked-security-101-for-startups-information-and-cyber-security-43252d4e5b48?source=rss-ec869ef91fd1------2</link>
            <guid isPermaLink="false">https://medium.com/p/43252d4e5b48</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Thomas K. Fischer]]></dc:creator>
            <pubDate>Sun, 07 Nov 2021 18:38:58 GMT</pubDate>
            <atom:updated>2022-01-10T14:53:05.148Z</atom:updated>
            <content:encoded><![CDATA[<h4>How to Get Started with Information and Cyber Security as a Startup</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JFqKwaBA_cuvT5_b" /></figure><p>They are out to get you - your money, your data, your intellectual property. Or they are simply on a vendetta to harm or destroy you. This is about how you can protect your company from hackers, disgruntled ex-employees, and everybody out there that has a grudge against you.</p><p>Large Enterprises had years, sometimes decades, to build up their security posture. This is a luxury most startups don’t have. They need to play on the same level in a very short amount of time. But without the governance, processes, and security infrastructure in place, it is hard to adopt established security frameworks and have short-term success.</p><p>This article shows you how to get from a basic or no coordinated security off the ground quickly. The recommended processes and security controls are based on the established security frameworks and control sets. You can extend your security posture to any of the major frameworks and the steps you’ve already taken fit right in.</p><h3>What do You Want to Achieve with Information and Cyber Security?</h3><p>Simplified, Information Security is about ensuring confidentiality, integrity, and availability of your data (called the CIA triad). Cyber Security adds a focus on networking and supplier management in our highly interconnected world. More complex and modern security frameworks add a focus on abuse (Malware like Bots, Ransomware) and more modern attack vectors.</p><p>There are four fundamental goals you can achieve with Information and Cyber Security:</p><ul><li>Improve your Information Security Posture</li><li>Identify and manage your IT Risks</li><li>Fulfill your legal, regulatory and contractual requirements</li><li>Attestations and Certificates about your Information Security Posture</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uzOV_TJQrFHgp85H" /></figure><p>In most cases, you want a combination of all four, but you need to be aware of how you prioritize. Improving your security posture and getting a security certificate is not the same. There are a lot of activities that dramatically improve your security posture, but do not affect audit results, and vice versa.</p><h3>Keeping Track of Your Security Requirements</h3><p>The actual requirements you need to cover with your information security strategy are a mix of some generic elements, like how to handle personally identifiable information or PII, and highly specific elements, like individual contracts between you and your customers.</p><p>Large enterprises usually have a governance and compliance framework to track all the requirements and ensure everybody follows them. They also track all known risks and how they handled them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/0*OzEcAJZC3w4XuI30" /></figure><p>Information Security is usually a large part of governance, risk, and compliance (GRC) within every company. We will focus on this in a separate article.</p><h3>Information Security Frameworks and Control Sets</h3><p>The good news: as millions of companies worldwide face the same challenges with information security, there are hoards of consultants, auditors, and organizations that try to help you. Some of them have written lists of safeguards and countermeasures (Control Sets), others contain best practices on what processes, documents, and authority you need to keep everything running (Security Frameworks).</p><p>The bad news: as they try to cover a vast range of attack vectors, it’s mind-bending if you have your first look at them. They are definitely not the easiest stuff to digest. But established information security frameworks and control sets give you a good idea of how a sensible security setup should look like and perform.</p><p>However, most security frameworks and control sets don’t tell you how to implement them and how long it takes. I.e. they tell you “develop a plan to assess and track vulnerabilities continuously on all enterprise assets” [CIS Control 7: Vulnerability Management] but give you no clue on how to do that.</p><p>If you have a look at even the more basic frameworks and control sets, the time to implement them is usually months, if not years.</p><p>This article gives you an opinionated approach on how to go from basic security to mature information security management. But beware: there is no single magical tool to “fix” security for you. You need to invest some time (and money) to get this right.</p><h3>How to Get Started — an Opinionated Approach</h3><p>Information Security Frameworks are complex beasts. If you already have your corporate governance, risk management, and compliance (GRC) as a foundation, they are still a lot of work to implement. If you need to establish GRC alongside, it is even more. For this reason, this article is split into multiple parts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/0*PLBpbuWgefSBfFtY" /></figure><p>Our goal is to get a secure setup for your production data as soon as possible, that is compatible with the established frameworks. The other parts of this series extend the basic setup to cover all common requirements for a good security posture up to where your company is ready for certification.</p><h3>Avert Immediate Danger: Identify and Protect Your Most Critical Assets</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/0*Ze_-GawsIXSC7K4B" /></figure><p>You don’t have the time and resources to get from zero to a consistent security posture and GRC framework at once. Start with identifying and securing your sensitive data and most critical assets first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/0*gv9LxnS6BHhfhUP6" /></figure><p>This article explains the technical steps necessary to achieve this.</p><p><a href="https://devsecarchitect.medium.com/how-not-to-get-hacked-security-101-for-startups-avert-immediate-danger-cf7462b131dd">How not to Get Hacked: Security 101 for Startups</a></p><p>You can use this as a platform to extend your scope to all assets and extend it to achieve compliance with all major frameworks. This is your first step on the journey.</p><h3>Formalize Security: Establish Information Security Governance, Risk Management, and Compliance</h3><p>Now that your most critical assets are secured, bring your Information Security Governance and Compliance Framework in place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/0*dvxkeC4zLzwuXqh2" /></figure><p>Identify all the legal, regulatory, and business requirements you need to fulfill and build consistent documentation for everyone in your company.</p><p>This article explains the documentation hierarchy (Policies, Control Objectives, Standards, Procedures, Guidelines, Controls, Threats, and Risks), how to evaluate the information security risks your company faces, how to mitigate and document them:</p><p><a href="https://devsecarchitect.medium.com/how-not-to-get-hacked-security-101-for-startups-82d6c7b0a87e">How not to get Hacked. Security 101 for Startups.</a></p><p>More practical advice on established security frameworks that you can adopt for your own information security program is in the second part:</p><p><a href="https://devsecarchitect.medium.com/how-not-to-get-hacked-security-101-for-startups-9362a4ec57d4">How not to get Hacked. Security 101 for Startups.</a></p><h3>Security Architecture: Design and Implement the Infrastructure for Your Security Architecture</h3><p>Security controls need to be handled as an integral part of your IT Architecture to be successful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/0*_4R9dSEtbbL6IX_o" /></figure><p>This upcoming article explains the necessary and useful tools a security department can provide for others to build upon (like SIEM, vulnerability, and compliance Scanning) and how to integrate security controls in application architectures (like IAM requirements, log requirements, separation of environments, network segregation).</p><h3>Extend Your Scope</h3><p>We now have a basic security posture, GRC sorted, and the security architecture in place. It is time to extend the scope to all assets in your company and extend the control sets based on your company’s risk appetite.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/0*tRQ2G-FLNB0d3Fya" /></figure><p>This upcoming article gives an overview of the most common security frameworks and controls sets, where they overlap, and where they differ. Some controls are more or less universal (like “establish asset management”), while some are very specific (like “never store a CVV code” from PCI-DSS).</p><h3>Get Certified</h3><p>Some of the common security frameworks allow you to do a self-assessment, but most of the common frameworks usually require an external audit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/0*cSuCGJrS6DEV48Gz" /></figure><p>This upcoming article gives an overview of the currently most common security audits and certifications to formally verify and approve your security setup. This can give your customers and your investors the trust they need to invest in you!</p><h3>What’s Next</h3><p>I have worked as a consultant for large enterprises and startups for over 20 years. This series of articles summarizes the common questions about their security setup many of my customers faced over the last years.</p><p>If you like this series, please clap or send me a short note to let me know there is actually an audience out there for this. If you have a better solution for any of the scenarios described here, please comment or contact / DM me on Twitter @DevSecArchitect.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43252d4e5b48" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How not to Get Hacked: Security 101 for Startups]]></title>
            <link>https://devsecarchitect.medium.com/how-not-to-get-hacked-security-101-for-startups-avert-immediate-danger-cf7462b131dd?source=rss-ec869ef91fd1------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf7462b131dd</guid>
            <category><![CDATA[security-control]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[business-impact-analysis]]></category>
            <category><![CDATA[mi]]></category>
            <category><![CDATA[information-security]]></category>
            <dc:creator><![CDATA[Thomas K. Fischer]]></dc:creator>
            <pubDate>Sun, 07 Nov 2021 18:37:11 GMT</pubDate>
            <atom:updated>2022-01-10T14:44:05.808Z</atom:updated>
            <content:encoded><![CDATA[<h4>Avert Immediate Danger: Identify and Protect Your Most Critical Assets</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T5YJ5dtZ2Na9wQiZ" /><figcaption>Photo by <a href="https://unsplash.com/@bernardhermant?utm_source=medium&amp;utm_medium=referral">Bernard Hermant</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Learn how to establish a basic security posture for your most critical assets:</strong> identify and categorize your assets, establish identity and access management, protect your assets, detect anomalies and preserve evidence, respond to security incidents and recover from incidents and disasters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/0*wKYmAtznXkK0osnb" /></figure><p>This article is part of a series that is intended for young companies that still build up their corporate structure, grow very fast, and need to mature their security posture quickly. For an overview of the series visit:</p><p><a href="https://devsecarchitect.medium.com/how-not-to-get-hacked-security-101-for-startups-information-and-cyber-security-43252d4e5b48">How not to Get Hacked: Security 101 for Startups</a></p><p>The following articles in this series will extend this into a complete Information and Cyber Security Program, up to where you can get certified.</p><h4>Core Areas</h4><p>We focus on six core areas to establish a basic security posture for all critical assets first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*vHGh9gXTdUPzKj5Cb_Dw5g.png" /></figure><p>The next sections offer an opinionated approach on how to get started with your Information and Cyber Security program. It is heavily based on NIST CyberSecurity Framework CSF, NIST 800–53, CIS Critical Security Controls, and ISO 27001 / ISO 27002. This makes it easy for you if you, later on, need to have full compliance with one of those frameworks or control sets.</p><p>For a more in-depth view of those and other frameworks and on what you need to do to get certified, see the upcoming parts of this series.</p><h3>How to Prioritize</h3><p>Established Security Frameworks and Control Sets give you a grand vision to aspire to, but to get there you need several months if not some years. And most of them don‘t give much advice on how to get to an actual practical implementation.</p><p>Eventually, you should always aim to include all your assets in your information and cyber security scope. But in the beginning, a good starting point is to have your primary focus on the assets that can cause the most harm.</p><p>As with most things in security, there is no one-size-fits-all approach. You need to decide, based on your actual setup, if you need to focus on some additional elements.</p><p>This does not mean you stop working on the low priority stuff anymore, but to focus extra activities on your critical infrastructure first to avert imminent danger.</p><h3>Identification and Prioritization</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*Yhu_7u-wvcIpmip3dTAN4A.png" /></figure><p>Most companies have multiple layers of assets in multiple environments. You need to define categories that fit your setup. Common examples are:</p><ul><li><strong>Asset categories:</strong> Server (an actual piece of hardware), Systems (Logical or Physical System that can run an Operating System), Network Devices, Clients (an actual piece of hardware), Managed Services (like PaaS, CaaS, DBaaS from your Cloud Provider)</li><li><strong>Environments:</strong> Development, Testing (User Test, Integration Test), Production</li></ul><p>You also need to figure out where your data is and what statutory, regulatory, and contractual requirements you have to apply to your data. This heavily depends on the actual data you process, but a generic schema could look like this:</p><ul><li><strong>Public:</strong> Data shared on websites, marketing material, etc</li><li><strong>Internal:</strong> Data for internal use only (e.g. Call Center Instruction Manual)</li><li><strong>Sensitive:</strong> Data to be handled with special care and actual damage in case of theft or exposure (e.g. PII Personally Identifiable Information, Trade Secrets about new developments)</li></ul><h4>Long-Term Goal</h4><p>Your goal must be in the long term to establish asset management for all your assets and environments and a data processing register with all your data and descriptions of what happens to it (if you want to have users/customers from the EU).</p><p>Additionally, you need to establish processes that make sure your registers are getting updated with every change to your applications or setup.</p><p>This is one of the core pillars of almost every security framework, but this also takes quite some time to find an appropriate asset management system, set up the processes, and establish everything.</p><h4>Short-Term Goal</h4><p>What you really need as the first step is to protect your sensitive data. I mean right now if you think you are exposed here. This is usually the backbone of your business. If anything happens to this data, worst case your company is done.</p><p>So start with a focus on production systems and make sure you have no production data (customer and business-related data) anywhere else. Now focus on the production systems with sensitive data.</p><p>I urge you to do a business impact analysis on all your applications. This way you can be sure you are not missing any of the critical assets and information to protect.</p><h4>Short-Term Outcome</h4><h4>Compile a list of all Applications and the Data Classifications They Process</h4><p>This can be as easy as a spreadsheet, but don’t forget to prepare for an inventory and add contact details for responsible persons, data classification (like sensitive or public), and the storage location</p><h4>Do a Business Impact Analysis (BIA) of all Your Applications</h4><p>The business impact analysis identifies potential risk factors and their impact on your business. An outage of your internal wiki pages will most likely have no major impact on your customer-facing business, but if you run a Neo Bank and your credit card processing is down, your business is on the line.</p><p>Templates for BIAs are available online, e.g. as part of NIST 800–34 [<a href="https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-34r1.pdf">https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-34r1.pdf</a> Appendix B — Sample Business Impact Analysis and BIA Template], but in the first run, it is more about getting the results you need (criticality assessment of your application, Recovery Point Objective RPO and Recovery Time Objective RTO) instead of the formalities.</p><h4>Compile Your Records of Processing Activities</h4><p>If you process GDPR relevant data, you need to have records of your processing activities for personally identifiable information (PII).</p><p>The UK Information Commissioner’s Office (ICO) explains this with good/bad examples for data category, documentation requirements, and templates online [<a href="https://ico.org.uk/for-organisations/guide-to-data-protection/guide-to-the-general-data-protection-regulation-gdpr/documentation/how-do-we-document-our-processing-activities/">https://ico.org.uk/for-organisations/guide-to-data-protection/guide-to-the-general-data-protection-regulation-gdpr/documentation/how-do-we-document-our-processing-activities/</a>].</p><p>There are different requirements for data controllers and data processors. Simply put, in terms of GDPR, you are the data controller if a customer opens an account with you (you control the processes and what happens to the data). If you process data for another data controller, you are the data processor (i.e. a service provider). If you are unsure, please get legal advice! This is something you need to get sorted, or it will eventually cost you money.</p><h3>Identity and Access Management</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*tlG0_7t0QkrUTXgANCrB0w.png" /></figure><p>With the rise of highly interconnected systems, the challenges for protecting your assets changed. You and your administrators, developers, and your users want to access your systems and services from anywhere. So by definition, you need to keep them accessible from anywhere.</p><p>“Identity is the new security perimeter” describes exactly that. Clear Policies for Identity and Access Management (IAM), Password Policies, and Access Policies are a must.</p><h4>Long-Term Goal</h4><p>Your goal must be in the long term to establish a fully managed identity lifecycle for everybody accessing your systems.</p><p>This starts with an onboarding process to verify the identity (and maybe the criminal history) of every new member of your staff, assigning privileges based on the role in the company and verifying the privileges at regular intervals.</p><p>You also need a process to handle this for automatic deployments (machine / programmatic access).</p><h4>Short-Term Goal</h4><p>We focus on the production environments of the most critical applications we identified in the first step (Identification and Prioritization).</p><p>Establish segregation of duties. Make sure only a few core members of your staff have access to your production. Ensure everybody works with least privileges.</p><h4>Short-Term Outcome</h4><h4>Establish strong Identity Management</h4><p>Verify Identities with a formal onboarding process and keep track in a central system.</p><p>Wherever possible, use Identity Federation to integrate with this central system handling your identities.</p><p>Use your central identity system for everybody who needs access. This should also include external contractors.</p><h4>Least Privileges and Segregation of Duties</h4><p>Make sure all access privileges are limited to the role or function the users are performing — don’t let everybody login as admin all the time!</p><p>Assign privileges and roles only when they are really needed to perform the actual tasks at hand.</p><p>Implement Segregation of Duties (SOD) for all critical systems. That means that no one person can control critical functions or services alone. You can achieve this in your development process by integrating SOD for source code merge commits, separating operations responsibilities between multiple people or teams, keeping logs separate from customer data and preventing anybody from changing logs, or by separating development and production concerns.</p><h4>Separate Environments</h4><p>Establish a strong separation between different environments, like development and production. This includes users, networks, and systems. Everything. There should be no direct connection.</p><p>On AWS, you usually separate them into different AWS Accounts under an AWS Organization. With Google Cloud, you can use different projects. With Azure, you can use multiple Subscriptions inside a Management Group. There are other forms of separation that work as well, as long as you separate users and data in different environments.</p><h4>Establish strong Access Management</h4><p>Limit access to your production applications to the people that really need access and make sure access is removed if they no longer need it (e.g. as soon as they change to a different department).</p><p>Change default passwords instantly on setup/sign up.</p><p>Require a minimum password length and complexity and help your staff keep track with a password manager.</p><p>Turn on Multi-Factor Authentication (MFA) at least for all products with interactive login. If a product with interactive user login does not support it and has no good reason for this, you should seriously doubt its security posture.</p><p>Never share accounts, especially not for service or support access!</p><h3>Asset Protection</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*NDcEHZYuJV5xUIL8R9HGDA.png" /></figure><p>To protect your data properly, you need to understand the risk appetite of your company first. Some companies prefer to be flexible, have few restrictions, and accept that this comes with risks.</p><p>Usually, you don’t have a single protection mechanism for any asset or data. Instead, you build one after the other. This is called layered security. For example, if you really want to go into a data center, you need to pass a reception, entrance gates with card access, isolation gates with biometric access, and then you (maybe) can enter the actual room with the servers.</p><p>You also need to define an Information Security Policy that outlines from a high-level perspective what you want to achieve with security and who is responsible.</p><p>Additional Policies for Identity and Access Management (IAM), Disaster Recovery, Encryption, and Development are also helpful. As policies should be high level and abstract, add more technical details in Standards and implementation instructions in Procedures, where appropriate.</p><h4>Long-Term Goal</h4><p>Your goal must be in the long term to establish a layered security architecture for internal (your administrators and developers) and external access (your users).</p><p>For internal access, this starts with the endpoint (whatever device you use for your work) and goes all the way from development to test to production systems and applications. This can be a combination of Endpoint Security (e.g. AntiVirus and Disk Encryption), Network Encryption (e.g. VPN), and Bastion Hosts for administrative access, but also policies for a secure software development lifecycle (SDLC) and security scans (e.g. CVE Scans) before deploying any software to production.</p><p>For external access, this usually even starts outside your own network (DDoS prevention, Content Delivery Network CDN) and goes all the way to the backend applications providing your services. This can be a combination of Demilitarized Zones (DMZ) for network separation with Proxy or Web Application Firewalls (WAF), Intrusion Detection / Prevention Systems (IDS/IPS), and some specialized tools on your network ingress (where others have access to your services).</p><h4>Short-Term Goal</h4><p>We focus on the production environments of the most critical applications first.</p><p>In the first steps, we did the application inventory and business impact analysis. This gives you a good indicator of what applications are most critical for your business or process the most critical (sensitive) data. This is your scope.</p><h4>Short-Term Outcome</h4><h4>Enable Encryption to Protect Data at Rest and in Transit</h4><p>Enable Disk Encryption with an appropriate encryption standard to secure your data at rest. If you are using any of the big public cloud providers, you can create a customer-managed encryption key that gives you a little more control over your data life cycle. Follow the best practices of your CSP for customer-managed keys here.</p><p>Data in Transit has to be encrypted as well. For many use cases, this is done via HTTPS. If you don’t have this in place, have a look at the automatic SSL/TLS certificate management all big public cloud providers offer or integrate a free solution like Let’s Encrypt [<a href="https://letsencrypt.org/">https://letsencrypt.org</a>]</p><h4>Enable your Cloud Provider’s Protection Features</h4><p>Your Cloud Provider usually detects DDoS attacks better and faster than you can. Familiarize yourself with the tools and what use cases they cover. On AWS, have a look at Shield, on Azure at DDoS Protection, and on Google Cloud on Armor Managed Protection.</p><h4>Establish a Secure Connection to Your Production Systems</h4><p>Don’t use direct connections from your computer over the Internet to your production systems. Establish a VPN Tunnel or use a similar solution first.</p><p>Additionally, all major Public Cloud Providers have blueprints and best practices for Bastion Host setups.</p><h4>Handle Security Patches</h4><p>Make sure you are not running products with known vulnerabilities by applying security patches in time.</p><p>This means you need to have a process with defined responsibilities and deadlines. Who is checking for new security patches? Each development team individually or a central team? How much time do I have to fix vulnerabilities? Some frameworks set a time span of 14 days after a patch for vulnerabilities is released by the vendor (for patches classified as critical or high risk).</p><p>This will not solve all problems — for some vulnerabilities, the security patches to fix them are not yet available. You need to know what risk comes with it, and if you are willing to accept that. If a product you are using does not receive any security patches anymore, replace it. Have a clear stance on this and document it in your Patch Policy.</p><h4>Have a Plan if Things Go Sideways: Disaster Recovery Planning</h4><p>In most cases, the answer to your critical data is to have an off-site backup. Off-site in case of public clouds means with another provider, not at another location with the same provider! Look for companies that went bankrupt because their cloud account was hacked if you think this is over the top. [<a href="https://www.infoworld.com/article/2608076/murder-in-the-amazon-cloud.html">https://www.infoworld.com/article/2608076/murder-in-the-amazon-cloud.html</a>]</p><p>Your business impact analysis should show you the maximum tolerable downtime for your critical applications. It is important now that you have a plan on how to beat that time. Your application architecture needs to be adjusted so that it can be re-built, re-started, switched, or whatever strategy your applications follow, within the time constraints of your Recovery Time Objective RTO.</p><p>And the most important thing: update and practice your disaster recovery plan for all your critical applications at regular intervals! It will end badly when your disaster recovery plan will be tested for the first time during a real disaster.</p><h3>Anomaly Detection and Evidence</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*SggKRxAJobpcz4_l4MYIhg.png" /></figure><p>Detecting that you got hacked is not that easy. Sometimes hackers have backdoors into systems for years until they are discovered. If they are discovered at all. Are you 100% certain that you did not already get hacked?</p><p>You need a method to detect when something bad is going on — from intrusions and malware infections to bitcoin miners, Bot networks, or denial of service attacks.</p><p>The first step to detect anomalies is to know your normal — what is the usual activity in your networks, servers, databases, managed services, and workplace. Then you can measure against any deviation and track down suspicious activities.</p><p>The second thing you want to have is some evidence in case you end up in court.</p><h4>Long-Term Goal</h4><p>In the long run, establish logging and analytic functions for all active elements in your environment.</p><p>A Security Incident and Event Management (SIEM) solution can help with that, but needs to be integrated with your data sources and needs to be adapted to your needs (Event Detection).</p><h4>Short-Term Goal</h4><p>Activate at least basic logging for all your Cloud Providers and all services you use. This means enabling at least audit logging on all accounts.</p><p>Additional logs are usually more helpful in production environments. Make sure you have a policy or standard on what logs to enable and how long to store them for production systems.</p><h4>Short-Term Outcomes</h4><h4>Configure Platform Logging</h4><p>Configure your Cloud Providers Audit Logging to record requests against the Cloud Providers API in your accounts and make sure you store a copy of the logs in a safe location for a reasonable amount of time (usually at least 3–12 months). On AWS you can do this with CloudTrail, on Azure with Audit Logs, and on Google Cloud with Cloud Audit Logs.</p><h4>Enable Integrated Security Solutions</h4><p>Activate the integrated security solution your cloud provider offers! On AWS enable GuardDuty and Security Hub, Azure Security Center, and Defender or on Google Cloud, their Security Command Center. Those tools bring basic protection out of the box with optimization for the environment you are using.</p><h4>Handle Logs for Managed Services and Applications</h4><p>You should also have a plan on how to handle logs for managed services and your own applications. On AWS, most services can be configured to write them to CloudWatch Logs, on Azure to Monitor Logs, and on Google Cloud to Cloud Logging.</p><p>You should at least collect the logs on all production accounts.</p><p>Analyzing those events is usually a little trickier, as those logs are service or application-specific. Record those logs as well and store them in a safe location to have evidence for legal proceedings.</p><p>And don’t forget to define when to delete log data again.</p><h4>Define Standards for Forensic Logging/Nonrepudiation</h4><p>There is a difference between forensic logging and application/debug logging. The goal of forensic logging is for the log to achieve nonrepudiation for log entries. This means the validity of your log entries cannot be denied in a court of law.</p><p>You can achieve this by forwarding your logs to a SIEM (expensive and complex to set up, but with lots of analytics features), or by having at least a secured export to your provider’s object storage and preventing the files from being deleted in a pre-defined time. On AWS you can export logs to S3 Buckets and enable Object Lock. On Azure, you can do this with Blob Storage and enable Immutability Support and on Google, Cloud with Cloud Storage and enable Retention Policy.</p><p>If you store your log data in an object store, make sure you have a segregation of duties between the object store owner and the log creators. You can achieve this by providing and managing the log storage with a central team or as an internal service of your security team.</p><p>Ideally, you describe your requirements in a Log or Data Retention Policy on a high level and provide a Procedure document as step-by-step instruction for your teams. A good overview of the requirements can be found in this Compact article [<a href="https://www.compact.nl/en/articles/forensic-logging-requirements/">https://www.compact.nl/en/articles/forensic-logging-requirements/</a>].</p><h4>Monitor Your Environments</h4><p>Bitcoin Miners usually come with an increase in CPU load. Bot networks often increase your CPU load or network traffic when they are activated. Monitoring basic load values for your servers can give you a first sign that something is going on that you can investigate further.</p><p>Additionally, you should familiarize yourself with Network Monitoring on your Cloud Providers platform. On AWS this is VPC Flow Logs, on Azure Network Watcher, and on Google Cloud VPC Flow Logs.</p><h3>Security Incident Response</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*BTHWPnUA5VK8tEQxnuA0Eg.png" /></figure><p>Now that you have your logging and monitoring and your Cloud Provider’s security tools enabled, you need to plan what to do if you think a security incident has happened or is currently taking place.</p><p>You should also practice your plan. There is nothing worse than a lot of hectic people making mistakes under stress in case of a hacking attack on your assets and data.</p><h4>Long-Term Goal</h4><p>Most large companies establish a Security Operations Center (SOC) that constantly evaluates threats and can coordinate in case of an imminent or ongoing attack.</p><p>For smaller companies, you can rent this service or build up a team that is not dedicated but has at least regular training and practice in coordinating security incident handling.</p><h4>Short-Term Goal</h4><p>Have at least a plan of what to do in case of an attack and have your people ready.</p><p>This means you need to be able to assess a threat (e.g. not everything flagged by your Cloud Provider’s security tools is an actual incident — those tools tend to have a lot of false positives in the beginning), have a communication plan (whom to inform about the attack or involve to resolve it) and a plan to resolve it.</p><h4>Short-Term Outcome</h4><h4>Establish a Security Incident Policy</h4><p>The generic policy needs to describe things that need to be done in any case — no matter which specific application — and describe requirements that each application or team needs to have separately in their Security Incident Procedures.</p><p>Generic topics are things like communication (e.g. management, press), regulatory requirements (who you need to inform in case of data loss), but also your Chain of Command in case of a Security Incident.</p><h4>Establish Application/Team Specific Security Incident Procedures</h4><p>Every application is at least a little different and so are most likely the attack vectors and the criticality of the application. In some cases, you want to cut the network connection in case of an attack. In others, you want to weather the storm and keep it online. No matter what you choose, make this decision upfront and not during an attack.</p><p>You need a clear Chain-of-Command for every application, from the person who can fix your problem to the one who needs to make the decisions. And you need a plan when the attack happens on Sunday, at 2 am. Hackers are not known for sticking to your office hours.</p><p>To fix the security incident, you usually need to analyze what is going on to understand the impact, perform forensics, and categorize the severity first.</p><p>Your next priority should be to contain the incident and secure evidence. This can cover screenshots, log files, disk copies. Make sure you know what Chain-of-Custody means and that you can guarantee it. Otherwise, your evidence most likely won’t hold up in court.</p><p>Then mitigate the effects of the incident to come back to normal operations. Worst case, this means triggering your recovery procedures to restore operations from a secure backup.</p><h4>Practice, Practice, Practice</h4><p>Having a plan on paper is great, but you need to make sure everybody that needs to know actually knows it.</p><p>You also definitely want to dry run your security response plan at a regular interval. You don’t want your response team to bring down production inadvertently or expose data in a stressful and hectic moment.</p><h3>Incident and Disaster Recovery</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*21PCmOh59zrhVBXWgu7SWA.png" /></figure><p>Your recovery planning ensures that you can come back online after a Security Incident. They go hand in hand with your business impact analysis and your security incident process.</p><h4>Long-Term Goal</h4><p>Incident and Disaster Recovery should be established as part of your Business Continuity Management (BCM). The basis for your requirements comes out of the Business Impact Analysis (BIA) for each application.</p><p>BCM covers all activities, not only how to get your tech up and running again. For example, sending out your pay-checks manually by mail, if your payroll system is down, could be part of your BCM. Disaster Recovery Plans focus on getting your tech back online to process your payroll like before the incident.</p><p>Additionally, the BIA should also define Recovery Point Objective (RPO, roughly how often you make backups/copies of your data) and Recovery Time Objective (RTO, how fast are your backups restored on new / standby / alternative systems). The design of all your applications must reflect those requirements and every application needs an individual plan on how to get back online within the RTO time.</p><h4>Short-Term Goal</h4><p>You must have a tested and current Incident and Disaster Recovery Plan (DR Plan) for your critical customer-facing applications. This is, after all, what makes you money. The emphasis is on tested and current! After each update to the system design, you must update your DR Plan and test it again.</p><p>For internal systems, it depends a lot on the system and criticality. Your staff will be very unhappy without pay, but most companies can handle an outage of your payment system in a critical situation also by sending out paychecks. Not ideal, but we are talking about crisis management here, not about your regular daily business.</p><h4>Short-Term Outcome</h4><h4>Have a Recovery Plan for each Application</h4><p>Recovery is no one-size-fits-all thing. You need to tailor your recovery plan based on the application and design it to cover different scenarios. If you have a data loss of your user database, you want to inform your users to change their password. If your data was deleted, you want to have a backup at hand to restore everything.</p><h4>Practice, Practice, Practice… Again</h4><p>You don’t want to find out during your recovery that your backup missed some important information or did not work at all. You need controls in place to check your backups regularly (ideally by restoring them and testing the content), but also test your complete recovery plan for your application.</p><h3>What’s Next</h3><p>After implementing all of this you have a basic security posture for your most critical systems, a plan to protect your data from the most critical threats, and a plan on how to respond and get up and running again in case of a hacker attack or a disaster.</p><p>You need to reinforce and extend your security posture now in a structured way (IT Risk Management). In the long run, you also need some structure and guidance (Governance and Compliance). The next article in this series brings more details on how to do this.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf7462b131dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>