-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #915 from TheHive-Project/feature/fileinfo_update
Update Fileinfo
- Loading branch information
Showing
18 changed files
with
879 additions
and
540 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,24 @@ | ||
FROM python:3 | ||
FROM python:3.7 | ||
|
||
WORKDIR /worker | ||
COPY . FileInfo | ||
RUN apt update | ||
RUN apt install -y -q libboost-regex-dev \ | ||
libboost-program-options-dev \ | ||
libboost-system-dev libboost-filesystem-dev libssl-dev \ | ||
build-essential cmake \ | ||
git | ||
RUN git clone https://github.com/JusticeRage/Manalyze.git && \ | ||
cd Manalyze && \ | ||
cmake . && \ | ||
make -j5 && \ | ||
cd bin/yara_rules && \ | ||
python2 update_clamav_signatures.py | ||
RUN apt install -y -q libboost-regex-dev \ | ||
libboost-program-options-dev \ | ||
libboost-system-dev libboost-filesystem-dev libssl-dev \ | ||
build-essential cmake \ | ||
git | ||
RUN git clone https://github.com/JusticeRage/Manalyze.git && \ | ||
cd Manalyze && \ | ||
cmake . && \ | ||
make -j5 && \ | ||
cd bin/yara_rules && \ | ||
python2 update_clamav_signatures.py | ||
RUN apt update && \ | ||
apt install -y -q libfuzzy-dev libimage-exiftool-perl && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
pip install --no-cache-dir -r FileInfo/requirements.txt | ||
|
||
RUN curl -SL https://github.com/fireeye/flare-floss/releases/download/v1.7.0/floss-v1.7.0-linux.zip --output floss.zip && \ | ||
unzip floss.zip -d /usr/bin | ||
ENTRYPOINT FileInfo/fileinfo_analyzer.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
For local install: | ||
|
||
for ssdeep: | ||
`apt install libffi-dev libfuzzy-dev libfuzzy2` | ||
|
||
for pyexifinfo: | ||
`apt install exiftool` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ oletools>=0.52 | |
extract-msg | ||
IMAPClient | ||
git+https://github.com/SteveClement/ioc_parser.git | ||
git+https://github.com/fireeye/[email protected]#egg=stringsifter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.