Malicious Office (OLE) / .DOC — malware analysis report

Static analysis result for SHA-256 7b2b562044f44619…

MALICIOUS

Office (OLE) / .DOC

385.5 KB Created: 2006-08-09 21:09:00 Authoring application: Microsoft Word 10.0
MD5: 56f4eb7ce8f59f74eaf1a75e28e2cc30 SHA-1: 433d5f5f209bf9766500bed7758f5b92a287ba7c SHA-256: 7b2b562044f44619b4697dcea6ebe95b70b81d784735ea3e76b57da8b01b5aa1
420 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder T1059 Command and Scripting Interpreter T1204.002 Malicious File

The sample contains a VBA macro with an AutoOpen subroutine that executes upon opening the document. This macro uses WScript.Shell to write a registry key 'HKLM\Software\Microsoft\Windows\CurrentVersion\Run\Lovestar' pointing to 'c:\dbpay.bat', establishing persistence. It also creates a file 'C:\lovestar.doc' and attempts to write content to 'c:\drop.nec', likely to download and execute a second-stage payload.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • ClamAV: Win.Worm.Godog-4 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Worm.Godog-4
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • 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.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
15db200c9ef9146e29b630f043f4b59c9d07c10faca21cd240edb4881edb3e2d
vba-macro oletools.olevba.extract_macros (decoded VBA source) 198988 bytes
Detection
ClamAV: Win.Worm.Godog-4
Obfuscation or payload: unlikely