Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04/01/2023, 19:02

General

  • Target
    c5e78e9d7fbac0572d8b276968799bbced619cc7.exe
  • Size 1.1MB
  • Sample230104-xpvk4ahc75
  • SHA256 7f7322dd08a3f54e840b31b0c1c01a65676701cb15ed97ea3cdb6b0edf5402db
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot5590596148:AAFELAezvK26mOp3KWIpAgxEVzQMQ56n6zg/

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
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • 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 SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c5e78e9d7fbac0572d8b276968799bbced619cc7.exe
    "C:\Users\Admin\AppData\Local\Temp\c5e78e9d7fbac0572d8b276968799bbced619cc7.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2268
    • 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\c5e78e9d7fbac0572d8b276968799bbced619cc7.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1780
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\YPAKilfGihHhm.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2152
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\YPAKilfGihHhm" /XML "C:\Users\Admin\AppData\Local\Temp\tmp1E75.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1468
    • C:\Users\Admin\AppData\Local\Temp\c5e78e9d7fbac0572d8b276968799bbced619cc7.exe
      "C:\Users\Admin\AppData\Local\Temp\c5e78e9d7fbac0572d8b276968799bbced619cc7.exe"
      2⤵
        PID:3976
      • C:\Users\Admin\AppData\Local\Temp\c5e78e9d7fbac0572d8b276968799bbced619cc7.exe
        "C:\Users\Admin\AppData\Local\Temp\c5e78e9d7fbac0572d8b276968799bbced619cc7.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • Adds Run key to start application
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • outlook_office_path
        • outlook_win_path
        PID:3220

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          c5e78e9d7fbac0572d8b276968799bbced619cc7.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\c5e78e9d7fbac0572d8b276968799bbced619cc7.exe.log
          • Size 1KB
          • SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
          • MD5 SHA1 SHA512

          powershell.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
          • Size 2KB
          • SHA256 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 ea3625e6f68c7922809b998563f2525f6d738ca45f438d6bf3b2d6e9d782693d
          • MD5 SHA1 SHA512 SSDEEP

          tmp1E75.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp1E75.tmp
          • Size 1KB
          • SHA256 e42da641c31bd57c1edb1b1c5272e00c6977d600caddaca6e216239523d4d84e
          • MD5 SHA1 SHA512

          memory/1780-156-0x0000000007510000-0x000000000752A000-memory.dmp

          memory/1780-150-0x0000000006280000-0x000000000629E000-memory.dmp

          memory/1780-140-0x0000000004C30000-0x0000000004C66000-memory.dmp

          memory/1780-162-0x0000000007830000-0x0000000007838000-memory.dmp

          memory/1780-158-0x0000000007790000-0x0000000007826000-memory.dmp

          memory/1780-143-0x0000000005120000-0x0000000005142000-memory.dmp

          memory/1780-144-0x0000000005AF0000-0x0000000005B56000-memory.dmp

          memory/1780-145-0x0000000005B60000-0x0000000005BC6000-memory.dmp

          memory/1780-154-0x0000000005D30000-0x0000000005D4E000-memory.dmp

          memory/1780-152-0x00000000712A0000-0x00000000712EC000-memory.dmp

          memory/2152-160-0x0000000007C30000-0x0000000007C3E000-memory.dmp

          memory/2152-161-0x0000000007D40000-0x0000000007D5A000-memory.dmp

          memory/2152-151-0x0000000007680000-0x00000000076B2000-memory.dmp

          memory/2152-153-0x00000000712A0000-0x00000000712EC000-memory.dmp

          memory/2152-141-0x0000000005720000-0x0000000005D48000-memory.dmp

          memory/2152-157-0x0000000007A70000-0x0000000007A7A000-memory.dmp

          memory/2152-155-0x0000000008050000-0x00000000086CA000-memory.dmp

          memory/2268-135-0x0000000005420000-0x000000000542A000-memory.dmp

          memory/2268-132-0x0000000000980000-0x0000000000A94000-memory.dmp

          memory/2268-136-0x0000000007BD0000-0x0000000007C6C000-memory.dmp

          memory/2268-134-0x0000000005470000-0x0000000005502000-memory.dmp

          memory/2268-133-0x0000000005AD0000-0x0000000006074000-memory.dmp

          memory/3220-159-0x0000000006AA0000-0x0000000006AF0000-memory.dmp

          memory/3220-148-0x0000000000400000-0x0000000000430000-memory.dmp