nerdexam
GIAC

GREM · Question #165

What is the main purpose of using the SetWindowsHookEx function in malware?

The correct answer is B. To intercept and monitor system messages or events. See the full explanation below for the reasoning.

Question

What is the main purpose of using the SetWindowsHookEx function in malware?

Options

  • ATo allocate memory within a process
  • BTo intercept and monitor system messages or events
  • CTo compress data
  • DTo generate cryptographic keys

How the community answered

(20 responses)
  • A
    10% (2)
  • B
    80% (16)
  • C
    5% (1)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full GREM Practice