11FROM ubuntu:16.04
22
3- MAINTAINER Axelle Apvrille
<[email protected] > 4- ENV REFRESHED_AT 2017-04-25
3+ MAINTAINER Axelle Apvrille
4+ ENV REFRESHED_AT 2017-07-20
55
66RUN DEBIAN_FRONTEND=noninteractive
77
8- ENV SMALI_VERSION "2.2b4 "
9- ENV APKTOOL_VERSION "2.2.2 "
8+ ENV SMALI_VERSION "2.2.1 "
9+ ENV APKTOOL_VERSION "2.2.3 "
1010ENV JD_VERSION "1.4.0"
1111ENV PROCYON_VERSION "0.5.30"
1212ENV ANDROID_SDK_VERSION "r25.2.5"
1313ENV ANDROID_BUILD_VERSION "25.0.3"
1414ENV ANDROID_NDK_VERSION "r14b"
15+ ENV FRIDA_VERSION "10.2.3"
1516ENV SSH_PASSWORD "rootpass"
1617ENV VNC_PASSWORD "rootpass"
1718ENV USER root
@@ -50,6 +51,7 @@ RUN apt-get update && \
5051 npm \
5152 tree \
5253 firefox \
54+ python3 \
5355 libc6-i686:i386 \
5456 libexpat1:i386 \
5557 libffi6:i386 \
@@ -172,12 +174,16 @@ RUN cd /opt && git clone https://github.com/bluemutedwisdom/google-play-download
172174
173175# Radare2
174176RUN cd /opt && git clone https://github.com/radare/radare2
175- RUN cd /opt/radare2 && sys/install.sh && make symstall
177+ RUN cd /opt/radare2 && sys/install.sh && make symstall && r2pm init && pip install r2pipe
178+
179+ # Frida
180+ RUN pip install frida
181+ RUN cd /opt && wget -q -O "/opt/frida-server.xz" https://github.com/frida/frida/releases/download/${FRIDA_VERSION}/frida-server-${FRIDA_VERSION}-android-arm.xz && unxz /opt/frida-server.xz
176182
177183# Simplify
178184# RUN cd /opt && git clone --recursive https://github.com/CalebFenton/simplify.git && cd simplify && ./gradlew fatjar && cd /opt && ln -s /opt/simplify/simplify/build/libs/simplify.jar simplify.jar
179185
180- # Small tools
186+ # Other tools with simple install
181187RUN wget -q -O "/opt/oat2dex.py" https://github.com/jakev/oat2dex-python/blob/master/oat2dex.py
182188RUN wget -q -O "/opt/extract.sh" https://gist.githubusercontent.com/PaulSec/39245428eb74577c5234/raw/4ff2c87fbe35c0cfdb55af063a6fee072622f292/extract.sh \
183189 && sed -i 's/\/ path\/ to\/ jd-gui/java -jar \/ opt\/ jd-gui\. jar/g' /opt/extract.sh \
@@ -187,6 +193,8 @@ RUN mkdir -p /opt/jebPlugins && wget -q -O "/opt/jebPlugins/DeCluster.java" http
187193RUN wget -q -O "/opt/ClassyShark.jar" https://github.com/google/android-classyshark/releases/download/6.7/ClassyShark.jar
188194RUN wget -q -O "/opt/androarsc.py" https://raw.githubusercontent.com/androguard/androguard/master/androarsc.py
189195RUN wget -q -O "/opt/cfr_0_118.jar" http://www.benf.org/other/cfr/cfr_0_118.jar
196+ RUN cd /opt && git clone https://github.com/Storyyeller/enjarify && ln -s /opt/enjarify/enjarify.sh /usr/bin/enjarify
197+
190198
191199# IDA Pro Demo
192200RUN wget -q -O "/opt/idademo695_linux.tgz" https://out7.hex-rays.com/files/idademo695_linux.tgz
@@ -214,6 +222,8 @@ RUN echo n | android create avd --force --name "Android70" --target android-24 -
214222RUN mkdir ${ANDROID_HOME}/tools/keymaps && touch ${ANDROID_HOME}/tools/keymaps/en-us
215223ENV LD_LIBRARY_PATH $LD_LIBRARY_PATH:${ANDROID_HOME}/tools/lib64/qt/lib:${ANDROID_HOME}/tools/lib64
216224
225+
226+
217227# Android NDK
218228RUN wget -q -O "/opt/android-ndk-${ANDROID_NDK_VERSION}-linux-x86-64.zip" https://dl.google.com/android/repository/android-ndk-${ANDROID_NDK_VERSION}-linux-x86_64.zip && cd /opt && unzip /opt/android-ndk-${ANDROID_NDK_VERSION}-linux-x86-64.zip && rm -f /opt/android-ndk-${ANDROID_NDK_VERSION}-linux-x86-64.zip
219229ENV NDK "/opt/android-ndk-${ANDROID_NDK_VERSION}"
@@ -228,6 +238,7 @@ RUN echo "export PATH=$PATH" >> /etc/profile
228238RUN echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> /etc/profile
229239RUN echo "alias emulator='/opt/android-sdk-linux/tools/emulator64-arm -avd Arm51 -no-audio -partition-size 512 -no-boot-anim'" >> /root/.bashrc
230240RUN echo "alias emulator7='/opt/android-sdk-linux/tools/emulator64-arm -avd Android70 -no-boot-anim'" >> /root/.bashrc
241+ RUN echo "export LC_ALL=C" >> /root/.bashrc
231242
232243RUN mkdir -p /workshop
233244WORKDIR /workshop
0 commit comments