<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bring Your Own Demon on Medium]]></title>
        <description><![CDATA[Stories by Bring Your Own Demon on Medium]]></description>
        <link>https://medium.com/@infosecxual?source=rss-412aae08de1a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SKYOEme0MZw_eA-AvOHLdQ.jpeg</url>
            <title>Stories by Bring Your Own Demon on Medium</title>
            <link>https://medium.com/@infosecxual?source=rss-412aae08de1a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 09:31:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@infosecxual/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The wild ride of vendor security.]]></title>
            <link>https://medium.com/@infosecxual/the-wild-ride-of-vendor-security-b70b8559af8b?source=rss-412aae08de1a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b70b8559af8b</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[supply-chain]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Bring Your Own Demon]]></dc:creator>
            <pubDate>Fri, 14 Sep 2018 19:55:21 GMT</pubDate>
            <atom:updated>2018-09-14T19:56:19.396Z</atom:updated>
            <content:encoded><![CDATA[<p>Vendors are likely to have the same level of access as your own members of staff but how do you secure this access? They fall outside of your network, your buildings and your Security teams reach. How can you quickly and efficiently provide a judgment on their security stance. You are limited on time, resource and practicality.</p><p>Chances are by the time you are involved the decision has been made to work with a supplier, how can you identify the risks. What do you even care about?</p><p>This is my first part in a series around evaluating a supplier’s security. It’s more of a self reference guide full of questions, not answers, to give you and me something to think about when talking to a vendor. This isn’t a comprehensive list of things to think about it’s just some ideas. These may not be appropriate for the supplier you are looking at. The most important thing is to be reasonable and use your judgment.</p><p><strong>Security Governance</strong></p><p>A supplier should be using a Framework to coordinate and ensure decisions are risk based taking into account information security. A good framework will be an aligned to a certificate. Don’t let them get away with A certificate, most tell you limited information. There is no way to know the context from just a certificate they could cover the entire infrastructure or a broom cupboard. They should evidence this b showing you a statement of applicability or a SOC2 or an audit report which details what was in scope and how compliant each of their controls actually are.</p><p>The framework they use should feed into several policies. Initially you would need to focus on Data Protection, Information Security and Business continuity which will hopefully refer and flow down to multiple more detailed policies. When reviewing these it is important to note at what level they apply across the business, are they signed off and supported by board level? If not, does the 3rd party care about Information Security if they do not get any support from upper management.</p><p>How do they ensure these policies are working? Do they record security metrics, do they report these to a central risk group are you able to view these metrics? The metrics should include security incidents, lost devices, remediation tracking plus many more areas. Are risks being spoken about once then ignored for the next ten years or are they tracked till closure?</p><p><strong>Information Security Governance</strong></p><p>Who is the Data Protection Officer? Are they fulltime, part-time? What is their background, Security is a small world, someone will have heard of them, what is their view? Do they have a legal background, a lot now days are ex -awyers as its more of a legal role than a security role.</p><p>Do they have managers in charge of different aspects of security, can they give you an org chart for the security team? This helps you get a feel for their investment in security.</p><p>Be mindful of the size of the company, I wouldn’t expect a small family business to have 100 fulltime security employees, it’s just not reasonable.</p><p><strong>Human Resource</strong></p><p>What is one of the biggest weaknesses for security, the human element, be it accidental, or malicious disclosure of data the root cause of many incidents is human error.</p><p>Security awareness is there to ensure the staff understand the importance of is, the level of security required by the org and their own individual responsibility. How does the supplier provide this training, is it merely induction training performed once when joining or is it reviewed and repeated annual, or preferably quarterly. Are all staff mandated to complete the training? How do they test the knowledge is it a multiple guess system or do you cement this knowledge by running simulations, including phishing tests followed up by further education?</p><p>How does the organisation ensure the reliability of staff that have access to systems. Applicants for employment where they will have access to your companies data should be screened prior to starting any work, think about your requirements. I would be looking for References, career/qualification checks, credit checks and Criminal record checks. Take a look at your <a href="https://www.cbscreening.co.uk/news/post/employment-screening-financial-industry-fca-compliance/">regulators requirements</a>. What you don’t want to do is allow the supplier to get away with a less strenuous background check than your own staff else what’s the point in doing the checks on your own staff. Certain engagements might be giving the supplier superuser or sensitive roles, consider whether you would be more comfortable to perform your own enhanced checks on theor users.</p><p>Do the employees have solid contracts, do they have confidentiality agreements. You can’t expect them not to do something if you haven’t made it clear. These contracts should be complementary to an acceptable use policy with clearly defined rules on how an individual can use information and systems belonging to the company. They should make it clear disciplinary measures for data/confidentiality breaches.</p><p><strong>Information Asset Management</strong></p><p>Information needs to be classified and handled appropriately at all times. A lack of this will result in disclosure of that information leading to loss of data and reputation. How does the organisation classify data, you should look at both the policy (i.e. What makes a document Non-sensitive, Restricted, Secret, TLP Red etc), the marking method (i.e. how do people know the sensitivity, this could be footers, name conventions, email subjects or even rubber stamps), how are different levels of sensitive data dealt with (I.e TLP red needs two people to turn a key simultaneously to gain access to the room, secret marked documents needs to be checked out and can only be shared with named people) and most importantly how will your company’s information be classified. There is no point reviewing their Classification scheme if all your info is going to be marked non sensitive.</p><p>What mechanisms do they have in place to actually apply controls to the sensitive info during its ‘Lifecycle’. This includes creation (Be it by a user or automated process; Categorization; Storage (Locally or centrally), retrieval (by one or multiple users); Modification (Adding/Changing/deleting content); and destruction. You are looking for evidence they have an updated asset register so they can track information transfer. Do they protect information when its stored be it locked cabinets, clear desk policies, encryption of data and access controls? (We will come on to this later as well). Are they keeping data for a reason&gt; They need to have a retention policy which should specify employee obligations cover the different formats of information, define all important terms and explain how they backup and archive information. This should closely align with any requirements for legal and regulatory compliance.</p><p>Is there a process in place for secure deletion/ destruction of the data at the end of the contract? THe last thing you want to do is end the contract and realise 8 months later they haven’t removed the data as they said they had (<a href="https://www.cnet.com/g00/news/facebook-proof-cambridge-analytica-deleted-that-data-was-a-signature/?i10c.encReferrer=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvLnVrLw%3D%3D&amp;i10c.ua=1&amp;i10c.dv=14">LOOKING AT YOU FACEBOOK)</a>. You should establish a method for verifying the secure destruction of information. This would include approval of destruction, observation of it, ensuring all items have been correcting destroyed, record details around the destruction. Unless you are there viewing the destruction you are going to have to trust them, therefore you want to make sure they at least have solid procedures in place for this.</p><p><strong>Access and ID management</strong></p><p>Do they have process in place to manage user access? Does this include user admin, user authorisation, user authentication, user permission, user access auditing, there are many items to consider. Just think in simple terms the rights of authorised users should be restricted on a need to have basis, on their user role, it should be approved by the system owner and revoked when no longer needed.</p><p>Do they use industry standards for complex passwords? NIST provides great guidance but isn’t the be all and end all. Aim for the simple items first, what are the rules around setting passwords how complex do they need to be, do they need to resent them, can they reuse passwords?</p><p>Do they use credentials other than Username and Password. Can they implement 2FA this could be a physical token, a token app, a finger print, an IP restriction, a unique digital certificate. Are there step up authentication methods in place for example when approving sensitive transactions/activity?</p><p>Do they operate a standard joiners, movers, leavers process, is access revalidated regularly. The processes for authorising users should include a review/revalidation exercise to check that privileges remain appropriate, redundant authorisations are remove, i.e. if a user has changed role or left. How often do you think these revalidation exercises should be performed I would aim for 6 months for general access and maybe a limited 3 months for special access roles.</p><p>Is remote access permitted to staff, how is this secured. We can see from CCleaner that 2fa is important for Remote access, <a href="https://medium.com/@infosecxual/two-factors-one-breach-6898a51052d0">the consequence of not can be disastrous</a> A dedicated remote access server should be in place, this should provide reliable and complete authentication for external connections (See Radius or TACACS+), provide info for troubleshooting, log all connections, including start, stop, duration and user tracking. This data should feed into a SEIM and be used to identify unusual behaviour. Would your developer be logged in from Ukraine at 0400 on a Sunday? There should be challenge and response in place for authentication including OTP, smart cards or biometrics to ensure if credentials are ‘misplaced’ these don’t give an attacker free rein to your network.</p><p><strong>System Management</strong></p><p>Do they have appropriate controls in place when designing computer systems. They should be protected with various in-built security controls to ensure they can meet the security requirements of any critical business applications they support. They should be designed to cope with current and future information processing requirements are they monitoring the capacity can they take appropriate measure to ensure stability?</p><p>Are backups taken in line with the best practice, and more importantly where and how are they stored, we have all seen the recent leaky S3 buckets containing companies entire set of recent backups. Is the data mirrored across to secondary sites, storing all your tapes in one warehouse that burns down is useless to you. When did they last test these backups? Never? Once ten years ago?</p><p><strong>Technical Security infrastructure</strong></p><p>Are cryptographic mechanisms in place? Which areas are encryption applied to DB fields, Storage area networks, across internal network transfers? How does this work, what algorithms do they use, do they have reasonable key lengths are they known to be weak. How do they control the keys, this would include generation, storage and destruction do they follow perfect forward secrecy practices. How do they protect data in transit between services and the consumer’s device.</p><p>Is any Data Leakage prevention software in place? Can they control data leaving the perimeter or transferred internally. DO they filter web access to prevent access to storage and email services? Do they monitor USBs/CDs? Do they block outgoing emails if they lack encryption or contain suspicious amounts of data?</p><p><strong>Network Management</strong></p><p>Network devices need to be configured to prevent unauthorised or incorrect updates, they need to protect information being transferred and prevent unauthorised connections. Wireless access should be protected using layers of access control, including network access control (IEEE 802.1x) device authentication (EAP-TLS) and encryption of data (WPA2-PSK).</p><p>Do they log external network connections and assess for risk, governing them with a valid contract? Is IDS/IPS in place to detect malicious traffic?</p><p>Do they use network segregation, can they provide you with a high level diagram detailing their setup?</p><p>I realised there was a lot more to this than a simple checklist i will have to do a part two . The next bits i would like to cover is:</p><ul><li>Vulnerability Management</li><li>Incident Management</li><li>Mobile device security</li><li>Electronic Communications</li><li>Supply Chain Management</li><li>Physical Security</li><li>Business Continuity</li></ul><p>I doubt this will be that useful but these are the questions I have in my head when talking to a supplier. Maybe worth thinking about?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b70b8559af8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Two Factors, One Breach]]></title>
            <link>https://medium.com/@infosecxual/two-factors-one-breach-6898a51052d0?source=rss-412aae08de1a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6898a51052d0</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[two-factor-authentication]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[data-breach]]></category>
            <dc:creator><![CDATA[Bring Your Own Demon]]></dc:creator>
            <pubDate>Sun, 22 Apr 2018 20:52:30 GMT</pubDate>
            <atom:updated>2018-04-22T20:52:30.760Z</atom:updated>
            <content:encoded><![CDATA[<p>On the 15th of August 2017 CCleaner version 5.33.6162 was released in a regular update. Four weeks later, 15th of September 2017, security company Morphisec notified Avast that their legitimate update contained malware.</p><p>The breach end to end was recently detailed by Avast’s<a href="https://blog.avast.com/author/ondrej-vlcek"> Ondrej Vlcek</a><a href="https://blog.avast.com/update-ccleaner-attackers-entered-via-teamviewer"> https://blog.avast.com/update-ccleaner-attackers-entered-via-teamviewer</a> or for those of a TL;DR nature in my recent twitter thread.</p><h3>Infosecxual on Twitter</h3><p>Oh boy the CCleaner breach timeline is good. -Attackers used reused creds to access Devs team viewer account -Installed malware on his device -Pivoted to second machine using RDP protocol - Dropped second stage - Third stage is Shadowpad - Pivot from here to build Server</p><p>I just wanted to write some of my thoughts in a more long form. This is my first article so please don’t hold back on any feed back.</p><p>The initial breach occured when a developer made the decision to reuse a password for his TeamViewer account. This password had subsequently been leaked from another data breach.</p><p>My guess is the attackers actively targeted Piriform. It has a large user base (2 Billion as of November 2016) and is mostly installed with Admin RIghts due to the nature of the software. A perfect host for a backdoor.</p><p>If I were in the attackers position my initial intel gathering would be to do a simple search on LinkedIn looking for software devs currently working for Piriform, build up a picture of the devs personal accounts and look for a weakness. This could be actively Phishing them or even just searching your local breach database until you locate one of these devs’ account details. (Top tip: start with HaveibeenPwned for a quick target).</p><p>Many users will reuse these passwords for services such as email accounts, social media and more importantly work logins. Somehow the attackers established that Piriform uses TeamViewer to allow their employees to work from home.</p><p>What Piriform forgot, or chose not to do, is enforce Two-Factor Authentication on all remote logins. Any VPN/Remote access that allows users to access a work network should be supported by One Time Passwords/Token Generators. A user’s computer is a hotbed for malware. They are outside your firewall, they are outside your SEIM and they are outside of your kingdom. The chances are most users will have a password compromised at one point or another. If you do not have 2FA, any malware or attacker on the user’s device can now access your network whenever they feel like it.</p><p>Once the attacker had access to the network through the helpful developer, they attempted three times to install a persistent backdoor as reused creds aren’t reliable for long, and changing them is a massive red flag, alerting the host to your presence.</p><p>The first two attempts failed it seems, error code 5 .ie. Access denied. Piriform correctly blocked the devs from having admin access on their systems and made the attackers life a little more difficult, but in the end it didn’t slow them down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WQFvZBox3DDQUM_3." /><figcaption>Credit: Avast</figcaption></figure><p>From this initial infection point they pivoted throughout the network using a mix of RDP vulnerabilities, administration credentials, helpfully provided by Keyloggers, until they had access to a build server.</p><p>They then deployed what is widely believed to be their final payload ShadowPad, which was delivered as a .dll file. Interestingly, this is similar to the backdoor recently found in Netsarang. Personally, I don’t know much about malware analysis so it would be interesting for somebody to do a comparison between these two payloads. ShadowPad sends out DNS-queries to its command and control server on a regular basis. This would contain basic information about the host system (user name, domain name, host name). If the attackers considered the host to be of value or interest the C&amp;C server would trigger the download of further malicious code or begin exfiltrating data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cXFExwwfWHq7eJd7." /><figcaption>Credit: TrendMicro</figcaption></figure><p>The attackers were in Piriform’s network for at least four months before they slipped their additions into the source code for CCleaner, which was successfully built, signed and shipped. This free development contribution ended up being installed on two million users’ devices. What’s more interesting is that this was only the first stage. The second stage malware was then dropped onto 40 devices, many of which were owned tech companies including Microsoft, suggesting this may have been specifically targeted. Avast are unaware if the third stage, ShadowPad, was successfully installed on any users. It’s up to you to decide if the attackers were unsuccessful or just haven’t been detected yet.</p><p>Avast have ended up responsible for this breach by purchasing Piriform. This pushes the view that the information security team should be involved during mergers to the same level that they are involved for hiring suppliers. I work in this area, my day job involves reviewing vendors against a set of standards to identify any areas where we believe they should improve. I believe that a successful third party review would have been able to identify this vulnerability to the network. One of the things we specifically focus on is external access being through a VPN or third party. Many people say that a questionnaire doesn’t add value or is out of date the moment it is filled in, but it would have identified the lack of 2FA on teamviewer which could have in turn triggered a review possibly uncovering the APT.</p><p>The root cause of this breach is the lack Two Factor Authentication. If the network Admins had taken the time to turn it on for TeamViewer ( <a href="https://www.turnon2fa.com/tutorials/how-to-turn-on-2fa-for-teamviewer/">https://www.turnon2fa.com/tutorials/how-to-turn-on-2fa-for-teamviewer/</a>) this would not have happned, two million people wouldn’t have had to wipe their devices and now more then two million people have lost trust in CCleaner and by assosiation Avast.</p><p>What can you do as a user? You can turn on 2FA on all services, you can bug developers to add 2FA support to all applications and you can ask your network admins why there isn’t 2FA on your work accounts. We have a long way to go — only 10% of Gmail users have 2FA turned on — but we can start by doing it right now. Go.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UI0lRpkktpEmCSU9." /><figcaption>Credit: <a href="https://www.turnon2fa.com/">https://www.turnon2fa.com/</a></figcaption></figure><p><a href="https://www.turnon2fa.com/">Turn On 2FA | Turn It On</a></p><p>Follow me on Twitter</p><p><a href="https://twitter.com/infosecxual">Infosecxual (@infosecxual) | Twitter</a></p><p>Thanks to those who convinced me to write this down and gave me some pointers.</p><p>References:</p><ul><li><a href="https://blog.avast.com/update-ccleaner-attackers-entered-via-teamviewer">Recent findings from CCleaner APT investigation reveal that attackers entered the Piriform network via TeamViewer</a></li><li><a href="https://gigazine.net/gsc_news/en/20180419-ccleaner-attack-timeline/">Targeted attacks using the PC optimization tool &quot;CCleaner&quot; as a stepping stone reveal malware contamination routes</a></li><li><a href="https://www.symantec.com/security-center/writeup/2017-081607-0105-99">Backdoor.Shadowpad | Symantec</a></li><li><a href="https://success.trendmicro.com/solution/1118411-information-on-bkdr-shadowpad-a#collapseOne">Preventing BKDR_SHADOWPAD.A - Trend Micro</a></li><li><a href="https://haveibeenpwned.com/">Have I Been Pwned: Check if your email address has been exposed in a data breach</a></li><li><a href="https://www.theregister.co.uk/2018/01/17/no_one_uses_two_factor_authentication/">Who&#39;s using 2FA? Sweet FA. Less than 10% of Gmail users enable two-factor authentication</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6898a51052d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>