You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MWDB uses libmagic for that (the same thing as in file command) and it's regression in libmagic 5.44 (problem persists in 5.45)
$ ./file -m ../magic/magic.mgc -v
file-5.43
magic file from ../magic/magic.mgc
$ ./file -m ../magic/magic.mgc ~/ca74de5cdb4699b19f64ce28ae674b04a30f5004ccb407c552d73af32590c28b
ca74de5cdb4699b19f64ce28ae674b04a30f5004ccb407c552d73af32590c28b: PE32 executable (GUI) Intel 80386 (stripped to external PDB), for MS Windows
vs
$ ./file -m ../magic/magic.mgc -v
file-5.44
magic file from ../magic/magic.mgc
$ ./file -m ../magic/magic.mgc ~/ca74de5cdb4699b19f64ce28ae674b04a30f5004ccb407c552d73af32590c28b
ca74de5cdb4699b19f64ce28ae674b04a30f5004ccb407c552d73af32590c28b: Zip archive, with extra data prepended
Environment information
/about
): v2.12.0pip install mwdb-core
)Behaviour the bug (what happened?)
PE files sometimes get identified as being zip. They get the wrong magic identification in the
type
fieldExpected behaviour
Have PE magic as normal
Screenshots
Additional context
PE files that get correctly identified by VT but wrong by MWDB:
In our database, we've identified more than 2500 such samples, so there are more examples if needed.
The text was updated successfully, but these errors were encountered: