exam questions

Exam CS0-002 All Questions

View all questions & answers for the CS0-002 exam

Exam CS0-002 topic 1 question 336 discussion

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

A security analyst found the following entry in a server log:



The analyst executed netstat and received the following output:



Which of the following lines in the output confirms this was successfully executed by the server?

  • A. 1
  • B. 2
  • C. 3
  • D. 4
  • E. 5
  • F. 6
  • G. 7
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

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
Cookieman
Highly Voted 2 years, 3 months ago
Definitely line 5. The provided command is a Python one-liner that establishes a reverse shell connection to a remote host by connecting to IP address 167772161 (which is equivalent to IP address 10.0.0.1) on port 1234. It then redirects the standard input, output, and error (stdin, stdout, stderr) of the current process to the socket, effectively allowing the attacker to execute commands
upvoted 10 times
2Fish
2 years, 3 months ago
Agreed. E, and only because I matched up the port numbers.
upvoted 4 times
...
...
novolyus
Most Recent 1 year, 7 months ago
Selected Answer: E
The important thing here is that revealed answer is correct.
upvoted 1 times
...
kill_chain
1 year, 10 months ago
Selected Answer: E
Dst port: 1234
upvoted 1 times
...
AAASSAA
2 years ago
Selected Answer: E
You can use this web site to convert Decimal to IP https://www.browserling.com/tools/dec-to-ip
upvoted 3 times
...
[Removed]
2 years, 3 months ago
Selected Answer: E
EEEEEEEEEEEEEE
upvoted 1 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 ...