Jump to content

PDF and MS Office (X) files identified as "compound" files and "not processed"


Timur Born

Recommended Posts

Is it correct that KAV identified PDF and MS Office X files (docx, xlsx) as “compound files” which then fall under the maximum size restriction for being scanned (aka “not processed” due to size limit)?

According to my own log files and someone on Reddit this is currently happening.

Link to comment
Share on other sites

PDF files are more or less postSCRIPT files, close to text files. They are not compressed.

This is what the content of a PDF file looks like:

?xpacket begin=' ' id='W5M0MpCehiHzreSzNTczkc9d' ?>
<x:xmpmeta xmlns:x='adobe:ns:meta/'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
<rdf:Description rdf:about='' xmlns:xmp="http://ns.adobe.com/xap/1.0/"><xmp:Identifier><rdf:Bag><rdf:li>16853155</rdf:li></rdf:Bag></xmp:Identifier></rdf:Description>
<rdf:Description rdf:about='' xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"><xmpMM:VersionID>1234334</xmpMM:VersionID></rdf:Description>
</rdf:RDF></x:xmpmeta>

Link to comment
Share on other sites

If you scan a .pdf via command line, it will be listed as an archive. In my example 'data0000' and 'data0001' are included.

 

2021-10-20 16:14:51     Scan_Objects$6749                          starting   1%

2021-10-20 16:14:51     files\  skipped: not found
2021-10-20 16:14:51     Scan_Objects$6749                          running    1%

2021-10-20 16:14:51     C:\Users\admin\Desktop\testpdf.pdf      archive PDF
2021-10-20 16:14:51     C:\Users\admin\Desktop\testpdf.pdf//data0000    ok
2021-10-20 16:14:51     C:\Users\admin\Desktop\testpdf.pdf//data0001    ok
2021-10-20 16:14:51     C:\Users\admin\Desktop\testpdf.pdf      ok
2021-10-20 16:14:52     Scan_Objects$6749                          completed

Info: task 'ods' finished, last error code 0
Warning: 1 skipped with not found
;  --- Statistics ---
; Time Start:   2021-10-20 16:14:51
; Time Finish:  2021-10-20 16:14:52
; Processed objects:    3
; Total OK:     3
; Total detected:       0
; Suspicions:   0
; Total skipped:        0
; Password protected:   0
; Corrupted:    0
; Errors:       0
;  ------------------

 

 

Link to comment
Share on other sites

When the Word docx file is opened in Word then KAV also does not scan its contents as decompressed temporary files. The file-access you see in this screenshot is AVP checking the file-size and then deciding not to process it due to large size.

Same goes for the PDF files, because as with Word the files is only decompressed and processed in memory, but not to disk.

Link to comment
Share on other sites

I am also confused by the “Minimum file size” option. According to help:

“ If this check box is cleared, Kaspersky Total Security provides access to compound files only after unpacking and scanning files, regardless of their size. “

This reads as if compound files larger than the default 8 mb should be blocked by KAV due to not being scanned if the “Minimum file size” option is disabled?! But in my tests the large PDF and Office files are neither scanned nor blocked. They are just opened unscanned with a log entry stating their size being too large.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...