Analysis

  • max time kernel
    83s
  • max time network
    90s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230703-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230703-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06/07/2023, 08:32

General

  • Target
    29CB21AF.exe
  • Size 762KB
  • Sample230706-ke97kshf48
  • SHA256 940452c26b4fd683f1c88746b751d4299e9b8c3fe25aa62168eca31924c17592
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

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.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • 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 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\29CB21AF.exe
    "C:\Users\Admin\AppData\Local\Temp\29CB21AF.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:4092
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\PemjgzKgZspn.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4268
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\PemjgzKgZspn" /XML "C:\Users\Admin\AppData\Local\Temp\tmp51D4.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:3700
    • C:\Users\Admin\AppData\Local\Temp\29CB21AF.exe
      "C:\Users\Admin\AppData\Local\Temp\29CB21AF.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:4584

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_gz3z0kba.u0d.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_gz3z0kba.u0d.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        tmp51D4.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp51D4.tmp
        • Size 1KB
        • SHA256 67945306462d5c536c07f9cfbfa666f34b1c13fbdcc1c013d0a3a4fc5a3d9354
        • MD5 SHA1 SHA512

        memory/4092-134-0x0000000005DE0000-0x0000000006384000-memory.dmp

        memory/4092-135-0x0000000005910000-0x00000000059A2000-memory.dmp

        memory/4092-136-0x0000000005A00000-0x0000000005A0A000-memory.dmp

        memory/4092-137-0x0000000005A60000-0x0000000005A70000-memory.dmp

        memory/4092-138-0x0000000005A60000-0x0000000005A70000-memory.dmp

        memory/4092-139-0x0000000009D00000-0x0000000009D9C000-memory.dmp

        memory/4092-133-0x0000000000FD0000-0x0000000001094000-memory.dmp

        memory/4268-162-0x00000000021F0000-0x0000000002200000-memory.dmp

        memory/4268-177-0x00000000060B0000-0x00000000060CE000-memory.dmp

        memory/4268-187-0x0000000007140000-0x0000000007148000-memory.dmp

        memory/4268-150-0x0000000004C50000-0x0000000004C72000-memory.dmp

        memory/4268-186-0x0000000007160000-0x000000000717A000-memory.dmp

        memory/4268-156-0x0000000005490000-0x00000000054F6000-memory.dmp

        memory/4268-185-0x0000000007050000-0x000000000705E000-memory.dmp

        memory/4268-144-0x0000000002200000-0x0000000002236000-memory.dmp

        memory/4268-163-0x00000000021F0000-0x0000000002200000-memory.dmp

        memory/4268-164-0x0000000005730000-0x000000000574E000-memory.dmp

        memory/4268-165-0x00000000021F0000-0x0000000002200000-memory.dmp

        memory/4268-166-0x00000000060D0000-0x0000000006102000-memory.dmp

        memory/4268-167-0x00000000700A0000-0x00000000700EC000-memory.dmp

        memory/4268-147-0x0000000004CF0000-0x0000000005318000-memory.dmp

        memory/4268-184-0x00000000070A0000-0x0000000007136000-memory.dmp

        memory/4268-180-0x000000007F770000-0x000000007F780000-memory.dmp

        memory/4268-183-0x0000000006E90000-0x0000000006E9A000-memory.dmp

        memory/4268-181-0x0000000007450000-0x0000000007ACA000-memory.dmp

        memory/4268-182-0x0000000006E10000-0x0000000006E2A000-memory.dmp

        memory/4584-179-0x0000000006940000-0x0000000006B02000-memory.dmp

        memory/4584-178-0x0000000006720000-0x0000000006770000-memory.dmp

        memory/4584-161-0x0000000005810000-0x0000000005820000-memory.dmp

        memory/4584-146-0x0000000000400000-0x0000000000430000-memory.dmp

        memory/4584-149-0x0000000005820000-0x0000000005886000-memory.dmp

        memory/4584-190-0x0000000005810000-0x0000000005820000-memory.dmp