Analysis

  • max time kernel
    126s
  • max time network
    157s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231020-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231020-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-11-2023 02:01

General

  • Target

    231121-10-AgentTesla-a77eec.exe

  • Size

    682KB

  • MD5

    c071299e1ba6c56f89ed021f525fc862

  • SHA1

    a77eec03ccb9f7531d294215afe1394f3622bc66

  • SHA256

    4d89869a7e7a654cb5ffd4a30465332edfe478d0d00d841145ef082bee50e632

  • SHA512

    62d4c5fe00270bb7ab4b4446506b701128b86aa6aa371f63b95e1254221bcc73ccadd80194d1533f885a3cd1b5eb915ca09243e36a1612df68faf6961d81c889

  • SSDEEP

    12288:TeQXucvCeAeQseQWVmKDBBHvpKstZ5QReF1FIWJtr8XQrDwdzDwVUubu8d:Te4ucqeAeterLVBPpKeZ5QKIWjcQnMDt

Malware Config

Extracted

Credentials

  • Protocol:
    smtp
  • Host:
    mail.premiermotor.com.bn
  • Port:
    587
  • Username:
    [email protected]
  • Password:
    e3Q9hj?1

Extracted

Family

agenttesla

Credentials

Signatures

  • AgentTesla

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

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Reads data files stored by FTP clients 2 TTPs

    Tries to access configuration files associated with programs like FileZilla.

  • Reads user/profile data of local email clients 2 TTPs

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

  • Reads user/profile data of web browsers 2 TTPs

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

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Looks up external IP address via web service 2 IoCs

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

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\231121-10-AgentTesla-a77eec.exe
    "C:\Users\Admin\AppData\Local\Temp\231121-10-AgentTesla-a77eec.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4968
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\231121-10-AgentTesla-a77eec.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1464
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\PXnHDXIN.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:792
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\PXnHDXIN" /XML "C:\Users\Admin\AppData\Local\Temp\tmpDBC9.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1936
    • C:\Users\Admin\AppData\Local\Temp\231121-10-AgentTesla-a77eec.exe
      "C:\Users\Admin\AppData\Local\Temp\231121-10-AgentTesla-a77eec.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4444

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log

    Filesize

    2KB

    MD5

    968cb9309758126772781b83adb8a28f

    SHA1

    8da30e71accf186b2ba11da1797cf67f8f78b47c

    SHA256

    92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a

    SHA512

    4bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    18KB

    MD5

    fd71bed5df7ee5087cf6bb4e0e268a73

    SHA1

    78a4ba84cbb6ed040316707eac8150a249441929

    SHA256

    073f444587488c3bc5da2aff703318b69bcf4e35e1e64a3c41ce0a38f3927907

    SHA512

    3a4004120aa7b6efeca79a84ce3976e6b63db31262c2365391588c5ecd399c345420d47ba31a2ceeb91db21b47fde7eb6f608342eef7febc93c48d76fbace2a0

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_jyli2evx.oa2.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Local\Temp\tmpDBC9.tmp

    Filesize

    1KB

    MD5

    adb76d5e51f5c09da58a930a43988346

    SHA1

    d208cbfc28d83e8e614974b40260c3188cec82bb

    SHA256

    95f2d873ed129e64b380071ee6de8d9d7e017e20576a2519a359a2299ffbd7de

    SHA512

    d4becb6ae40a99a9cad5816feda04c2334fe1ee861e8e6a9840b78081139aa4dae649bf3694ee839ac1de56bd29e7fabd61b3986383e8dcbb9d4568a2517bd56

  • memory/792-59-0x000000007FD60000-0x000000007FD70000-memory.dmp

    Filesize

    64KB

  • memory/792-56-0x0000000004E70000-0x0000000004E80000-memory.dmp

    Filesize

    64KB

  • memory/792-85-0x0000000007A70000-0x0000000007B06000-memory.dmp

    Filesize

    600KB

  • memory/792-84-0x0000000007860000-0x000000000786A000-memory.dmp

    Filesize

    40KB

  • memory/792-89-0x0000000007A30000-0x0000000007A44000-memory.dmp

    Filesize

    80KB

  • memory/792-61-0x00000000711F0000-0x000000007123C000-memory.dmp

    Filesize

    304KB

  • memory/792-71-0x0000000006A40000-0x0000000006A5E000-memory.dmp

    Filesize

    120KB

  • memory/792-86-0x00000000079F0000-0x0000000007A01000-memory.dmp

    Filesize

    68KB

  • memory/792-54-0x0000000006480000-0x00000000064CC000-memory.dmp

    Filesize

    304KB

  • memory/792-53-0x0000000006450000-0x000000000646E000-memory.dmp

    Filesize

    120KB

  • memory/792-97-0x0000000074B20000-0x00000000752D0000-memory.dmp

    Filesize

    7.7MB

  • memory/792-29-0x0000000005DD0000-0x0000000005E36000-memory.dmp

    Filesize

    408KB

  • memory/792-20-0x0000000004E70000-0x0000000004E80000-memory.dmp

    Filesize

    64KB

  • memory/792-21-0x0000000004E70000-0x0000000004E80000-memory.dmp

    Filesize

    64KB

  • memory/792-24-0x0000000074B20000-0x00000000752D0000-memory.dmp

    Filesize

    7.7MB

  • memory/1464-27-0x0000000005690000-0x00000000056B2000-memory.dmp

    Filesize

    136KB

  • memory/1464-88-0x0000000007BA0000-0x0000000007BAE000-memory.dmp

    Filesize

    56KB

  • memory/1464-22-0x0000000002D40000-0x0000000002D50000-memory.dmp

    Filesize

    64KB

  • memory/1464-98-0x0000000074B20000-0x00000000752D0000-memory.dmp

    Filesize

    7.7MB

  • memory/1464-19-0x0000000002D40000-0x0000000002D50000-memory.dmp

    Filesize

    64KB

  • memory/1464-28-0x0000000005E60000-0x0000000005EC6000-memory.dmp

    Filesize

    408KB

  • memory/1464-18-0x0000000074B20000-0x00000000752D0000-memory.dmp

    Filesize

    7.7MB

  • memory/1464-91-0x0000000007C90000-0x0000000007C98000-memory.dmp

    Filesize

    32KB

  • memory/1464-38-0x0000000006040000-0x0000000006394000-memory.dmp

    Filesize

    3.3MB

  • memory/1464-90-0x0000000007CB0000-0x0000000007CCA000-memory.dmp

    Filesize

    104KB

  • memory/1464-83-0x0000000007970000-0x000000000798A000-memory.dmp

    Filesize

    104KB

  • memory/1464-82-0x0000000007FC0000-0x000000000863A000-memory.dmp

    Filesize

    6.5MB

  • memory/1464-17-0x0000000005780000-0x0000000005DA8000-memory.dmp

    Filesize

    6.2MB

  • memory/1464-57-0x000000007F890000-0x000000007F8A0000-memory.dmp

    Filesize

    64KB

  • memory/1464-15-0x0000000002D80000-0x0000000002DB6000-memory.dmp

    Filesize

    216KB

  • memory/1464-55-0x0000000002D40000-0x0000000002D50000-memory.dmp

    Filesize

    64KB

  • memory/1464-58-0x0000000006C40000-0x0000000006C72000-memory.dmp

    Filesize

    200KB

  • memory/1464-81-0x0000000007680000-0x0000000007723000-memory.dmp

    Filesize

    652KB

  • memory/1464-60-0x00000000711F0000-0x000000007123C000-memory.dmp

    Filesize

    304KB

  • memory/4444-31-0x0000000074B20000-0x00000000752D0000-memory.dmp

    Filesize

    7.7MB

  • memory/4444-101-0x0000000005010000-0x0000000005020000-memory.dmp

    Filesize

    64KB

  • memory/4444-100-0x0000000074B20000-0x00000000752D0000-memory.dmp

    Filesize

    7.7MB

  • memory/4444-99-0x0000000006560000-0x00000000065B0000-memory.dmp

    Filesize

    320KB

  • memory/4444-48-0x0000000005010000-0x0000000005020000-memory.dmp

    Filesize

    64KB

  • memory/4444-26-0x0000000000400000-0x0000000000442000-memory.dmp

    Filesize

    264KB

  • memory/4968-4-0x0000000005C30000-0x0000000005C40000-memory.dmp

    Filesize

    64KB

  • memory/4968-3-0x0000000005A00000-0x0000000005A92000-memory.dmp

    Filesize

    584KB

  • memory/4968-5-0x00000000059F0000-0x00000000059FA000-memory.dmp

    Filesize

    40KB

  • memory/4968-23-0x0000000005C30000-0x0000000005C40000-memory.dmp

    Filesize

    64KB

  • memory/4968-9-0x0000000006CE0000-0x0000000006D5C000-memory.dmp

    Filesize

    496KB

  • memory/4968-7-0x0000000006010000-0x0000000006018000-memory.dmp

    Filesize

    32KB

  • memory/4968-37-0x0000000074B20000-0x00000000752D0000-memory.dmp

    Filesize

    7.7MB

  • memory/4968-6-0x0000000005DD0000-0x0000000005DE0000-memory.dmp

    Filesize

    64KB

  • memory/4968-2-0x00000000060B0000-0x0000000006654000-memory.dmp

    Filesize

    5.6MB

  • memory/4968-1-0x0000000074B20000-0x00000000752D0000-memory.dmp

    Filesize

    7.7MB

  • memory/4968-0-0x0000000000F50000-0x0000000001000000-memory.dmp

    Filesize

    704KB

  • memory/4968-16-0x0000000074B20000-0x00000000752D0000-memory.dmp

    Filesize

    7.7MB

  • memory/4968-8-0x0000000006020000-0x000000000602A000-memory.dmp

    Filesize

    40KB

  • memory/4968-10-0x0000000009420000-0x00000000094BC000-memory.dmp

    Filesize

    624KB