nerdexam
GIAC

GSEC · Question #334

What cryptographic technique does file Integrity monitoring employ?

The correct answer is B. One-way hashes. File Integrity Monitoring (FIM) uses one-way cryptographic hash functions to generate a unique fingerprint of a file, detecting unauthorized changes by comparing stored hashes to current values.

Linux and Cryptography

Question

What cryptographic technique does file Integrity monitoring employ?

Options

  • APublic-key cryptography
  • BOne-way hashes
  • CElliptical curve algorithms
  • DShared key cryptography

How the community answered

(18 responses)
  • A
    11% (2)
  • B
    78% (14)
  • C
    6% (1)
  • D
    6% (1)

Why each option

File Integrity Monitoring (FIM) uses one-way cryptographic hash functions to generate a unique fingerprint of a file, detecting unauthorized changes by comparing stored hashes to current values.

APublic-key cryptography

Public-key cryptography uses key pairs for encryption and digital signatures, not for generating the deterministic file fingerprints that integrity checks rely on.

BOne-way hashesCorrect

One-way hash functions such as SHA-256 produce a fixed-length digest from file contents that cannot be reversed. FIM tools hash files at a known-good baseline and then periodically rehash them - any modification, however small, changes the hash value and triggers an alert, making hashing the foundational cryptographic technique for integrity verification.

CElliptical curve algorithms

Elliptic curve algorithms are used for key exchange and digital signatures in asymmetric cryptography, not for producing one-way file digests.

DShared key cryptography

Shared key (symmetric) cryptography is used for bulk data encryption and decryption, not for generating the one-way integrity checksums that FIM requires.

Concept tested: File integrity monitoring using cryptographic hashing

Source: https://csrc.nist.gov/glossary/term/cryptographic_hash_function

Topics

#file integrity monitoring#one-way hashes#hashing#cryptography

Community Discussion

No community discussion yet for this question.

Full GSEC Practice