wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Malware and Computer Science Worksheet

Total questions: 44

Worksheet time: 22mins

Name
Class
Date
1.

Which one of the following is the use of function in python?

a)

Functions don’t provide better modularity for your application

b)

You can’t also create your own functions

c)

Functions are reusable pieces of programs

d)

All of the mentioned

2.

Which technique makes an executable large?

a)

Static linking

b)

Runtime linking

c)

Dynamic linking

d)

Packing

3.

Which of the following statements about PEiD is true?

a)

It can only identify packers used in Windows executables

b)

It is a standalone antivirus software

c)

It requires an internet connection to function

d)

It can identify both packers and compilers used in executable files

4.

Which new development in malware caused sandbox technology to automate and introduce intelligence learning?

a)

AI-driven attacks

b)

Trojan horse

c)

Ransomware

d)

Polymorphic viruses

5.

What is a common method used in dynamic analysis of malware?

a)

Disassembling the malware code

b)

Running the malware in a controlled environment

c)

Identifying the malware’s author

d)

Searching for similar malware online

6.

Which feature characterizes third-generation sandbox technology?

a)

 Automation and artificial intelligence

b)

Streamlines manual testing

c)

Faster network speeds

d)

 Scanning of encrypted data streams

7.

What is a packer in the context of malware?

a)

A device used to physically secure a computer

b)

A tool used to expand malware files

c)

A technique used to hide malware from detection

d)

A type of malware designed to infiltrate networks

8.

How does ransomware utilizing cryptoviral extortion ensure that victims must pay the ransom?

a)

It steals passwords and banking information

b)

It encrypts the victim’s files, making them inaccessible without a decryption key

c)

It continuously downloads additional malware onto the system

d)

It remotely controls all applications on the infected machine

9.

Which of the following is NOT a common goal of malware analysis?

a)

Identifying the source of malware

b)

Developing antivirus software

c)

Understanding malware behavior

d)

Creating new types of malware

10.

Which of these contains the EIP?

a)

CPU

b)

RAM

c)

Control unit

d)

Registers

e)

ALU

11.

What does OllyDbg’s “Memory Map” feature allow analysts to do during malware analysis?

a)

Analyze network traffic

b)

View a map of memory allocations and sections

c)

Monitor system performance

d)

Decrypt encrypted malware payloads

12.

Which debugger is commonly used for analyzing Windows-based malware?

a)

GDB

b)

OllyDbg

c)

LLDB

d)

WinDbg

13.

How does a rootkit differ from other types of malware?

a)

Rootkits are only effective on Windows operating systems

b)

Rootkits modify system files to grant unauthorized access, while other malware focuses on data theft or disruption

c)

Rootkits spread through email attachments

d)

Rootkits require physical access

14.

What type of information can be extracted from the Windows registry using RegRipper?

a)

Only user passwords

b)

Only file system information

c)

System configurations, user activities, and installed software details

d)

Only network configurations

15.

Which of the following best describes how a worm spreads in a network?

a)

Requires user interaction

b)

Attaches to executable files

c)

Autonomously scans for vulnerable systems and replicates itself

d)

Encrypts data and demands ransom

16.

Which of the following is the use of id() function in Python?

a)

Every object in Python doesn’t have a unique id

b)

In Python the id function returns the identity of the object

c)

None of the mentioned

d)

All of the mentioned

17.

The register that indicates whether the last operation resulted in zero is:

a)

EAX, EBX, ECX, or EDX

b)

EAX, EBX, ECX, or EDX

c)

EFLAGS

d)

EIP

18.

What is one of the most common formats used for storing memory dumps in memory forensics?

a)

TXT

b)

DOCX

c)

RAW (Binary)

d)

JPG

19.

What is the primary goal of memory forensics?

a)

Recovering deleted files from storage

b)

Analyzing network traffic

c)

Extracting information from volatile memory of a system

d)

Decrypting encrypted files on disk

20.

Which phase of the dual-phased analysis process involves observing the actions of malware in a controlled environment?

a)

Code analysis

b)

Behavioral analysis

c)

Execution analysis

d)

Network analysis

21.

What type of language is bash shell script?

a)

Low-level languages

b)

Lowest languages

c)

Machine code

d)

Interpreted languages

e)

Hardware

22.

What ethical considerations should malware analysts keep in mind during their work?

a)

Ensuring complete anonymity when analyzing malware

b)

Respecting privacy and legal boundaries when handling samples

c)

Sharing malware samples freely with other analysts

d)

Using malware for personal gain or hacking activities

23.

Which of the following is a best practice when handling malware samples?

a)

Ensuring complete anonymity when analyzing malware

b)

Respecting privacy and legal boundaries when handling samples

c)

Sharing malware samples freely with other analysts

d)

Using malware for personal gain or hacking activities

24.

Which instruction is repeated many times in buffer overflow attacks?

a)

A. mov

b)

B. sub

c)

C. nop

d)

D. push

e)

E. pop

25.

What is a hardware keylogger?

a)

A keylogger that captures screenshots

b)

A keylogger that records keystrokes through physical devices

c)

A keylogger that sends data to a remote server

d)

A keylogger that disguises itself as legitimate software

26.

Code snippet question Int b = 1; main(){int x = 2; printf("%d %d", x, b);} Which location is likely one for x?

a)

.rdata: 00416111

b)

[ebp+var_8]

c)

eax

d)

eip

27.

What type of data does Process Monitor display in real-time?

a)

CPU temperature

b)

Network bandwidth usage

c)

Registry and file system activity

d)

Installed software list

28.

In the Windows operating system, which item opens with higher privileges than administrator?

a)

DLL

b)

Process

c)

Mutex

d)

Services

e)

Component Object Model (COM)

29.

Which register is used to hold values such as subtotals during calculations?

a)

A. EAX, EBX, ECX, or EDX

b)

B. EBP or ESP

c)

C. EFLAGS

d)

D. EIP

30.

What type of information can be extracted from the Windows registry using RegRipper?

a)

Only user passwords

b)

Only file system information

c)

System configurations, user activities, and installed software details

d)

Only network configurations

31.

What is the primary function of a rootkit in a compromised system?

a)

To create a backdoor for future access

b)

To infect other computers via network propagation

c)

To hide the presence of other malicious software

d)

To extract sensitive financial information

32.

Which network type is the most hazardous?

a)

Host-only

b)

NAT

c)

Bridged

d)

Airgap

33.

What is the main disadvantage of using physical systems in a malware analysis lab?

a)

Lack of system state-restoring options

b)

High costs and space requirements

c)

Inability to perform code analysis

d)

Difficulty in monitoring behavioral changes

34.

What differentiates a worm from a virus?

a)

Worms require user interaction to spread, while viruses can spread autonomously.

b)

Viruses infect files, while worms can spread independently through networks.

c)

Worms primarily target system files, viruses target user data.

d)

Viruses only spread through email, worms spread through multiple vectors.

35.

What is the primary purpose of using a sandbox in malware analysis?

a)

To permanently remove malware

b)

To execute malware in a controlled environment and monitor behavior

c)

Detect malware signatures without execution

d)

Encrypt malware samples for storage

36.

What is a common use of LordPE in malware analysis?

a)

Decrypt malware payloads

b)

Generate antivirus signatures

c)

Analyze & modify import table of malware executables

d)

Monitor system logs

37.

Output of Python expression: round(4.576)

a)

4

b)

4.6

c)

5

d)

4.5

38.

What is the primary purpose of using PEiD in malware analysis?

a)

Analyzing network traffic

b)

Identifying packers & compilers used in executables

c)

Decrypting encrypted files

d)

 Debugging malware code

39.

Role of a debugger in malware analysis?

a)

To statically analyze malware behavior

b)

Slow down execution & observe code in real-time

c)

Extract all functions in executable

d)

Capture network traffic

40.

Which file format does Regshot use to save registry snapshots?

a)

.txt

b)

.exe

c)

.reg

d)

.dll

41.

What is static analysis in malware analysis?

a)

Running the malware in a controlled environment

b)

Analyzing the behavior of malware as it executes

c)

Examining the code and structure of malware without executing it

d)

Monitoring network traffic for signs of malware activity

42.

What is the primary purpose of using a debugger in malware analysis?

a)

To execute malware on a system

b)

To monitor network traffic

c)

To trace and analyze malware behavior

d)

To encrypt sensitive data

43.

Which tool is commonly used for memory forensics?

a)

Wireshark

b)

Volatility

c)

Snort

d)

IDA Pro

44.

In malware analysis, what is the purpose of using the Python library pefile?

a)

For analyzing packet captures

b)

For parsing and analyzing PE (Portable Executable) files

c)

For generating shellcode

d)

For obfuscating Python code