ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 314 - CS0-003 discussion

Report
Export

An analyst is investigating a phishing incident and has retrieved the following as part of the investigation:

cmd.exe /c c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -WindowStyle Hidden -ExecutionPolicy Bypass -NoLogo -NoProfile -EncodedCommand <VERY LONG STRING>

Which of the following should the analyst use to gather more information about the purpose of this command?

A.
Echo the command payload content into 'base64 -d'.
Answers
A.
Echo the command payload content into 'base64 -d'.
B.
Execute the command from a Windows VM.
Answers
B.
Execute the command from a Windows VM.
C.
Use a command console with administrator privileges to execute the code.
Answers
C.
Use a command console with administrator privileges to execute the code.
D.
Run the command as an unprivileged user from the analyst workstation.
Answers
D.
Run the command as an unprivileged user from the analyst workstation.
Suggested answer: A

Explanation:

The command in question involves an encoded PowerShell command, which is typically used by attackers to obfuscate malicious scripts. To decode and understand the payload, one would need to decode the base64 encoded string. This is why option A is the correct answer, as 'base64 -d' is a command used to decode data encoded with base64. This process will reveal the plaintext of the encoded command, which can then be analyzed to understand the actions that the attacker was attempting to perform. Option B is risky and not advised without a controlled and isolated environment. Option C is not safe because executing unknown or suspicious code with administrator privileges could cause harm to the system or network. Option D also poses a risk of executing potentially harmful code on an analyst's workstation.

asked 02/10/2024
Exam Prepping
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first