On this page

OSSEC / HIDS Rule 52502

OSSEC / HIDS rule catalog

  • Rule family: OSSEC / HIDS
  • Rule ID: 52502
  • Definition status: Present in current source
  • Alert message / subject: ClamAV: Virus detected
  • Rule level: 8
  • Definition checked: 2026-10-21

Interpretation and response

This event is recorded as “ClamAV: Virus detected”. Review the originating log and the affected host or service to determine whether the activity was expected.

An OSSEC/HIDS event records or correlates activity. Blocking depends on the originating application and any separately configured Active Response policy; an alert alone does not prove that an attack was blocked.

Documentation

The following guidance was migrated from the historical wiki and reviewed against the rule definition. Legacy ASL product names and interface instructions refer to the versions documented then. Use the current metadata above and your installed configuration when interpreting thresholds, notification settings and response behavior.

Description

clamav has detected a virus on the system. There are two primary types of detection that may occur. Via the upload scanner, or via the real time scanner.

Real time scanner example:

Illustrative event summary (not a captured log): OSSEC/HIDS 52502 — ClamAV: Virus detected.

Upload scanner example:

Illustrative event summary (not a captured log): OSSEC/HIDS 52502 — ClamAV: Virus detected.

Because of the way clamd works (it does not report the IP address of the source) this rule does not block any IPs. It alerts when clamd detects malware. If you are using the real time malware protection system, the real time malware protection system will prevent access to the malware.

Troubleshooting

False Positives

If you believe the file is not malware, please send the file to support. Please make sure you put a password on the file to prevent any antivirus software from preventing you from sending it to us.

Tuning Guidance

None.

Additional Information

If you are using the real time malware protection, this alert means access to the file has been denied to the user, and the malware was not able to run. No action is necessary.

Source and revision

Migrated from HIDS_52502, wiki page 437, revision 5731 (20160707). Documentation review: 2026-10-21. An archived wiki status of Active is not a current deployment status.

For assistance, provide the rule ID, installed product and rule version, and a sanitized event to Atomicorp support .