Re: Using linux command "find" to get m odified files list for scan

neel roy via clamav-users <[email protected]>
Newsgroups gmane.comp.security.virus.clamav.user
Message-ID <1733723659.S.7812.31692.f4-234-194.1733724123.30454@webmail.rediffmail.com>
Hello Masaru,

There is some good information in your message but I believe my question is different.

I am not concerned about ClamAV not detecting changes. I want to know why should I not use &quot;find&quot; to detect changed files. The part below from your mail\reply does provide relevant information but I wanted to know whether there is any reference or concrete evidence to it.

&gt; On the other hand, the Linux find command is a powerful tool for
&gt; efficiently searching for files and directories, but it does not
&gt; directly detect file changes.

I am not sure what does this mean. Can you elaborate?

&gt; Find searches for files based on the specified conditions, so in order
&gt; to detect file changes, it is necessary to accurately specify the
&gt; conditions for the files that have been changed.

Are you referring to command &quot;find&quot; or &quot;clamav&quot; here?

Thanks in advance,
-Neel.



From: Masaru Nomiya via clamav-users &lt;[email protected]&gt;
Sent: Mon, 09 Dec 2024 11:24:19
To: [email protected]
Cc: Masaru Nomiya &lt;[email protected]&gt;
Subject: Re: [clamav-users] Using linux command &quot;find&quot; to get modified files list for scan

Hello,

In the Message;

&nbsp;Subject &nbsp; &nbsp;: Re: [clamav-users] Using linux command &quot;find&quot; to get modified files list for scan
&nbsp;Message-ID :&nbsp;&lt;1733718887.S.10974.autosave.drafts.1733719852.13315@webmail.rediffmail.com&gt;
&nbsp;Date &amp; Time: 9 Dec 2024 04:50:53 -0000

[NR] == &quot;neel roy&quot; &lt;[email protected]&gt; has written:

[...]
NR&gt; &nbsp;**However** my question is this: whenever anti virus does scan,
NR&gt; in this case, clamav, they do NOT find changed files, even (on
NR&gt; linux) very efficient utility such as &amp;quot;find&amp;quot;
NR&gt; exists. There must be a reason. What that reason could be?

There are a number of reasons why ClamAV may not detect changes to
files.

Firstly, ClamAV mainly detects malware based on known virus
signatures, so if the signature database is not up to date, it is
possible that new threats will be missed.

Also, ClamAV has a file size limit, and by default it skips files
larger than 20MB. This limit is in place to prevent excessive
consumption of system resources, but because large files cannot be
scanned, changes may be missed.

On the other hand, the Linux find command is a powerful tool for
efficiently searching for files and directories, but it does not
directly detect file changes.

Find searches for files based on the specified conditions, so in order
to detect file changes, it is necessary to accurately specify the
conditions for the files that have been changed.

For these reasons, if ClamAV is unable to detect file changes, it is
important to consider updating the signature, reviewing the settings,
or using it in conjunction with other security tools.

Best Regards.

---
$B(.(,(,(/WD(B &nbsp; &nbsp; Masaru Nomiya &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mail-to: nomiya @ lake.dti.ne.jp
$B(-!@!?WD(B
$B(1(,(,(0(B &nbsp; &nbsp; &nbsp; &quot;During testing, Sakana found that its system began unexpectedly
&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; attempting to modify its own experiment code to extend the time
&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; it had to work on a problem.&quot;
&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;-- Research AI model unexpectedly attempts to modify its own code
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;to extend runtime (ars TECHNICA) --
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.