Questions tagged [clam]

ClamAV is open source antivirus software for email, command line, web and database

ClamAV is open source antivirus software for email, command line, web and database

47 questions
1
vote
3 answers

Scan files in AWS S3 bucket for virus using lambda

We've a requirement to scan the files uploaded by the user and check if it has virus and then tag it as infected. I checked few blogs and other stackoverflow answers and got to know that we can use calmscan for the same. However, I'm confused on…
Nikhil
  • 665
  • 2
  • 11
  • 25
1
vote
2 answers

Azure function host dies with OutOfMemoryException, without triggering

Quick version: Why does my function host kill it self after 5 minutes without doing anything? I have an Azure function which uses nClam to scan blob files for viruses. It seems to work just fine, but suddenly it will kill it self even before…
Jeppe
  • 1,424
  • 2
  • 15
  • 36
1
vote
1 answer

CentOS 7 unable to connect clamd.sock file (Permission denied error)

I am trying to scan uploaded files on PHP server using clamAV. I've installed ClamAV on my server (Centos 7). Currently, I am using PHP 7, so I am using Clamd socket connection to scan uploaded files. I've enabled PHP sockets, clamd.sock file is…
1
vote
1 answer

Running into "No space left on device" when trying to download a big file ~700MB in lambda from s3

Usecase: Scan a uploaded file on s3 using AWS Lambda. Issue: While downloading the file for scanning using ClamAV in the lambda function, I run into "No space left on device" when the file is > 500MB. I tried the below two ways Mount a file…
pg2286
  • 1,011
  • 12
  • 21
1
vote
1 answer

clamav-rest Spring 3.2 RestTemplate results in 400 Bad Request

I'm trying to send a file to a Spring Boot application clamav-rest. The curl command is working fine. Here's the output, curl -k -F name="test file" -F file=@"myfile.pdf" https://clamav.my.org/scan POST /scan HTTP/1.1 Host:…
Neill
  • 556
  • 2
  • 8
  • 18
1
vote
1 answer

Starting clamav as systemd service fails

I have installed ClamAV in CentOS 7.3 and have problems when starting clamd as a systemd service. When I start clamd manually from the command line (/usr/sbin/clamd -c /etc/clamd.conf), everything goes well and I can connect using clamdscan. When I…
1
vote
1 answer

Virus scanning files with Japanese Characters in C# using nClam and ClamAV

We've been working on implementing a virus scanning procedure for files being uploaded into our system - it's a C# web app where we've used the nClam plugin to converse with a ClamAV server. In a really basic setup (copied from the nClam help), it…
loxdog
  • 1,007
  • 3
  • 12
  • 30
1
vote
1 answer

Real Time Malaware scanning using Maldetect : Rejected by the approver script

I have a cPanel server with apache 2.4 and Maldetect, ClamAV. I want to have realtime malware scanner on server to block hackers from uploading malicious files on server. What i meant is when someone uploads a file, apache will invoke the scanner…
Bliss TV
  • 11
  • 1
1
vote
0 answers

Building ClamAV: OpenSSL installation missing X509_VERIFY_PARAM function, undefined symbol _X509_VERIFY_PARAM_new in ld

I'm trying to build ClamAV 99.2 on a Mac PPC Powerbook with OS X 10.4.11 Tiger. The ClamAV configure script always stops with the following lines, regardless the various flags and config-parameters I tried: checking for EVP_EncryptInit in…
upunkt
  • 23
  • 6
0
votes
2 answers

Localization of custom claim in Azure AD B2C custom policy

I have the following claim type in my relying party building block section: Please select your preferred MFA method string
0
votes
0 answers

how to kill cpulimit right after clamscan in php when both are running in background

I have switched as the user in linux using php code. I set cpulimit to 88% for clamscan and then scan /home/user or /home/user/mail recursively using clamscan. As you can see both the exec codes below, both are running in background using '&' at the…
jay
  • 1
  • 2
0
votes
0 answers

How to see which files (and their path) that were infected after running LMD (Linux Malware Detect) scan?

I searched through my /var/www folder where I have around 10 different websites with Linux Malware Detection with the following command: sudo maldet --scan-all /wwwdata/ The report shows the following: PATH: /wwwdata/ TOTAL FILES: …
Jacob
  • 23
  • 5
0
votes
0 answers

How to integrate django rest framework with clamav

How can I integrate clamav with django rest framework? I am trying to scan uploaded files via drf with clamav? I installed clamav from https://www.clamav.net/ here is my code ... file = self.request.FILES.get('file') # check a file for viruses if…
user14665310
  • 524
  • 4
  • 13
0
votes
1 answer

How to test ClamAV service for potential threats

As part of an enterprise software project, our application connects to an antivirus service backed by ClamAV, using ICAP as communication protocol. I would like to test the antivirus service response to malicious documents but, of course, I cannot…
Serg M Ten
  • 5,568
  • 4
  • 25
  • 48
0
votes
1 answer

Using Netty with ClamAV Instream

I have been stuggling with a configuration using Netty to stream bytes to a ClamAV service. I am running in an Apache Camel route. Using Netty, I am unable to intercept the "INSTREAM size limit exceeded" message. INSTREAM It is mandatory to…
Anthony Heaney
  • 146
  • 1
  • 6