General

  • Target

    45179fd28fc956620d273d4189756307a6ca686355e5106fff4480c602578b7d

  • Size

    345KB

  • Sample

    220521-dlssjsahhq

  • MD5

    3fe19e40ab780fc7192ce436feeb3fbc

  • SHA1

    515ca6e10d08f357902c5cbbc5d7d7238d508a39

  • SHA256

    45179fd28fc956620d273d4189756307a6ca686355e5106fff4480c602578b7d

  • SHA512

    059a742654b218a96fdb1f0aa678da1c7baff33141e02493cb29209c1a1ec7b9fe083c47b441ed2f0f26356858cf68c9a4f6d4a744792d45baf5416f3531f8e2

Malware Config

Extracted

Family

matiex

C2

https://api.telegram.org/bot1328029504:AAGKFzQ1tJdWqJzQg7lW0DK-JgG0_8hFEEk/sendMessage?chat_id=1072388187

Targets

    • Target

      DHL_AWB #1008936572891_pdf.exe

    • Size

      1.5MB

    • MD5

      183595e45c54758cd9adaeb3afe302e9

    • SHA1

      aa4e83e6080009a5aa03e29f74ed6a5f0a0b3f3a

    • SHA256

      b46bd25fca309781558509bdb4f408b085d83c74e71adc5de4eeb349bc8c4c7a

    • SHA512

      01b868664c430433720a10929aef909355a5487b6cbc2f21d27ac143a84bf440235585934ad50bc82e0ff1c7269fcc65fb89944a7d5b0c2e0719352b1c89211c

    • AgentTesla

      Agent Tesla is a remote access tool (RAT) written in visual basic.

    • Matiex

      Matiex is a keylogger and infostealer first seen in July 2020.

    • Matiex Main Payload

    • AgentTesla Payload

    • Executes dropped EXE

    • Checks computer location settings

      Looks up country code configured in the registry, likely geofence.

    • Drops startup file

    • Loads dropped DLL

    • Reads data files stored by FTP clients

      Tries to access configuration files associated with programs like FileZilla.

    • Reads user/profile data of local email clients

      Email clients store some user data on disk where infostealers will often target it.

    • Reads user/profile data of web browsers

      Infostealers often target stored browser data, which can include saved credentials etc.

    • Accesses Microsoft Outlook profiles

    • Adds Run key to start application

    • Looks up external IP address via web service

      Uses a legitimate IP lookup service to find the infected system's external IP.

    • Suspicious use of SetThreadContext

MITRE ATT&CK Matrix ATT&CK v6

Persistence

Registry Run Keys / Startup Folder

1
T1060

Defense Evasion

Modify Registry

2
T1112

Install Root Certificate

1
T1130

Credential Access

Credentials in Files

3
T1081

Discovery

Query Registry

1
T1012

System Information Discovery

2
T1082

Collection

Data from Local System

3
T1005

Email Collection

1
T1114

Tasks