Static and behaviour analysis explained

Compare reading a file with observing its execution. Understand the evidence, privacy tradeoffs and limitations of each malware analysis approach.

Static analysis reads the file

Static analysis examines bytes and structure without executing the selected program. Depending on the file type, checks can inspect hashes, signatures, imports, strings, scripts or archive contents. Models can score extracted features without running the file.

This is useful for an initial assessment, but encrypted or packed content can hide information. A file can also include a suspicious string without ever using it.

Behaviour analysis observes one execution

A sandbox records actions during an isolated run, such as process creation and file or registry changes. These events provide a different kind of evidence from static features.

A quiet run is not proof of safety. Behaviour can depend on user interaction, elapsed time, permissions, network access or environmental checks. A disconnected sandbox also cannot reproduce every action that would occur on a normal computer.

Where analysis happens matters

Static and local are not synonyms. A server can perform static analysis on an uploaded file, while a local sandbox can execute a file on the user’s machine in an isolated environment. Check the selected workflow before submitting sensitive material.

The Nyxgard desktop workflow can send extracted results and features, while the web-upload workflow sends the selected file. Sandbox availability depends on the released client and service configuration; this explanation does not promise that cloud sandbox execution is available.

Use complementary evidence

Compare the file’s origin, static findings and any observed behaviour. Keep incomplete results visible instead of treating missing checks as clean results. For an unfamiliar executable, reading more evidence is safer than running it on your normal computer to see what happens.

Technical references

For examples of why file contents and observed behaviour can be incomplete evidence, see MITRE ATT&CK on obfuscated files and sandbox evasion.

Continue learning

How Nyxgard works · Download availability · Ask for help