Bitzu

312-50 ยท Malware threats

Static vs dynamic analysis, YARA and IOCs

Static vs dynamic analysis, sandboxes, hashing and strings, YARA, IOCs, anti-malware and EDR, and prevention practices.

Key points

  • Static analysis: no execution; file hashes, strings, headers, imports, packer signs.
  • Dynamic analysis: runs in an isolated sandbox; watches file, registry, process, network activity.
  • YARA: rules match text, hex or conditions in files or memory to classify samples.
  • Indicators of compromise (IOCs): hashes, domains, IPs feed detection.
  • Defence: anti-malware, EDR, patching, least privilege, backups, user training.

Practice questions

Single choice

Which technique examines a malware sample without executing it?

  1. Static analysis
  2. Dynamic analysis in a sandbox
  3. Behavioural monitoring of a live run
  4. Detonation on a test virtual machine
Show answer

Answer: A. Static analysis

Static analysis inspects the file itself (hashes, strings, headers). Running it in a sandbox or on a test VM is dynamic analysis.

Select all that apply

Which of these are typical indicators of compromise (IOCs)?

  1. SHA-256 hash of a malicious file
  2. A domain used for command and control
  3. An IP address contacted by the malware
  4. The antivirus vendor's logo
  5. An employee's job title
Show answer

Answer: A. SHA-256 hash of a malicious file, B. A domain used for command and control, C. An IP address contacted by the malware

File hashes, malicious domains and C2 IP addresses are classic IOCs. A vendor's logo and an employee's job title are not indicators of malicious activity.

True or false

Two files with the same name always have the same hash, so a file name is a reliable way to identify a known sample.

Show answer

Answer: False

False. Names are trivial to change, while a cryptographic hash is derived from the content. Identify samples by hash, not by name.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module