nerdexam
GIAC

GCFA · Question #234

You work as a Network Administrator for McNeel Inc. You want to encrypt each user's MY DOCUMENTS folder. You decide to use Encrypting File System (EFS). You plan to write a script for encryption…

The correct answer is C. CIPHER. The CIPHER command-line tool is the correct utility for scripting EFS encryption and decryption operations on files and folders in Windows.

File System & Registry Forensics

Question

You work as a Network Administrator for McNeel Inc. You want to encrypt each user's MY DOCUMENTS folder. You decide to use Encrypting File System (EFS). You plan to write a script for encryption. Which of the following tools will you use to encrypt specified folders?

Options

  • AEFSINFO
  • BSYSKEY
  • CCIPHER
  • DWindows Explorer

How the community answered

(42 responses)
  • A
    14% (6)
  • B
    7% (3)
  • C
    76% (32)
  • D
    2% (1)

Why each option

The CIPHER command-line tool is the correct utility for scripting EFS encryption and decryption operations on files and folders in Windows.

AEFSINFO

EFSINFO is a resource kit tool used only to display information about EFS-encrypted files; it cannot perform encryption.

BSYSKEY

SYSKEY is used to protect the Security Account Manager (SAM) database with an additional encryption key and is unrelated to EFS file or folder encryption.

CCIPHERCorrect

CIPHER.exe is the built-in Windows command-line tool designed to manage Encrypting File System (EFS) operations, including encrypting and decrypting files and folders. Because it is a command-line utility, it can be called from batch scripts or automation scripts to encrypt specified directories such as a user's My Documents folder. It also provides options to display encryption status and manage EFS certificates.

DWindows Explorer

Windows Explorer can encrypt folders via the GUI properties dialog, but it is not a scriptable tool suitable for automation.

Concept tested: EFS encryption using CIPHER command-line tool

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

Topics

#EFS#CIPHER command#file encryption#Windows tools

Community Discussion

No community discussion yet for this question.

Full GCFA Practice