Complete the code to print a warning message about social engineering.
print("Beware of [1] attempts to steal your information!")
The phrase 'social engineering' correctly completes the warning message about attempts to steal information by tricking people.
Complete the code to check if a message is a phishing attempt.
if 'urgent' in message and '[1]' in message: print('Possible phishing attempt detected')
The word 'link' is often used in phishing messages to trick users into clicking malicious URLs.
Fix the error in the code that identifies a social engineering keyword.
keywords = ['password', 'urgent', 'account'] if '[1]' in keywords: print('Warning: social engineering keyword found')
The word 'urgent' is in the keywords list and is a common social engineering keyword.
Fill both blanks to create a dictionary of social engineering tactics and their descriptions.
tactics = {
'phishing': '[1]',
'pretexting': '[2]'
}'Phishing' means sending fake emails to steal information, and 'pretexting' means pretending to be someone else to get information.
Fill all three blanks to filter a list of messages containing social engineering keywords.
filtered = [msg for msg in messages if '[1]' in msg or '[2]' in msg or '[3]' in msg]
The keywords 'urgent', 'password', and 'account' are common in social engineering messages and used to filter them.