Analysis

  • max time kernel
    147s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13/04/2024, 15:53

General

  • Target
    Draft Invoice.exe
  • Size 630KB
  • Sample240413-tbmfsaef44
  • SHA256 615f457d36ad1da20bd802ff15975732d9ebe71f5b4d540ef19c5ca3135fd863
  • 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 WinSCP keys stored on the system 2 TTPs

    Tries to access WinSCP stored sessions.

  • 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.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\Draft Invoice.exe
    "C:\Users\Admin\AppData\Local\Temp\Draft Invoice.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:32
    • 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\Draft Invoice.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2236
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\RHgYkIyZVdzw.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1528
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\RHgYkIyZVdzw" /XML "C:\Users\Admin\AppData\Local\Temp\tmp9337.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:5104
    • C:\Users\Admin\AppData\Local\Temp\Draft Invoice.exe
      "C:\Users\Admin\AppData\Local\Temp\Draft Invoice.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4724

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        Draft Invoice.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\Draft Invoice.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 9d50a219c7c43a2a7a10e631a4102f612c58e4e7035e4312c955fbc3772daf56
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_p4m01igd.com.ps1

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

        tmp9337.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp9337.tmp
        • Size 1KB
        • SHA256 7a44bddb9bdac08c5398c7c7a843f58a2a0be9034eb337b87ce4665656cd837d
        • MD5 SHA1 SHA512

        memory/32-0-0x0000000074580000-0x0000000074D30000-memory.dmp

        memory/32-6-0x00000000053C0000-0x00000000053D8000-memory.dmp

        memory/32-7-0x0000000005430000-0x0000000005438000-memory.dmp

        memory/32-8-0x0000000005440000-0x000000000544C000-memory.dmp

        memory/32-9-0x000000000BFC0000-0x000000000C042000-memory.dmp

        memory/32-10-0x000000000F660000-0x000000000F6FC000-memory.dmp

        memory/32-5-0x00000000052C0000-0x00000000052CA000-memory.dmp

        memory/32-4-0x0000000005470000-0x0000000005480000-memory.dmp

        memory/32-50-0x0000000074580000-0x0000000074D30000-memory.dmp

        memory/32-1-0x0000000000780000-0x0000000000824000-memory.dmp

        memory/32-35-0x0000000074580000-0x0000000074D30000-memory.dmp

        memory/32-2-0x00000000058C0000-0x0000000005E64000-memory.dmp

        memory/32-3-0x0000000005220000-0x00000000052B2000-memory.dmp

        memory/1528-22-0x0000000005460000-0x0000000005470000-memory.dmp

        memory/1528-21-0x0000000074580000-0x0000000074D30000-memory.dmp

        memory/1528-85-0x0000000007EE0000-0x0000000007F76000-memory.dmp

        memory/1528-30-0x00000000062B0000-0x0000000006316000-memory.dmp

        memory/1528-84-0x0000000007CD0000-0x0000000007CDA000-memory.dmp

        memory/1528-36-0x0000000005460000-0x0000000005470000-memory.dmp

        memory/1528-82-0x00000000082A0000-0x000000000891A000-memory.dmp

        memory/1528-89-0x0000000007FA0000-0x0000000007FBA000-memory.dmp

        memory/1528-71-0x000000007F820000-0x000000007F830000-memory.dmp

        memory/1528-54-0x0000000006ED0000-0x0000000006F1C000-memory.dmp

        memory/1528-70-0x0000000074DF0000-0x0000000074E3C000-memory.dmp

        memory/1528-94-0x0000000074580000-0x0000000074D30000-memory.dmp

        memory/1528-55-0x0000000005460000-0x0000000005470000-memory.dmp

        memory/2236-18-0x00000000055E0000-0x0000000005C08000-memory.dmp

        memory/2236-90-0x0000000007B70000-0x0000000007B78000-memory.dmp

        memory/2236-98-0x0000000074580000-0x0000000074D30000-memory.dmp

        memory/2236-56-0x0000000002B70000-0x0000000002B80000-memory.dmp

        memory/2236-57-0x000000007F930000-0x000000007F940000-memory.dmp

        memory/2236-58-0x0000000007730000-0x0000000007762000-memory.dmp

        memory/2236-59-0x0000000074DF0000-0x0000000074E3C000-memory.dmp

        memory/2236-15-0x0000000004F70000-0x0000000004FA6000-memory.dmp

        memory/2236-69-0x0000000006AA0000-0x0000000006ABE000-memory.dmp

        memory/2236-16-0x0000000074580000-0x0000000074D30000-memory.dmp

        memory/2236-81-0x0000000007770000-0x0000000007813000-memory.dmp

        memory/2236-37-0x0000000006030000-0x0000000006384000-memory.dmp

        memory/2236-83-0x0000000007850000-0x000000000786A000-memory.dmp

        memory/2236-24-0x0000000005E50000-0x0000000005EB6000-memory.dmp

        memory/2236-20-0x0000000005D80000-0x0000000005DA2000-memory.dmp

        memory/2236-86-0x0000000007A50000-0x0000000007A61000-memory.dmp

        memory/2236-87-0x0000000007A80000-0x0000000007A8E000-memory.dmp

        memory/2236-88-0x0000000007A90000-0x0000000007AA4000-memory.dmp

        memory/2236-19-0x0000000002B70000-0x0000000002B80000-memory.dmp

        memory/2236-52-0x0000000006550000-0x000000000656E000-memory.dmp

        memory/2236-17-0x0000000002B70000-0x0000000002B80000-memory.dmp

        memory/4724-93-0x00000000064D0000-0x0000000006520000-memory.dmp

        memory/4724-47-0x0000000000400000-0x0000000000440000-memory.dmp

        memory/4724-51-0x0000000074580000-0x0000000074D30000-memory.dmp

        memory/4724-53-0x0000000002E60000-0x0000000002E70000-memory.dmp

        memory/4724-99-0x0000000074580000-0x0000000074D30000-memory.dmp

        memory/4724-100-0x0000000002E60000-0x0000000002E70000-memory.dmp