Find packages that contain a file hash, a filename, or a file type during an incident.
Incidents often start with a file, not a package name. A responder has a hash from a disk, a filename from a detector, or a strange extension in a directory that should not have had one. PexLens keeps a hash index of files extracted from package versions so you can enter the catalog from that file and come back out with package names.
What you can search
- A hash, to find every indexed package that contained those bytes. This is the strongest search. The same hash is the same file, regardless of what the package called it.
- A filename, to find packages that shipped that name. Names collide. Treat this as a lead list, and confirm with the hash or the verdict before you declare a match.
- A file type, when you are looking across extensions rather than one file. Use this to see whether a kind of payload shows up in the catalog, not to accuse a single package.
You can also open the file list for a single version when you already know the package and want to see what was inside it. That is the reverse direction: from the version to the files, instead of from the file to the versions.
How to use a hit
A hash hit means the bytes were in that package version. It does not, by itself, mean the package is malicious. A shared license file will hash-match across thousands of honest packages. Read the verdict for the version, and read whether the file is the payload or a common document. The index got you to the right versions. The verdict tells you which of them to block.
When your team has reviewed a hash and confirmed it is a payload, that classification can be remembered on the hash. Use it as a note for the next investigation, so the next person who searches does not start from zero. The note does not replace the package verdict, and it does not rewrite history for versions that merely contained a similar name.
When the hash is absent
An absent hash means that file is not in the index of packages PexLens has extracted. The file can still be malicious. It may have come from somewhere other than an indexed package, or from a version whose files were never indexed. Do not close the incident on an empty search. Say the catalog does not contain that file, and keep looking at the other evidence you have.
