Browse code

tune sensitivity of Trojan.Swizzor.Gen detection.

git-svn: trunk@5052

Török Edvin authored on 2009/04/22 20:24:10
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Wed Apr 22 14:24:03 EEST 2009 (edwin)
2
+-------------------------------------
3
+ * libclamav/special.c: tune sensitivity of Trojan.Swizzor.Gen
4
+ detection.
5
+
1 6
 Mon Apr 20 17:41:14 EEST 2009 (edwin)
2 7
 -------------------------------------
3 8
  * clamd/session.c: fix STATS for INSTREAM commands (bb #1565).
... ...
@@ -502,7 +502,7 @@ int cli_detect_swizz(struct swizz_stats *stats)
502 502
 	}
503 503
 	if (stats->total <= 337)
504 504
 	    return CL_CLEAN;
505
-	if (stats->suspicious<<10 > 20*stats->total)
505
+	if (stats->suspicious<<10 > 40*stats->total)
506 506
 	    return CL_VIRUS;
507 507
 	if (!stats->suspicious)
508 508
 	    return CL_CLEAN;