QuestionQ35Verified/Command and Control (C2) Communication and EvasionCopy linkReport a problemAsk AstroTutorSave questionWhat is the purpose of the following command? nc.exe -I -p 2222 -e cmd.exeAIt is used to start a persistent listener linked to cmd.exe on port 2222 TCPBIt is used to start a listener linked to cmd.exe on port 2222 TCPCIt is used to start a listener linked to cmd.exe on port 2222 UDPDIt is used to start a persistent listener linked to cmd.exe on port 2222 UDPShow AnswerAnswerExplanationNetcat listens on local TCP port 2222 and attaches cmd.exe to an incoming connection. TCP is the default protocol when no UDP option is specified, and the command does not include a persistent-listener option.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion