Skip to content
  • Blog
  • Events
  • Help
  • Careers
  • Contact
New Signature
  • About
      • Company

        Cognizant Microsoft Business Group is dedicated to changing the way businesses innovate, transform and run based on a unique cloud operating model. You will now be redirected to our new microsite to learn more.

        View Company

      • Awards

        As a company, we are regularly recognized within the IT industry as well as the communities we serve.

        View All Awards
      • News

        Read the most up-to-date corporate announcements, Microsoft technology updates, innovative business solutions and learn more about how the Cognizant Microsoft Business Group can take your business even farther.

        View News

      • Partners

        New Signature works with a number of outstanding technology companies to deliver the best experiences to our customers.

        View Partners
      • Leadership

        Cognizant Microsoft Business Group’s executive team is comprised of innovative leaders with proven experience and deep industry expertise. You will now be redirected to our new microsite to learn more.

        View Leadership

      • Industries

        Our solutions are tailored to empower organizations across a wide range
        of industries.

        View Industry Experience
    Close
  • Solutions
      • Intelligent Enterprise
        Solutions

        Going Digital
        Unleash cloud capability, deliver change and compete at speed with a Microsoft digital operating model, enabling you to work more efficiently as you transform your IT environment. Learn More

      • Featured Solution

        Secure Cloud
        In a world of constant threat, ensuring that your underlying cloud platform is protected is the first step on your organization’s journey towards a secure, compliant operating environment. Learn More
      • Intelligent Workplace
        Solutions

      • Secure Workplace

        Work Anywhere

        Endpoint Health

        Identity Health

        Teamwork Support



        VIEW WORKPLACE SOLUTIONS
      • Intelligent Cloud
        Solutions

      • App Factory

        Azure Accelerator

        Azure Launchpad

        Azure Launchpad for DevOps

        Application Health

        Platform Health

        VIEW ClOUD SOLUTIONS
    Close
  • Services
      • Begin your journey towards becoming a digital business with GO, our unique end-to-end framework based on the Microsoft Cloud Adoption Framework.

        GO DIGITAL OPERATING MODEL
      • Intelligent Enterprise

      • Consulting

        We go beyond just technology to help your organization understand how digital can help you uniquely differentiate and better serve your employees and customers.

        VIEW ENTERPRISE SERVICES
      • Intelligent Workplace

        • Identity

          Identity is your new first-line-of-defense. It’s vital to your users and clients that your identity platform is properly configured and secured.

          Endpoint

          Whether your devices are on-premises or remote, personal or business-owned, we can ensure they are properly managed and protected.

          Teamwork

          Today’s workforce is collaborating than ever before.  We can empower your current teams with tomorrow’s progressive technologies.

          VIEW WORKPLACE SERVICES
        • Intelligent Cloud

          • Platform

            The cloud is no longer some future-state. It’s the here and now. Adopting a cloud-first platform is one of the best ways to maintain a future-proofed competitive advantage.

            Applications

            We build cloud-native apps and modernize legacy systems with the power of Azure to give your organization a competitive edge.

            Data

            We can help your organization create secure, scalable data platforms to deliver simpler and more sophisticated insights to your business.

            VIEW CLOUD SERVICES
        Close
      • Client Stories
          • Case Studies

            Browse a comprehensive list of companies who have created successful partnerships and experienced transformative solutions with New Signature.

            View All Case Studies

          • Featured Case Study TalkTalk Modern Workplace

            New Signature worked with TalkTalk to define a new Modern Workplace solution based on Microsoft 365, which kept the user firmly at the center of the transformation.
            View Case Study

          • Testimonials

            We love transforming our customers businesses, take a look at what they have to say about New Signature.

            View Testimonials

          • Featured Testimonial Davis Construction

            With New Signature’s help, Davis was able to take a progressive step forward by migrating their private branch exchange (PBX) phone system to a Voice of Internet Protocol (VoIP) system.
            View Testimonial

        Close
      • Explore
          • Guides & Ebooks

            Dive deeper into education with your team by leveraging our expert-developed guides and eBooks.

            View All Guides & Ebooks

          • Infographics

            Rich with statistics and information, our infographics are great tools for quick but insightful learning.

            View All Infographics
          • Podcast: Office Explorers

            Join Kat and Rob monthly as they chat with New Signature experts and explore the world of O365.

            Listen to Podcasts

          • Videos

            Visit our videos stream to access recorded webinars, service information and to learn more about us.

            WATCH ALL VIDEOS
          • Flyers

            Searching for information about our services? Our flyers are a great takeaway for all those details.

            VIEW ALL FLYERS

          • Featured Stream

            Learn more about the tooling and expertise required to unlock productivity and mobilize your teams.

            MODERN WORKPLACE
        Close
        Close
      Blog

      Hunting USB Devices with Azure Sentinel: Part 1

      New Signature / Blog / Hunting USB Devices with Azure Sentinel: Part 1
      March 20, 2020March 15, 2020| New Signature

      Hackers will use any method to gain access to a system, even if this means dropping a USB stick on the floor. Now I know what you’re thinki; there’s no way someone would plug in a USB stick they “found” into their computer, but unfortunately they do. A couple of years ago there was a study at the University of Illinois. They dropped over 200 USB sticks with the capability of phoning home when you plugged them in. Out of the 200 odd USB sticks over 45% of them were plugged in.

      I would like to demonstrate how I used Azure Sentinel to proactively hunt for malicious activity from removable storage, more specifically a USB and if any code was executed after insertion on that machine.

      Following this blog post will help you combat the injection of code from a USB device.

      Here’sh how I used Azure Sentinel to collect data on the insertion of the USB device, detect if the USB is a threat, investigate the threat and actions it produced and– finally– how we should respond to the threat.

      Below are some basic prerequisites– some essential, some not essential, but overall I would say these are all essential moving forward:

      • Azure Experience (essential)
      • IT Security Experience (essential)
      • Basic Digital Forensics (not essential)
      • Log Analytics (essential)
      • Azure Sentinel (essential)
      • A Physical Asset (essential)

      Let’s dive straight in…

      First, we need to deploy the Sentinel/Log Analytics Workspace agent to our demo machine.

      • To do this, find your Log Analytics Workspace ID & Key located in “Advanced Settings”.
      • Download the agent onto your machine and input the Workspace ID and Primary Key.

      laworkspace

      • Once connected, you should see it appear in the Virtual Machines Workspace Data Sources.
      • Suggested long term goal would be to deploy the agent via SCCM, PowerShell or Azure Automation

      Now we’ve got our machine reporting to our Workspace we need to configure a few more bits. We now need to configure data collection for that specific event log, which can be found in “Data”.

      • Type “Microsoft-Windows-DriverFrameworks-UserMode/Operational” – then tick Error, Warning & Information and click Save.

      usbusermode

      For us to be able to gain insight into our log analytics from our demo machine, we must enable the Operational Log inside the Event Viewer on the demo machine as well, which we just installed the agent on, this will start capturing USB flash drive related events.

      • This can be located here “event viewer” Application and Services Logs > Microsoft > Windows > DriverFrameworks-UserMode > Operational
      • Suggested long term goal would be to implement this via Group Policy.

      fig-b-3-27

      When you connect a USB flash drive to your system, it will create a number of operational events. I’ve already done my due diligence and found the event IDs which we will need for our digital forensic investigation, which are:

      • 2003
      • 2004
      • 2006
      • 2010
      • 2100
      • 2101
      • 2105
      • 2106

      I will now plug in my USB device on my demo machine. You’ll see the event viewer is now capturing the logs. Note the date and time; this will give you visibility into how quickly it gets detected in Azure Sentinel.

      Untitled picture

      If we jump over to the Azure portal and click ‘Hunting’ in the Sentinel blade, we can add a new query to return the results we’re after.

      1
      2
      3
      Event
      | where EventID in (2003, 2004, 2006, 2010, 2100, 2101, 2105, 2106)
      | order by TimeGenerated desc
      • Paste in the above query and click Create. This will now create us our very own custom Hunting rule.

      Untitled picture1

      • Once created, click “Run Query”.

      Untitled picture2

      After literally seconds you’ll see that Sentinel has now collected that data, which we can now analyse.

      Untitled picture3

      If you drill down into one of the results, you can see all the data it’s collected, the deeper you dive it will show you what type of device it is.
      It’s a USB, it shows my Laptop Name, you can see it’s a Kingston USB Device and it’s classed as an Event Level 4, which is informational and there’s more data to go analyze.

      Untitled picture4

      So far, we’ve got our machine reporting to Sentinel, we plugged in a USB and it’s recognizing the data in near real-time.

      Now if we click one of the results we can Bookmark this for further investigation, which we will use in the second installment of this blog.

      In Part 2 , I’ll continue with the same methodology but actually using a malicious USB Device, which will launch some malicious code once it’s inserted.

      Categories
      Technical Reviews
      Contact New Signature

      Blog Posts

      • Agile Delivery for Large Scale Data Ingestion using Azure Data Explorer
      • Implementing Cloud Adoption Framework Across Vida Homeloan’s Organization
      • Cognizant Microsoft Business Group Achieves Microsoft Advanced Specialization for Windows Virtual Desktop
      • Cognizant’s Experience Lab for Continuous Testing with Azure

      Managed Services

      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent fermentum, enim ac dignissim aliquet

      VIEW ALL MANAGED SERVICES

      Professional Services

      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent fermentum, enim ac dignissim aliquet

      VIEW ALL PROFESSIONAL SERVICES

      New Signature

      About

      • Company
      • Awards
      • News
      • Leadership
      • Partners
      • Industries

      Solutions

      • Intelligent Enterprise Solutions
      • Intelligent Workplace Solutions
      • Intelligent Cloud Solutions

      Services

      • GO
      • Intelligent Enterprise
      • Intelligent Workplace
      • Intelligent Cloud

      Client Stories

      • Client Stories
      • Testimonials

      Explore

      • Guides & Ebooks
      • Podcasts
      • Flyers
      • Infographics
      • Videos
      Copyright © 2023 New Signature
      • Blog
      • Events
      • Careers
      • Help
      • Anti Slavery
      • Privacy Policy
      • Contact
      • About
        • Company
        • Awards
        • News
        • Leadership
        • Partners
        • Industries
      • Services
        • GO
        • Intelligent Enterprise
        • Intelligent Workplace
        • Intelligent Cloud
      • Client Stories
        • Case Studies
        • Testimonials
      • Technologies
      • Explore
        • Guides & Ebooks
        • Infographics
        • Podcast: Office Explorers
        • Videos
        • Flyers
      • Blog
      • Events
      • Careers
      • Contact
      • Search
      Cookie Settings
      New Signature uses "Required Cookies" to run our website, "Functional Cookies" used by third parties to personalise marketing, including social media features.

      Change your preferences by clicking the “Cookie Settings” link at the bottom of every page. Learn more about cookies in our Cookie Policy and our Privacy Policy. By clicking the “Accept Cookies” button below, you consent to our use of cookies.

      Please note that “Required Cookies” will be set regardless of your consent.
      Cookie SettingsAccept Cookies
      Privacy & Cookies Policy

      Privacy Overview

      This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
      Performance

      Performance Cookies provide Content Delivery Network assets that deliver faster site content delivery capabilities.

      Required

      These cookies are required mainly in order to deliver Multilanguage site capabilities.

      Functional

      Functional Cookies allow us to provided advanced media capabilities including videos, surveys and other multimedia capabilities.

      Disabling Functional cookies will block the playing of videos and other multimedia site components.

      Targeting

      Targeting Cookies are used to capture user information in order for New Signature to deliver better user experiences.

      Save & Accept