ICAP malware scanner, unpacks password-protected archives using a LLM.
628
| mime type | password protection |
|---|---|
| application/vnd.rar | yes |
| application/x-7z-compressed | yes |
| application/x-bzip | yes |
| application/x-bzip2 | yes |
| application/x-tar | yes |
| application/x-iso9660-image | yes |
| application/x-rar | yes |
| application/x-rar-compressed | yes |
| application/zip | yes |
etc docker-volume of the container, create a rules directory and put your .yar rule files into itexternal_services.conf
malunpacker {
servers = "172.22.1.1:10055";
# needs to be set explicitly for Rspamd < 1.9.5
scan_mime_parts = false;
type = "icap";
scheme = "respmod";
x_client_header = true;
# mime-part regex matching in content-type or filename
# block all macros
max_size = 3145728;
timeout = 60.0;
retransmits = 1;
x_client_header = true; # Add X-Client-IP: $IP header
x_rcpt_header = true; # Add X-Rcpt-To: $SMTP_RCPT header
x_from_header = true; # Add X-Mail-From: $SMTP_FROM header
}
VIRUS_FOUND symbol in your composites.conf and add the MALUNPACKER symbol to it's expression f.e.:
VIRUS_FOUND {
expression = "( CLAM_VIRUS | MALUNPACKER ) & !WHITELIST";
score = 2000.0;
}
You may also enable the use of a LLM for credential extraction by specifing the environment variable USE_ML_FOR_CREDS_EXTRACTION=true in your docker-compose file.
The service uses rust-bert for the ML part.
Content type
Image
Digest
sha256:a504d2900…
Size
290.2 MB
Last updated
10 months ago
docker pull daschr/malunpacker