GCIH · Question #817
An analyst believes that an attacker used the built-in tool MSBuild to compile msfvenom code. What evidence can the analyst look for to test this theory?
The correct answer is B. Altered copies of MSBuild on the filesystem. When MSBuild.exe is abused as a LOLBin, attackers often copy the binary to non-standard filesystem locations, leaving forensic artifacts that analysts can identify.
Question
An analyst believes that an attacker used the built-in tool MSBuild to compile msfvenom code. What evidence can the analyst look for to test this theory?
Options
- AProgram execution from hidden directories
- BAltered copies of MSBuild on the filesystem
- CEncrypted TCP connections
- DDownloading of a shellcode wrapper
How the community answered
(40 responses)- A28% (11)
- B53% (21)
- C13% (5)
- D8% (3)
Why each option
When MSBuild.exe is abused as a LOLBin, attackers often copy the binary to non-standard filesystem locations, leaving forensic artifacts that analysts can identify.
MSBuild abuse does not require hidden directories - the tool compiles inline code directly from a project file, and execution from hidden directories is a separate technique not specific to MSBuild.
Attackers frequently copy MSBuild.exe to non-standard directories such as temp folders or user profile paths to evade application whitelisting that only monitors the original binary location; finding copies of MSBuild.exe outside its default path (C:\Windows\Microsoft.NET\Framework\) is direct forensic evidence of LOLBin abuse and confirms the tool was staged for malicious use.
Encrypted TCP connections are artifacts of post-exploitation C2 activity that may follow MSBuild execution, but they are not evidence of the MSBuild compilation step itself.
Downloading a shellcode wrapper describes attacker preparation activity before using MSBuild, not forensic evidence remaining on the system after the tool was used to compile code.
Concept tested: MSBuild LOLBin filesystem forensic evidence
Source: https://attack.mitre.org/techniques/T1127/001/
Topics
Community Discussion
No community discussion yet for this question.