-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.sift
More file actions
46 lines (38 loc) · 1.42 KB
/
Copy pathDockerfile.sift
File metadata and controls
46 lines (38 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
ENV PIP_BREAK_SYSTEM_PACKAGES=1
RUN apt-get update && apt-get install -y \
curl \
unzip \
python3 \
python3-pip \
sleuthkit \
yara \
libyara-dev \
perl \
libparse-win32registry-perl \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install volatility3
# Hayabusa — detect arch and download the correct build
RUN ARCH=$(dpkg --print-architecture) && \
if [ "$ARCH" = "arm64" ] || [ "$ARCH" = "aarch64" ]; then \
HAYABUSA_ARCH="aarch64"; \
else \
HAYABUSA_ARCH="x64"; \
fi && \
curl -sSL "https://github.com/Yamato-Security/hayabusa/releases/download/v3.9.0/hayabusa-3.9.0-lin-${HAYABUSA_ARCH}-gnu.zip" -o /tmp/hayabusa.zip && \
unzip /tmp/hayabusa.zip -d /opt/hayabusa && \
HAYABUSA_BIN=$(find /opt/hayabusa -maxdepth 1 -name "hayabusa*" -type f | head -1) && \
chmod +x "$HAYABUSA_BIN" && \
ln -sf "$HAYABUSA_BIN" /usr/local/bin/hayabusa && \
rm /tmp/hayabusa.zip
# RegRipper
RUN curl -sSL https://github.com/keydet89/RegRipper3.0/archive/refs/heads/master.zip -o /tmp/regripper.zip && \
unzip /tmp/regripper.zip -d /opt/ && \
mv /opt/RegRipper3.0-master /opt/regripper && \
chmod +x /opt/regripper/rip.pl && \
ln -s /opt/regripper/rip.pl /usr/local/bin/rip.pl && \
rm /tmp/regripper.zip
RUN mkdir -p /evidence /workspace
VOLUME ["/evidence", "/workspace"]
CMD ["tail", "-f", "/dev/null"]