<?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[Adarma Tech Blog - Medium]]></title>
        <description><![CDATA[Adarma’s Technical Blog - Medium]]></description>
        <link>https://medium.com/adarma-tech-blog?source=rss----9ea0860c2c42---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Adarma Tech Blog - Medium</title>
            <link>https://medium.com/adarma-tech-blog?source=rss----9ea0860c2c42---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 14:44:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/adarma-tech-blog" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Improving your privacy with “Signal”]]></title>
            <link>https://medium.com/adarma-tech-blog/improving-your-privacy-with-signal-969b072a96e6?source=rss----9ea0860c2c42---4</link>
            <guid isPermaLink="false">https://medium.com/p/969b072a96e6</guid>
            <category><![CDATA[signal]]></category>
            <category><![CDATA[signal-app]]></category>
            <category><![CDATA[messaging-apps]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Liam Somerville]]></dc:creator>
            <pubDate>Tue, 19 Jan 2021 14:58:24 GMT</pubDate>
            <atom:updated>2021-01-19T17:18:44.459Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sBNUEdxHsjP_scD9JOtE_g.png" /><figcaption>Signal Messaging App</figcaption></figure><p>There’s been a lot of conversation happening in the security community that&#39;s spilled out into the wider news around swapping WhatsApp for Signal. Signal is an app by an open-source project from the Signal Foundation, their mission…to boldly go……no, no, that’s not right. Is to “develop open-source privacy technology that protects free expression and enables secure global communication”. This discussion in the news has since caused WhatsApp to reevaluate what it’s utilising customer data for and what it shares with parent company Facebook.</p><p>Signal is freely available from the <a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiUj7vr3aHuAhVlqHEKHf9_DqgQFjAAegQIAhAC&amp;url=https%3A%2F%2Fapps.apple.com%2Fgb%2Fapp%2Fsignal-private-messenger%2Fid874139669&amp;usg=AOvVaw25BOagsduyhKP0TSCtvuvs">apple store</a> and the android<a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiUj7vr3aHuAhVlqHEKHf9_DqgQFjABegQIARAC&amp;url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dorg.thoughtcrime.securesms%26hl%3Den_GB%26gl%3DUS&amp;usg=AOvVaw3vZvWuTZhQGdtjhhkE3ID8"> play store</a>. Does installing the app instantly fix your privacy? It improves it but there are things you can do inside the app to improve your privacy further. Let&#39;s explore some of these privacy features.</p><p>This article isn’t about the end-to-end encryption, or why it’s better than WhatsApp but rather, how to improve your own privacy inside the signal app. The article isn’t an endorsement either, but instead, guidance on how to increase your own privacy IF you choose to use Signal.</p><p>To access your privacy settings choose the three dots at the top, choose settings and then privacy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MsC2LhRa-MAll-djBPQxvw.png" /><figcaption>Signal Privacy Settings Flow</figcaption></figure><p>From the top Down, these features include:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mgESOtNLce-SCSBtncF92w.png" /></figure><p><strong>Screen Lock, </strong>this feature on both Android and iOS enables you to enter your biometrics or screen lock features of your phone e.g. Touch ID, FaceID, fingerprint to unlock the app when you launch it</p><p><strong>Enable Screen Security </strong>(on iOS) or <strong>Screen Security</strong> (on android) differs in its purpose on iOS and android. On iOS it means app switcher is unable to show data previews. On android, it prevents screenshots being taken, just in case your device is compromised and an app is monitoring your screen to take screenshots.</p><p><strong>Incognito Keyboard, </strong>I particularly encourage you to enable this feature. It stops the keyboard from sending the content you type to third-party app developers.</p><p>Now, keep scrolling down the privacy settings until you get to “<strong>Always relay calls</strong>” as the description says this feature relays “all calls through the Signal server to avoid revealing your IP address to your contact.” However, enabling will reduce call quality.</p><figure><img alt="Registration Lock" src="https://cdn-images-1.medium.com/max/1024/1*-iKM5_qnWIJ1Sj5Eux9NBQ.png" /></figure><p>Keep scrolling again until you see<strong> Registration Lock. </strong>On both Android and iOS this neat little feature forces you to enter a pin upon registering the app on a new device, neat if you don’t want others masquerading as you.</p><p>Hope this quick tour through some additional privacy settings has been useful, and before you ask, yes, I’m sitting here with my tinfoil hat on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=969b072a96e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adarma-tech-blog/improving-your-privacy-with-signal-969b072a96e6">Improving your privacy with “Signal”</a> was originally published in <a href="https://medium.com/adarma-tech-blog">Adarma Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Updating a sub production instance in ServiceNow]]></title>
            <link>https://medium.com/adarma-tech-blog/updating-a-sub-production-instance-in-servicenow-4859d076ee97?source=rss----9ea0860c2c42---4</link>
            <guid isPermaLink="false">https://medium.com/p/4859d076ee97</guid>
            <category><![CDATA[servicenow]]></category>
            <category><![CDATA[upgrade]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[instance]]></category>
            <dc:creator><![CDATA[Ayner Antonio Perez Tito]]></dc:creator>
            <pubDate>Mon, 11 Jan 2021 17:36:16 GMT</pubDate>
            <atom:updated>2021-01-11T17:36:16.402Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Updating a sub-production instance in ServiceNow</strong></h3><h3>Introduction</h3><p>Upgrades are a vital activity in ServiceNow. These are carried out once or twice a year and usually after every new version release (New York, Orlando, Paris, etc). ServiceNow provides plenty of documentation detailing the steps to be followed in this process:</p><p>· <a href="https://www.servicenow.com/success/instance-upgrades/upgrade-best-practices.html">Instance upgrade best practices</a></p><p>· <a href="https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/success/quick-answer/how-to-upgrade.pdf">ServiceNow: How to upgrade</a></p><p>· <a href="https://docs.servicenow.com/bundle/paris-release-notes/page/release-notes/upgrades/upgrades-planning-checklist.html">ServiceNow Upgrade Planning checklist</a></p><p>Part of this process is focused on testing the updates and checking for possible issues before upgrading the production instance. So, in this article we will focus on the technical approach of making this change in a sub-production instance. This is one of those steps and although has similarities to upgrading a production instance, it should be more straightforward and more oriented into the technical aspect of the task at hand.</p><p>The following lines describe the process of upgrading a ServiceNow <strong>cloud</strong> sub-production instance.</p><h3>Planning</h3><p>As part of the overall upgrade process, planning is essential for any kind of instance upgrade, whether we are talking of development, sub or production. With every new version release, new notes are published in the Product documentation. In these notes it is possible to see the changes from one version to another. If you are facing an upgrade from a version much older than the version you are aiming for, it is more likely to require significant changes to validate.</p><p>It is important to check the version of each instance involved in the upgrade since they may not be the same.</p><figure><img alt="Result of the “stats.do” command which includes the current instance version and patch." src="https://cdn-images-1.medium.com/max/941/1*OVd2PMzSVZYfwr3kvS3QMQ.png" /><figcaption><strong>Result of the “stats.do” command applied on the Filter Navigator of the instance</strong></figcaption></figure><p>As an example, here are the links of the release notes from Madrid to Orlando:</p><p>· <a href="https://docs.servicenow.com/bundle/orlando-release-notes/page/release-notes/rn-combined/orlando-madrid-combined-release-notes.html">Combined Release Notes for Madrid to Orlando</a></p><p>· <a href="https://docs.servicenow.com/bundle/orlando-release-notes/page/release-notes/quality-summary/orlando-summary-fixes.html">Personalized PRB release notes for upgrades to Orlando</a></p><p>For the testing scope, the instance managers may tell you their customisations and integration plugins as a starting point. We are still required to confirm and validate if these changes on the instance are working properly. Furthermore, we can go to <em>System Definition &gt; Plugins</em> and filter the results to<em> Installed</em> to see the relevant plugins and modules installed in the instance. There may be some changes not mapped by the system administrators.</p><figure><img alt="Filtering the list of plugins gives a quick view on the apps added to the instance." src="https://cdn-images-1.medium.com/max/941/1*6HjxoeG90KKUQbWs-E5aBg.png" /><figcaption><strong>Example of System Definition &gt; Plugins</strong></figcaption></figure><p>Another source of information about changes is with Reports. We can create a report of the changes made to the instance by other users. You will need to go to <em>Reports &gt; View/Run</em> and select <em>My changes</em>. We can change the filter to <em>Updated by is not system</em> and set the <em>Group by </em>to <em>Application</em>. With the report, changes can be mapped and new actions for testing after the upgrade can be done.</p><figure><img alt="The report will throw all the changes done by users into the applications." src="https://cdn-images-1.medium.com/max/941/1*LTQVVs43ib1_KLTRZ9i35Q.png" /><figcaption><strong>Capture of Reports &gt; View / Run with the report to use to see changes</strong></figcaption></figure><p>For the test plan, you must work with the users and determine the expected results and what needs to be validated, establishing the current and expected future state for each app, customisation and integration: if the plugin is not working now, do we expect for it to work after the upgrade?</p><h3>After the upgrade</h3><p>After having scheduled the upgrade on the Now Support portal, the upgrade process should go through leaving behind the Skipped Changes:</p><figure><img alt="By going to Skipped changes, all the changes avoided because of customisation can be checked." src="https://cdn-images-1.medium.com/max/941/1*Ppi_jQ1IXsdMZDzQGEgljA.png" /><figcaption><strong>Example of Upgrade Monitor available on System Diagnostics &gt; Upgrade Monitor</strong></figcaption></figure><p>When going through the Skipped Changes, due to customisation of the UI on a form or because of a major change in an application, consider any mapped actions that could overwrite what was skipped during the upgrade.</p><p>Although the upgrade was done, plugins should be checked and updated if necessary. With custom applications, a full review of its functionality should be checked to see if the scripts need to be updated.</p><figure><img alt="Expired or outdated plugins should have been mapped prior the update since they have an impact on functionality." src="https://cdn-images-1.medium.com/max/941/1*EdR-j12D0pfTjpG5gTi4gg.png" /><figcaption><strong>Example of outdated and unavailable plugins in ServiceNow</strong></figcaption></figure><p>Finally, keep in mind that sometimes the plugins require you to review technical documentation of other manufacturers. For changes on other applications and solutions, work alongside the people in charge of those solutions.</p><h3>Conclusion</h3><p>ServiceNow makes it easy to upgrade your instance; however, upgrades should be properly planned and mapped from the outset to enable fewer customisations, skipped changes and essentially less work to do. Effective planning can also ensure the actions after the upgrade are visible to the System Administrator. Although there are technical aspects to cover, the number of these are dependent on the level of customisations made to the instance so each case should be analysed separately.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4859d076ee97" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adarma-tech-blog/updating-a-sub-production-instance-in-servicenow-4859d076ee97">Updating a sub production instance in ServiceNow</a> was originally published in <a href="https://medium.com/adarma-tech-blog">Adarma Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Detecting Account Compromise through Land Speed Violations OR How Highschool Maths Help Catch Bad…]]></title>
            <link>https://medium.com/adarma-tech-blog/detecting-account-compromise-through-land-speed-violations-or-how-highschool-maths-help-catch-bad-1c72d09ca0a?source=rss----9ea0860c2c42---4</link>
            <guid isPermaLink="false">https://medium.com/p/1c72d09ca0a</guid>
            <category><![CDATA[adarma]]></category>
            <category><![CDATA[blue-team-defenders]]></category>
            <category><![CDATA[account-compromise]]></category>
            <category><![CDATA[speed-distance-time]]></category>
            <category><![CDATA[information-security]]></category>
            <dc:creator><![CDATA[Mike Varley]]></dc:creator>
            <pubDate>Tue, 05 Jan 2021 17:14:22 GMT</pubDate>
            <atom:updated>2021-01-05T17:14:22.384Z</atom:updated>
            <content:encoded><![CDATA[<h3>Detecting Account Compromise through Land Speed Violations OR How High School Maths Help Catch Bad Guys…</h3><p>I’m Mike, and I’m a Security Consultant with Adarma. One of my main responsibilities is to work with some of the UK’s (and world’s) best known &amp; loved brands and onboard them into our multi-tenant managed Security Operations Centre. In fact, I’ve not long started an engagement doing just this with an international lottery-based cause marketing organisation (<a href="https://en.wikipedia.org/wiki/Cause_marketing">https://en.wikipedia.org/wiki/Cause_marketing</a>).</p><p>One of my favourite parts of an onboarding engagement is talking about security monitoring use cases because it’s really one of the first opportunities we get to show off the cool things we can do for our customers. One of my favourite use cases of all time is how we detect <strong>potential account compromise</strong> by identifying where a land speed violation has occurred between logon locations for a given user. Our sales team call it the Superman Use Case.</p><p>At its core, it’s a really simple principle that makes it all work and I think that’s why I like it so much (That and I love seeing the look on people’s faces when they find out). I’ve yet to find a time when I’ve wondered (or needed to figure out) when two trains that depart separate stations at different times will meet, but I use the same principle to power my use case. Have you worked it out yet?</p><p>No, really.</p><p>Stacie Ellis is a colleague that works for one of our customers. Recently, like a lot of us, Stacie has been working from home due to the COVID pandemic and has been connecting to the corporate network using her VPN. The VPN is hosted in AWS, so seeing Stacie authenticating from Dublin, where AWS region <em>eu-west-1</em> is hosted, is nothing out of the ordinary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*MAHVOd85Qs4xSyUagdHPWA.png" /><figcaption>Geo IP Data for Stacie’s AWS Address</figcaption></figure><p>What is interesting, however, is that Stacie is then seen logging in from Qingdao in China. This isn’t a known AWS data centre here, nor does our customer have any business in China and so the question arises, is this really Stacie?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*mIGPUlubjWf_4JxZ4GjZzQ.png" /><figcaption>Geo IP Data for Stacie’s “Supposed” Trip to China</figcaption></figure><p>A lot of customers are really quite surprised when we reveal that the deep, dark secret is really just Speed = Distance/Time. It takes a little bit more work to get it into this form, so let’s step through how we get these factors.</p><p>Working out Time is pretty simple — We just subtract the two date/time stamps which gives us 86,400 seconds, or 24 hours. Easy!</p><p>Distance is a little bit more complicated. We take the IP Addresses that Stacie has logged in from and we compare them against a Geo IP database (like Maxmind) to find out relevant information such as the city, region &amp; country the address originates from and, most importantly, longitude &amp; latitude coordinates (Disclaimer: YMMV if you live in Kansas (1)).</p><p>Using the Spherical Law of Cosines (basic trigonometry for circles (yes that is a thing), which is another blog post for another time), we can use the longitude &amp; latitude co-ordinates to work out the distance between the two points, which is 5484.93 miles.</p><blockquote><strong><em>Speed = 5484.93 / 24</em></strong></blockquote><p>In order to have covered this distance, Stacie must have been travelling <em>at least</em> 228.54 miles per hour (on average). This is above the threshold we have in our detection rule and so an alert is sent to our Security Operations Centre for investigation by one of our SOC Analysts.</p><p>So at face value, this looks like an easy one, but before we jump to conclusions let’s talk about how one of our SOC Analysts would approach an alert like this.</p><p>· Is Stacie travelling for business, or on leave? We’ll look to see if Stacie has enabled her automatic Out of Office response and if it mentions that she is travelling, or on leave. We’ll also maybe have a quick glance at recent email subject lines — Do they indicate that Stacie has plans to/is currently travelling or on leave? It’s not unusual to not find anything here — People forget to set their OOO responses &amp; not everyone discusses their personal life over email subject lines (Don’t worry, I can’t read your emails).</p><p>We can also reach out and speak to Stacie’s Line Manager. Who in the customer organisation is going to know if you’ve been at work recently, if not your direct supervisor/manager?</p><p>· Is it feasible to travel the distance in the identified time frame? 24 hours between logons seems like a feasible timeframe to travel between Ireland &amp; China if you take a plane and if you checked Google Maps, you’d be right. Flight time from Dublin to Qingdao is just upwards of 21 hours.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*QIrvscJfDsxanu2qPA_3Hw.png" /><figcaption>Flight Duration from Ireland to Qingdao, by Google Maps</figcaption></figure><p>If you looked for flights, however, you’d be out of luck — There are no flights from Ireland to Qingdao between now and the end of February 2021 (at least, accurate at the time of writing). If you travel to Edinburgh, or to London, you can get flights but these are 50 hours with 2 layovers &amp; 31 hours with 2 layovers, respectively. This is of course before we factor in time spent travelling to the airport, checking-in, clearing security, etc. In short, you’re not getting from the UK to China in under 24 hours unless you are, of course, Superman or Superwoman.</p><p>So it looks pretty likely that unfortunately, Stacie’s account has been compromised. This is where our Analysts will work through a Playbook, use their judgement to triage the potential impact and engage the appropriate escalation processes. Some of the information our analysts will look at:</p><p>· What did “Stacie” log in to from the rogue address? Was it a Cloud-based service like Office 365 or a server in a physical data centre? Although the compromise of an Office 365 account is far from ideal and <em>significant damage can still be caused</em>, there is a layer of separation that limits the attacker to the contents of the O365 account &amp; prevents them from traversing the physical network. An attacker that has logged on to a Domain Controller now potentially now has a route directly to critical assets &amp; crown jewel systems with the keys to the kingdom in their possession.</p><p>· What is Stacie’s role within the organisation? Is Stacie in a front line customer-facing role, and so potentially handling sensitive &amp; private customer information? Is Stacie perhaps in an IT support role, and so might have low level but far-reaching privileges that could be used to spread malware? This helps us to determine what the impact of having Stacie’s account compromised might be to the customer — A colleague who is store-based and interacts with IT systems solely for operating the point of sale device is a lower priority than a colleague who sits on the board with access to confidential commercial information.</p><p>· What does Stacie’s email &amp; web traffic look like? What emails has she received in the lead up to the account compromise, and who were they from (Who does it say it’s from, and who is it <em>really</em> from)? Has Stacie been a victim of phishing herself? What about email activity post-compromise? Has Stacie suddenly started emailing senior colleagues for the first time? What about email volumes in general, has there been an increase in emails to colleagues (indicating potential internal phishing) or externally (indicating potential data exfiltration or more phishing)? Can we see regular &amp; repetitive web traffic patterns that could indicate attempts to contact command &amp; control infrastructure?</p><p>· What’s been happening on Stacie’s device? Assuming that Stacie is using a corporate device, we can examine a range of event logs from the applications, software and operating system of the asset in question. Has the on-board AntiVirus/AntiMalware solution recorded events that might not appear suspicious on their own, but do when viewed in the current context? Has the operating system recorded scripts, files and/or executables being created in the downloads and/or temporary folders? Have there been suspicious changes to the device registry, such as changes to core/critical keys or an anomalous volume of changes? New services, anyone?</p><p>These are just some of the considerations that our analysts make when looking after a range of issues on behalf of our customers. The information they gather is used to identify the potential impact to our customers and will inform the priority at which the incident is escalated. From there, our analysts will work to support &amp; guide our customers through an Incident Response process that seeks to identify, contain, eradicate and then learn.</p><p>And so there we have it, how Speed = Distance/Time helps real-life cybersecurity analysts catch bad guys. Sound interesting? Contact careers@adarma.com if you’re interested in a career in cyber security.</p><p>(1) — <a href="https://arstechnica.com/tech-policy/2016/08/kansas-couple-sues-ip-mapping-firm-for-turning-their-life-into-a-digital-hell/">https://arstechnica.com/tech-policy/2016/08/kansas-couple-sues-ip-mapping-firm-for-turning-their-life-into-a-digital-hell/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c72d09ca0a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adarma-tech-blog/detecting-account-compromise-through-land-speed-violations-or-how-highschool-maths-help-catch-bad-1c72d09ca0a">Detecting Account Compromise through Land Speed Violations OR How Highschool Maths Help Catch Bad…</a> was originally published in <a href="https://medium.com/adarma-tech-blog">Adarma Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cat Scratch Server: Getting Your Paws on DNScat2 & Other Suspicious DNS Activity]]></title>
            <link>https://medium.com/adarma-tech-blog/cat-scratch-server-getting-your-paws-on-dnscat2-other-suspicious-dns-activity-757f1065a1f0?source=rss----9ea0860c2c42---4</link>
            <guid isPermaLink="false">https://medium.com/p/757f1065a1f0</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[splunk]]></category>
            <dc:creator><![CDATA[Cian Heasley]]></dc:creator>
            <pubDate>Wed, 08 Jul 2020 10:00:42 GMT</pubDate>
            <atom:updated>2020-07-08T10:00:42.041Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*ptLLSTjPtGDzCRVnNdSHCg.jpeg" /></figure><h3>Introduction</h3><p>There’s a saying among sysadmins, “It’s always DNS”. And in this case, it really is.</p><p>Today we will be exclusively looking at DNS based Command &amp; Control (C2), tunnelling, exfiltration activity with log excerpts and some simple SPL for detection of popular red team tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5PxYaFfn8_6nyQ63Vs_ycg.png" /><figcaption>A DNS haiku</figcaption></figure><p>We’re going to be primarily taking a look at DNScat2, a DNS based C2 along with iodine, which is a DNS based tunnelling tool and DNSExfiltrator- a tool to enable exfiltration of files over covert channels masked as DNS traffic.</p><p>All of these tools require that the adversary has control of an authoritative DNS server, which will serve as the endpoint for the DNS requests transmitted from the compromised host.</p><p>Each of these tools is comprised of a client that must be run on the system to be exploited and a server-side that is installed on the adversary’s staging server.</p><p>Throughout this piece, I’ll be aligning everything with <a href="https://attack.mitre.org/">Mitre’s ATT&amp;CK Framework</a> to keep us all on the same page as to what we’re discussing, and linking to resources for those who want more information.</p><p>We will be looking at Windows Event Logs and DNS records as our data sources of choice, although firewall logs would also be useful for detecting the kinds of traffic we’ll be looking for in some cases.</p><p>If you are interested in reading more about C2s, the <a href="https://www.thec2matrix.com/">C2 Matrix</a> is an excellent resource that brings together metrics for comparing C2 capabilities and limitations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DlGmmMSXsx0z1AnFagcK6g.png" /><figcaption>The C2 Matrix Google Sheet</figcaption></figure><h3>Methodology</h3><p>Information presented here is current as of June 2020.</p><p>All of the information in this piece is derived from tests run on a fully up-to-date Windows Server 2012 or Windows 10 Enterprise VM acting as the compromised host running the client-side of each tool and a Debian system running the adversary’s server-side.</p><p>For anyone wanting to replicate my test setup, I recommend <a href="http://tadek.pietraszek.org/projects/DNScat/">using zone forwarding within BIND</a> on the server-side to handle relaying requests to the various DNS adversary tools. Using zone forwarding means it is possible to continue running BIND on port 53 whilst running the other servers themselves on your choice of ports and not having to mess with iptables or other more complex methods of getting everything to play nicely together.</p><p>The added bonus here is that queries that pass through BIND and are then forwarded are logged, which is, of course, vital for our testing and Splunk visibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*j4zzVnRZUVMeTzaexoFImg.png" /><figcaption>Setting up zone forwarding in BIND’s named.conf.local for DNScat2 and iodine, server-side</figcaption></figure><p>To generate DNS background noise so that there was a greater amount of test data to parse I used “<a href="https://github.com/madereddy/noisy">noisy</a>”, which requests a series of websites, spiders them and then follows any links within them to generate traffic. You can run this on any computer that is using your test DNS server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lcgWzEJy7JnRxQjKGiJdvA.png" /><figcaption>Running “noisy” to generate background DNS traffic</figcaption></figure><p>Finally, a Splunk Universal Forwarder is running on the DNS server so that we can ingest and analyse incoming queries and on the compromised host VMs.</p><h3>DNScat2</h3><p>DNScat2 uses port 53 (ATT&amp;CK T1043: <a href="https://attack.mitre.org/techniques/T1043/">Commonly Used Port</a>) to blend in with existing outgoing DNS traffic (ATT&amp;CK T1071: <a href="https://attack.mitre.org/techniques/T1071/">Standard Application Layer Protocol</a>), it can <a href="https://github.com/iagox86/dnscat2/blob/master/doc/command_protocol.md">transfer files to and from</a> compromised hosts (ATT&amp;CK T1105: <a href="https://attack.mitre.org/techniques/T1105/">Remote File Copy</a>) and by default <a href="https://github.com/iagox86/dnscat2/blob/master/doc/protocol.md">uses ECDH and SHA3 implemented via salsa20</a> to encrypt data that passes between the client and host (ATT&amp;CK T1022: <a href="https://attack.mitre.org/techniques/T1022/">Data Encrypted</a>).</p><p>DNS as C2 or exfiltration has been observed in the wild in use by APT groups such as <a href="https://attack.mitre.org/groups/G0049/">Oilrig</a>, <a href="https://attack.mitre.org/groups/G0046/">FIN7</a> and <a href="https://attack.mitre.org/groups/G0096/">APT41</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*oFRed6d7nXzzPnKPqo5piA.png" /><figcaption>DNScat2 server-side running on Debian</figcaption></figure><p>From the <a href="https://github.com/iagox86/dnscat2">project Github</a>:</p><blockquote>This tool is designed to create an encrypted command-and-control (C&amp;C) channel over the DNS protocol, which is an effective tunnel out of almost every network.</blockquote><p>You can find pre-compiled DNScat2 binaries for popular platforms <a href="https://downloads.skullsecurity.org/dnscat2/">here</a>.</p><p>Once you set a baseline for the length of the queries you see in your environment you can start to look for outliers, as DNSCat2 results in lengthier queries than legitimate traffic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tTE_uRzPZFqvnRwPIvgVHQ.png" /></figure><pre>index=2012 sourcetype=&quot;isc:bind:query&quot; query!=*local query!=*arpa<br>| eval qlen=len(query)<br>| eventstats avg(qlen) AS avg stdev(qlen) AS stdev<br>| where qlen&gt;(stdev*3)<br>| table src query dest qlen avg<br>| sort -qlen</pre><p>So we’ve seen that we can look at the length of queries themselves but what about analysing the contents of the queries? This is where <a href="https://splunkbase.splunk.com/app/2734/">URL Toolbox</a> comes in - it enables us to work with the domains queried, separating multi-level subdomains from base domains, and also look at Shannon Entropy.</p><p>Explaining <a href="https://en.wikipedia.org/wiki/Entropy_(information_theory)">Shannon Entropy</a> in detail is beyond the scope of this piece but in essence, it is a way of determining the probability of a series of characters occurring and flagging those that are less probable, or “surprising”.</p><p>Running this against our DNS query data we can look for values with high Shannon Entropy scores:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ilH1HhIXaTKhb9SdshFNHg.png" /></figure><p>We can immediately see that our top results are all from my test domain “k0dez.org”, *.en1gma.k0dez.org is our DNSCat2 traffic, *.v0ynich.k0dez.org is the subdomain associated with iodine and *.d0rabella.k0dez.org is traffic from DNSExfiltrator.</p><p>URL Toolbox works well, you should install it if you are using Splunk.</p><p>Lastly, by default DNScat2 rotates through sending data as MX, TXT and CNAME record types. While it doesn’t send precisely a third of data as each type it is close enough to a third each that the following rough SPL should be able to catch it:</p><pre>index=2012 sourcetype=”isc:bind:query” AND record_type IN (“CNAME”, “MX” “TXT”)<br>| eval utlist=”*”<br>| `ut_parse_extended(query, utlist)`<br>| stats count AS total count(eval(record_type=”MX”)) AS MX count(eval(record_type=”TXT”)) AS TXT count(eval(record_type=”CNAME”)) AS CNAME count(ut_domain) values(record_type) by ut_domain<br>| eval MXpercent=round(MX/total*100,2), TXTpercent=round(TXT/total*100,2), CNAMEpercent=round(CNAME/total*100,2)<br>| where MXpercent &gt;= 30 AND TXTpercent &gt;= 30 AND CNAMEpercent &gt;= 30</pre><p>Here are our results, note the percentage of each record type:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AfHaWke2y8GtBsPLvWLGwg.png" /></figure><h3>Iodine</h3><p>As with our other tools, iodine uses port 53 (ATT&amp;CK T1043: <a href="https://attack.mitre.org/techniques/T1043/">Commonly Used Port</a>) to blend in with existing outgoing DNS traffic (ATT&amp;CK T1071: <a href="https://attack.mitre.org/techniques/T1071/">Standard Application Layer Protocol</a>), and it creates a tunnel between compromised host and server (ATT&amp;CK T1048: <a href="https://attack.mitre.org/techniques/T1048/">Exfiltration Over Alternative Protocol</a>).</p><p>You can find pre-compiled iodine binaries for popular platforms <a href="https://code.kryo.se/iodine/">here</a>.</p><p>From <a href="https://github.com/yarrick/iodine">iodine’s Github documentation</a>:</p><blockquote>This is a piece of software that lets you tunnel IPv4 data through a DNS server. This can be usable in different situations where internet access is firewalled, but DNS queries are allowed.</blockquote><p>Reading the <a href="https://github.com/yarrick/iodine/blob/master/README-win32.txt">win32 documentation</a> for iodine, we can see that when the iodine client is compiled and run in Windows it requires an OpenVPN driver.</p><p>We can look for this installation of OpenVPN in Windows logs as a potential indicator:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gF4klfOSCNnMSXES6hA7rg.png" /></figure><pre>index=win10 sourcetype=&quot;wineventlog:security&quot; EventCode=4697 Service_File_Name=&quot;*openvpnserv*&quot; OR Service_Name=&quot;OpenVPNService&quot;<br>| table _time Account_Name ComputerName Service_File_Name Service_Name</pre><p>Iodine uses NULL or PRIVATE records by default as these offer the most bandwidth for query lengths but can also use TXT, SRV, MX, CNAME or A, in descending order of usefulness to the adversary.</p><p>Queries with the NULL or PRIVATE record type is generally going to be less commonplace on your network, so let’s start with this as a way to hunt for iodine traffic, shall we?</p><p>Modifying our earlier Shannon Entropy scoring SPL to look specifically for two record types:</p><pre>index=2012 sourcetype=”isc:bind:query” query!=*local query!=*arpa AND record_type IN (“NULL”, “PRIVATE”)<br>| eval list=”*”<br>| `ut_parse(query, list)` <br>| `ut_shannon(ut_subdomain)` <br>| table ut_domain query record_type ut_shannon<br>| sort -ut_shannon</pre><p>We can also look at the number of queries:</p><pre>index=2012 sourcetype=”isc:bind:query” query!=*local query!=*arpa AND record_type IN (“NULL”, “PRIVATE”)<br>| eval list=”*”<br>| `ut_parse(query, list)` <br>| `ut_shannon(ut_subdomain)` <br>| stats count AS Count by record_type ut_domain<br>| sort -Count</pre><p>Though for our test data purposes there is, unfortunately, no non-suspicious NULL queries to compare traffic volume against.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*up141_lwBNhHMvY4cOORXQ.png" /></figure><h3>DNSExfiltrator</h3><p>DNSExfiltrator uses port 53 (ATT&amp;CK T1043: <a href="https://attack.mitre.org/techniques/T1043/">Commonly Used Port</a>) to blend in with existing outgoing DNS traffic (ATT&amp;CK T1071: <a href="https://attack.mitre.org/techniques/T1071/">Standard Application Layer Protocol</a>), it can <a href="https://github.com/iagox86/dnscat2/blob/master/doc/command_protocol.md">transfer files from</a> compromised hosts (ATT&amp;CK T1105: <a href="https://attack.mitre.org/techniques/T1105/">Remote File Copy</a>) and by default RC4 to encrypt data that passes from the client and host (ATT&amp;CK T1022: <a href="https://attack.mitre.org/techniques/T1022/">Data Encrypted</a>).</p><p>From the <a href="https://github.com/Arno0x/DNSExfiltrator">project Github description</a>:</p><blockquote>DNSExfiltrator allows for transferring (<em>exfiltrate</em>) a file over a DNS request covert channel. This is basically a data leak testing tool allowing to exfiltrate data over a covert channel.</blockquote><p>DNSExfiltrator has a server-side that receives files and a client-side, which in my tests I invoked from <a href="https://github.com/Arno0x/DNSExfiltrator/blob/master/Invoke-DNSExfiltrator.ps1">a Powershell script</a> hosted on Github by the tool’s creator.</p><p>Looking over the type of DNS queries that this tool sends when initiating a file exfiltration we can find some indicators in DNS logs that we can easily search for.</p><pre>index=2012 sourcetype=”isc:bind:query” record_type=TXT (query=*init* OR query=*base64*)<br>| table _time query src dest</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GGBsHdlCooPixCB2jPWHvg.png" /></figure><p>Interestingly DNSExfiltrator file transfer traffic, as it contains underscores and queries over 100 characters long, broke the regex that the Splunk <a href="https://splunkbase.splunk.com/app/2876/">ISC BIND app</a> relies upon for field extractions in transforms.conf.If I had not known the events were there I would have missed them.</p><p>For testing purposes I transferred a text file containing the combined works of Sherlock Holmes from my Windows 10 client machine to the DNSExfiltrator server-side twice, to see what kind of traffic would be generated.</p><p>The answer is; a lot of traffic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lXqIyhCdb1hTR_5hbw7aFA.png" /></figure><p>The SPL for the search above:</p><pre>index=”2012&quot; sourcetype=”isc:bind:query” record_type=TXT<br>| eval utlist=”*”<br>| `ut_parse_extended(query, utlist)`<br>| stats count AS queryCount BY ut_domain ut_subdomain_level_1</pre><p>The queries during actual file transfer themselves look like this, really lengthy and distinctive:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*swFeqjPUmcuK4ReIDJAHKw.png" /></figure><h3>In Conclusion</h3><p>This is just a look at three open-source tools used by adversaries that take advantage of the DNS protocol for covert communications and we’ve covered a lot of ground here.</p><p>If you are currently working on a blue team I think playing around with the tools that red team uses and picking apart the resulting logs is really useful. I discovered potential flaws in the way that DNS logs are currently handled by Splunk purely because of this research, and it has given me a lot to think about.</p><p>If this article made you curious as to how well your company is looking at DNS logs or other data sources in your environment and you think you need some objective analysis performed by experts in the field then why not <a href="https://www.adarma.com/contact-adarma/">contact Adarma</a>?</p><p>Lastly, I’d like to thank the creators and maintainers of the various red team tools we’ve looked at today for their time and effort and my team at Adarma for being awesome.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=757f1065a1f0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adarma-tech-blog/cat-scratch-server-getting-your-paws-on-dnscat2-other-suspicious-dns-activity-757f1065a1f0">Cat Scratch Server: Getting Your Paws on DNScat2 &amp; Other Suspicious DNS Activity</a> was originally published in <a href="https://medium.com/adarma-tech-blog">Adarma Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ML-Free Behaviour-based Detection with Splunk]]></title>
            <link>https://medium.com/adarma-tech-blog/ml-free-behaviour-based-detection-with-splunk-406cc2ce26bd?source=rss----9ea0860c2c42---4</link>
            <guid isPermaLink="false">https://medium.com/p/406cc2ce26bd</guid>
            <category><![CDATA[vpc-flow-logs]]></category>
            <category><![CDATA[detection]]></category>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[behaviour]]></category>
            <dc:creator><![CDATA[Vinicius Egerland]]></dc:creator>
            <pubDate>Thu, 25 Jun 2020 08:49:41 GMT</pubDate>
            <atom:updated>2021-01-29T09:18:40.209Z</atom:updated>
            <content:encoded><![CDATA[<h4>The end of static thresholds. No ML.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*Zi-tnvp3C2HgfB13kwOYEQ.png" /></figure><p>Explaining behaviour-based detection can make you sound smart, but in reality you don’t have to be a genius to create effective detection rules based on behaviour; Splunk makes it simple.</p><p>Despite Machine Learning being a great tool on the detection game, it does take some brains and can be time-consuming. Leaving that to future improvements list. In the next 5 minutes, let’s have a look at how to be effective with the simple and old statistics.</p><p><em>PS: we will be using </em><a href="https://github.com/splunk/botsv3"><em>Splunk BOTS 3</em></a><em> dataset.</em></p><p><strong>Why would you detect based on behaviour? </strong>Consider Time series data:</p><blockquote>index=botsv3 sourcetype=”aws:cloudwatchlogs:vpcflow”<br>| timechart sum(bytes) as sum_bytes <br>| eval sum_mbytes=sum_bytes/1024/1024</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*25xOWiaHEy3ToFMRMxYijw.png" /><figcaption>Time series numerical data</figcaption></figure><p>On the left we have the sum of bytes transferred in/out an AWS VPC, while on the right we have megabytes (bytes/1024/1024) — They look the same so I’ll use <em>megabytes </em>throughout this article.</p><p>Say you want to detect an anomaly. How much (or little) is an anomalous variation for your curve? A few options exist, with respective pros and cons:</p><p><strong>a. Define Static threshold</strong>: Quick, but also dirty. It’s likely that the conditions will change and so will the acceptance threshold. Maintaining static thresholds is a hard job and usually causes many false positives — not to say the thresholds aren’t the same for all resources in the pool.<br><strong>b. Create a fancy Machine Learning model: </strong>Yes, this is a great option — but not always viable when time and resources are limited, and often it’s an overkill. Variations require investigations but they may not be as critical as a ransomware detected in a company’s network.<br><strong>c. Create simple behaviour-based detection searches: </strong>Bring together some table-like data modelling expertise, add enough Splunk commands for the heavy-lifting with pinch of statistics, mix it well to get a nice and easy [<em>pun alert]</em> solution.</p><h4><strong>Building behaviour-based detection</strong></h4><p>Dynamically establish a baseline, then alert on anomalies based on this. Anomalies can be many things, thus there are many ways.<br>Consider the objective for your use case, and ask the question “What does bad behaviour mean?”. The answer should be complex, this will be the trigger.</p><p>The Recipe: <br>1. Establish the baseline: Transform data into time series (discrete and/or variation)<br>2. Smooth the curve out (optional)<br>3. Establish the dynamic threshold - a.k.a. anomalous behaviour<br>4. Filter and detect.</p><h4>Delta</h4><p>It’s the variation, increment, or difference between one value and predecessor in the series.</p><blockquote>index=botsv3 sourcetype=”aws:cloudwatchlogs:vpcflow”<br>| timechart sum(bytes) as sum_bytes<br>| eval sum_mbytes=sum_bytes/1024/1024<br>| fields — sum_bytes<br>| delta sum_mbytes as delta</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*wiS4v_4NKnowSSWWvkYBeQ.png" /><figcaption>Time series and delta (in green)</figcaption></figure><p>The delta curve looks similar to sum_mbytes; however, if you look closely, you will notice delta<em> goes below zero</em>. Simple, as the traffic goes down, the variation is a <em>deduction </em>in the sum of bytes at the next reading.<br>What delta represents is the <em>variation</em>, thus if your trigger is a spike, or a drop, the delta may be your way to go.</p><p>Let’s transform the variation in a percentage — humans love %’s.</p><blockquote>index=botsv3 sourcetype=”aws:cloudwatchlogs:vpcflow”<br>| timechart sum(bytes) as sum_bytes <br>| eval sum_mbytes=sum_bytes/1024/1024<br>| fields — sum_bytes<br><strong>| delta sum_mbytes as delta<br>| autoregress sum_mbytes as previous_position<br>| eval percentage=delta*100/previous_position</strong><br>| fields — previous_position</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*m6Ic046elAWopqxg7AHokA.png" /><figcaption>The above shows a new line, <em>percentage. </em>First, we bring the previous value into the current series (autoregress, which adds the field <strong>sum_mbytes_p1</strong>, meaning one position before current) so we can calculate the percentage with <em>eval</em>. Also notice percentage has its in overlay and has its own scale on the right.</figcaption></figure><p>Now that we can measure variation in the unit of percentage we can establish a threshold. If your data is a consistent series of values, your threshold can be sensitive to considerable changes. How much is too little or too much for your environment?<br>If it’s not consistent, read on.</p><h4>Moving average</h4><p>It’s a good way to smooth your curve out. Also known as trendline, you can somewhat see the trend of your data, or the average without sacrificing the time from the series:</p><blockquote>index=botsv3 sourcetype=”aws:cloudwatchlogs:vpcflow”<br>| timechart sum(bytes) as sum_bytes <br>| eval sum_mbytes=sum_bytes/1024/1024<br>| fields — sum_bytes<br><strong>| trendline sma2(sum_mbytes) as moving_avg</strong><br><strong>| delta moving_avg as delta</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*El94MyEz-Kn-xjzgmpbULw.png" /><figcaption>In green, the moving average is a smooth version of sum_mbytes, hence Delta is now smooth as well.</figcaption></figure><h4>Percentile</h4><p>This is my favourite. No average is safe when percentile is in town when it comes to numerical distribution.<br>The 50th percentile is the median — which is the value in the middle if you sorted your series. It is greater than 50% of the lower values.<br> e.g. 2, 4, <strong>*6*</strong>, 9, 11.<br>The 90th percentile is a value greater than 90% of the lower values. In detection terms — your quality threshold, or your normal values.<br>The owner/admin defines quality threshold. The higher it is, the fewer positives you are likely to get, false positives and true positives included, as lower are the chances of a value being this far from the rest of the series (the normal).<br>More on Normal Curve and statistics here on <a href="https://en.wikipedia.org/wiki/Normal_distribution">Wikipedia</a>.</p><blockquote>index=botsv3 sourcetype=”aws:cloudwatchlogs:vpcflow”<br>| timechart sum(bytes) as sum_bytes <br>| eval sum_mbytes=sum_bytes/1024/1024<br>| trendline sma2(sum_mbytes) as moving_avg<br>| delta moving_avg as delta<br>| fields — sum_bytes sum_mbytes moving_avg<br><strong>| eventstats perc50(delta) as perc50, perc95(delta) as perc95, perc98(delta) as perc98</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*Phib5sy3XqwOmWFCXtw57w.png" /><figcaption>Delta calculated from moving average, all fields not needed were removed, 50th, 95th and 98th percentiles calculated. Notice 50th/Median in the middle of the graph in green.</figcaption></figure><p>Or the same applied to the sum_mbytes field (mega bytes):</p><blockquote>index=botsv3 sourcetype=”aws:cloudwatchlogs:vpcflow”<br>| timechart sum(bytes) as sum_bytes <br>| eval sum_mbytes=sum_bytes/1024/1024<br><strong>| eventstats perc50(sum_mbytes) as perc50, perc95(sum_mbytes) as perc95, perc98(sum_mbytes) as perc98</strong><br>| fields — sum_bytes</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*lDoYU89OE-PuD5mKr3Iwrw.png" /><figcaption>No moving average. 50th, 95th and 98th percentiles calculated from sum of mega bytes.</figcaption></figure><p>notice the line touches the threshold. This could easily be a false positive (even though 98th percentile is quite far from the median.)</p><p>Many times, I have applied a multiplier on top of the percentile, 2x, 3x or even 4x times — for the sake of reducing false positives to a minimum.</p><p><strong>And the results were amazing. </strong>I have detected credential stuffing attacks to internet facing services, vulnerability scans coming from competitors, internal reconnaissance by a compromised account, and other anomalous behaviours <em>just</em> by calculating the things above.<br>It can considerably increase your detection accuracy, with little effort.</p><p>Let’s put it to test. If I expand the time of our time series we see a meaningful spike:</p><blockquote>index=botsv3 sourcetype=”aws:cloudwatchlogs:vpcflow”<br>| timechart sum(bytes) as sum_bytes <br>| eval sum_mbytes=sum_bytes/1024/1024<br>| eventstats perc98(sum_mbytes) as perc98<br>| fields — sum_bytes<br><strong>| eval threshold=2*perc98</strong><br><strong>| where sum_mbytes&gt;perc98<br>| eval category=”anomaly”</strong></blockquote><p><em>PS: This is the search for the annotation (or the alert). Remove the last two lines to visualise the graph.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*S9LJRQaqJDzMTE2mwlPMyA.png" /><figcaption>Threshold breached with a <a href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartEventAnnotations">chart annotation</a></figcaption></figure><p>2 times 98th percentile is way up. <strong><em>Very far away </em></strong>from the median. Looks like we have a positive.</p><h4>Bonus: Bi-dimensional Detection</h4><p>If you want to split the series data by a category, just add the clause <strong><em>by </em></strong>to the commands that create the series (<em>eventstats</em>) and the commands that read all events (<em>eventstats</em>).</p><blockquote>index=botsv3 sourcetype=”aws:cloudwatchlogs:vpcflow” src=172.16.*<br>| bin span=2m _time <br>| stats sum(bytes) as sum_bytes by _time src<br>| eval sum_mbytes=sum_bytes/1024/1024<br>| eventstats perc98(sum_mbytes) as perc98 by src<br>| fields — sum_bytes<br>| eval threshold=2*perc98</blockquote><p><em>PS: I replaced timechart with bin + stats because timechart removes the column name that we need. And don’t forget to enable trellis to avoid a mosaic as a graph.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*Zi-tnvp3C2HgfB13kwOYEQ.png" /><figcaption>Trellis layout</figcaption></figure><p>And there you have it. Behaviour-based detection applied to multiple internal hosts with individual dynamic thresholds, and no machine learning involved.</p><p>Happy Splunking.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=406cc2ce26bd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adarma-tech-blog/ml-free-behaviour-based-detection-with-splunk-406cc2ce26bd">ML-Free Behaviour-based Detection with Splunk</a> was originally published in <a href="https://medium.com/adarma-tech-blog">Adarma Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Threat Detection with Windows Event Logs]]></title>
            <link>https://medium.com/adarma-tech-blog/threat-detection-with-windows-event-logs-59548f4f7b85?source=rss----9ea0860c2c42---4</link>
            <guid isPermaLink="false">https://medium.com/p/59548f4f7b85</guid>
            <category><![CDATA[mitre-attack]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Philip Robinson]]></dc:creator>
            <pubDate>Tue, 31 Mar 2020 10:47:03 GMT</pubDate>
            <atom:updated>2020-06-16T08:27:10.713Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*MXFBNfJs9qYZmboU2ESG5Q.jpeg" /></figure><p>Threat detection is a constantly evolving and fast-paced sector in the cyber security industry. It relies on keeping on top of the latest threat trends and developing new methods to detect the latest tools, tactics and procedures used by cybercriminals. Manually staying up to to date with every threat advancement is virtually impossible, which is where a system threat detection tool can aid this process. There are a variety of tools available for threat detection and threat hunting at a range of prices, from free and open source software to premium threat intelligence and detection suites. One option is not only free but already has the (majority of its) functionality built into your Windows operating system (OS): Windows event logs.</p><p>This article aims to briefly introduce the needle in the haystack of Windows event logs. Specifically, the Event IDs/codes (this article will use ID/code interchangeably) from the logs, how you can get the most out of them, and the key event codes you should look out for.</p><p><strong>What are they?</strong></p><p>The Windows event log is an administrative tool included in a Microsoft OS for log management. It is responsible for generating and organising a comprehensive recording of the actions and changes made in the system. They fall into 3 categories: system, security and application, with 4 classifications - these include error, warning, information and audit success. Crucially, each log matches to an information specific event ID/code which can be used to detect particular actions.</p><p><strong>What’s so great about event IDs?</strong></p><figure><img alt="MITRE ATT&amp;CK Framework coverage from Malware Archeology’s Event ID cheat sheet" src="https://cdn-images-1.medium.com/max/1024/1*BW2MlwrUHlmQUMO3qCi-_A.png" /><figcaption>MITRE ATT&amp;CK Matrix <em>Coverage of Windows event IDs from cheat sheet [Q3 2018] — 220/266 ~83% (Ex. impact)</em></figcaption></figure><p>One of the best resources available for discovering which attack techniques match to which event IDs is “<a href="https://static1.squarespace.com/static/552092d5e4b0661088167e5c/t/5b8f091c0ebbe8644d3a886c/1536100639356/Windows+ATT%26CK_Logging+Cheat+Sheet_ver_Sept_2018.pdf">The Windows ATT&amp;CK Logging Cheat Sheet</a>” by Malware Archaeology. It’s a great way to quickly see how you can use the logs you’re probably already ingesting that can be used to detect many techniques.</p><p>In particular, according to the cheat sheet, Windows event IDs have around 83% coverage of Windows specific enterprise attack techniques (see top figure), which gives great spread across the tactics on the <a href="https://attack.mitre.org/">MITRE ATT&amp;CK framework</a> (excluding Impact). Green coloured techniques have strong coverage and yellow have some. As the cheat sheet was last updated in Q3 2018, it is missing some new attack techniques that have been added to ATT&amp;CK, which can most likely also be detected using event logs. This really demonstrates its capabilities and shows why event logs are such a crucial source for threat detection.</p><p>If they’re so great, surely one of the first things an adversary would do once they’ve gained access to a system is to clear event logs to hide their activity? There’s an event code for that! Specifically 1102, which is created when the security audit log is cleared and lists the offending account name, security ID and logon ID. Furthermore, it can be correlated with other information such as event ID 4624 to identify the user’s session, or event ID 4688 to identify the guilty process (see Demo 2 for an example). Side note: there has been sophisticated malware known to avoid leaving traces of log removal, such as <a href="https://www.securityweek.com/event-logs-manipulated-nsa-hacking-tool-recoverable"><em>DanderSpritz</em></a>.</p><p><strong>Which IDs should I look out for?</strong></p><p>Clearly, this will depend on what you’re trying to find — another useful resource is the <a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx">“Windows Security Log Events Encyclopedia” by Ultimate IT Security</a>, which comprehensively details event codes across OS versions. Additionally, there are many research papers and blog posts that make suggestions (see Recommended Reading). Here are some of the most commonly recommended codes and why they’re useful.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1a38dba5e41506324dfc7eedabdb0586/href">https://medium.com/media/1a38dba5e41506324dfc7eedabdb0586/href</a></iframe><p>So, you know which attack techniques you want to look for, but don’t know which event codes match up? Refer to <a href="https://www.malwarearchaeology.com/cheat-sheets">Malware Archaeology</a>’s handy cheat sheet from earlier to map techniques to potential event codes that are related to your environment. They even include some examples in another cheat sheet (<a href="https://static1.squarespace.com/static/552092d5e4b0661088167e5c/t/5d8272310ba4d67fb0e9f399/1568830002047/Windows+Splunk+Logging+Cheat+Sheet+v2.22.pdf">Splunk logging</a>) for a useful starting guide if you’re using the Splunk SIEM like I do. There are also guides for <a href="https://static1.squarespace.com/static/552092d5e4b0661088167e5c/t/5b152363575d1fc8518acd60/1528111974031/Windows+Humio+Logging+Cheat+Sheet+v1.0.pdf">Humio</a> &amp; <a href="https://static1.squarespace.com/static/552092d5e4b0661088167e5c/t/5b8f09340e2e72196151de54/1536100663838/Windows_LOG-MD_ATT%26CK_Cheat_Sheet_ver_Sept_2018.pdf">LOG-MD</a>.</p><p>Here is my current process in brief for the steps involved in using event IDs:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/1*JIN84PkGrJNsF-AcNFt2JA.png" /><figcaption>4 Stages of Development</figcaption></figure><p>· Plan: For instance, I know that a recent report found that brute force is a commonly used attack technique and we’ve had experience of it in the past.</p><p>· Identify: We look at the MITRE ATT&amp;CK framework for a description on the technique and use the event ID cheat sheet to find event codes for that technique.</p><p>· Test: Next, we create a search for that event ID in our logs and test it (providing it’s being ingested).</p><p>· Alert: Finally, an alert is created from an optimised search to automate detection of the potential threat.</p><h3><strong>Demonstration in Splunk</strong></h3><p>The demonstration will be in the SIEM Splunk, a powerful tool for getting the most value out of Windows event logs and much more. However, there are many other SIEM and log management tools available.</p><p><strong>Demo 1: Successful brute force attempts</strong></p><figure><img alt="Searching for successful brute force attempts in Splunk SIEM" src="https://cdn-images-1.medium.com/max/902/1*pyzBBxuZNn2zy38lVcy7OA.png" /><figcaption>Searching for Successful Brute Force Attempts</figcaption></figure><p>Tactic: Credential Access</p><p>Technique: Brute Force (T1110)</p><p>Objective: Detecting a possible brute force attempt is an essential detection and in particular a high priority alert would be the occurrence of a successful brute force to critical accounts.</p><p>Findings: This search uses event ID 4625 (unsuccessful login) followed by event ID 4624 (successful login) which is grouped by user with the use of the <em>transaction</em> command. We find that there are several instances of an administrator account being attempted to be accessed on one of the computers. By grouping these events an analyst can gain a greater insight to the behaviour — all thanks to the power of Windows event logs and Splunk.</p><p><strong>Demo 2: Event clearing</strong></p><figure><img alt="Searching for log removal in Splunk SIEM" src="https://cdn-images-1.medium.com/max/902/1*X_VqqlCimlYClxJ_rU_R-A.png" /><figcaption>Searching for Log Removal</figcaption></figure><p>Tactic: Defense Evasion</p><p>Technique: Indicator Removal on Host (T1070)</p><p>Objective: The purpose of this search was to identify instances of event log removal including the use of the log administration tool, Wevtutil, as used by the malware, NotPetya.</p><p>Findings: It looks for event ID 1102 to find the log created when activity causing event log removal has occurred, and 4688 to find instances of wevtutil. Although, it could be left to search for any new process that occurs within a few seconds of event ID 1102 to find the culprit process. In this case we suspected of Wevtutil being used and sure enough the search confirmed that it was used for recursive removal of logs across the OS.</p><p><strong>Demo 3: Account manipulation</strong></p><figure><img alt="Screenshot of Splunk search looking for account manipulation" src="https://cdn-images-1.medium.com/max/1024/1*r9_DDwQBEx8vLq6M5n4pNA.png" /><figcaption>Searching for Account Manipulation</figcaption></figure><p>Tactic: Credential Access</p><p>Technique: Account Manipulation (T1098)</p><p>Objective: Account modification is performed by adversaries attempting to gain administrator privileges and change account passwords. This search looks for suspicious accounts performing alterations on attributes in other accounts that aren’t executed by known admins.</p><p>Findings: Event ID 4738 is generated every time a user object is modified, such as changes to account passwords, UAC, privileges and more. In this case, we find that user Billy Tun has been altering the account svcvnc, including log on hours and group permissions. An adversary may weaken account security to gain access to other accounts for privileged escalation and persistence in a system. We could correlate other activity performed by the suspicious account around that time to gain better perception.</p><p><strong>Conclusion</strong></p><p>As highlighted, the Windows event logs are a useful and easy to access method for troubleshooting system issues, monitoring account activity and threat detection. The capabilities for searching with event ID can be much more comprehensive than those in the demos, but equally simple searches can be highly effective due to the specificity of some event codes. Using event codes alone won’t entirely help you detect threats in your organisation, plus they are renowned for being noisy unless carefully configured. Despite this, event IDs are a valuable and effective way to start. Making them likely to be the single best source for insight for a Windows based estate.</p><p>Furthermore, when used in conjunction the MITRE ATT&amp;CK framework gives defenders a greater understanding of how to use event IDs for detecting adversary techniques, for a solid foundation to build upon. Additionally, utilising a SIEM for log analysis and correlation further enriches threat detection and response based on event IDs, to enable the full benefit of Windows event logs in the fight against threats to your cybersecurity.</p><p><strong>Thank you very much for reading!</strong></p><p>What are your top codes to look for?</p><p>Use Splunk? Here’s the <a href="https://docs.splunk.com/Documentation/Splunk/8.0.2/Data/AboutWindowsdataandSplunk">Splunk docs</a> for how to configure Windows event log ingestion.</p><p><strong><em>References &amp; Suggested Reading:</em></strong></p><p>(A more detailed) Definition of Windows Event Logs:</p><p><a href="https://searchwindowsserver.techtarget.com/definition/Windows-event-log">What is Windows event log? - Definition from WhatIs.com</a></p><p>Malware Archeology’s Cheat Sheets:</p><p><a href="https://www.malwarearchaeology.com/cheat-sheets">Cheat-Sheets - Malware Archaeology</a></p><p>Ultimate Security’s Windows Event ID Encylopedia:</p><p><a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx">Windows Security Log Encyclopedia</a></p><p>MITRE ATT&amp;CK Framework:</p><p><a href="https://attack.mitre.org/">MITRE ATT&amp;CK®</a></p><p>Presentation detailing using Event IDs for Threat Hunting with advanced examples including NotPetya, by Eric Conrad:</p><p><a href="https://www.sans.org/cyber-security-summit/archives/file/summit-archive-1524493093.pdf">https://www.sans.org/cyber-security-summit/archives/file/summit-archive-1524493093.pdf</a></p><p>Article detailing potentially leaked NSA tools including log removal tool, Danderspritz, by Eduard Kovacs:</p><p><a href="https://www.securityweek.com/event-logs-manipulated-nsa-hacking-tool-recoverable">Event Logs Manipulated With NSA Hacking Tool Recoverable | SecurityWeek.Com</a></p><p>Great couple of blog posts by Splunk on key Event IDs to look for:</p><ul><li><a href="https://www.splunk.com/en_us/blog/security/peeping-through-windows-logs.html">Peeping Through Windows (Logs)</a></li><li><a href="https://www.splunk.com/en_us/blog/tips-and-tricks/spotting-the-adversary-with-splunk.html">Spotting the Adversary... with Splunk</a></li></ul><p>Splunk Documentation for using Windows event logs in Splunk:</p><p><a href="https://docs.splunk.com/Documentation/Splunk/8.0.2/Data/AboutWindowsdataandSplunk">Monitoring Windows data with Splunk Enterprise</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59548f4f7b85" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adarma-tech-blog/threat-detection-with-windows-event-logs-59548f4f7b85">Threat Detection with Windows Event Logs</a> was originally published in <a href="https://medium.com/adarma-tech-blog">Adarma Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Women in science: a different reality]]></title>
            <link>https://medium.com/adarma-tech-blog/women-in-science-a-different-reality-7b8b5fa99a30?source=rss----9ea0860c2c42---4</link>
            <guid isPermaLink="false">https://medium.com/p/7b8b5fa99a30</guid>
            <category><![CDATA[international-womens-day]]></category>
            <category><![CDATA[equality]]></category>
            <category><![CDATA[diversity]]></category>
            <category><![CDATA[women-in-stem]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Anastasia Liountri]]></dc:creator>
            <pubDate>Mon, 09 Mar 2020 16:20:23 GMT</pubDate>
            <atom:updated>2020-03-09T16:20:23.412Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*PG2JGtozYwfyE6lDzlKkww.jpeg" /></figure><p>The first time I heard the term “women in science” was during the induction week organised from Edinburgh Napier University. I did not quite understand its importance, but I understood the difference between two cultures. You see, I was coming from Greece where everything is different and works in a different way (if it works at all). However, I was curious to hear what this nice lady was trying to say to me.</p><p>When I discussed further with her, she informed me about the women’s community created inside the university. It was created in order to help young ladies, especially those who are in mathematics or computing science, with all kind of problems. It’s different for young ladies to be in classes which are full of men, to socialise, to understand the different mindset while trying to find their own place and fight for their knowledge and opinions.</p><p>While I was attending an undergraduate programme in Greece, I could totally see the difference in numbers at class (out of 300 people attending classes, maybe 70 were women), but it was not really important. It is often thought that women are better for different departments and not really good at technical departments and especially computer science, but this is not true.</p><p>Even if my classmates were pensive for my interest, I was really crazy about computer science. I was attending classes, continuing my studies and then the term “cyber security” invaded my life. I finally found my speciality and my big interest. I started searching and digging. However, reality in Greece does not let you try to catch your dreams. The big decision seemed inevitable. Applications for a master’s programme, tears in the airport, people you are leaving behind, the fear for the unknown — everything seems to be against you.</p><p>And then, you meet a lady who is kind enough to let you know about events that take place in order to help and inform other women about work opportunities, problems that they may face along the way and everything that they may need.</p><p>Then I understood what was different here: when you face a problem, you are not alone because a community may be there to help you.</p><p>While I was reaching the dissertation submission stage of my course, the majority of my friends had already found a job, while I was just starting the process of applications. Whenever I was discussing my fear and anxiety about not being able to find a job, their answer was “ you‘re a woman in science! You will find a job easily”. Well, maybe it should have been simple, but for me it was not. The offer came when I was not expecting it and I can’t even describe my excitement. This opportunity came not because I am a woman, but because I am a qualified graduate and because I worked really hard to gain the knowledge that I now have.</p><p>During my induction day at Adarma, I met my colleagues for the first time and they didn’t look at me like I was an alien. They expected me to be there. They helped me to adapt to the new environment and accepted me as a part of their team. I am grateful for that and I have never taken it for granted. I always considered myself a nerd and when I entered the SOC I knew I had found my place in the world.</p><p>It is really liberating to know that you are not a weirdo or an outsider. I always thought that about myself while I was always around men and boys ready to discuss and laugh with them. However, now I am only curious why all people cannot see life from a different perspective. There is nothing that separates people. They should all have the same opportunities without considering their gender, sexual preferences, nationality, skin colour, religion or whatever may be considered as a dividing factor. The only dividing factor is our interests and our choices during our lives.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b8b5fa99a30" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adarma-tech-blog/women-in-science-a-different-reality-7b8b5fa99a30">Women in science: a different reality</a> was originally published in <a href="https://medium.com/adarma-tech-blog">Adarma Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t Hold Back, Insights Unpacked From Your Data Stack With MITRE ATT&CK]]></title>
            <link>https://medium.com/adarma-tech-blog/dont-hold-back-insights-unpacked-from-your-data-stack-with-mitre-att-ck-c94883484b0a?source=rss----9ea0860c2c42---4</link>
            <guid isPermaLink="false">https://medium.com/p/c94883484b0a</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[defense]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Cian Heasley]]></dc:creator>
            <pubDate>Mon, 09 Mar 2020 15:24:46 GMT</pubDate>
            <atom:updated>2020-03-09T15:24:46.560Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="We are Adarma (logo)" src="https://cdn-images-1.medium.com/max/1024/1*iHiydU3eq4uWkukcpUCpLA.jpeg" /></figure><p>Getting started with the MITRE ATT&amp;CK Framework can seem a little intimidating at first, especially when implementing it in an existing enterprise with established IT/Security systems and processes.</p><p>I’m going to walk you through why and how you should be looking to ATT&amp;CK to help you articulate detection and response with a well-documented, evolving taxonomy. I’ll also be providing some tips and tricks specifically relating to data sources, how they align with the ATT&amp;CK Framework and how you can best ensure that you aren’t missing out on maximum security visibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*K9pXthgaPXwTVtvB07Wnlw.jpeg" /><figcaption>Visualizing ATT&amp;CK and mapping tactics to data sources (© MITRE)</figcaption></figure><h4>What is MITRE ATT&amp;CK and why should I be interested?</h4><p>ATT&amp;CK is an acronym for “Adversarial Tactics, Techniques &amp; Common Knowledge”, it was first introduced by MITRE in 2013 as a methodology for describing and categorising adversarial behaviours within an enterprise network based on actual real-world, “seen in the wild” observations.</p><figure><img alt="MITRE ATT&amp;CK matrix is so hot right now meme" src="https://cdn-images-1.medium.com/max/709/1*pGmjRf55tUEt4LnMJtBbiA.jpeg" /><figcaption>“MITRE ATT&amp;CK matrix is so hot right now!”</figcaption></figure><p>From my perspective, I have found it invaluable - an open, constantly growing framework that provides a common set of definitions and language to describe attacker actions that can sometimes be obscured by differing, muddled terms or descriptions.</p><p>MITRE ATT&amp;CK is broken down into <a href="https://attack.mitre.org/techniques/enterprise/">techniques</a> that are arranged into categories by tactic. <a href="https://attack.mitre.org/tactics/enterprise/">These tactics</a>, in turn, align with the later stages of the Lockheed Martin Cyber Kill Chain®. Tactics and techniques then lead to procedures, or how attackers have been known to execute a given technique. In this way ATT&amp;CK provides coverage for the lofty peak of the “Pyramid of Pain”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*2hKy3XVWEdXraa2ds7Zp7Q.jpeg" /></figure><p>At present, there is Pre-ATT&amp;CK, for reconnaissance and staging, and then the main Enterprise ATT&amp;CK for the later phases, though Pre-ATT&amp;CK is going to be folded into the main enterprise matrix this year. Techniques themselves are going to be <a href="https://medium.com/mitre-attack/sub-technique-update-part-deux-b2572e677c68">broken down further into sub-techniques</a> to provide greater granularity as some techniques, like “<a href="https://attack.mitre.org/techniques/T1064/">scripting</a>” for instance, are currently overly broad in scope.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*TXZTj1kSjghetyifWUMOyA.png" /><figcaption>The current ATT&amp;CK layout of the adversarial lifecycle as related to enterprise (© MITRE)</figcaption></figure><h4>Show me the data!</h4><p>Now that we understand what ATT&amp;CK is in a general sense and how it can help us to evaluate attacker behaviours, we’re going to take a look at how it can be used to assist in evaluating the security posture of an existing network.</p><p>For each technique definition within ATT&amp;CK, there is a sidebar as pictured below. For the purposes of this piece, we are looking at the section marked “Data Sources”, these being the types of logs that can be used to detect activity associated with a given technique. In this case, we are looking for indicators that could show the <a href="https://attack.mitre.org/techniques/T1100//">presence of a web shell</a> on an enterprise network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/1*Fl0yt_--9XA0SZRApC0Gtg.png" /><figcaption>ATT&amp;CK Technique T1100 (Web Shell)</figcaption></figure><p>Looking above we have anti-virus logs (to potentially detect the web shell files themselves), authentication logs (some web shells, for instance, including admin portal brute-forcing functionality which can be detected), file monitoring (for the addition of suspicious files in high-risk web-accessible directories), Netflow logs (to monitor for web shells through the analysis of network traffic) or process monitoring (looking for suspicious processes spawned on exploited web servers). Are you currently examining these logs from hosts on your network?</p><p><a href="https://medium.com/u/996cb7f12ac1">Roberto Rodriguez</a> has a <a href="https://github.com/hunters-forge/OSSEM/blob/master/attack_data_sources/Data_Sources.md">list of the various ATT&amp;CK datasource categories</a> and some information defining each one from ATT&amp;CKcon 2018, well worth checking out if you want to learn a little more about how MITRE defines them.</p><p>What we can extrapolate from the data sources listed above is not an exact science, you could find ways to detect web shells with a single one of the sources listed or by combining and correlating data from across multiple sources. The key takeaway though is that it would be difficult to detect this particular technique without any of the types of data listed. We can then start to use this same logic across all techniques and tactics within the framework.</p><p>Not all datasources are created equal though, some have way more technique detections associated with them, so you also have to ask yourself are you collecting the right data to effectively respond to threats on your network? If you take the time to see which datasources are associated with which techniques then you can start to see datasources you could begin to prioritise, for instance currently Process Monitoring is one of the most prevalent when mapped to ATT&amp;CK techniques observable.</p><p>Simply deciding which logs to onboard is not the only consideration when thinking about your data though: there has also been some great work around scoring the data sources themselves based upon metrics such as completeness, timeliness and availability by <a href="https://medium.com/u/5ca7329adb2b">Olaf Hartong</a>, among others. You can find <a href="https://medium.com/@olafhartong/assess-your-data-potential-with-att-ck-datamap-f44884cfed11">Olaf discussing this wor</a>k here. This kind of datasource grading adds a valuable set of metrics to consider, after all, if your logs are incomplete or hard to access then you are only ever seeing part of the full picture.</p><h4>Bringing this all together</h4><p>When you look at a framework for defining adversarial behaviours like ATT&amp;CK it is important to consider the projects that have developed alongside it and the added value that these other connected projects can bring. It is also a good indication of the efficacy of the model if industry professionals are interested in contributing work to enhance it.</p><p>There are several really useful open source projects that build off of ATT&amp;CK’s model, one that does an especially good job of showing data source coverage and visibility is <a href="https://github.com/rabobank-cdc/DeTTECT">DeTT&amp;CT</a> (Detect Tactics, Techniques &amp; Combat Threats).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9XdduKnjSBbqyq0xZsDJ8Q.png" /><figcaption>An example of the heatmaps that can be created with DeTT&amp;CT (from <a href="https://github.com/rabobank-cdc/DeTTECT">DeTT&amp;CT github</a>)</figcaption></figure><p>DeTT&amp;CT gives you the ability to score your datasources and map your current coverage, as well as using your available datasources to highlight gaps that could be filled with currently available data or show the need for ingestion of further data sources. All of this can be presented using heatmaps in <a href="https://github.com/mitre-attack/attack-navigator">ATT&amp;CK Navigator</a> which can also provide an extra, useful visual aid for presentations, report writing or to show an increase or decrease in technique coverage over time.</p><h4>In conclusion</h4><p>Diving into any one aspect of ATT&amp;CK can provide inspiration for further research or development. Even when it comes to something like data sources it should be clear that there is still a lot of ground that can be covered. We could delve further into endpoint vs network coverage, break down datasources by OS or prioritise techniques (and therefore the ingestion of datasources to observe those techniques) to detect for based on threat intelligence, the rabbit hole goes deep!</p><figure><img alt="“Can’t miss attacker indicators in your logs if you never ingest the logfiles” meme" src="https://cdn-images-1.medium.com/max/833/1*VP3FuT1NToUaoAG_JeCbxg.jpeg" /><figcaption>“Can’t miss attacker indicators in your logs if you never ingest the logfiles”</figcaption></figure><p>If you found this article interesting but are still feeling a little overwhelmed then why not consider contacting <a href="https://www.adarma.com/contact-adarma/">Adarma</a> for a consultation? As one of the largest independent security services companies in the UK, we bring with us our extensive in-house knowledge and substantial experience. In the field of blue teaming, we can assist companies big and small in analysing and implementing improvements to their existing cybersecurity posture.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c94883484b0a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adarma-tech-blog/dont-hold-back-insights-unpacked-from-your-data-stack-with-mitre-att-ck-c94883484b0a">Don’t Hold Back, Insights Unpacked From Your Data Stack With MITRE ATT&amp;CK</a> was originally published in <a href="https://medium.com/adarma-tech-blog">Adarma Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Utilising MITRE ATT&CK to Detect Techniques Used by Advanced Persistent Threat Actors]]></title>
            <link>https://medium.com/adarma-tech-blog/utilising-mitre-att-ck-to-detect-techniques-used-by-iranian-apts-ad95a4106c85?source=rss----9ea0860c2c42---4</link>
            <guid isPermaLink="false">https://medium.com/p/ad95a4106c85</guid>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[threat-hunting]]></category>
            <category><![CDATA[mitre-attack]]></category>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Fraser Dumayne]]></dc:creator>
            <pubDate>Thu, 13 Feb 2020 13:41:05 GMT</pubDate>
            <atom:updated>2020-02-13T13:57:05.027Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="MITRE ATT&amp;CK" src="https://cdn-images-1.medium.com/max/1024/1*ZKxdU4GkSjHY0TzXmOmZdA.png" /></figure><h4>Introduction</h4><p>The current political landscape is a chaotic one with news nearly every day on both real-world and cyber attacks, however, the two are increasingly becoming one and the same as hackers attempt to take advantage of vulnerabilities in physical infrastructure. Recent real-world events have only elevated such geopolitical tensions and often results in word spreading about the possibility of the target state retaliating against the attacker using their cyber capabilities in a bid to escalate the conflict. These nation-state groups are often referred to as Advanced Persistent Threats (APTs) and are armed with huge financial backing as they target victims over long periods of time.</p><p>The realm of threat modelling has become increasingly significant as these attacks on infrastructure and important organisations have become more frequent around the world. The purpose of this blog is to guide you through the one example of threat hunting with the use of MITRE ATT&amp;CK and a number of other tools. It should be mentioned that there are many ways to build your own threat model and there is no one size fits all model to deal with all types of attackers, this is just one example.</p><h4>Analysing Selected APTs</h4><p>The best way to create a reliable defence is to first perform research on your potential attackers and understand what techniques they use. MITRE ATT&amp;CK offers a huge list of APTs that can be utilised to find the techniques used by each threat actor which can then, in turn, be used to forge your defences. For this blog post, I wanted to discover the biggest APTs so I searched the <a href="https://attack.mitre.org/groups/">MITRE APT</a> page, selected some APTs that were of interest to me, and compiled a list of these groups. Once this list was finalised, I could translate this into a visual representation of their techniques using another tool called <a href="https://github.com/rabobank-cdc/DeTTECT">DeTT&amp;CT</a> which allows you to generate JSON files that can be used with <a href="https://mitre-attack.github.io/attack-navigator/enterprise/">ATT&amp;CK Navigator</a> to generate these heat maps. The following image shows DeTT&amp;CT in action in a Docker container, all that was required was a list of the APTs.</p><figure><img alt="Running DeTT&amp;CT in Docker" src="https://cdn-images-1.medium.com/max/1024/1*nlolJpWhbRPCBMC_117PFQ.png" /><figcaption>Example DeTT&amp;CT Usage</figcaption></figure><p>The resulting output can be seen in the below image in ATT&amp;CK Navigator, it shows a significant usage of PowerShell, Scripting, Obfuscated Files or Information, and Credential Dumping across all groups and a large focus on Discovery, Execution, C&amp;C, and Defense Evasion tactics. Now that we have this data on the most common techniques used by the chosen APTs, we can fine tune our defences by using example data sets and searching for incidents.</p><figure><img alt="ATT&amp;CK Navigator output example" src="https://cdn-images-1.medium.com/max/1024/1*RFwH84oRDTuOobkaqHzxOQ.png" /><figcaption>ATT&amp;CK Navigator output for Selected APTs</figcaption></figure><h4><strong>Technique 1 — Credential Dumping</strong></h4><p>The first technique we’re going to look into is Credential Dumping as it is one of the more frequent ones, not only across the selected APTs but also across all threat actors. OilRig (AKA APT34) in particular have been known to use tools such as MimiKatz to gain credentials of the accounts on a system. To begin searching for these attacks, we need to log into Splunk (other SIEM tools are available) and ingest the data set downloaded from <a href="https://github.com/hunters-forge/mordor/blob/master/datasets/small/windows/credential_access/covenant_mimikatz_logonpasswords.tar.gz">Mordor</a> and Splunk should do the rest.</p><blockquote>If you’re unfamiliar with Splunk you need to go to Settings &gt; Add Data &gt; Upload &gt; Select File (Upload the JSON file from Mordor) then ensure the sourcetype is set to “_json” on the next page and on the Input Settings page make a new index with default defaults for the events.</blockquote><p>You should be able to see the events if you click ‘Start Searching’. Now we want to fine tune our search to isolate any possible attacks. After a bit of research, I discovered various ways of tracking down such attacks and created a Splunk search to find any suspicious events using the following search:</p><pre>index=”mordor” source=”covenant_mimikatz_logonpasswords_2019–12–05033226.json” sourcetype=”_json” TargetImage=”C:\\Windows\\system32\\lsass.exe” EventID=10</pre><p>One key aspect of this was to search for an event ID of 10 which can be understood as a ‘Process Access’ action. If an attacker were to attempt to retrieve credentials using Mimikatz, they would likely target the Local Security Authority Subsystem Service (LSASS) process once they had admin privileges. We can, therefore, target this process by specifying a target image of ‘lsass.exe’ to locate events using this process. The above search should return the event shown below. As you can see there is an unknown script being run from host IT001.shire.com with a target image of lsass.exe:</p><figure><img alt="Suspicious credential dumping event" src="https://cdn-images-1.medium.com/max/872/1*BaPYNjkbSswLi86RhFrgKA.png" /><figcaption>Potential credential dumping attack</figcaption></figure><h4>Technique 2 — Powershell</h4><p>The second technique we’re going to take a look at is Powershell which is an Execution technique. OilRig has also been known to use this technique in the wild by using scripts to run commands from PowerShell to decode file contents (as mentioned on <a href="https://attack.mitre.org/techniques/T1086/">MITRE ATT&amp;CK</a>). We can follow our previous methodology to get the data we need but this time using the <a href="https://github.com/hunters-forge/mordor/blob/master/datasets/small/windows/execution/empire_invoke_psexec.tar.gz">PowerShell dataset</a> from Mordor. Once again this should be ingested into Splunk so we can easily isolate potential attacks. The following search was able to isolate the event:</p><pre>index=”mordor” source=”empire_invoke_psexec_2019–05–18210652.json” sourcetype=”_json” level=Warning task=”Execute a Remote Command” source_name=”Microsoft-Windows-PowerShell”</pre><p>The above search is incredibly simple and in a real-world situation could generate a number of false alarms but hey, we’re only practising right! The first part of the search isolates any events with a warning level as this is a dead give away of suspicious activity, however, this could also be used to the attacker&#39;s advantage by carrying out actions that won’t reach this alert level. The second part to look at is the type of task which in this case is ‘Execute a Remote Command’, this could suggest that the attacker is trying to run scripts on PowerShell remotely. Finally, we can target the source name to ensure we are targeting PowerShell executions. The final event we get is:</p><figure><img alt="Suspicious powershell event" src="https://cdn-images-1.medium.com/max/1024/1*Q9o6e3N5717gAWZSqGzdDw.png" /><figcaption>Suspicious PowerShell execution</figcaption></figure><p>However, after a bit more research, I discovered some events contained an encrypted string, all of which were being sent by the user with the name ‘pgustavo’. These messages included the following string under the message field:</p><pre>powershell.exe -noP -sta -w 1 -enc</pre><p>The key flags in the above message are; ‘-w 1’ which shows that it is hidden (as 1 is the flag for hidden, 0 for normal, 2 for minimised, and 3 for maximised). The -enc part suggests that the rest of the string has been encoded so to decode these strings I plugged them into the <a href="https://gchq.github.io/CyberChef">CyberChef</a> tool and downloaded the results as a file. The output for one of the strings looked like this:</p><figure><img alt="Decoded output of string found in events" src="https://cdn-images-1.medium.com/max/1024/1*YK_lxtnSLl8IP-1GbIVx4g.png" /><figcaption>Decoded output of one of the strings</figcaption></figure><p>After a quick comparison, it would seem that both this output and the message from the earlier event are matching, possibly suggesting that the event discovered earlier was the source of the attack. The final step we need to take is to update our previous search to isolate these encoded messages as best as possible so that future occurrences can be discovered (if this were in a real-world environment):</p><pre>Some minor changesindex=”mordor” source=”empire_invoke_psexec_2019–05–18210652.json” message=”*powershell.exe*-enc*” </pre><h4>Conclusion</h4><p>And there you have it! Now we are completely safe from all of our attackers (joking). Of course, this is only one process of defending yourself from attackers and only a small portion of techniques were covered with very simple searches but nevertheless, researching these aspects is crucial to a strong defence. Additionally, in a real-world situation you would need to have the hardware to generate logs rather than using these pre-recorded datasets, but this method is great for honing your threat hunting skills and improving your understanding of the various threats out there.</p><h4>Resources</h4><ul><li><a href="https://attack.mitre.org/"><strong>MITRE ATT&amp;CK</strong></a><strong> </strong>— Threat modelling framework that is widely used, covering APTs, Techniques, Tactics, Data Sources, etc.</li><li><a href="https://github.com/hunters-forge/mordor"><strong>Mordor</strong></a> — A project that provides a number of prerecorded JSON datasets made up of security events that have been simulated using certain techniques all of which has been mapped to MITRE ATT&amp;CK. In this blog, I used the <a href="https://github.com/hunters-forge/mordor/blob/master/datasets/small/windows/credential_access/covenant_mimikatz_logonpasswords.tar.gz">Credential Dumping dataset</a> and the <a href="https://github.com/hunters-forge/mordor/blob/master/datasets/small/windows/execution/empire_invoke_psexec.tar.gz">Powershell dataset</a>.</li><li><a href="https://mitre-attack.github.io/attack-navigator/enterprise/"><strong>ATT&amp;CK Navigator</strong></a><strong> </strong>— Tool used for creating heat maps based on MITRE ATT&amp;CK. Can ingest JSON files created by DeTT&amp;CT.</li><li><a href="https://github.com/rabobank-cdc/DeTTECT"><strong>DeTT&amp;CT</strong></a> — Used to generate JSON files based on various factors. In this blog, the group function was used to generate a heat map based on a select few APTs and their techniques.</li><li><a href="https://gchq.github.io/CyberChef"><strong>CyberChef</strong></a><strong> </strong>— Used to decode encrypted PowerShell strings. This tool has a tonne of options for decoding/encoding.</li><li><a href="https://www.splunk.com/en_us/download/splunk-enterprise.html"><strong>Splunk Enterprise</strong></a> — Popular SIEM tool used for ingesting data and searching for specific events. Not necessarily required if you are following along but hugely useful!</li></ul><h4>References</h4><ul><li><strong>Credential Dumping Article</strong>— <a href="https://underdefense.com/hidden-aspects-of-mimikatz-and-how-to-protect-your-infrastructure-by-using-sysmonsplunk/">https://underdefense.com/hidden-aspects-of-mimikatz-and-how-to-protect-your-infrastructure-by-using-sysmonsplunk/</a></li><li><strong>Credential Dumping Sigma Rule </strong>— <a href="https://github.com/Neo23x0/sigma/blob/master/rules/windows/sysmon/sysmon_mimikatz_detection_lsass.yml">https://github.com/Neo23x0/sigma/blob/master/rules/windows/sysmon/sysmon_mimikatz_detection_lsass.yml</a></li><li><strong>PowerShell Detection — </strong><a href="https://www.carbonblack.com/2016/12/05/decoding-malicious-powershell-streams/">https://www.carbonblack.com/2016/12/05/decoding-malicious-powershell-streams/</a></li><li><strong>OilRig APT Overview</strong>— <a href="https://unit42.paloaltonetworks.com/behind-the-scenes-with-oilrig/">https://unit42.paloaltonetworks.com/behind-the-scenes-with-oilrig/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad95a4106c85" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adarma-tech-blog/utilising-mitre-att-ck-to-detect-techniques-used-by-iranian-apts-ad95a4106c85">Utilising MITRE ATT&amp;CK to Detect Techniques Used by Advanced Persistent Threat Actors</a> was originally published in <a href="https://medium.com/adarma-tech-blog">Adarma Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Forseti to Secure GCP Environments]]></title>
            <link>https://medium.com/adarma-tech-blog/using-forseti-to-secure-gcp-environments-b9133efb052d?source=rss----9ea0860c2c42---4</link>
            <guid isPermaLink="false">https://medium.com/p/b9133efb052d</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[forseti-security]]></category>
            <category><![CDATA[forseti]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[gcp]]></category>
            <dc:creator><![CDATA[Liam Somerville]]></dc:creator>
            <pubDate>Wed, 18 Dec 2019 11:47:31 GMT</pubDate>
            <atom:updated>2019-12-18T11:47:31.334Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*9smmPgp572TEjqjnQZN1yQ.png" /><figcaption>Source: <a href="https://cloud.google.com/">https://cloud.google.com/</a></figcaption></figure><p><a href="https://forsetisecurity.org/">Forseti</a> is an open-source project designed specifically for improving the security of your Google Cloud Platform (GCP). A quick Google for “Forseti” also provides some indicators as to where the name may have come from. Forseti is said to be a Norse god, who, apparently is an equivalent of the Scandinavian “law speaker” who often acted as a judge and decided the outcome of disputes in accordance with the law. As we’re about to discover this seems rather fitting for the purpose of the Forseti tool.</p><p>With organisations moving more from a traditional data centre to more cloud-based offerings, their security strategy, processes and their tooling has struggled to keep up with the pace of adoption into the public cloud.</p><p>Each of the main cloud offerings from Azure, AWS and GCP have a multitude of service offerings to cater to your requirements. The security challenges with each of the offerings haven’t changed from the on-prem days.</p><ul><li>Keeping and maintaining an inventory</li><li>Lack of monitoring over your policies or if something in your estate violates the policy</li><li>Lack of tooling to enforce settings if the bad config is pushed, e.g someone allows a storage bucket to be public either intentionally or by accident</li><li>No real understanding or view of your policies across your estate</li></ul><p>Well, this is exactly some of the issues that Forseti tries to help you with within your GCP environment.</p><p>It does so by first building an inventory of your GCP environment and storing snapshots of the estate to Cloud SQL, this gives you a historical view and capability to compare and contrast its state. It&#39;s configurable too, you can change how often it takes an inventory, additionally, you can send email notifications when your snapshot has been updated.</p><p>Now is where it gets interesting, “the enforcer”. This is where we use the policies to compare to any changes made in the environment that are in violation of the policies. An example might be that someone has tried to make a storage bucket publicly available, the enforcer finds this in the event log and takes corrective action in close to real-time. Another example within a Compute Engine firewall; someone tries to allow 0.0.0.0 network access to a compute instance, typically you wouldn’t do this, so enforcer reverts the rule, again in real-time. It&#39;s granular too, you can apply enforcer rules at the organisation level or at the project level in GCP and apply exclusions too, for instance, you may have a storage bucket that hosts all the images used on your company website, this obviously needs to be public and a great use of an exclusion in the policy.</p><p>The scanner function in Forseti uses the inventory to scan for violations of role-based access policies in GCP.</p><p>Examples of violations the scanner can identify are</p><p><strong>Bigquery:</strong></p><ul><li>Datasets are publicly available</li><li>Someone has access to a dataset who may not be part of the organisation with a @gmail.com address</li></ul><p><strong>Blacklist:</strong></p><ul><li>The IP address of any GCP instances should not be listed on the emerging threats website</li></ul><p><strong>Cloud SQL:</strong></p><ul><li>Cloud SQL instances should not be allowed access from anywhere and only from authorised networks</li><li>Cloud SQL instances should not be allowed access from anywhere over SSL and only from authorised networks</li></ul><p><strong>Cloud storage:</strong></p><ul><li>Bucket ACL’s should not be publicly accessible</li></ul><p><strong>Firewall:</strong></p><ul><li>Allow all ingress should be prevented</li></ul><p><strong>KMS:</strong></p><ul><li>Keys should be rotated every “x” days</li></ul><p><strong>Kubernetes:</strong></p><ul><li>Allow the only x supported versions</li></ul><p>Ok, this is all sounding great, but it’s starting to get a bit… complicated…<br>This is where the explain module comes in.</p><p>Explain is there to help you understand:</p><ul><li>Who has access to what resources and how that user can interact with a resource</li><li>Why a principal has permission on a resource or why they don’t have permission and how to fix it</li><li>What roles provide specific permission</li></ul><p>Scanner and Inventory both have the ability to send email notifications, they also have a <a href="https://github.com/forseti-security/forseti-visualizer">new visualiser </a>available which “attempts to enable Google Cloud Platform users to better understand their GCP Organisation Structure, while providing insights into policy adherence through the identification of violations.” In addition, any violation can be sent to the Cloud Security Command Center to ensure you get all security events in one single pane of glass.</p><p>The documentation for setting up Forseti is well written and detailed and can be found <a href="https://forsetisecurity.org/docs/latest/setup/install.html">here</a>. The Forseti Terraform module is the only supported method of installing Forseti Security. The default infrastructure for Forseti is the Google Compute Engine. This module also supports installing Forseti on Google Kubernetes Engine (GKE), and at some point in the future will become the default. For more information on installing Forseti on-GKE, please see the <a href="https://forsetisecurity.org/docs/latest/setup/forseti-on-gke.html">detailed guide on setting up Forseti on-GKE</a>.</p><p>Forseti is continually being developed as can be seen from their detailed <a href="https://github.com/forseti-security/forseti-security/releases">release log</a></p><p>Support for Forseti is community-driven through their <a href="https://forsetisecurity.slack.com/join/shared_invite/enQtNDIyMzg4Nzg1NjcxLTM1NTUzZmM2ODVmNzE5MWEwYzAwNjUxMjVkZjhmYWZiOGZjMjY3ZjllNDlkYjk1OGU4MTVhZGM4NzgyZjZhNTE">slack channel</a>. They hold a meeting on <a href="https://meet.google.com/ugq-dchi-rmw">hangouts</a> every Tuesday from 9 AM — 9:30 AM PST and through google <a href="https://groups.google.com/a/forsetisecurity.org/forum/#!forum/discuss">groups</a> where you can post to discuss@forsetisecurity.org</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9133efb052d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/adarma-tech-blog/using-forseti-to-secure-gcp-environments-b9133efb052d">Using Forseti to Secure GCP Environments</a> was originally published in <a href="https://medium.com/adarma-tech-blog">Adarma Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>