Commit 6fac7bbd authored by Oliver Lippert's avatar Oliver Lippert

Update Dockerfile

parent 47a7af13
Pipeline #1825 passed with stage
in 14 minutes and 13 seconds
......@@ -38,63 +38,6 @@ RUN make
RUN cp -R php-malware-finder /etc/phpmalwarefinder
WORKDIR /etc/phpmalwarefinder
# IMPORT Yara-Rules/rules
RUN wget https://github.com/Yara-Rules/rules/archive/master.zip
RUN unzip master.zip
RUN cp -R rules-master/* .
RUN rm -R rules-master
# Because of missing andoguard
RUN sed -i '/Amtrckr_20160519\.yar/d' index.yar
RUN sed -i '/Android_AliPay_smsStealer\.yar/d' index.yar
RUN sed -i '/Android_ASSDdeveloper\.yar/d' index.yar
RUN sed -i '/Android_AVITOMMS\.yar/d' index.yar
RUN sed -i '/Android_BadMirror\.yar/d' index.yar
RUN sed -i '/Android_Banker_Sberbank\.yar/d' index.yar
RUN sed -i '/Android_BatteryBot_ClickFraud\.yar/d' index.yar
RUN sed -i '/Android_Clicker_G\.yar/d' index.yar
RUN sed -i '/Android_Copy9\.yar/d' index.yar
RUN sed -i '/malware\.yar/d' index.yar
RUN sed -i '/Android_DeathRing\.yar/d' index.yar
RUN sed -i '/Android_Dectus_rswm\.yar/d' index.yar
RUN sed -i '/Android_Dendroid_RAT\.yar/d' index.yar
RUN sed -i '/Android_Dogspectus\.yar/d' index.yar
RUN sed -i '/Android_FakeApps\.yar/d' index.yar
RUN sed -i '/Android_FakeBank_Fanta\.yar/d' index.yar
RUN sed -i '/Android_Godless\.yar/d' index.yar
RUN sed -i '/Android_malware_Advertising\.yar/d' index.yar
RUN sed -i '/Android_malware_banker\.yar/d' index.yar
RUN sed -i '/Android_malware_ChinesePorn\.yar/d' index.yar
RUN sed -i '/Android_malware_HackingTeam\.yar/d' index.yar
RUN sed -i '/Android_Malware_Ramsonware\.yar/d' index.yar
RUN sed -i '/Android_malware_SMSsender\.yar/d' index.yar
RUN sed -i '/Android_Malware_Tinhvan\.yar/d' index.yar
RUN sed -i '/Android_Malware_Towelroot\.yar/d' index.yar
RUN sed -i '/Android_MalwareCertificates\.yar/d' index.yar
RUN sed -i '/Android_MazarBot_z\.yar/d' index.yar
RUN sed -i '/Android_OmniRat\.yar/d' index.yar
RUN sed -i '/Android_Spywaller\.yar/d' index.yar
RUN sed -i '/Android_VikingOrder\.yar/d' index.yar
RUN sed -i '/Android_SpyAgent\.yar/d' index.yar
RUN sed -i '/Android_Triada_Banking\.yar/d' index.yar
RUN sed -i '/Android_Pink_Locker\.yar/d' index.yar
RUN sed -i '/Android_SpyNote\.yar/d' index.yar
RUN sed -i '/Android_pornClicker\.yar/d' index.yar
RUN sed -i '/Android_Overlayer\.yar/d' index.yar
RUN sed -i '/Android_SandroRat\.yar/d' index.yar
RUN sed -i '/Android_RuMMS\.yar/d' index.yar
RUN sed -i '/Android_VirusPolicia\.yar/d' index.yar
RUN sed -i '/Android_Backdoor\.yar/d' index.yar
RUN sed -i '/RAT_Xtreme\.yar/d' index.yar
# Because of crapy rules
RUN sed -i '/urls\.yar/d' index.yar
RUN sed -i '/image\.yar/d' index.yar
RUN sed -i '/attachment\.yar/d' index.yar
# Add custom.yar
RUN touch /etc/phpmalwarefinder/custom.yar
RUN echo include \"custom.yar\" >> /etc/phpmalwarefinder/php.yar
# Declare Volume
VOLUME ["/var/scan"]
VOLUME ["/var/config"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment