Analysis

  • max time kernel
    121s
  • max time network
    123s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08/06/2024, 02:30

General

  • Target
    3553821249d145fd1b5b1d418a72e22506d477ae0c09d047f50016656eb586e8.exe
  • Size 1.3MB
  • Sample240608-czcg2sgf32
  • SHA256 3553821249d145fd1b5b1d418a72e22506d477ae0c09d047f50016656eb586e8
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.taqwaknitwear.com

  • Port

    587

  • Password

    PGZ=5p?DmAtX

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.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Looks up external IP address via web service 1 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 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\3553821249d145fd1b5b1d418a72e22506d477ae0c09d047f50016656eb586e8.exe
    "C:\Users\Admin\AppData\Local\Temp\3553821249d145fd1b5b1d418a72e22506d477ae0c09d047f50016656eb586e8.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:512
    • 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\3553821249d145fd1b5b1d418a72e22506d477ae0c09d047f50016656eb586e8.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3308
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\YRLaftsq.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:220
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\YRLaftsq" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7753.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:404
    • C:\Users\Admin\AppData\Local\Temp\3553821249d145fd1b5b1d418a72e22506d477ae0c09d047f50016656eb586e8.exe
      "C:\Users\Admin\AppData\Local\Temp\3553821249d145fd1b5b1d418a72e22506d477ae0c09d047f50016656eb586e8.exe"
      2⤵
        PID:1176
      • C:\Users\Admin\AppData\Local\Temp\3553821249d145fd1b5b1d418a72e22506d477ae0c09d047f50016656eb586e8.exe
        "C:\Users\Admin\AppData\Local\Temp\3553821249d145fd1b5b1d418a72e22506d477ae0c09d047f50016656eb586e8.exe"
        2⤵
        • Adds Run key to start application
        • 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 2KB
          • SHA256 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

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

          __PSScriptPolicyTest_pxa3pj13.qa4.ps1

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

          tmp7753.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp7753.tmp
          • Size 1KB
          • SHA256 71e1d4c9ffedacf92516400f1e03859bfec98536f465b14b32605b6f32ae6c2d
          • MD5 SHA1 SHA512

          XSafpauirD.exe

          • Path C:\Users\Admin\AppData\Roaming\XSafpauirD\XSafpauirD.exe
          • Size 1.3MB
          • SHA256 3553821249d145fd1b5b1d418a72e22506d477ae0c09d047f50016656eb586e8
          • MD5 SHA1 SHA512 SSDEEP

          memory/220-77-0x00000000079F0000-0x0000000007A0A000-memory.dmp

          memory/220-22-0x0000000074C10000-0x00000000753C0000-memory.dmp

          memory/220-53-0x0000000007850000-0x0000000007882000-memory.dmp

          memory/220-67-0x0000000007830000-0x000000000784E000-memory.dmp

          memory/220-78-0x0000000007A60000-0x0000000007A6A000-memory.dmp

          memory/220-79-0x0000000007C70000-0x0000000007D06000-memory.dmp

          memory/220-23-0x0000000074C10000-0x00000000753C0000-memory.dmp

          memory/220-54-0x0000000075470000-0x00000000754BC000-memory.dmp

          memory/220-80-0x0000000007BF0000-0x0000000007C01000-memory.dmp

          memory/220-29-0x0000000074C10000-0x00000000753C0000-memory.dmp

          memory/220-91-0x0000000074C10000-0x00000000753C0000-memory.dmp

          memory/512-12-0x0000000008EF0000-0x0000000008F8C000-memory.dmp

          memory/512-9-0x0000000006540000-0x000000000654E000-memory.dmp

          memory/512-3-0x0000000004EE0000-0x0000000004F72000-memory.dmp

          memory/512-24-0x0000000074C1E000-0x0000000074C1F000-memory.dmp

          memory/512-50-0x0000000074C10000-0x00000000753C0000-memory.dmp

          memory/512-5-0x0000000074C10000-0x00000000753C0000-memory.dmp

          memory/512-2-0x0000000005490000-0x0000000005A34000-memory.dmp

          memory/512-1-0x0000000000380000-0x00000000004DC000-memory.dmp

          memory/512-4-0x0000000004F80000-0x00000000052D4000-memory.dmp

          memory/512-7-0x00000000069B0000-0x0000000006A84000-memory.dmp

          memory/512-11-0x00000000065D0000-0x0000000006688000-memory.dmp

          memory/512-6-0x0000000005A80000-0x0000000005A8A000-memory.dmp

          memory/512-10-0x0000000006550000-0x0000000006560000-memory.dmp

          memory/512-8-0x0000000005B60000-0x0000000005B76000-memory.dmp

          memory/512-0-0x0000000074C1E000-0x0000000074C1F000-memory.dmp

          memory/1128-48-0x0000000000400000-0x0000000000476000-memory.dmp

          memory/1128-94-0x0000000006DD0000-0x0000000006E20000-memory.dmp

          memory/3308-21-0x0000000074C10000-0x00000000753C0000-memory.dmp

          memory/3308-55-0x0000000075470000-0x00000000754BC000-memory.dmp

          memory/3308-75-0x0000000006FC0000-0x0000000007063000-memory.dmp

          memory/3308-76-0x0000000007930000-0x0000000007FAA000-memory.dmp

          memory/3308-52-0x0000000006040000-0x000000000608C000-memory.dmp

          memory/3308-83-0x0000000007630000-0x000000000764A000-memory.dmp

          memory/3308-26-0x0000000004F20000-0x0000000004F42000-memory.dmp

          memory/3308-28-0x00000000058A0000-0x0000000005906000-memory.dmp

          memory/3308-81-0x0000000007520000-0x000000000752E000-memory.dmp

          memory/3308-82-0x0000000007530000-0x0000000007544000-memory.dmp

          memory/3308-51-0x0000000005FB0000-0x0000000005FCE000-memory.dmp

          memory/3308-84-0x0000000007610000-0x0000000007618000-memory.dmp

          memory/3308-27-0x0000000005040000-0x00000000050A6000-memory.dmp

          memory/3308-90-0x0000000074C10000-0x00000000753C0000-memory.dmp

          memory/3308-19-0x0000000005100000-0x0000000005728000-memory.dmp

          memory/3308-20-0x0000000074C10000-0x00000000753C0000-memory.dmp

          memory/3308-18-0x0000000074C10000-0x00000000753C0000-memory.dmp

          memory/3308-17-0x0000000004A10000-0x0000000004A46000-memory.dmp