Analysis

  • max time kernel
    148s
  • max time network
    124s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240419-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/05/2024, 09:05

General

  • Target
    ET2431000075 & ET2431000076.exe
  • Size 763KB
  • Sample240508-k16raafd44
  • SHA256 09f202dbceb944c631fc597c7b929d3885d3a44faa9d0f8d332d13d593a9ca84
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.magnaprocessing.com

  • Port

    587

  • Password

    Hookit6278

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 2 IoCs

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

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\ET2431000075 & ET2431000076.exe
    "C:\Users\Admin\AppData\Local\Temp\ET2431000075 & ET2431000076.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2960
    • 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\ET2431000075 & ET2431000076.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2072
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\mkfkrlJJ.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2428
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\mkfkrlJJ" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6801.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4528
    • C:\Users\Admin\AppData\Local\Temp\ET2431000075 & ET2431000076.exe
      "C:\Users\Admin\AppData\Local\Temp\ET2431000075 & ET2431000076.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1128

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_kdbhk15n.vdl.ps1

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

        tmp6801.tmp

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

        memory/1128-79-0x0000000006B70000-0x0000000006BC0000-memory.dmp

        memory/1128-28-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2072-22-0x00000000061B0000-0x0000000006216000-memory.dmp

        memory/2072-21-0x0000000006010000-0x0000000006032000-memory.dmp

        memory/2072-25-0x0000000006290000-0x00000000065E4000-memory.dmp

        memory/2072-49-0x0000000006E20000-0x0000000006E6C000-memory.dmp

        memory/2072-14-0x0000000002FC0000-0x0000000002FF6000-memory.dmp

        memory/2072-15-0x00000000749D0000-0x0000000075180000-memory.dmp

        memory/2072-16-0x00000000059E0000-0x0000000006008000-memory.dmp

        memory/2072-17-0x00000000749D0000-0x0000000075180000-memory.dmp

        memory/2072-18-0x00000000749D0000-0x0000000075180000-memory.dmp

        memory/2072-48-0x0000000006880000-0x000000000689E000-memory.dmp

        memory/2072-52-0x00000000749D0000-0x0000000075180000-memory.dmp

        memory/2072-23-0x0000000006220000-0x0000000006286000-memory.dmp

        memory/2428-66-0x00000000081B0000-0x000000000882A000-memory.dmp

        memory/2428-70-0x0000000007D60000-0x0000000007D71000-memory.dmp

        memory/2428-78-0x00000000749D0000-0x0000000075180000-memory.dmp

        memory/2428-46-0x00000000749D0000-0x0000000075180000-memory.dmp

        memory/2428-74-0x0000000007E80000-0x0000000007E88000-memory.dmp

        memory/2428-24-0x00000000749D0000-0x0000000075180000-memory.dmp

        memory/2428-73-0x0000000007EA0000-0x0000000007EBA000-memory.dmp

        memory/2428-72-0x0000000007DA0000-0x0000000007DB4000-memory.dmp

        memory/2428-71-0x0000000007D90000-0x0000000007D9E000-memory.dmp

        memory/2428-20-0x00000000749D0000-0x0000000075180000-memory.dmp

        memory/2428-69-0x0000000007DE0000-0x0000000007E76000-memory.dmp

        memory/2428-54-0x0000000075230000-0x000000007527C000-memory.dmp

        memory/2428-64-0x0000000007A10000-0x0000000007A2E000-memory.dmp

        memory/2428-53-0x00000000079D0000-0x0000000007A02000-memory.dmp

        memory/2428-65-0x0000000007A30000-0x0000000007AD3000-memory.dmp

        memory/2428-68-0x0000000007BD0000-0x0000000007BDA000-memory.dmp

        memory/2428-67-0x0000000007B60000-0x0000000007B7A000-memory.dmp

        memory/2960-0-0x00000000749DE000-0x00000000749DF000-memory.dmp

        memory/2960-4-0x0000000005890000-0x000000000589A000-memory.dmp

        memory/2960-5-0x00000000749D0000-0x0000000075180000-memory.dmp

        memory/2960-6-0x0000000005BF0000-0x0000000005C06000-memory.dmp

        memory/2960-7-0x0000000005DB0000-0x0000000005DC6000-memory.dmp

        memory/2960-8-0x0000000006EE0000-0x0000000006F62000-memory.dmp

        memory/2960-47-0x00000000749D0000-0x0000000075180000-memory.dmp

        memory/2960-3-0x00000000058B0000-0x0000000005942000-memory.dmp

        memory/2960-2-0x0000000005DC0000-0x0000000006364000-memory.dmp

        memory/2960-9-0x0000000009520000-0x00000000095BC000-memory.dmp

        memory/2960-1-0x0000000000DC0000-0x0000000000E86000-memory.dmp