ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 209 - SY0-601 discussion

Report
Export

Given the following snippet of Python code:

Which of the following types of malware MOST likely contains this snippet?

A.
Logic bomb
Answers
A.
Logic bomb
B.
Keylogger
Answers
B.
Keylogger
C.
Backdoor
Answers
C.
Backdoor
D.
Ransomware
Answers
D.
Ransomware
Suggested answer: A

Explanation:

A logic bomb is a type of malware that executes malicious code when certain conditions are met. A logic bomb can be triggered by various events, such as a specific date or time, a user action, a system configuration change, or a command from an attacker. A logic bomb can perform various malicious actions, such as deleting files, encrypting data, displaying messages, or launching other malware. The snippet of Python code shows a logic bomb that executes a function called delete_all_files() when the current date is December 25th. The code uses the datetime module to get the current date and compare it with a predefined date object. If the condition is true, the code calls the delete_all_files() function, which presumably deletes all files on the system.

Reference: https://www.comptia.org/certifications/security#examdetails https://www.comptia.org/content/guides/comptia-security-sy0-601-exam-objectives https://www.kaspersky.com/resource-center/definitions/logic-bomb

asked 02/10/2024
Mathijn Smit
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first