Questions tagged [clamav]
61 questions
0
votes
1 answer
ClamAV 0.105.0 service deployed as a Docker container on AWS ECS seem to stop abruptly on startup
We have deployed ClamAV as an AWS ECS service using image Uri docker.io/clamav/clamav:latest.
However, the clamav service is not starting properly.
The file /var/log/clamav/clamd.log shows the lines:
Tue May 10 20:14:28 2022 -> +++ Started at Tue…

John Varghese
- 23
- 4
0
votes
0 answers
file upload with java and scan with clamav
I am facing an issue trying to upload a .xlsx file with a java application, the application scans the file with clamav antivirus before uploading it. I am getting the error below, does anyone have an idea ?
The validation of the upload transaction…

codow
- 9
- 4
0
votes
0 answers
Database load failed: Malformed database
I am running a ClamAV daemon in a docker container to scan for files when uploading files.
I recently updated to clamav-0.103.2. But after some hours I get the following error.
Sat May 15 13:17:02 2021 -> Reading databases from…

Anish Karmi
- 21
- 2
0
votes
1 answer
Creating an Internal Only Service in Kubernetes
Im trying to create an internal service only within kubernetes. Its a clamav service, the docker container runs on port 3310. I have created a deployment and a service.
I have put the service and deployment in a 'clamav' namespace
I have port…

Kevin
- 11
- 3
0
votes
0 answers
Dockerfile is not storing clamav definitions to volume due to intermediate images
Dockerfile
ARG BASE_PROCESS_JRE_IMAGE
ARG BASE_PROCESS_JRE_IMAGE_TAG
FROM ${BASE_PROCESS_JRE_IMAGE}:${BASE_PROCESS_JRE_IMAGE_TAG}
# Update OS and add required tools
RUN echo "===> Installing nc clamav clamav-update clamd...." && \
yum install…

ashishb
- 81
- 2
- 11
0
votes
1 answer
Strange Behavior with clamd scan function
I have a simple python3 script running on ubuntu server 20.04 that tries to call clamd (clamav-daemon process) library to scan a file. The scan ping() and version() function all work correctly. However when I actually do a test write and scan, i…

John Edwards
- 13
- 2
0
votes
0 answers
python: determine file type by its content (not only by its magic)
So I'm trying to verify that files I'm getting (uploaded by the user) are indeed images, and valid.
I'm running ClamAV (using python's clamd package) but it doesn't give back the actual file content.
I'm using python's magic package in order to…

Roie Labes
- 55
- 5
0
votes
1 answer
How to prevent csv injection in django application
I am having a Django application with file upload feature. I am using Clamav to scan the file for viruses. I want to prevent CSV injection in my application too. I found this stackoverflow link related to it, but is of no help. Please suggest how to…

Sachin Singh
- 7,107
- 6
- 40
- 80
-1
votes
1 answer
ClamAV clamscan not scanning for infected files present inside an archived file
I am testing ClamAV to detect viruses on machine.
I am running
clamscan -r -i "Path to folder containing archive that has infected file"
It fails to detect the infected file present inside the archive file.
If I have the infected file outside of the…

Meet Gujrathi
- 65
- 1
- 6
-1
votes
1 answer
clamav docker build for non root user issue
From node:16.10-stretch
WORKDIR /app
COPY . .
RUN apt-get update && npm install && apt-get install clamav-daemon -y && \
freshclam && echo "TCPSocket 3310" >> /etc/clamav/clamd.conf && \
echo "TCPAddr 127.0.0.1" >> /etc/clamav/clamd.js && \
…

gabriel
- 1
-1
votes
1 answer
How to use Clam AV in Angular 11 version
I want to scan the file content and viruses scanning while uploading file to server.I learnt about ClamAV but not getting any clue how to use it or installation in Angular component.Any help is appreciated.

Anjali
- 49
- 5
-1
votes
1 answer
GNU parallel log from remote hosts
I'm trying to run clamsccan using parallel.
path /mnt/data in mounted on each host from clamscan_servers
find /mnt/data -type f | parallel --sshloginfile clamscan_servers --jobs 32 --sshdelay 0.1 --results parallel_outdir clamscan --max-scansize=0…

psmith
- 1,769
- 5
- 35
- 60
-1
votes
1 answer
Installing ClamAV from Source on Linux
If I install ClamAV on Centos using yum, I have a directory with configuration called /etc/clamd.d. I can then follow a configuration tutorial such as this one:
https://www.golinuxcloud.com/steps-install-configure-clamav-antivirus-centos-linux/
If…

DumbNewbie
- 159
- 1
- 5
- 21
-1
votes
1 answer
In Ubuntu 18.04 after installing clamav, clamscan not working. After googling I did freshclam, that's failing download
I have installed clamav in Ubuntu 18.04 using
'''sudo apt-get install clamav'''
and tried clamscan but showing the error as follows:
LibClamAV Error: cli_loaddbdir(): No supported database files found in /var/lib/clamav
ERROR: Can't open file or…

Shahzad Shamsudeen
- 11
- 2
-1
votes
1 answer
How to configure ClamAV autoupdate
I am using ClamAV for scanning our files in our Django application. I am running freshclam manually to update the antivirus database. My question is how to automate it?

Sachin Singh
- 7,107
- 6
- 40
- 80