Comments (4)
I agree, all of the PNGs are definitely false positives. In fact, all of those results look like false positives. I've updated those signatures with better false positive detection in the 2.0 branch; will close this issue once the 2.0 branch is merged with master (soon).
from binwalk.
Trying with the 2.0 branch gives other interesting results, not quite right yet still.
DECIMAL HEXADECIMAL DESCRIPTION
------------------------------------------------------------------------------------------------------------------------------------------------------
3775813 0x399D45 gzip compressed data, from VMS, last modified: Sat Feb 2 13:33:24 2013
22228649 0x1532EA9 TIFF image data, big-endian
24074975 0x16F5ADF ELF 32-bit LSB
25198157 0x1807E4D mcrypt 2.2 encrypted data, algorithm: SAFER-SK64, mode: CFB, keymode: MD5 hash
25250984 0x1814CA8 ELF 32-bit LSB
57543449 0x36E0B19 Zip archive data, compressed size: 901619, uncompressed size: 565116672, name: ""
59213730 0x38787A2 Foscam WebUI filesystem, checksum: 0xE0DA, first file name: "~D"
This file seems to be packed or encrypted, so I'm not expecting miracles, I'm doing this more for interest's sake.
from binwalk.
The gzip signature already performs quite a bit of validation on the header, and from the output it does look like a valid gzip header. From a signature standpoint, that's probably going to be as good as it gets. I could add a gzip validation plugin to check the first block of compressed data and make sure that it looks valid though - I'll put it on the TODO list.
The TIFF signature could certainly be more robust - I'll have to look into the TIFF file format in more detail to see if additional pieces of the header can be validated.
The ELF headers could be automatically marked as invalid since the architecture is unknown. The problem is that I've seen vendors set custom values for such fields, so I'd be hesitant to do this; it's probably best to leave that decision up to the user. I'm open to suggestions though.
mcrypt has always been a pain to validate. I don't think there's much else that can be done for that signature (except for potentially a plugin, as with gzip).
I've updated the ZIP and Foscam signatures in the repository, you shouldn't be getting those false positives anymore.
from binwalk.
Finally added a validation plugin for gzip, which should all but eliminate false positive gzip results.
from binwalk.
Related Issues (20)
- Anti-patterns in extractor.py module
- Binwalk stuck when extracting .xz archive
- Cannot extract anything from a device, not file
- If providing more than one file, binwalk uses verbose mode only.
- AttributeError: module 'binwalk' has no attribute 'scan'
- Symlink Error HOT 1
- ubireader problem HOT 6
- Unable to proceed from the installation guide.
- Add support for ArchLinux in deps.sh
- Would it be possible to use the built-in python module 'getpass' as a somewhat OS agnostic way to get the username? HOT 2
- Dockerfile fails to build due to ubi_reader changes HOT 1
- binwalk fails to extract after filename/extension confusion HOT 3
- Call plugins when Result is Valid
- Name 'np' is not defined while calculating file entropy. HOT 1
- deprecated nose dependency, deprecated used of setup.py test
- Python 3.12 compatibility issue: No module named 'imp' HOT 4
- Trouble extracting cpio embedded into kernel file
- Dead Project - Parent Company Killed by Microsoft :( - See readme HOT 6
- external extractor HOT 5
- [Feature Request] Extract RSA/Certificates and Private Keys
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binwalk.