There seems to be an issue when scanning NSIS packaged binaries. When I first tried scanning via the GUI, the results showed no files scanned and I always had errors. There was no indication what the error was, so I tried scanning from the command line using the verbose option and received "CL_EFORMAT: Bad format or broken data ERROR". Below are snippets from scanning two different files using the '--debug' option.
...
LibClamAV debug: ------------------------------------
LibClamAV debug: EntryPoint offset: 0xf01 (3841)
LibClamAV debug: Bytecode executing hook id 259 (2 hooks)
LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed
LibClamAV debug: Bytecode executing hook id 257 (3 hooks)
LibClamAV debug: Bytecode: executing bytecode 32 (lsig matched)
LibClamAV debug: Bytecode 32: executing in JIT mode
LibClamAV debug: bytecode finished in 0 us
LibClamAV debug: Bytecode 32 returned 0
LibClamAV debug: Bytecode: executed 1 bytecodes for this hook
LibClamAV debug: cache_add: 55a723e125afbc9b3a41d46f41749068 (level 0)
LibClamAV debug: cli_magic_scandesc: returning 0 at line 2422
LibClamAV debug: NSIS: bad stream at ..\..\..\..\libclamav\nsis\nulsft.c:351
LibClamAV debug: cli_magic_scandesc: returning 26 at line 2372
LibClamAV debug: cli_magic_scandesc: returning 26 at line 2372
LibClamAV debug: Cleaning up phishcheck
LibClamAV debug: Freeing phishcheck struct
LibClamAV debug: Phishcheck cleaned up
LibClamAV debug: entconv: Destroying iconv pool:02DE5AD8
LibClamAV debug: entconv: closing iconv:00516BD8
C:\Users\jlc\Downloads\install\ClamWinPortable_0.97.5_English.paf.exe: CL_EFORMAT: Bad format or broken data ERROR
----------- SCAN SUMMARY -----------
Known viruses: 1267565
Engine version: 0.97.5
Scanned directories: 0
Scanned files: 0
Infected files: 0
Total errors: 1
Data scanned: 8.52 MB
Data read: 7.95 MB (ratio 1.07:1)
Time: 5.117 sec (0 m 5 s)
|
...
LibClamAV debug: NSIS signature found at 47104
LibClamAV debug: in scannulsft()
LibClamAV debug: NSIS: Header info - Flags=0, Header size=45e6, Archive size=1039cc
LibClamAV debug: NSIS: solid compression detected
LibClamAV debug: NSIS: bad stream at ..\..\..\..\libclamav\nsis\nulsft.c:351
LibClamAV debug: cli_magic_scandesc: returning 26 at line 2372
LibClamAV debug: Cleaning up phishcheck
LibClamAV debug: Freeing phishcheck struct
LibClamAV debug: Phishcheck cleaned up
C:\Users\jlc\Downloads\install\7z920.exe: CL_EFORMAT: Bad format or broken data ERROR
----------- SCAN SUMMARY -----------
Known viruses: 1267565
Engine version: 0.97.5
Scanned directories: 0
Scanned files: 0
Infected files: 0
Total errors: 1
Data scanned: 1.06 MB
Data read: 1.06 MB (ratio 1.00:1)
Time: 6.662 sec (0 m 6 s)
|
I am running ClamWin 0.97.5 with the latest DB updates. Anyone have any ideas? Thanks.