Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Microsoft - How Microsoft uses machine learning to fight social engineering attacks

#1
How Microsoft uses machine learning to fight social engineering attacks

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/06/how-microsoft-uses-machine-learning-to-fight-social-engineering-attacks.png" width="720" height="481" title="" alt="" /></div><div><p>Machine learning is a key driver in the constant evolution of security technologies at Microsoft. Machine learning allows <a href="https://www.microsoft.com/en-us/microsoft-365/default.aspx?ocid=cx-blog-mmpc">Microsoft 365</a> to scale <a href="https://youtu.be/Xy3MOxkX_o4">next-gen protection</a> capabilities and enhance cloud-based, real-time blocking of new and unknown threats. Just in the last few months, machine learning has helped us to protect hundreds of thousands of customers against <a href="https://cloudblogs.microsoft.com/microsoftsecure/2017/12/11/detonating-a-bad-rabbit-windows-defender-antivirus-and-layered-machine-learning-defenses?ocid=cx-blog-mmpc">ransomware</a>, <a href="https://cloudblogs.microsoft.com/microsoftsecure/2018/02/14/how-artificial-intelligence-stopped-an-emotet-outbreak?ocid=cx-blog-mmpc">banking Trojan</a>, and <a href="https://cloudblogs.microsoft.com/microsoftsecure/2018/03/07/behavior-monitoring-combined-with-machine-learning-spoils-a-massive-dofoil-coin-mining-campaign?ocid=cx-blog-mmpc">coin miner</a> malware outbreaks.</p>
<p>But how does machine learning stack up against social engineering attacks?</p>
<p>Social engineering gives cybercriminals a way to get into systems and slip through defenses. Security investments, including the integration of advanced threat protection services in Windows, Office 365, and Enterprise Mobility + Security into <a href="https://www.microsoft.com/en-us/microsoft-365/default.aspx?ocid=cx-blog-mmpc">Microsoft 365</a>, have significantly raised the cost of attacks. The hardening of Windows 10 and <a href="https://www.microsoft.com/en-us/windows/s-mode?ocid=cx-blog-mmpc">Windows 10 in S mode</a>, the advancement of browser security in Microsoft Edge, and the integrated stack of endpoint protection platform (EPP) and endpoint detection and response (EDR) capabilities in Windows Defender Advanced Threat Protection (<a href="https://www.microsoft.com/en-us/windowsforbusiness/windows-atp?ocid=cx-blog-mmpc">Windows Defender ATP</a>) further raise the bar in security. Attackers intent on overcoming these defenses to compromise devices are increasingly reliant on social engineering, banking on the susceptibility of users to open the gate to their devices.</p>
<p>Modern social engineering attacks use non-portable executable (PE) files like malicious scripts and macro-laced documents, typically in combination with social engineering lures. Every month, Windows Defender AV detects non-PE threats on over 10 million machines. These threats may be delivered as email attachments, through drive-by web downloads, removable drives, browser exploits, etc. The most common non-PE threat file types are JavaScript and VBScript.</p>
<p><img class="alignnone size-full wp-image-83512 aligncenter" src="http://www.sickgaming.net/blog/wp-content/uploads/2018/06/how-microsoft-uses-machine-learning-to-fight-social-engineering-attacks.png" alt="" width="720" height="481" /><em>Figure 1. Ten most prevalent non-PE threat file types encountered by Windows Defender AV</em></p>
<p>Non-PE threats are typically used as intermediary downloaders designed to deliver more dangerous executable malware payloads. Due to their flexibility, non-PE files are also used in various stages of the attack chain, including lateral movement and establishing <a href="https://cloudblogs.microsoft.com/microsoftsecure/2018/01/24/now-you-see-me-exposing-fileless-malware?ocid=cx-blog-mmpc">fileless</a> persistence. Machine learning allows us to scale protection against these threats in real-time, often <a href="https://cloudblogs.microsoft.com/microsoftsecure/2017/07/18/windows-defender-antivirus-cloud-protection-service-advanced-real-time-defense-against-never-before-seen-malware/?ocid=cx-blog-mmpc">protecting the first victim (patient zero)</a>.</p>
<h2>Catching social engineering campaigns big and small</h2>
<p>In mid-May, a small-scale, targeted spam campaign started distributing spear phishing emails that spoofed a landscaping business in Calgary, Canada. The attack was observed targeting less than 100 machines, mostly located in Canada. The spear phishing emails asked target victims to review an attached PDF document.</p>
<p>When opened, the PDF document presents itself as a “secure document” that requires action – a very common social engineering technique used in enterprise phishing attacks. To view the supposed “secure document”, the target victim is instructed to click a link within the PDF, which opens a malicious website with a sign-in screen that asks for enterprise credentials.</p>
<p>Phished credentials can then be used for further attacks, including <a href="https://krebsonsecurity.com/2016/04/fbi-2-3-billion-lost-to-ceo-email-scams/">CEO fraud</a>, additional spam campaigns, or remote access to the network for data theft or ransomware. Our machine learning blocked the PDF file as malware (<a href="https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?Name=Trojan:Script/Cloxer.A!cl">Trojan:Script/Cloxer.A!cl</a>) from the get-go, helping prevent the attack from succeeding. <img class="size-full wp-image-83587 aligncenter" src="http://www.sickgaming.net/blog/wp-content/uploads/2018/06/how-microsoft-uses-machine-learning-to-fight-social-engineering-attacks-1.png" alt="" width="1209" height="640" /></p>
<p><em>Figure 2. Phishing email campaign with PDF attachment</em></p>
<p>Beyond targeted credential phishing attacks, we commonly see large-scale malware campaigns that use emails with archive attachments containing malicious VBScript or JavaScript files. These emails typically masquerade as an outstanding invoice, package delivery, or parking ticket, and instruct targets of the attack to refer to the attachment for more details. If the target opens the archive and runs the script, the malware typically downloads and runs further threats like <a href="https://cloudblogs.microsoft.com/microsoftsecure/2018/01/10/a-worthy-upgrade-next-gen-security-on-windows-10-proves-resilient-against-ransomware-outbreaks-in-2017/?ocid=cx-blog-mmpc">ransomware</a> or <a href="https://cloudblogs.microsoft.com/microsoftsecure/2018/03/13/invisible-resource-thieves-the-increasing-threat-of-cryptocurrency-miners?ocid=cx-blog-mmpc">coin miners</a>.</p>
<p><img class="size-full wp-image-83590 aligncenter" src="http://www.sickgaming.net/blog/wp-content/uploads/2018/06/how-microsoft-uses-machine-learning-to-fight-social-engineering-attacks-2.png" alt="" width="1500" height="641" /><em>Figure 3. Typical social engineering email campaign with an archive attachment containing a malicious script</em></p>
<p>Malware campaigns like these, whether limited and targeted or large-scale and random, occur frequently. Attackers go to great lengths to avoid detection by heavily obfuscating code and modifying their attack code for each spam wave. Traditional methods of manually writing signatures identifying patterns in malware cannot effectively stop these attacks. The power of machine learning is that it is scalable and can be powerful enough to detect noisy, massive campaigns, but also specific enough to detect targeted attacks with very few signals. This flexibility means that we can stop a wide range of modern attacks automatically at the onset.</p>
<h2>Machine learning models zero in on non-executable file types</h2>
<p>To fight social engineering attacks, we build and train specialized machine learning models that are designed for specific file types.</p>
<p>Building high-quality specialized models requires good features for describing each file. For each file type, the full contents of hundreds of thousands of files are analyzed using large-scale distributed computing. Using machine learning, the best features that describe the content of each file type are selected. These features are deployed to the Windows Defender AV client to assist in describing the content of each file to machine learning models.</p>
<p>In addition to these ML-learned features, the models leverage expert researcher-created features and other useful file metadata to describe content. Because these ML models are trained for specific file types, they can zone in on the metadata of these file types.</p>
<p><img class="aligncenter size-full wp-image-83524" src="http://www.sickgaming.net/blog/wp-content/uploads/2018/06/how-microsoft-uses-machine-learning-to-fight-social-engineering-attacks-3.png" alt="" width="878" height="386" /><em>Figure 4. Specialized file type-specific client ML models are paired with heavier cloud ML models to classify and protect against malicious script files in real-time</em></p>
<p>When the Windows Defender AV client encounters an unknown file, lightweight local ML models search for suspicious characteristics in the file’s features. Metadata for suspicious files are sent to the cloud protection service, where an array of bigger ML classifiers evaluate the file in real-time.</p>
<p>In both the client and the cloud, specialized file-type ML classifiers add to generic ML models to create multiple layers of classifiers that detect a wide range of malicious behavior. In the backend, deep-learning neural network models identify malicious scripts based on their full file content and behavior during detonation in a controlled sandbox. If a file is determined malicious, it is not allowed to run, preventing infection at the onset.</p>
<p>File type-specific ML classifiers are part of metadata-based ML models in the <a href="https://cloudblogs.microsoft.com/microsoftsecure/2017/07/18/windows-defender-antivirus-cloud-protection-service-advanced-real-time-defense-against-never-before-seen-malware?ocid=cx-blog-mmpc">Windows Defender AV cloud protection service</a>, which can make a verdict on suspicious files within a fraction of a second.</p>
<p><img class="aligncenter size-full wp-image-83530" src="http://www.sickgaming.net/blog/wp-content/uploads/2018/06/how-microsoft-uses-machine-learning-to-fight-social-engineering-attacks-4.png" alt="" width="866" height="531" /></p>
<p><em>Figure 5. Layered machine learning models in Windows Defender ATP</em></p>
<p>File type-specific ML classifiers are also leveraged by ensemble models that learn and combine results from the whole array of cloud classifiers. This produces a comprehensive cloud-based machine learning stack that can protect against script-based attacks, including zero-day malware and highly targeted attacks. For example, the targeted phishing attack in mid-May was caught by a specialized PDF client-side machine learning model, as well as several cloud-based machine learning models, protecting customers in real-time.</p>
<h2>Microsoft 365 threat protection powered by artificial intelligence and data sharing</h2>
<p>Social engineering attacks that use non-portable executable (PE) threats are pervasive in today’s threat landscape; the impact of combating these threats through machine learning is far-reaching.</p>
<p><a href="https://www.microsoft.com/en-us/windows/windows-defender?ocid=cx-blog-mmpc">Windows Defender AV</a> combines local machine learning models, behavior-based detection algorithms, generics, and heuristics with a detonation system and powerful ML models in the cloud to provide real-time protection against polymorphic malware. Expert input from researchers, advanced technologies like Antimalware Scan Interface (AMSI), and rich intelligence from the Microsoft Intelligent Security Graph continue to enhance <a href="https://youtu.be/Xy3MOxkX_o4">next-generation</a> endpoint protection platform (EPP) capabilities in <a href="https://www.microsoft.com/en-us/windowsforbusiness/windows-atp?ocid=cx-blog-mmpc">Windows Defender Advanced Threat Protection</a>.</p>
<p>In addition to antivirus, components of Windows Defender ATP’s interconnected security technologies defend against the multiple elements of social engineering attacks. <a href="https://docs.microsoft.com/en-us/microsoft-edge/deploy/index?ocid=cx-blog-mmpc">Windows Defender SmartScreen</a> in <a href="https://docs.microsoft.com/en-us/microsoft-edge/deploy/index?ocid=cx-blog-mmpc">Microsoft Edge</a> (also now available as a Google Chrome <a href="https://chrome.google.com/webstore/detail/windows-defender-browser/bkbeeeffjjeopflfhgeknacdieedcoml">extension</a>) blocks access to malicious URLs, such as those found in social engineering emails and documents. <a href="https://docs.microsoft.com/en-us/windows/threat-protection/windows-defender-exploit-guard/network-protection-exploit-guard?ocid=cx-blog-mmpc">Network protection</a> blocks malicious network communications, including those made by malicious scripts to download payloads. <a href="https://docs.microsoft.com/en-us/windows/threat-protection/windows-defender-exploit-guard/attack-surface-reduction-exploit-guard?ocid=cx-blog-mmpc">Attack surface reduction rules</a> in <a href="https://blogs.technet.microsoft.com/mmpc/2017/10/23/windows-defender-exploit-guard-reduce-the-attack-surface-against-next-generation-malware/?ocid=cx-blog-mmpc">Windows Defender Exploit Guard</a> block Office-, script-, and email-based threats used in social engineering attacks. On the other hand, <a href="https://blogs.technet.microsoft.com/mmpc/2017/10/23/introducing-windows-defender-application-control/?ocid=cx-blog-mmpc">Windows Defender Application Control</a> can block the installation of untrusted applications, including malware payloads of intermediary downloaders. These security solutions protect Windows 10 and <a href="https://www.microsoft.com/en-us/windows/s-mode?ocid=cx-blog-mmpc">Windows 10 in S</a> mode from social engineering attacks.</p>
<p>Further, <a href="https://www.microsoft.com/en-us/windowsforbusiness/windows-atp?ocid=cx-blog-mmpc">Windows Defender ATP</a> endpoint detection and response (EDR) uses the power of machine learning and AMSI to <a href="https://cloudblogs.microsoft.com/microsoftsecure/2017/12/04/windows-defender-atp-machine-learning-and-amsi-unearthing-script-based-attacks-that-live-off-the-land/?ocid=cx-blog-mmpc">unearth script-based attacks that “live off the land”</a>. Windows Defender ATP allows security operations teams to detect and mitigate breaches and cyberattacks using advanced analytics and a rich detection library. With the April 2018 Update, automated investigation and advance hunting capabilities further enhance Windows Defender ATP. <a target="_blank" href="https://www.microsoft.com/en-us/windowsforbusiness/windows-atp?ocid=cx-blog-mmpc" rel="noopener"><strong>Sign up for a free trial</strong></a>.</p>
<p>Machine learning also powers <a href="https://products.office.com/en-us/exchange/online-email-threat-protection?ocid=cx-blog-mmpc">Office 365 Advanced Threat Protection</a> to detect <a href="https://cloudblogs.microsoft.com/microsoftsecure/2018/05/10/enhancing-office-365-advanced-threat-protection-with-detonation-based-heuristics-and-machine-learning/">non-PE attachments</a> in social engineering spam campaigns that distribute malware or steal user credentials. This enhances the Office 365 ATP comprehensive and multi-layered solution to protect mailboxes, files, online storage, and applications against threats.</p>
<p>These and other technologies power <a href="https://cloudblogs.microsoft.com/microsoftsecure/2018/04/24/securing-the-modern-workplace-with-microsoft-365-threat-protection-part-1/">Microsoft 365 threat protection</a> to defend the modern workplace. In <a href="https://blogs.windows.com/windowsexperience/2018/04/30/whats-new-in-the-windows-10-april-2018-update/#7a0DYWxJkTEurKUs.97">Windows 10 April 2018 Update</a>, we enhanced signal sharing across advanced threat protection services in Windows, Office 365, and Enterprise Mobility + Security through the Microsoft Intelligent Security Graph. This integration enables these technologies to automatically update protection and detection and orchestrate remediation across Microsoft 365.</p>
<p><em><strong>Gregory Ellison</strong> and <strong>Geoff McDonald</strong></em><br /><em>Windows Defender Research</em></p>
<p><a href="https://www.microsoft.com/en-us/windowsforbusiness/windows-atp?ocid=cx-blog-mmpc"><img class="alignnone size-full wp-image-83215" src="http://www.sickgaming.net/blog/wp-content/uploads/2018/06/how-microsoft-uses-machine-learning-to-fight-social-engineering-attacks-5.png" alt="" width="820" height="150" /></a></p>
<hr />
<h4><strong>Talk to us</strong></h4>
<p>Questions, concerns, or insights on this story? Join discussions at the <a target="_blank" href="https://answers.microsoft.com/en-us/protect" rel="noopener">Microsoft community</a> and <a target="_blank" href="https://www.microsoft.com/en-us/wdsi" rel="noopener">Windows Defender Security Intelligence</a>.</p>
<p>Follow us on Twitter <a target="_blank" href="https://twitter.com/WDSecurity" rel="noopener">@WDSecurity</a> and Facebook <a target="_blank" href="https://www.facebook.com/MsftWDSI/" rel="noopener">Windows Defender Security Intelligence</a>.</p>
</div>
Reply



Forum Jump:


Users browsing this thread:
3 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016