Code Monkey home page Code Monkey logo

hunting-kqladv's Introduction

Advanced Hunting Workshop

  1. Create an App Registration with a secret. Note down the following

    1. Application Id
    2. Application Tenant Id
    3. Application Secret Value
    4. Enterprise Object Id of the Application
  2. Deploy the following template to Azure. Ensure you enter all the parameters. If using any existing resources, ensure they are all in the same resource group, location and their names are entered in the paramter field.

Deploy to Azure

  1. Once completed, get the following from the script output

    1. Data Collection Rule Immutable Id
    2. Data Collection Endpoint Uri
  2. Update the following code with the relevant parameters already collection

$IngestAPT29DataToDataCollectionEndpointParams = @{
    DataSetUri = "https://raw.githubusercontent.com/OTRF/detection-hackathon-apt29/master/datasets/day1/apt29_evals_day1_manual.zip"
    DceURI = ""
    DcrImmutableId = ""
    appId = ""
    TenantId = ""
    appSecret = ""
}

$scriptUri = "https://raw.githubusercontent.com/TheAlistairRoss/Hunting-KQLAdv/main/Scripts/IngestAPT29DataToDataCollectionEndpoint.ps1"
$scriptName = "IngestAPT29DataToDataCollectionEndpoint.ps1"
Invoke-RestMethod -Uri $scriptUri | Out-File $scriptName

.\IngestAPT29DataToDataCollectionEndpoint.ps1 @IngestAPT29DataToDataCollectionEndpointParams -ShowProgressBar
  1. The script should run automatically. It will take apporximatly an hour.

hunting-kqladv's People

Contributors

aliross avatar

Watchers

TheAlistairRoss avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.