Opens in a new tab
PexLens logo
PexLens logo
Pricing
Add your offcanvas content in here
Add your offcanvas content in here

Behavioral analysis

What PexLens records when a package is executed in isolation, and how to use that record.

Some packages do not reveal the attack in the files you can read quickly. The script is short, the payload is assembled at runtime, or the interesting part is which name it looks up and which file it writes. Behavioral analysis runs the package where it cannot reach your workstation or your production systems, and it records what the package actually did.

You are not watching a demo of the package’s features. You are watching the side effects: processes it started, files it touched, names it looked up, and install hooks it registered. Related actions can be grouped by attack technique so a review reads behavior instead of a raw log.

When it matters

Use it when static analysis shows an install script, a download, or a network call and you need to see the behavior, or when you want a second look before you block a popular package that a lot of builds depend on. It is a heavier check than reading the files, so it is not required for every first lookup. A threat assessment can be ready from the other checks and updated if a runtime analysis is added later.

Do not wait for a behavioral run before you act on a malicious static result. The runtime check confirms and explains. It is not a pardon.

What you can read

After a run, review the rules that matched, the files, the processes, the DNS lookups, and the install hooks. A summary tells you how the run compared with others like it. When you write the incident note, prefer the grouped behavior over a list of system calls. “It registered an install hook and then resolved an unrelated domain” is a finding. A page of paths is the appendix.

How it affects the verdict

Behavior observed at runtime carries more weight than most other checks, together with known threat intelligence. A clearly hostile run can define the verdict. A calm run does not define it. If static analysis or threat intelligence already has a strong result, that result remains when the isolated run looks uneventful. The package may not have shown the behavior in this environment. The file evidence does not disappear because of that.

A clean run is not a certificate. Say what was observed, and leave the other evidence in the verdict.