Analysis

  • max time kernel
    141s
  • max time network
    153s
  • 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-14-AgentTesla-1fcc29.exe

  • Size

    830KB

  • MD5

    4ae123b8dd8f2108225f3731453117cd

  • SHA1

    1fcc29ee7df95e89489baf06e86ec0cc39ee2b4f

  • SHA256

    2d2ec5676bd28d3f00ee24b10116feb9540e6bd015b86c8579a716a1237096c8

  • SHA512

    7432110fbb78c32bc429dc944ad864b6451227acd492d61e85145fa1ba117c3a020a0aa83ed3679bea705bddab76c1e0b42467c392f492cc3981bdafdfe84b1c

  • SSDEEP

    24576:kDEJtusmZ5rrQOG5NVcpIeY4wrPxeb/sw3EF99r:wCDmZS5rn4gPx632r

Malware Config

Extracted

Family

agenttesla

C2

https://api.telegram.org/bot6820629737:AAGJ8tOkoD9jFHkd_L1kG1ntQ1J6zLhFsMc/

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.

  • 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 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\231121-14-AgentTesla-1fcc29.exe
    "C:\Users\Admin\AppData\Local\Temp\231121-14-AgentTesla-1fcc29.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2132
    • 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-14-AgentTesla-1fcc29.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4564
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\NtYChUjWpBFq.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3964
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\NtYChUjWpBFq" /XML "C:\Users\Admin\AppData\Local\Temp\tmpD1C7.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:5104
    • C:\Users\Admin\AppData\Local\Temp\231121-14-AgentTesla-1fcc29.exe
      "C:\Users\Admin\AppData\Local\Temp\231121-14-AgentTesla-1fcc29.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2688

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    18KB

    MD5

    5cf8dff55030fed5d556cf80f5de4249

    SHA1

    8255380cd937c22692a79ac5171cc1562fd03771

    SHA256

    5ba71f95ec14928845c8a468a350a8bd08418bd3a3ad4c5d46b6c674a2b9bf62

    SHA512

    a547b983a2695e5ed0948462f25d9009eeac134f58e14ebf33b6712a1fa8fe3875c5ec1460852ebcb6a7a4ddefdeb72b869f60ce169ed9ac9f721f1a2bb181da

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_infba3bb.ngf.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    1KB

    MD5

    bf76745f65c42fc91dabcda8e57d5e49

    SHA1

    639a6bfbccd9410861662fa9ec58c84314db0533

    SHA256

    df0f1039acf07d48153bec0c0a8367586dacf670940974b49a16050097464175

    SHA512

    b926e1a18f565d3ad7913a97c86eb07b049a754e1bc0aff66c2c0fd1fc07dd8e850b31ff61e90364f35c4b8c0dab3dd3134172ee90230b3912660660f97ebb6e

  • memory/2132-8-0x0000000005780000-0x000000000578A000-memory.dmp

    Filesize

    40KB

  • memory/2132-4-0x00000000057C0000-0x00000000057D0000-memory.dmp

    Filesize

    64KB

  • memory/2132-5-0x00000000055E0000-0x00000000055EA000-memory.dmp

    Filesize

    40KB

  • memory/2132-6-0x0000000005960000-0x00000000059FC000-memory.dmp

    Filesize

    624KB

  • memory/2132-7-0x00000000056F0000-0x0000000005706000-memory.dmp

    Filesize

    88KB

  • memory/2132-3-0x0000000005530000-0x00000000055C2000-memory.dmp

    Filesize

    584KB

  • memory/2132-9-0x0000000006260000-0x00000000062DC000-memory.dmp

    Filesize

    496KB

  • memory/2132-50-0x0000000074C80000-0x0000000075430000-memory.dmp

    Filesize

    7.7MB

  • memory/2132-44-0x00000000057C0000-0x00000000057D0000-memory.dmp

    Filesize

    64KB

  • memory/2132-15-0x0000000074C80000-0x0000000075430000-memory.dmp

    Filesize

    7.7MB

  • memory/2132-0-0x0000000000A70000-0x0000000000B46000-memory.dmp

    Filesize

    856KB

  • memory/2132-2-0x0000000005BB0000-0x0000000006154000-memory.dmp

    Filesize

    5.6MB

  • memory/2132-1-0x0000000074C80000-0x0000000075430000-memory.dmp

    Filesize

    7.7MB

  • memory/2688-43-0x0000000000400000-0x0000000000442000-memory.dmp

    Filesize

    264KB

  • memory/2688-85-0x0000000006AC0000-0x0000000006B10000-memory.dmp

    Filesize

    320KB

  • memory/2688-96-0x0000000074C80000-0x0000000075430000-memory.dmp

    Filesize

    7.7MB

  • memory/2688-51-0x0000000005320000-0x0000000005330000-memory.dmp

    Filesize

    64KB

  • memory/2688-49-0x0000000074C80000-0x0000000075430000-memory.dmp

    Filesize

    7.7MB

  • memory/3964-30-0x0000000004630000-0x0000000004640000-memory.dmp

    Filesize

    64KB

  • memory/3964-26-0x0000000074C80000-0x0000000075430000-memory.dmp

    Filesize

    7.7MB

  • memory/3964-84-0x0000000006FE0000-0x0000000006FF1000-memory.dmp

    Filesize

    68KB

  • memory/3964-68-0x000000007F690000-0x000000007F6A0000-memory.dmp

    Filesize

    64KB

  • memory/3964-83-0x0000000007060000-0x00000000070F6000-memory.dmp

    Filesize

    600KB

  • memory/3964-94-0x0000000074C80000-0x0000000075430000-memory.dmp

    Filesize

    7.7MB

  • memory/3964-28-0x0000000004630000-0x0000000004640000-memory.dmp

    Filesize

    64KB

  • memory/3964-88-0x0000000007120000-0x000000000713A000-memory.dmp

    Filesize

    104KB

  • memory/3964-89-0x0000000007100000-0x0000000007108000-memory.dmp

    Filesize

    32KB

  • memory/3964-80-0x0000000007430000-0x0000000007AAA000-memory.dmp

    Filesize

    6.5MB

  • memory/3964-53-0x0000000006030000-0x000000000607C000-memory.dmp

    Filesize

    304KB

  • memory/3964-70-0x00000000754E0000-0x000000007552C000-memory.dmp

    Filesize

    304KB

  • memory/4564-17-0x0000000074C80000-0x0000000075430000-memory.dmp

    Filesize

    7.7MB

  • memory/4564-56-0x00000000074E0000-0x0000000007512000-memory.dmp

    Filesize

    200KB

  • memory/4564-57-0x00000000754E0000-0x000000007552C000-memory.dmp

    Filesize

    304KB

  • memory/4564-67-0x0000000006AE0000-0x0000000006AFE000-memory.dmp

    Filesize

    120KB

  • memory/4564-55-0x000000007F4A0000-0x000000007F4B0000-memory.dmp

    Filesize

    64KB

  • memory/4564-69-0x0000000007520000-0x00000000075C3000-memory.dmp

    Filesize

    652KB

  • memory/4564-54-0x0000000005070000-0x0000000005080000-memory.dmp

    Filesize

    64KB

  • memory/4564-81-0x0000000007820000-0x000000000783A000-memory.dmp

    Filesize

    104KB

  • memory/4564-52-0x0000000006510000-0x000000000652E000-memory.dmp

    Filesize

    120KB

  • memory/4564-82-0x0000000007890000-0x000000000789A000-memory.dmp

    Filesize

    40KB

  • memory/4564-42-0x0000000006110000-0x0000000006464000-memory.dmp

    Filesize

    3.3MB

  • memory/4564-31-0x0000000005070000-0x0000000005080000-memory.dmp

    Filesize

    64KB

  • memory/4564-29-0x0000000005EC0000-0x0000000005F26000-memory.dmp

    Filesize

    408KB

  • memory/4564-86-0x0000000007A50000-0x0000000007A5E000-memory.dmp

    Filesize

    56KB

  • memory/4564-87-0x0000000007A60000-0x0000000007A74000-memory.dmp

    Filesize

    80KB

  • memory/4564-27-0x0000000005E50000-0x0000000005EB6000-memory.dmp

    Filesize

    408KB

  • memory/4564-19-0x0000000005530000-0x0000000005552000-memory.dmp

    Filesize

    136KB

  • memory/4564-18-0x0000000005070000-0x0000000005080000-memory.dmp

    Filesize

    64KB

  • memory/4564-95-0x0000000074C80000-0x0000000075430000-memory.dmp

    Filesize

    7.7MB

  • memory/4564-16-0x00000000056B0000-0x0000000005CD8000-memory.dmp

    Filesize

    6.2MB

  • memory/4564-14-0x0000000002BD0000-0x0000000002C06000-memory.dmp

    Filesize

    216KB