<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cédric Goubard, Auteur</title>
	<atom:link href="https://www.riskinsight-wavestone.com/en/author/cedric-goubard/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.riskinsight-wavestone.com/en/author/cedric-goubard/</link>
	<description>The cybersecurity &#38; digital trust blog by Wavestone&#039;s consultants</description>
	<lastBuildDate>Fri, 17 Jul 2020 07:48:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.riskinsight-wavestone.com/wp-content/uploads/2024/02/Blogs-2024_RI-39x39.png</url>
	<title>Cédric Goubard, Auteur</title>
	<link>https://www.riskinsight-wavestone.com/en/author/cedric-goubard/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Boost your cybersecurity thanks to machine learning? Part 2 &#8211; &#8220;Yes, but choose the right approach!&#8221;</title>
		<link>https://www.riskinsight-wavestone.com/en/2020/07/boost-your-cybersecurity-thanks-to-machine-learning-2-2/</link>
		
		<dc:creator><![CDATA[Cédric Goubard]]></dc:creator>
		<pubDate>Wed, 08 Jul 2020 07:34:20 +0000</pubDate>
				<category><![CDATA[Cloud & Next-Gen IT Security]]></category>
		<category><![CDATA[Cybersecurity & Digital Trust]]></category>
		<category><![CDATA[big data]]></category>
		<category><![CDATA[data analysis]]></category>
		<category><![CDATA[Machine learning]]></category>
		<guid isPermaLink="false">https://www.riskinsight-wavestone.com/?p=13902</guid>

					<description><![CDATA[<p>In the previous article, we presented a step by step approach for Machine Learning applied to cybersecurity in order to use its value and understand how it works (lien vers partie 1 de l’article). In this second part, we will...</p>
<p>Cet article <a href="https://www.riskinsight-wavestone.com/en/2020/07/boost-your-cybersecurity-thanks-to-machine-learning-2-2/">Boost your cybersecurity thanks to machine learning? Part 2 &#8211; &#8220;Yes, but choose the right approach!&#8221;</a> est apparu en premier sur <a href="https://www.riskinsight-wavestone.com/en/">RiskInsight</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In the <a href="https://www.riskinsight-wavestone.com/en/2020/07/boost-your-cybersecurity-thanks-to-machine-learning-1-2/">previous article</a>, we presented a step by step approach for Machine Learning applied to cybersecurity in order to use its value and understand how it works (lien vers partie 1 de l’article). In this second part, we will answer a few common questions that may arise before starting such an initiative.</p>
<p>&nbsp;</p>
<h2>Is the amount of data the only success factor?</h2>
<p>Absolutely not. #GarbageInGarbageOut</p>
<p>Focusing only on the data is the best way to be disappointed by machine learning. Results do not appear out of thin air if the input data is not carefully chosen!</p>
<p>Not only should you define precisely the use case before starting, but you need to make sure that relevant data will be fed to the model.</p>
<p>&nbsp;</p>
<h2>What use case should I choose to do machine learning?</h2>
<p>You’re looking at the problem upside down!</p>
<p>The right questions would rather be:</p>
<ul>
<li><strong>Are some use cases currently causing problems?</strong> <em>g. time-consuming process because all the alerts raised require analysis, and ultimately include many false positives. </em></li>
<li><strong>Does a machine learning based approach fit with some of those problems?</strong> <em>g. alerts raised on a behaviour deemed as « abnormal », rather than a fixed detection threshold that would be hard to configure and to keep up to date.</em></li>
<li><strong>Have I checked that there are no standard solutions to tackle the problem? </strong><em>#</em><em>IAmNotReinventingTheWheel</em></li>
</ul>
<p>In cybersecurity, in front of a complex problem that has to be described explicitly (e.g what is a suspect communication in my information system?) and that additionally is very likely to evolve along time (e.g the detection thresholds need frequent adjustment), finding the right compromise between detection of suspect use cases and false positives with static rules can be difficult. In these kinds of situation, it is interesting to explore the machine learning option.</p>
<p>&nbsp;</p>
<h2>Who leads the project: the cybersecurity team or the data team?</h2>
<p>Both, with a lot of communication! #OneTeam</p>
<p>Each of these teams have <strong>their own</strong> <strong>expertise</strong>, technical for data scientists, business for the cybersecurity team. One without the other does not allow to properly conduct a machine learning for cybersecurity project.</p>
<p>Without data scientists, the cybersecurity team might for instance:</p>
<ul>
<li>Start without enough data. <em>g. the volume of data does not allow the algorithm to define a standard behaviour and it cannot separate normal situations from abnormal.</em></li>
<li>Forget to cross some data. <em>g. each user’s first connection to a new application is detected as an abnormal event, because it is not combined with a variable to allow the comparison of this specific behaviour with the behaviour of the mass of users (that already use the application).</em></li>
<li>Not being able to interpret the alerts given by the algorithm, and not being able to optimize it. <em>g. the algorithm shows anomalies that turn out not to be, the cybersecurity team does not understand on what is based the algorithm’s analysis and does not know how to improve it.</em></li>
</ul>
<p>And without the cybersecurity team, the data scientists might:</p>
<ul>
<li>Not know how to assess the relevance of the anomalies detected. <em>g. the algorithm rises a log as an anomaly, but the data scientists cannot evaluate if it is a real cybersecurity issue or not.</em></li>
<li>Not being able to select the data the algorithm should be fed with. <em>g. cybersecurity gave its proxy logs to the data scientists, but they did not sort the most adequate fields for the use case: the results of the algorithm are confused.</em></li>
<li>Miss out on crucial elements that should be integrated in the model to answer the need of the business. <em>g. by trying to optimise an algorithm, a field that is necessary to the categorisation of an anomaly in cybersecurity is deleted from the data set; the results of the algorithm are no longer valuable for cybersecurity purposes.</em></li>
</ul>
<p><strong>Combining the expertise of both teams is key to guarantee that the resources of the Machine Learning will be used efficiently to bring a high value-added answer for cybersecurity.</strong></p>
<p>&nbsp;</p>
<h2>What are the prerequisites?</h2>
<p>The data!</p>
<p>Although it is not the only aspect to focus on, no model can be create without data.</p>
<p>As a reminder, machine learning encompasses all the techniques that allow machines to learn without having been explicitly programmed for their purpose. For them to learn, the algorithms are fed with the <strong>data</strong> that we can provide them.</p>
<ul>
<li>They will need a <strong>high quantity</strong> of data so that they can define a « norm » as sharp as possible, since it will be defined and confronted to important volumes of real-life cases. Note that «high quantity » does not necessarily mean « diversity »: it is important to only select the data relevant for the use case.</li>
<li>The data will need to be <strong>qualitative</strong> not to deceive the learning of the algorithm, <em>e. </em>without the introduction of biases for instance.</li>
</ul>
<p>It will be useful to identify the relevant type of data for the analysis (e.g. security logs), the sources where they will be collected (e .g. web proxies) and the resources that will enrich them (e.g. CMDB to link IPs with machine names) if needed.</p>
<p>&nbsp;</p>
<h2>I don’t have much data available for my use case, does this mean that machine learning is not for me?</h2>
<p>Not necessarily!</p>
<p>If the available data is relevant to the use case and well distributed (e.g. representative of a usual situation on a defined time period so that a non-supervised algorithm could learn the « normal » situation), it is possible to have interesting results.</p>
<p>For instance, with a well-defined use case (e.g. targeted on a specific user population) and the adequate collected logs, suspect behaviors can be detected in proxy logs with only two weeks of traffic (depending on the wordiness of the logs, this only represents a few GB).</p>
<p>&nbsp;</p>
<h2>Which algorithm should I use?</h2>
<p>Pick one and see!</p>
<p>The most important element that will allow to answer this question in a more adapted way is the type of learning process: supervised or non-supervised.</p>
<p>The choice of one non-supervised algorithm rather than another will affect performance, but not as much as the input data. Many algorithms can work for a given use case, and their performance will depend on the context (e.g. need to interpret the results, volume of the training data…).</p>
<p>The data scientists choose the algorithm based on their watch in order to suggest the most recognized and performing algorithm for a determined use case and context.</p>
<p>&nbsp;</p>
<h2>Should I do it myself or outsource?</h2>
<p>It depends, and it can evolve in time!</p>
<p>Our first article detailed an implementation example: development with your own tools, starting from scratch. In reality, there are three implementation options; the choice depends on the use case, the available resources and the ambitions.</p>
<p>&nbsp;</p>
<figure id="post-13904 media-13904" class="align-none"></figure>
<figure id="post-13906 media-13906" class="align-none"><img fetchpriority="high" decoding="async" class="size-full wp-image-13906 aligncenter" src="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-1-7.png" alt="" width="1166" height="460" srcset="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-1-7.png 1166w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-1-7-437x172.png 437w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-1-7-71x28.png 71w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-1-7-768x303.png 768w" sizes="(max-width: 1166px) 100vw, 1166px" /></figure>
<p>&nbsp;</p>
<p>Each of these scenarios present their strengths and weaknesses and it is possible to use them conjunctly. Also, it is essential to keep an eye on the market in order to observe if new, innovating and more-performing solutions have since appeared.</p>
<p>#TakeAStepBack</p>
<p>&nbsp;</p>
<h2>Is it easy to test?</h2>
<p>If the framing is well done, yes! #Test&amp;Learn</p>
<p>Once that the use case is selected, the data availability checked and the implementation method chosen, it is rather easy to test the benefit of machine learning before further investments.</p>
<p>This type of project is well adapted to iterative or sprint methods. Try out rapidly the selected solutions, demonstrate their relevance thanks to the added value, or on the contrary bring to light the fact that for this use case, the results are not encouraging enough to continue.</p>
<p>Whatever the case may be, a POC approach following an opportunity study can help you get a quick idea. This step, before starting on a larger scale, also enables you to take a step back to evaluate the potential benefits (e.g gains in time due to less false positives, better overall reactivity because the alerts are more relevant) compared to the investment to be made (e.g dedicated computing infrastructures, skills to recruit) before starting.</p>
<p>&nbsp;</p>
<h2>Once that my POC is done, how do I scale up?</h2>
<p>Once again, step by step!</p>
<p>Once that the first conclusive results are obtained on a use case, it is possible to envisage a production launch. Be careful not to go too fast: the production launch raises new questions that must be answered before continuing, for instance:</p>
<ul>
<li>What are the volumes of data to analyse? What pre-processing (data preparation phase) needs to be done beforehand? How frequently? (Real time, delayed time…)</li>
<li>How often will the algorithm need to go through the learning process? On how much data?</li>
<li>What are the necessary infrastructures?</li>
<li>Which skills and resources will enable to maintain to solution in time?</li>
</ul>
<p>It will then be time to take a step back and <strong>make operational choices</strong> while keeping in mind a long-term vision.</p>
<p>&nbsp;</p>
<h2>How much does it cost?</h2>
<p>It all depends on the ambitions.</p>
<p>For a POC, a framing allows to limit the investment until the added value of machine learning is demonstrated (e.g. activation of an option on a security tool on a determined time frame to test it, no infrastructure investment)</p>
<p>Once the added value is tangible, the question of the costs involved for production launch and maintenance in time surges. A few elements must be considered to evaluate the total investment that will be needed:</p>
<ul>
<li><strong>Material investments </strong>(e.g. hardware for market solutions, infrastructure and resources to acquire computing power, in-house development) and <strong>software investments </strong>(license, machine learning feature activation on SIEM, big data tools for data science…). It is essential not to put aside the computing power that is necessary to the functioning of some models. It is one reason why &#8211; besides the quality of the results- the most relevant data are needed to answer a use case.</li>
<li><strong>Talent acquisition :</strong> the new profiles to include (e.g. data scientists, data engineers) as well as the business profiles and accurate experts, that will be solicited during the project phase but also in the long term (alerts handling, re learning process, non-diversion tests for the solution, etc.)</li>
</ul>
<p>&nbsp;</p>
<h2>To sum up, what are the main pitfalls to avoid?</h2>
<p>#Reminder</p>
<p>&nbsp;</p>
<figure id="post-13908 media-13908" class="align-none"><img decoding="async" class="size-full wp-image-13908 aligncenter" src="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-2-6.png" alt="" width="1199" height="549" srcset="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-2-6.png 1199w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-2-6-417x191.png 417w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-2-6-71x33.png 71w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-2-6-768x352.png 768w" sizes="(max-width: 1199px) 100vw, 1199px" /></figure>
<p>Cet article <a href="https://www.riskinsight-wavestone.com/en/2020/07/boost-your-cybersecurity-thanks-to-machine-learning-2-2/">Boost your cybersecurity thanks to machine learning? Part 2 &#8211; &#8220;Yes, but choose the right approach!&#8221;</a> est apparu en premier sur <a href="https://www.riskinsight-wavestone.com/en/">RiskInsight</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Boost your cybersecurity thanks to Machine Learning?  Part 1 – « Absolutely, here’s how! »</title>
		<link>https://www.riskinsight-wavestone.com/en/2020/07/boost-your-cybersecurity-thanks-to-machine-learning-1-2/</link>
		
		<dc:creator><![CDATA[Cédric Goubard]]></dc:creator>
		<pubDate>Fri, 03 Jul 2020 12:00:14 +0000</pubDate>
				<category><![CDATA[Cloud & Next-Gen IT Security]]></category>
		<category><![CDATA[Cybersecurity & Digital Trust]]></category>
		<category><![CDATA[data analysis]]></category>
		<category><![CDATA[DLP]]></category>
		<category><![CDATA[Machine learning]]></category>
		<guid isPermaLink="false">https://www.riskinsight-wavestone.com/?p=13821</guid>

					<description><![CDATA[<p>Nowadays, we hear about artificial intelligence (AI) everywhere, it affects all sectors&#8230; and cybersecurity is not to be left out! According to a global benchmark published by CapGemini in the summer of 2019, 69% of organizations consider that they will...</p>
<p>Cet article <a href="https://www.riskinsight-wavestone.com/en/2020/07/boost-your-cybersecurity-thanks-to-machine-learning-1-2/">Boost your cybersecurity thanks to Machine Learning?  Part 1 – « Absolutely, here’s how! »</a> est apparu en premier sur <a href="https://www.riskinsight-wavestone.com/en/">RiskInsight</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Nowadays, we hear about artificial intelligence (AI) everywhere, it affects all sectors&#8230; and cybersecurity is not to be left out! According to a global benchmark published by CapGemini in the summer of 2019, 69% of organizations consider that they will no longer be able to respond to a cyber-attack without AI. Gartner places <strong>AI applied to cybersecurity</strong> in the top 10 strategic technological trends for 2020.</p>
<p>Throughout two articles, we will explore AI&#8217;s capabilities, specifically those pertaining to Machine Learning for cybersecurity. In this first article, we will go through each stage of a Machine Learning project focused on a cybersecurity use scenario: <strong>the exfiltration of data from the IS</strong>, on a very simplified case. We have chosen a case study, but the concepts of this article are applicable to all Machine Learning projects and can be transposed to any other use case, most notably cyber.</p>
<figure id="post-13789 media-13789" class="align-none"></figure>
<p>&nbsp;</p>
<h2>First of all, what are we talking about?</h2>
<p>The term Artificial Intelligence (AI) includes all the techniques that allow machines to simulate intelligence. Today, however, when we talk about AI, we very often talk about <strong>Machine Learning</strong>, one of its sub-domains. These are <strong>techniques that enable machines to learn a task, without having been explicitly programmed to do so</strong>.</p>
<p>For us cybersecurity professionals, this is a good thing: we often find it difficult to describe explicitly what it is we want to detect! Machine Learning then provides us with new perspectives, that have already many application cases, of which the main ones are illustrated hereunder:</p>
<p>&nbsp;</p>
<figure id="post-13847 media-13847" class="align-none"><img decoding="async" class="size-full wp-image-13847 aligncenter" src="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-0-1.png" alt="" width="1189" height="543" srcset="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-0-1.png 1189w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-0-1-418x191.png 418w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-0-1-71x32.png 71w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-0-1-768x351.png 768w" sizes="(max-width: 1189px) 100vw, 1189px" /></figure>
<p>&nbsp;</p>
<h2>The example of a use case for ML-enhanced cybersecurity: the DLP</h2>
<p>To illustrate the contribution of Machine Learning to cybersecurity, we have chosen to focus on the fraudulent extraction of data from a company&#8217;s information system. In other words, the case of DLP (Data Leakage Prevention), an issue encountered by many companies. We want to detect suspicious outbound communications in order to prevent them from happening.</p>
<p>&nbsp;</p>
<figure id="post-13829 media-13829" class="align-none"><img loading="lazy" decoding="async" class="size-full wp-image-13829 aligncenter" src="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-1-2.png" alt="" width="1363" height="335" srcset="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-1-2.png 1363w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-1-2-437x107.png 437w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-1-2-71x17.png 71w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-1-2-768x189.png 768w" sizes="auto, (max-width: 1363px) 100vw, 1363px" /></figure>
<p>&nbsp;</p>
<p><em>«Very well but… how do we identify a suspicious communication? »</em></p>
<p>By large traded volumes? By a strange destination? By an unusual connection time?</p>
<p>In reality, our problem is <strong>complex to explain </strong>and what we need to assess is <strong>likely to change over time</strong>. Therefore, by using only static detection rules, our security teams find it difficult to be exhaustive. They can play on the thresholds of these rules to refine the detected elements, but unfortunately still find themselves with a large number of false positives to deal with.</p>
<p>We understand that the Machine Learning as we defined it previously can be useful here. What if we try it?</p>
<p>&nbsp;</p>
<figure id="post-13831 media-13831" class="align-none"><img loading="lazy" decoding="async" class="size-full wp-image-13831 aligncenter" src="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-2-3.png" alt="" width="1239" height="561" srcset="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-2-3.png 1239w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-2-3-422x191.png 422w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-2-3-71x32.png 71w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-2-3-768x348.png 768w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-2-3-730x330.png 730w" sizes="auto, (max-width: 1239px) 100vw, 1239px" /></figure>
<p>&nbsp;</p>
<h2>Step 1: Clarify the need</h2>
<p>That is what we just did!</p>
<p>&nbsp;</p>
<h2>Step 2: Choose the data</h2>
<p>When we hear the words Machine Learning, we usually must understand &#8220;data&#8221; to feed the algorithms. <strong>Lots of data, and of good quality!</strong></p>
<p>When asking where to get useful data for our data exfiltration case to our <strong>requesting business</strong> (which for once is cybersecurity!), the web proxy stands out as the big winner: it sees almost all the traffic that comes out through the IS. So, we recovered its logs and they look like this:</p>
<p>&nbsp;</p>
<figure id="post-13833 media-13833" class="align-none"><img loading="lazy" decoding="async" class="size-full wp-image-13833 aligncenter" src="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-3-2.png" alt="" width="1227" height="331" srcset="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-3-2.png 1227w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-3-2-437x118.png 437w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-3-2-71x19.png 71w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-3-2-768x207.png 768w" sizes="auto, (max-width: 1227px) 100vw, 1227px" /></figure>
<p><em> </em></p>
<p><em>« This all seems quite complicated…»</em></p>
<p><em>Data scientists </em>have indeed enough reasons to get lost: on the one hand, the whole thing is not easily understandable, and on the other hand, after consultation with the cybersecurity business, <strong>not all fields are really useful for our use case. We therefore selected some</strong> of them with the cybersecurity business before continuing.</p>
<p>&nbsp;</p>
<figure id="post-13835 media-13835" class="align-none"><img loading="lazy" decoding="async" class="size-full wp-image-13835 aligncenter" src="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-4-2.png" alt="" width="1297" height="218" srcset="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-4-2.png 1297w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-4-2-437x73.png 437w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-4-2-71x12.png 71w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-4-2-768x129.png 768w" sizes="auto, (max-width: 1297px) 100vw, 1297px" /></figure>
<p>&nbsp;</p>
<p>The result is easier for data scientists to use!</p>
<p>&nbsp;</p>
<h2>Step 3: prepare the data</h2>
<p>Data scientists can now &#8220;explore the data&#8221; in order to ensure optimal learning of the algorithm. Here, they give us a surprising element in the distribution of our requests according to their upload volume. Since we want to detect data exfiltration, this variable is of particular interest to us.</p>
<p>&nbsp;</p>
<figure id="post-13837 media-13837" class="align-none"><img loading="lazy" decoding="async" class="size-full wp-image-13837 aligncenter" src="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-5-4.png" alt="" width="1179" height="481" srcset="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-5-4.png 1179w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-5-4-437x178.png 437w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-5-4-71x29.png 71w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-5-4-768x313.png 768w" sizes="auto, (max-width: 1179px) 100vw, 1179px" /></figure>
<p>&nbsp;</p>
<p>The value of our variable is not distributed, we even have a very high volume at 0.</p>
<p><em>“But still, there are a lot of these requests with a null upload volume; is it really relevant to keep them in our case? “. </em></p>
<p>Indeed, after discussion with the cybersecurity business, it appears that these data do not bring much for our use case. So we decided to remove them. Our sample was then distributed as follows:</p>
<p>&nbsp;</p>
<figure id="post-13839 media-13839" class="align-none"><img loading="lazy" decoding="async" class="size-full wp-image-13839 aligncenter" src="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-6-4.png" alt="" width="1177" height="511" srcset="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-6-4.png 1177w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-6-4-437x191.png 437w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-6-4-71x31.png 71w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-6-4-768x333.png 768w" sizes="auto, (max-width: 1177px) 100vw, 1177px" /></figure>
<p>&nbsp;</p>
<p>After several back and forth exchanges between data scientists challenging the data from a statistical point of view and cybersecurity teams responding with their professional eye, the data is simplified as much as possible. Data is then:</p>
<ul>
<li><strong>Enriched </strong>by creating new variables that are denser in useful information. We introduced a<strong> relative upload volume </strong>to each site, measuring the difference between the upload volume of a request and its average value over the last 90 days. We could also add the<strong> connection time </strong>for example.</li>
<li><strong>Normalized </strong>by reducing the amplitude of each variable to decrease an over- or underweighting of certain variables.</li>
<li><strong>Digitized</strong>, as most algorithms can only interpret numerical variables.</li>
</ul>
<p>We can now split our data set in two: <strong>one set that will be used to train our model</strong>, <strong>one set that will allow us to test its performance</strong>. Several separation methods exist, enabling us to keep certain characteristics of the data (e.g. seasonality), but the objective remains the same: to guarantee an evaluation measure as close as possible to the model&#8217;s real performances, by presenting the model with data that it did not have at its disposal during training.</p>
<p>&nbsp;</p>
<h2>Step 4: Choosing the learning method and training the model</h2>
<p>Some algorithms are more efficient than others for a given problem, it is therefore necessary to make a reasoned choice.</p>
<p>There are two main categories of Machine Learning algorithms:</p>
<ul>
<li><strong>Supervised, </strong>when we have labeled data as a reference to give as an example to our algorithm. These algorithms are for example used in cybersecurity by anti-spam solutions: they can learn via the users’ classification of emails as spam for example.</li>
<li><strong>Unsupervised,</strong> when we do not know precisely what we want to detect or when we lack examples to provide the algorithm with for its learning (i.e. we lack labeled data).</li>
</ul>
<p>As explained above, the context of our use case points us more towards the second option. It is for the same reasons that we initially thought of Machine Learning. We then choose our unsupervised learning algorithm (Isolation Forest here, but we could have chosen another one) and train our model.</p>
<p>&nbsp;</p>
<h2>Step 5: Analyze results</h2>
<p>We use our test data set to evaluate the effectiveness of our model in detecting exfiltration cases.</p>
<p>The designed model detects patterns in the data (queries), then compares the new data (queries) with these patterns and <strong>highlights those that deviate from what it considers to be the norm through its learning (anomaly score).</strong></p>
<p>Here are our results:</p>
<p>&nbsp;</p>
<figure id="post-13841 media-13841" class="align-none"><img loading="lazy" decoding="async" class="size-full wp-image-13841 aligncenter" src="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-7-2.png" alt="" width="1212" height="515" srcset="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-7-2.png 1212w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-7-2-437x186.png 437w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-7-2-71x30.png 71w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-7-2-768x326.png 768w" sizes="auto, (max-width: 1212px) 100vw, 1212px" /></figure>
<p>&nbsp;</p>
<p><em>« Ok, but how should I interpret all this ? »</em></p>
<p>The graph on the left represents the anomaly scores associated with each query in the test set, sorted in chronological order. To the right are the logs with the highest anomaly scores.</p>
<p>After investigation with the cybersecurity business:</p>
<ul>
<li>The peak in yellow, corresponds to <strong>a much larger upload volume</strong> than others, from a user who extracts a large volume of data. This anomaly is legitimate. However, an alert based on a static volume per request rule would also have detected this suspicious communication.</li>
<li>More interesting now, the peaks in red, correspond to <strong>requests for low volumes of regular uploads to unknown sites from the same user.</strong> These anomalies are harder to detect with conventional means, yet <strong>our algorithm has given them the same anomaly score as a large volume.</strong> They therefore become just as high a priority to qualify for our cybersecurity alert management teams.</li>
</ul>
<p>&nbsp;</p>
<figure id="post-13843 media-13843" class="align-none"><img loading="lazy" decoding="async" class="size-full wp-image-13843 aligncenter" src="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-8-2.png" alt="" width="1184" height="523" srcset="https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-8-2.png 1184w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-8-2-432x191.png 432w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-8-2-71x31.png 71w, https://www.riskinsight-wavestone.com/wp-content/uploads/2020/07/Image-8-2-768x339.png 768w" sizes="auto, (max-width: 1184px) 100vw, 1184px" /></figure>
<p>&nbsp;</p>
<p>Now, let&#8217;s focus on the large package in the center of the graph (in orange). On the first day, we observe a large anomaly score, a sudden <strong>sending of data by many users to the city&#8217;s transit website</strong>. After investigation we realize that this is <strong>not a real security incident</strong>, but the annual sending of receipts for the continuation of transport subscriptions (we are at the beginning of September &#8230;).  We then observe that the <strong>algorithm &#8220;understands&#8221; that these flows return to several users and progressively integrates them as a habit. The risk score therefore decreases day by day.</strong></p>
<p>The model therefore detects what is out of the norm, regardless of the standard, and corrects itself with experience. <strong>This is where Machine Learning presents a real added value compared to traditional detection methods.</strong></p>
<p>If the performance of the model on this first simplified use case attests to the potential value of the Learning Machine, it may be time to move on to step 6 &#8211; deployment to scale!</p>
<p>In a second article we will come back to these steps to highlight the success factors and pitfalls to be avoided when studying the possibilities of Machine Learning in cybersecurity.</p>
<p>Cet article <a href="https://www.riskinsight-wavestone.com/en/2020/07/boost-your-cybersecurity-thanks-to-machine-learning-1-2/">Boost your cybersecurity thanks to Machine Learning?  Part 1 – « Absolutely, here’s how! »</a> est apparu en premier sur <a href="https://www.riskinsight-wavestone.com/en/">RiskInsight</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
