资源算法dfir-orc

dfir-orc

2020-01-09 | |  32 |   0 |   0

DFIR ORC

Documentation

https://dfir-orc.github.io

Build

Requirements

  • Visual Studio >=2017 with this configuration or alternatively use vstools

  • Kitware's CMake >= 3.12 or Visual Studio 2017 integrated version

  • LLVM's Clang Format >= 8.0.0 or Visual Studio 2019 integrated version

NB: Visual Studio 2019 16.3 (and 16.4 preview 1) can now compile DFIR ORC.

Build environment can be setup quickly using Microsoft's developer virtual machines. Import this .vsconfig from Visual Studio Installer.

Commands

Both 32-bit and 64-bit versions should be built for maximum compatiliby before deployment. See https://dfir-orc.github.io for more details about deployment and configuration.

In a prompt like Developer Command Prompt for VS 2019 (prefer to avoid using cmd.exe):

git clone https://github.com/dfir-orc/dfir-orc.gitcd dfir-orc
mkdir build-x86 build-x64cd build-x86
cmake -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DORC_BUILD_VCPKG=ON ..
cmake --build . --config MinSizeRel -- -maxcpucountcd ../build-x64
cmake -G "Visual Studio 16 2019" -A x64 -T v141_xp -DORC_BUILD_VCPKG=ON ..
cmake --build . --config MinSizeRel -- -maxcpucount
  • The -T v141_xp option will allow compatibility with Windows XP SP2 and later, it can safely be removed if this is not required.

  • The ORC_BUILD_VCPKG=ON option will build vcpkg packages in 'external/vcpkg' subdirectory.

Options

Using default options is recommended with the exception of ORC_BUILD_VCPKG which should be set to ON so dependencies will be built automatically using vcpkg.

CMake optionDefaultDescription
ORC_BUILD_VCPKGOFFBuild vcpkg dependencies
ORC_BUILD_APACHE_ORCOFFBuild Apache Orc module
ORC_BUILD_CHAKRACOREOFFBuild with ChakraCore support
ORC_BUILD_FASTFINDOFFBuild FastFind binary
ORC_BUILD_ORCONBuild Orc binary
ORC_BUILD_PARQUETOFFBuild Parquet module (x64)
ORC_BUILD_SQLOFFBuild SQL module [1]
ORC_BUILD_SSDEEPOFFBuild with ssdeep support
ORC_USE_STATIC_CRTONUse static runtime
ORC_VCPKG_ROOT${ORC}/external/vcpkgVCPKG root directory
ORC_XMLLITE_PATH
XmlLite.dll path (xp sp2)
VCPKG_TARGET_TRIPLETAutodetectVCPKG triplet to use
CMAKE_TOOLCHAIN_FILEAutodetectVCPKG's toolchain file

[1] ORC_BUILD_SQL=ON requires SQL Server Native Client

[2] The xmllite.dll is native after patched Windows XP SP2

Note: Some combinations may be irrelevant.

Build vcpkg dependencies manually

See top CMakeLists.txt for a complete list of the dependencies to install. Building mainstream vcpkg may not work as some packages have custom patches. The VERSION.txt contains the reference commit from official vcpkg repository.

cd external/vcpkg
bootstrap-vcpkg.bat
vcpkg --vcpkg-root . install fmt:x64-windows-static ...

Acknowledgments

DFIR ORC is disclosing Microsoft source code with Microsoft's permission.


上一篇:chainer-dfi

下一篇:dfi-tensorflow

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...