Git Product home page Git Product logo

steve-offutt / artifactcollector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from forensicanalysis/artifactcollector

0.0 1.0 0.0 4.21 MB

๐Ÿšจ The artifactcollector is a customizable agent to collect forensic artifacts on any Windows, macOS or Linux system

Home Page: https://forensicanalysis.github.io/documentation/manual/usage/acquisition/

License: MIT License

Go 97.19% Shell 2.39% Dockerfile 0.42%

artifactcollector's Introduction

artifactcollector

doc

The artifactcollector project provides a software that collects forensic artifacts on systems. These artifacts can be used in forensic investigations to understand attacker behavior on compromised computers.

Features

The artifactcollector offers the following features

  • ๏ธ๐Ÿ–ฅ๏ธ Runs on ๐Ÿ–ผ๏ธ Windows, ๐Ÿง Linux and ๐Ÿ macOS
  • ๐Ÿ›๏ธ Can extract files, directories, registry entries, command and WMI output
  • โญ Uses the configurable and extensible Forensics Artifacts
  • ๐Ÿ’พ Creates a forensicstore as structured output
  • ๐Ÿ•Š๏ธ It's open source
  • ๐Ÿ†“ Free for everyone (including commercial use)

Installation

Download from https://github.com/forensicanalysis/artifactcollector/releases or

git clone https://github.com/forensicanalysis/artifactcollector
cd artifactcollector
go install .

Get artifacts & process forensicstores

If you want to extract the raw artifacts or process the collected data have a look at

Build your own artifactcollector

  1. Clone the repository: git clone https://github.com/forensicanalysis/artifactcollector.
  2. Run go generate to download all artifacts.
  3. Add artifact definition yaml files as needed in pack/artifacts. Do not edit the artifact definitions, as they will be overwritten.
  4. Edit pack/ac.yaml and add the artifacts you want to collect.
  5. Run go generate. This might yield some errors or problems in your artifacts.
  6. On windows you can move the syso into the root folder (e.g. cp resources\artifactcollector.syso .) to enable the icon for the executable and the UAC popup.
  7. Run go build . to generates an executable.

Embed binaries

Binaries can be added to pack/bin and than included into the artifactcollector in the go generate step. Additionally a corresponding COMMAND artifact like the following is required.

name: Autoruns
sources:
- type: COMMAND
  attributes:
    cmd: autorunsc.exe
    args: ["-x"]
supported_os: [Windows]

Currently the output to stdout and stderr is saved, but generated files are not collected.

Cross compilation

Cross compilation is a bit more difficult, as a cross compiler like MinGW is required by CGO.

Example cross compilation for Windows:

CGO_ENABLED=1 CC=i686-w64-mingw32-gcc GOOS=windows GOARCH=386 go build .
CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc GOOS=windows GOARCH=amd64 go build .

Limitations

  • Currently only files that are smaller than 1GB when compressed can be collected. This can be circumvented by using a zip archive for artifact collection.

Contact

For feedback, questions and discussions you can use the Open Source DFIR Slack.

artifactcollector's People

Contributors

cugu avatar renovate[bot] avatar ilyaglow avatar steve-offutt avatar fossabot avatar

Watchers

James Cloos 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.