Analysis

  • max time kernel
    131s
  • max time network
    132s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28/09/2024, 06:24

General

  • Target
    Balance payment.exe
  • Size 1.4MB
  • Sample240928-g52rcatdnc
  • SHA256 07c65671acce67cfa5a214ce2285563f6b3eaeadd5afbcd21bcaa42a536f7ba6
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

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

  • Command and Scripting Interpreter: PowerShell 1 TTPs 4 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Checks computer location settings 2 TTPs 2 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 3 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 2 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Scheduled Task/Job: Scheduled Task 1 TTPs 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 34 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Balance payment.exe
    "C:\Users\Admin\AppData\Local\Temp\Balance payment.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4888
    • 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\Balance payment.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1196
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\OkbpwNyH.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3800
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\OkbpwNyH" /XML "C:\Users\Admin\AppData\Local\Temp\tmp9460.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:4976
    • C:\Users\Admin\AppData\Local\Temp\Balance payment.exe
      "C:\Users\Admin\AppData\Local\Temp\Balance payment.exe"
      2⤵
      • Checks computer location settings
      • Suspicious use of SetThreadContext
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:1508
      • 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\Balance payment.exe"
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3432
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\wlBldyvi.exe"
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2392
      • C:\Windows\SysWOW64\schtasks.exe
        "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\wlBldyvi" /XML "C:\Users\Admin\AppData\Local\Temp\tmpCAF1.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:3648
      • C:\Users\Admin\AppData\Local\Temp\Balance payment.exe
        "C:\Users\Admin\AppData\Local\Temp\Balance payment.exe"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4464

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        Balance payment.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\Balance payment.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 7aa11028f96739e2b47ac3ad9aa8a0e6b37f6bbc9da587797a5389671e078462
        • MD5 SHA1 SHA512 SSDEEP

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_qam0fgom.xbr.ps1

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

        tmp9460.tmp

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

        tmpCAF1.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpCAF1.tmp
        • Size 1KB
        • SHA256 57456e5dfcca548eb2855729bfeb892c52b7ab36fe424205daa0f3840fa2f394
        • MD5 SHA1 SHA512

        wlBldyvi.exe

        • Path C:\Users\Admin\AppData\Roaming\wlBldyvi.exe
        • Size 1.4MB
        • SHA256 07c65671acce67cfa5a214ce2285563f6b3eaeadd5afbcd21bcaa42a536f7ba6
        • MD5 SHA1 SHA512 SSDEEP

        memory/1196-91-0x0000000074C00000-0x00000000753B0000-memory.dmp

        memory/1196-21-0x0000000005A40000-0x0000000005A62000-memory.dmp

        memory/1196-83-0x0000000007EA0000-0x0000000007EB4000-memory.dmp

        memory/1196-78-0x0000000007C60000-0x0000000007C7A000-memory.dmp

        memory/1196-16-0x0000000002FD0000-0x0000000003006000-memory.dmp

        memory/1196-17-0x0000000074C00000-0x00000000753B0000-memory.dmp

        memory/1196-19-0x0000000074C00000-0x00000000753B0000-memory.dmp

        memory/1196-18-0x0000000005A80000-0x00000000060A8000-memory.dmp

        memory/1196-20-0x0000000074C00000-0x00000000753B0000-memory.dmp

        memory/1196-50-0x0000000006930000-0x000000000694E000-memory.dmp

        memory/1196-76-0x0000000007B80000-0x0000000007C23000-memory.dmp

        memory/1196-29-0x00000000062D0000-0x0000000006336000-memory.dmp

        memory/1196-54-0x0000000007940000-0x0000000007972000-memory.dmp

        memory/1196-55-0x0000000075490000-0x00000000754DC000-memory.dmp

        memory/1196-37-0x0000000006440000-0x0000000006794000-memory.dmp

        memory/1196-74-0x0000000007900000-0x000000000791E000-memory.dmp

        memory/1196-84-0x0000000007FA0000-0x0000000007FBA000-memory.dmp

        memory/1196-81-0x0000000007E60000-0x0000000007E71000-memory.dmp

        memory/1196-28-0x0000000006260000-0x00000000062C6000-memory.dmp

        memory/1196-51-0x0000000006E70000-0x0000000006EBC000-memory.dmp

        memory/1508-52-0x0000000006790000-0x0000000006830000-memory.dmp

        memory/1508-93-0x0000000006B60000-0x0000000006BE2000-memory.dmp

        memory/1508-36-0x0000000000400000-0x00000000004D4000-memory.dmp

        memory/1508-53-0x0000000005220000-0x0000000005230000-memory.dmp

        memory/2392-121-0x0000000005D80000-0x0000000005DCC000-memory.dmp

        memory/2392-122-0x0000000071370000-0x00000000713BC000-memory.dmp

        memory/2392-132-0x0000000006EF0000-0x0000000006F93000-memory.dmp

        memory/2392-143-0x0000000007250000-0x0000000007261000-memory.dmp

        memory/2392-144-0x0000000007280000-0x0000000007294000-memory.dmp

        memory/3432-119-0x0000000005F90000-0x00000000062E4000-memory.dmp

        memory/3432-133-0x0000000071370000-0x00000000713BC000-memory.dmp

        memory/3800-35-0x0000000074C00000-0x00000000753B0000-memory.dmp

        memory/3800-79-0x00000000070E0000-0x00000000070EA000-memory.dmp

        memory/3800-82-0x00000000072A0000-0x00000000072AE000-memory.dmp

        memory/3800-77-0x00000000076C0000-0x0000000007D3A000-memory.dmp

        memory/3800-56-0x0000000075490000-0x00000000754DC000-memory.dmp

        memory/3800-85-0x0000000007390000-0x0000000007398000-memory.dmp

        memory/3800-80-0x00000000072F0000-0x0000000007386000-memory.dmp

        memory/3800-92-0x0000000074C00000-0x00000000753B0000-memory.dmp

        memory/3800-34-0x0000000074C00000-0x00000000753B0000-memory.dmp

        memory/3800-39-0x0000000074C00000-0x00000000753B0000-memory.dmp

        memory/4464-108-0x0000000000400000-0x0000000000440000-memory.dmp

        memory/4464-148-0x0000000006550000-0x00000000065A0000-memory.dmp

        memory/4888-6-0x0000000006580000-0x00000000066AE000-memory.dmp

        memory/4888-3-0x0000000004F20000-0x0000000004FB2000-memory.dmp

        memory/4888-2-0x00000000054D0000-0x0000000005A74000-memory.dmp

        memory/4888-4-0x0000000004E90000-0x0000000004E9A000-memory.dmp

        memory/4888-40-0x0000000074C00000-0x00000000753B0000-memory.dmp

        memory/4888-7-0x0000000005120000-0x0000000005130000-memory.dmp

        memory/4888-9-0x0000000074C00000-0x00000000753B0000-memory.dmp

        memory/4888-5-0x0000000074C00000-0x00000000753B0000-memory.dmp

        memory/4888-8-0x0000000074C0E000-0x0000000074C0F000-memory.dmp

        memory/4888-11-0x000000000A290000-0x000000000A32C000-memory.dmp

        memory/4888-10-0x0000000006D00000-0x0000000006E16000-memory.dmp

        memory/4888-1-0x0000000000340000-0x00000000004AE000-memory.dmp

        memory/4888-0-0x0000000074C0E000-0x0000000074C0F000-memory.dmp