GithubHelp home page GithubHelp logo

happyvives / windows-ir Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 17 KB

Windows PowerShell scripts to assist in Incident response log collection automation for Windows and Crowdstrike RTR

PowerShell 100.00%
crowdstrike incident-response powershell-script

windows-ir's Introduction

Purpose of this Powershell Script

This Powershell can be used on a windows machine to collect logs for traiging/investigating an event. This can also be used on Crowdstrike RTR to collect logs. This process is automated and zips the files into 1 single folder.

How to use this Command in Windows

Open a Powershell session as "Administrator" and run PS.

How to use this Command in Crowdstrike Admin Console

Add this script to custom scripts in Cwordstrike Admin console. Run from RTR Console = runscript -CloudFile="Windows-IR-Event-Collection" -Timeout="300"

Upload logs from RTR session to Crowdstrike Cloud and Download

get /"filename" CLick on download file and extract

Logs collected

Events Collected from this script are: Local user accounts, Running Process with user, Location, outbound connections, Client DNS Cache,Windows Events- System, Security, Application Installed Software, Temp and Downloads folder with executables, Chrome and Edge Browser History( getting some data, still working on tweaking this) ,Scheduled Task, Run Once registry content, Services with AutoMode, Local Firewall Rules and Connections, Command History More to be added...

Location of Logs collected

This script automates the log creation by creating a dicrectoty in the root of c:\ --> "001-2023-event-log-collection".

Notice

As always test this on a non-critical system. This is a simple powershell that collects logs and places them in the root of C:, pleae make sure you have enough space. The log collection is small, about 5 megs. This scripts collects windows system, security and application events, DNS, Registry, Running Process.. etc and more.

windows-ir's People

Contributors

olmose12 avatar

Watchers

 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.