Hancitor — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 aaefc2cfeddf88bb…

MALICIOUS

Office (OOXML) / .XLSX

303.1 KB Created: 2021-10-21 16:10:55 UTC Authoring application: Microsoft Excel 14.0300
MD5: 035f14fe127bb8a680290343fe205ba6 SHA-1: 93e4f3fa597d9a554ed693cefbc1c95aa9c57cc5 SHA-256: aaefc2cfeddf88bb9428914fc098bae07371e5f862f3e03ac1edc3aa4ac07a8c
122 Risk Score

Malware Insights

Hancitor · confidence 95%

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

The file is identified as malicious by ClamAV with the signature Xls.Downloader.Hancitor03222-9941794-0, indicating it belongs to the Hancitor family. Static analysis revealed the presence of Excel 4.0 macros, a common delivery mechanism for Hancitor. These macros are likely responsible for downloading and executing a second-stage payload.

Heuristics 3

  • Excel 4.0 macro sheet (1 sheet(s)) critical OOXML_XLM_MACROSHEET
    Spreadsheet contains an Excel 4.0 (XLM) macro sheet — XLM was a major Office malware vector during 2020-2022 and evaded many VBA-focused controls before Microsoft tightened XLM defaults. Even legitimate XLM use is rare in modern workbooks. The macro sheet is stored as XLSB/BIFF12 binary content, which many XML-only OOXML scanners miss.
  • ClamAV: Xls.Downloader.Hancitor03222-9941794-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Hancitor03222-9941794-0
  • 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://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/xap/1.0/
    • http://ns.adobe.com/photoshop/1.0/
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#
    • http://ns.adobe.com/tiff/1.0/
    • http://ns.adobe.com/exif/1.0/

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_sheet_00.bin
a49d86ebf8a4d22ea35ce7430b4a326f8c542ed978474abb0d999c61aea32ea2
xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/sheet1.bin 4783 bytes