Pre-execution checks

Cheap, fast facts about a file before it runs. They feed the behavior engine and never decide a verdict alone.

Shipped, preview

What runs

  • Hash lists: SHA-256 matching against known-bad lists. Allow lists are planned.
  • PE analysis: anomalies in the headers, sections, imports, resources, certificate directory and entropy of Windows executables.
  • Capsule static rules: file-content rules in the same Capsule format as the behavior rules.
  • YARA-X rules: your own YARA rules, run through YARA-X, as one input among several.
  • Model-file checks: code that can run on load, and structure a loader must not trust, in four AI model formats including pickle. The check never loads the model.
  • Quarantine and restore: an encrypted store with an integrity check, so a file can be put back.

Why they do not decide alone

A hash match is exact and blind to anything new. A string match is easy to break by changing a byte. MalCap uses these checks to answer quick questions and to add facts to a storyline. The behavior rules decide what is an attack.

How it is used

malcap scan ./downloads --yara yara/ --json

The hash and PE checks also run inside the Linux agent and the repository scanner, so a finding means the same thing in each place.

The checks are in preview and have no public release. Do not install MalCap to protect a system yet.