nerdexam
GIAC

GSEC · Question #35

When should you create the initial database for a Linux file integrity checker?

The correct answer is C. Before a system has been compromised. A file integrity checker's baseline database must be created on a clean, uncompromised system so that any future unauthorized changes are detectable by comparison against that trusted snapshot.

Linux and Cryptography

Question

When should you create the initial database for a Linux file integrity checker?

Options

  • ABefore a system is patched
  • BAfter a system has been compromised
  • CBefore a system has been compromised
  • DDuring an attack

How the community answered

(42 responses)
  • A
    5% (2)
  • B
    7% (3)
  • C
    71% (30)
  • D
    17% (7)

Why each option

A file integrity checker's baseline database must be created on a clean, uncompromised system so that any future unauthorized changes are detectable by comparison against that trusted snapshot.

ABefore a system is patched

Creating the database before patching records a potentially vulnerable state as the trusted baseline, causing every legitimate patch-related file change to register as a false positive alert.

BAfter a system has been compromised

Creating the database after a compromise records the already-altered or attacker-modified file state as the trusted baseline, making the integrity checker blind to the existing compromise.

CBefore a system has been compromisedCorrect

Creating the initial database before a system has been compromised captures verified file hashes, sizes, and attributes in a known-good state; any subsequent unauthorized modification is then detectable because the current file state will differ from this clean baseline, triggering an alert.

DDuring an attack

Creating the database during an active attack is unreliable because files may already be in the process of being modified, producing a corrupted or attacker-influenced baseline that cannot serve as a valid reference.

Concept tested: File integrity monitoring baseline creation timing

Source: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/security_guide/sec-using-aide

Topics

#file integrity#baseline database#tripwire#Linux hardening

Community Discussion

No community discussion yet for this question.

Full GSEC Practice