Comments (3)
The easiest way to install pe-parse
(and uthenticode
, which is also required) on Linux is to use vcpkg
, as indicated in the README. You're welcome to try installing the dependencies manually, but this isn't an actively supported development pattern.
from winchecksec.
I used the following script to build this on Ubuntu 20.04 when I needed it for my job(1). It may not be the proper way to install and use vcpkg, but it least worked for me.
#!/bin/bash
mkdir -p /contrib
apt-get update
apt-get install -y git curl unzip tar gcc g++ cmake
cd /contrib
git config --global advice.detachedHead false
git clone -b 2020.07 https://github.com/Microsoft/vcpkg
git clone https://github.com/trailofbits/winchecksec.git
mkdir /contrib/winchecksec/build
cd /contrib/vcpkg
export VCPKG_DISABLE_METRICS=1
./bootstrap-vcpkg.sh
/contrib/vcpkg/vcpkg install pe-parse
/contrib/vcpkg/vcpkg install uthenticode
cd /contrib/winchecksec/build
cmake -DCMAKE_TOOLCHAIN_FILE=/contrib/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
cmake --install .
ln -s /contrib/winchecksec/build/winchecksec /bin/winchecksec
(1) I am Mark Eklund, an employee of Zoom Video Communications.
from winchecksec.
Thanks for the writeup! That looks pretty close to a reasonable vcpkg
usage pattern to me 🙂
from winchecksec.
Related Issues (20)
- Add a SARIF output mode HOT 1
- Remove json/pretty-printing from the public API
- Incorrect Offsets in loadConfigSize_ Checks?
- CMake throwing a LNK2019 error HOT 5
- Pass a directory as an argument HOT 12
- openssl HOT 2
- GS incorectly reported on resource only dlls HOT 4
- C# dll shows /GS "Not Present" HOT 1
- Show CET support HOT 3
- Incorrect reports on binaries built with Visual Studio 2022 HOT 10
- Couldn't load file; corrupt or not a PE? HOT 1
- Refactor automatic docs deployment
- Document the API
- CFG test should test more fields
- winchecksec tool crashes while scanning DLLs built from latest version of Visual Studio HOT 7
- Make a winchecksec Github Action HOT 2
- Remove or add a Deprecated comment to the RFG check HOT 1
- Out of bounds copy from loadConfigData to loadConfig. HOT 1
- Unable to build on Ubuntu HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winchecksec.