
<https://sepses.org/resource/attack/attack-pattern--c898c4b5-bf36-4e6e-a4ad-5b8c4c13e35b> <http://purl.org/dc/terms/contributor> "Rick Cole, Mandiant" ;
	<http://purl.org/dc/terms/created> "2020-09-17T12:51:40.845+00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
	<http://purl.org/dc/terms/description> """Adversaries may hide malicious Visual Basic for Applications (VBA) payloads embedded within MS Office documents by replacing the VBA source code with benign data.(Citation: FireEye VBA stomp Feb 2020)

MS Office documents with embedded VBA content store source code inside of module streams. Each module stream has a <code>PerformanceCache</code> that stores a separate compiled version of the VBA source code known as p-code. The p-code is executed when the MS Office version specified in the <code>_VBA_PROJECT</code> stream (which contains the version-dependent description of the VBA project) matches the version of the host MS Office application.(Citation: Evil Clippy May 2019)(Citation: Microsoft _VBA_PROJECT Stream)

An adversary may hide malicious VBA code by overwriting the VBA source code location with zero’s, benign code, or random bytes while leaving the previously compiled malicious p-code. Tools that scan for malicious VBA source code may be bypassed as the unwanted code is hidden in the compiled p-code. If the VBA source code is removed, some tools might even think that there are no macros present. If there is a version match between the <code>_VBA_PROJECT</code> stream and host MS Office application, the p-code will be executed, otherwise the benign VBA source code will be decompressed and recompiled to p-code, thus removing malicious p-code and potentially bypassing dynamic analysis.(Citation: Walmart Roberts Oct 2018)(Citation: FireEye VBA stomp Feb 2020)(Citation: pcodedmp Bontchev)""" ;
	<http://purl.org/dc/terms/modified> "2026-05-12T15:12:00.716+00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
	<http://purl.org/dc/terms/title> "VBA Stomping" ;
	<http://purl.org/dc/terms/version> "2.0" ;
	<https://sepses.org/vocab/ref/attack#hasDomain> "enterprise-attack" ;
	<https://sepses.org/vocab/ref/attack#isSubtechnique> true ;
	<https://sepses.org/vocab/ref/attack#platform> "Linux", "macOS", "Windows" ;
	a <https://sepses.org/vocab/ref/attack#Technique> .

