From e42afa39a8b7b466c4faf116ab62d627fe661216 Mon Sep 17 00:00:00 2001 From: andryyy Date: Tue, 8 Jan 2019 12:54:33 +0100 Subject: [PATCH] [ClamAV] Update to 0.101.1 (based on Debian to fix some errors) [ClamAV] Some config values are deprecated and were replaced --- data/Dockerfiles/clamd/Dockerfile | 54 ++++++++++++++++++---------- data/Dockerfiles/clamd/bootstrap.sh | 23 +++++++++++- data/Dockerfiles/clamd/dl_files.sh | 32 ----------------- data/Dockerfiles/clamd/tini | Bin 0 -> 24064 bytes data/conf/clamav/clamd.conf | 5 +-- 5 files changed, 61 insertions(+), 53 deletions(-) delete mode 100755 data/Dockerfiles/clamd/dl_files.sh create mode 100755 data/Dockerfiles/clamd/tini diff --git a/data/Dockerfiles/clamd/Dockerfile b/data/Dockerfiles/clamd/Dockerfile index 0c69beaa..5162cdbb 100644 --- a/data/Dockerfiles/clamd/Dockerfile +++ b/data/Dockerfiles/clamd/Dockerfile @@ -1,18 +1,32 @@ -FROM alpine:3.8 +FROM debian:stretch-slim LABEL maintainer "André Peters " -# Add scripts -COPY dl_files.sh bootstrap.sh ./ - # Installation -ENV CLAMAV 0.100.2 +ENV CLAMAV 0.101.1 -RUN apk add --no-cache --virtual build-dependencies alpine-sdk ncurses-dev zlib-dev bzip2-dev pcre-dev linux-headers fts-dev libxml2-dev libressl-dev \ - && apk add --no-cache curl bash tini libxml2 libbz2 pcre fts libressl tzdata \ +RUN apt-get update && apt-get install -y --no-install-recommends \ + ca-certificates \ + zlib1g-dev \ + libncurses5-dev \ + libzip-dev \ + libpcre2-dev \ + libxml2-dev \ + libssl-dev \ + build-essential \ + libjson-c-dev \ + curl \ + bash \ + wget \ + tzdata \ + dnsutils \ + rsync \ + dos2unix \ + netcat \ + && rm -rf /var/lib/apt/lists/* \ && wget -O - https://www.clamav.net/downloads/production/clamav-${CLAMAV}.tar.gz | tar xfvz - \ && cd clamav-${CLAMAV} \ - && LIBS=-lfts ./configure \ + && ./configure \ --prefix=/usr \ --libdir=/usr/lib \ --sysconfdir=/etc/clamav \ @@ -30,18 +44,22 @@ RUN apk add --no-cache --virtual build-dependencies alpine-sdk ncurses-dev zlib- && make install \ && make clean \ && cd .. && rm -rf clamav-${CLAMAV} \ - && apk del build-dependencies \ - && addgroup -S clamav \ - && adduser -S -D -h /var/lib/clamav -s /sbin/nologin -G clamav -g clamav clamav \ - && adduser clamav tty \ + && apt-get -y --auto-remove purge build-essential \ + && apt-get -y purge zlib1g-dev \ + libncurses5-dev \ + libzip-dev \ + libpcre2-dev \ + libxml2-dev \ + libssl-dev \ + libjson-c-dev \ + && addgroup --system --gid 700 clamav \ + && adduser --system --home /var/lib/clamav --uid 700 --gid 700 --disabled-login clamav \ && mkdir -p /run/clamav \ && chown clamav:clamav /run/clamav \ - && chmod +x /dl_files.sh \ - && set -ex; /bin/bash /dl_files.sh \ - && chmod 750 /run/clamav + && chmod 750 /run/clamav \ + && rm -rf /tmp/* /var/tmp/* -# Port provision -EXPOSE 3310 +COPY bootstrap.sh ./ +COPY tini /sbin/tini -# AV daemon bootstrapping CMD ["/sbin/tini", "-g", "--", "/bootstrap.sh"] diff --git a/data/Dockerfiles/clamd/bootstrap.sh b/data/Dockerfiles/clamd/bootstrap.sh index e12f2bc6..a8239650 100755 --- a/data/Dockerfiles/clamd/bootstrap.sh +++ b/data/Dockerfiles/clamd/bootstrap.sh @@ -10,7 +10,7 @@ fi mkdir -p /var/log/clamav touch /var/log/clamav/clamd.log /var/log/clamav/freshclam.log chown -R clamav:clamav /var/log/clamav/ -chown root:tty /dev/console +adduser clamav tty chmod g+rw /dev/console # Prepare whitelist @@ -37,6 +37,27 @@ done ) & BACKGROUND_TASKS+=($!) +( +while true; do + sleep 2m + SANE_MIRRORS="$(dig +ignore +short rsync.sanesecurity.net)" + for sane_mirror in ${SANE_MIRRORS}; do + rsync -avp --chown=clamav:clamav --timeout=5 rsync://${sane_mirror}/sanesecurity/ \ + --include 'blurl.ndb' \ + --include 'junk.ndb' \ + --include 'jurlbl.ndb' \ + --include 'phish.ndb' \ + --exclude='*' /var/lib/clamav/ + if [ $? -eq 0 ]; then + echo RELOAD | nc localhost 3310 + break + fi + done + sleep 30h +done +) & +BACKGROUND_TASKS+=($!) + clamd & BACKGROUND_TASKS+=($!) diff --git a/data/Dockerfiles/clamd/dl_files.sh b/data/Dockerfiles/clamd/dl_files.sh deleted file mode 100755 index 09d61241..00000000 --- a/data/Dockerfiles/clamd/dl_files.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -declare -a DB_MIRRORS=( - "switch.clamav.net" - "clamavdb.heanet.ie" - "clamav.iol.cz" - "clamav.univ-nantes.fr" - "clamav.easynet.fr" - "clamav.begi.net" -) -declare -a DB_MIRRORS=( $(shuf -e "${DB_MIRRORS[@]}") ) - -DB_FILES=( - "bytecode.cvd" - "daily.cvd" - "main.cvd" -) - -for i in "${DB_MIRRORS[@]}"; do - for j in "${DB_FILES[@]}"; do - [[ -f "/var/lib/clamav/${j}" && -s "/var/lib/clamav/${j}" ]] && continue; - if [[ $(curl -o /dev/null --connect-timeout 1 \ - --max-time 1 \ - --silent \ - --head \ - --write-out "%{http_code}\n" "${i}/${j}") == 200 ]]; then - curl "${i}/${j}" -o "/var/lib/clamav/${j}" -# - fi - done -done - -chown clamav:clamav /var/lib/clamav/*.cvd diff --git a/data/Dockerfiles/clamd/tini b/data/Dockerfiles/clamd/tini new file mode 100755 index 0000000000000000000000000000000000000000..03af82f09e6484df819313cf9fec158d6b4a879d GIT binary patch literal 24064 zcmeHve|!|xx%VU_2mv+$L8H=o!q#N{<`HuEer$$? zd~V;*{k(s?pAVy(GtckmJm)#joS8Yy?VhHF+?*Uu9l6?-8bMtPT^uF;YTD#_4oY0L zHd}LPpU@U-Gl9v+&&4U!iZj(7m#S4eOY+S?n}=U@u0T}hy7-A|7Yj5jh(mcuE!mqo zT=G=3^;Zc{wVK8_g5=28qGk@F?cyh@{qz|UuN;(e8<=IQ5Nw zKG{ECt_u*sE^4%T{&%V+UOHO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ua$gieK;xQ)q0ZTDQ4O7^yvYL zi41dQJ-w+2NE~XNEFj^lI;VCses=loa$UAv${)%KxI|~ZYew<4%a1K^0fYCH3wV?9 zS3pz#D|j3yc6s$Z%n2!XTzmg@d?jP>HL~y8ewBpas|F21THGb+lm)oWM z2_ItvFH?$S`wg_@e@1?di&ND1mmlQN)SqnoKLE)tuV3!s%=+a*=5LuB4FRk17ZAQn zgcI7!q1e>@lKLKVHh(t!6l4o+^6Gx7m?jpEZ2oNcS@4km%07MGh7R_3%D)I+%3UR| z?kCjuviFg494fz+eU%5>K(pId-_bkX!o{ZbU+H-@OI~a35`wLw;mYMHHA+sk7I1d^ z+BIFohVPk*CXqGZOrSG=-@zH_QvFxo`%82PmNC&}{<6%OI5~=j>{n#rl|0pV`ys=b W>DCFp+ZcCB`+u|H=v2uo^#1{xm}Ef! literal 0 HcmV?d00001 diff --git a/data/conf/clamav/clamd.conf b/data/conf/clamav/clamd.conf index f09510bd..cf15e4b4 100644 --- a/data/conf/clamav/clamd.conf +++ b/data/conf/clamav/clamd.conf @@ -1,3 +1,4 @@ +#Debug true LogFile /dev/console LogTime yes LogClean yes @@ -23,9 +24,9 @@ DetectPUA yes #IncludePUA Spy #IncludePUA Scanner #IncludePUA RAT -AlgorithmicDetection yes +HeuristicAlerts yes ScanOLE2 yes -OLE2BlockMacros yes +AlertOLE2Macros yes ScanPDF yes ScanSWF yes ScanXMLDOCS yes