nerdexam
GIAC

GSEC · Question #345

What is the SHA1 hash of the Ale /bin/Is?

The correct answer is G. d3a21675a8f 19518d8b8f3cefOf6a21 del da6cc7. SHA1 hashing produces a 40-character hex digest unique to a file's contents, used to verify file integrity on a target system.

Linux and Cryptography

Question

What is the SHA1 hash of the Ale /bin/Is?

Exhibit

GSEC question #345 exhibit

Options

  • Aa895bac9c3<M75d5fa7fb5820b35568cedb5dc23
  • B54771b4r<d7tKb4382e670b4465O265206cf09e9
  • Ca39bed3C496fC764fc518d3e2d56f7d0f4C625fb
  • D93c1 ffbd22ebcad798886fb4aa46fa 357b23d80a
  • Eaa40739f465ded2245872b1e4972e33d5bObb1cb
  • F494a 192859f 244c69d5bdc46255d b44l9e 7d051 f
  • Gd3a21675a8f 19518d8b8f3cefOf6a21 del da6cc7
  • H84611 eOb6d59045bOcf 189fca9bc760afdf b7372
  • I8873 5f5cb7CCf7b2d 137944ab1 2d 116808310500
  • J2cadod58fbd0345c2ced336f9a3ae6f43cf355fi

How the community answered

(23 responses)
  • C
    4% (1)
  • E
    4% (1)
  • F
    9% (2)
  • G
    83% (19)

Why each option

SHA1 hashing produces a 40-character hex digest unique to a file's contents, used to verify file integrity on a target system.

Aa895bac9c3<M75d5fa7fb5820b35568cedb5dc23

This hash value does not match the SHA1 digest computed from the /bin/ls binary on the target system.

B54771b4r<d7tKb4382e670b4465O265206cf09e9

This hash value does not match the SHA1 digest computed from the /bin/ls binary on the target system.

Ca39bed3C496fC764fc518d3e2d56f7d0f4C625fb

This hash value does not match the SHA1 digest computed from the /bin/ls binary on the target system.

D93c1 ffbd22ebcad798886fb4aa46fa 357b23d80a

This hash value does not match the SHA1 digest computed from the /bin/ls binary on the target system.

Eaa40739f465ded2245872b1e4972e33d5bObb1cb

This hash value does not match the SHA1 digest computed from the /bin/ls binary on the target system.

F494a 192859f 244c69d5bdc46255d b44l9e 7d051 f

This hash value does not match the SHA1 digest computed from the /bin/ls binary on the target system.

Gd3a21675a8f 19518d8b8f3cefOf6a21 del da6cc7Correct

Running `sha1sum /bin/ls` on the specific target system yields the hash d3a21675a8f19518d8b8f3cef0f6a21de1da6cc7. SHA1 computes a deterministic 160-bit digest from the binary contents of the file, so the result is unique to the exact version of /bin/ls installed on that system. Any modification to the file would produce a completely different hash value.

H84611 eOb6d59045bOcf 189fca9bc760afdf b7372

This hash value does not match the SHA1 digest computed from the /bin/ls binary on the target system.

I8873 5f5cb7CCf7b2d 137944ab1 2d 116808310500

This hash value does not match the SHA1 digest computed from the /bin/ls binary on the target system.

J2cadod58fbd0345c2ced336f9a3ae6f43cf355fi

This hash value does not match the SHA1 digest computed from the /bin/ls binary on the target system.

Concept tested: SHA1 file integrity verification on Linux binaries

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/certutil

Topics

#SHA1#file hashing#Linux#file integrity

Community Discussion

No community discussion yet for this question.

Full GSEC Practice