Malware Analysis Tools and Techniques: Windows Malware
29 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What does a handle point to in memory?

  • File content
  • I/O devices
  • Arithmetic operations
  • Location in memory (correct)

Which function is used to create or open files?

  • CreateWindowEx
  • WriteFile
  • ReadFile
  • CreateFile (correct)

What do ReadFile and WriteFile operate on as a stream?

  • Memory locations
  • Files (correct)
  • Pointers
  • Handles

What does CreateFileMapping allow for?

<p>Direct file manipulation (D)</p> Signup and view all the answers

What does MapViewOfFile return a pointer to?

<p>Base address of the mapping (B)</p> Signup and view all the answers

Can arithmetic operations be performed on handles?

<p>No (C)</p> Signup and view all the answers

What term is used to refer to the base address in the Windows registry?

<p>Root Key (D)</p> Signup and view all the answers

What is the primary purpose of using the pointer to the base address in the Windows registry?

<p>Jump around the file easily (A)</p> Signup and view all the answers

Which of the following is NOT a common use of the Windows registry according to the text?

<p>Application installation (B)</p> Signup and view all the answers

How many top-level sections are there in the Windows registry referred to as root keys or hives?

<p>Five (C)</p> Signup and view all the answers

What is a Key in the Windows registry analogous to?

<p>Subfolder (A)</p> Signup and view all the answers

How does malware interact with the operating system?

<p>Via Application Programing Interface (API) (B)</p> Signup and view all the answers

Which naming convention does Windows use for API function identifiers?

<p>Hungarian Notation (A)</p> Signup and view all the answers

What is the purpose of Handles in Windows OS?

<p>To represent opened items like windows, processes, files, etc. (C)</p> Signup and view all the answers

Which type does the prefix 'dw' indicate in Hungarian Notation used by Windows?

<p>Double Word (DWORD) variables (B)</p> Signup and view all the answers

What makes it easy to identify the type of a variable in Hungarian Notation?

<p>Using a prefix naming scheme (D)</p> Signup and view all the answers

Which of the following represents 16 bits according to Hungarian Notation in Windows?

<p>WORD (D)</p> Signup and view all the answers

What API call is used to initialise a connection to the internet?

<p>InternetOpen (D)</p> Signup and view all the answers

What function is typically used to download a file from the internet in two steps?

<p>URLDownloadToFile() (B)</p> Signup and view all the answers

Which WIN32 API function is commonly used to create a new process?

<p>CreateProcess (C)</p> Signup and view all the answers

What does the STARTUPINFO parameter in CreateProcess include?

<p>Handle to standard input, output and error messages (C)</p> Signup and view all the answers

How can malicious programs use standard input, output, and error messages?

<p>Set them to a socket for remote shell execution (C)</p> Signup and view all the answers

What type of properties can a parent process specify for its child process?

<p>Window properties (D)</p> Signup and view all the answers

What is the primary purpose of key loggers?

<p>Monitor user key strokes (D)</p> Signup and view all the answers

What are the two most common methods used by key loggers?

<p>Install a hook for keyboard events and poll keyboard state with GetAsyncKeyState() (C)</p> Signup and view all the answers

What is the purpose of a hook procedure in the context of key loggers?

<p>Intercept events like messages, mouse actions, and keystrokes (C)</p> Signup and view all the answers

Which API function is used to intercept keyboard events and relay them to a malicious function?

<p>SetWindowsHookExA with WH_KEYBOARD parameter (C)</p> Signup and view all the answers

What does malware do in the context of polling the keyboard?

<p>Goes into a loop and polls the state of every key (B)</p> Signup and view all the answers

Which function is called to get the state of a specific key during polling?

<p>GetAsyncKeyState (A)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser