Analysis

  • max time kernel
    144s
  • max time network
    158s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20231215-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/02/2024, 10:19

General

  • Target
    SOA.bat.exe
  • Size 786KB
  • Sample240205-mch2esddf4
  • SHA256 e7e75eae5d4bf17651e97bb0119c666e8db5c4f52fc60e5bf9d3a55155c2dd47
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.coperwire.com

  • Port

    587

  • Password

    ogadiMMA1!

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\SOA.bat.exe
    "C:\Users\Admin\AppData\Local\Temp\SOA.bat.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3312
    • 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\SOA.bat.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:384
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\kfpjutWt.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:740
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\kfpjutWt" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6963.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4016
    • C:\Users\Admin\AppData\Local\Temp\SOA.bat.exe
      "C:\Users\Admin\AppData\Local\Temp\SOA.bat.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2304

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_jbnkmgis.4dc.ps1

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

        tmp6963.tmp

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

        memory/384-56-0x000000007F320000-0x000000007F330000-memory.dmp

        memory/384-14-0x0000000074E00000-0x00000000755B0000-memory.dmp

        memory/384-87-0x0000000007AF0000-0x0000000007B01000-memory.dmp

        memory/384-84-0x0000000007960000-0x000000000796A000-memory.dmp

        memory/384-83-0x00000000078F0000-0x000000000790A000-memory.dmp

        memory/384-57-0x0000000006B90000-0x0000000006BC2000-memory.dmp

        memory/384-60-0x00000000714A0000-0x00000000714EC000-memory.dmp

        memory/384-24-0x00000000054E0000-0x0000000005502000-memory.dmp

        memory/384-54-0x0000000002C80000-0x0000000002C90000-memory.dmp

        memory/384-89-0x0000000007B30000-0x0000000007B44000-memory.dmp

        memory/384-53-0x0000000074E00000-0x00000000755B0000-memory.dmp

        memory/384-16-0x0000000002CD0000-0x0000000002D06000-memory.dmp

        memory/384-18-0x00000000057C0000-0x0000000005DE8000-memory.dmp

        memory/384-52-0x0000000006650000-0x000000000669C000-memory.dmp

        memory/384-44-0x0000000005F90000-0x00000000062E4000-memory.dmp

        memory/384-90-0x0000000007C30000-0x0000000007C4A000-memory.dmp

        memory/384-98-0x0000000074E00000-0x00000000755B0000-memory.dmp

        memory/740-51-0x0000000005670000-0x000000000568E000-memory.dmp

        memory/740-71-0x0000000006E70000-0x0000000006E8E000-memory.dmp

        memory/740-26-0x0000000005A70000-0x0000000005AD6000-memory.dmp

        memory/740-97-0x0000000074E00000-0x00000000755B0000-memory.dmp

        memory/740-92-0x0000000007F10000-0x0000000007F18000-memory.dmp

        memory/740-22-0x0000000005510000-0x0000000005520000-memory.dmp

        memory/740-88-0x0000000007E20000-0x0000000007E2E000-memory.dmp

        memory/740-85-0x0000000007E70000-0x0000000007F06000-memory.dmp

        memory/740-21-0x0000000005510000-0x0000000005520000-memory.dmp

        memory/740-82-0x0000000008230000-0x00000000088AA000-memory.dmp

        memory/740-20-0x0000000074E00000-0x00000000755B0000-memory.dmp

        memory/740-81-0x0000000007AC0000-0x0000000007B63000-memory.dmp

        memory/740-55-0x0000000005510000-0x0000000005520000-memory.dmp

        memory/740-70-0x000000007F370000-0x000000007F380000-memory.dmp

        memory/740-25-0x0000000005890000-0x00000000058F6000-memory.dmp

        memory/740-59-0x0000000074E00000-0x00000000755B0000-memory.dmp

        memory/740-58-0x00000000714A0000-0x00000000714EC000-memory.dmp

        memory/2304-40-0x00000000051E0000-0x00000000051F0000-memory.dmp

        memory/2304-100-0x00000000051E0000-0x00000000051F0000-memory.dmp

        memory/2304-99-0x0000000074E00000-0x00000000755B0000-memory.dmp

        memory/2304-27-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2304-29-0x0000000074E00000-0x00000000755B0000-memory.dmp

        memory/2304-91-0x0000000006970000-0x00000000069C0000-memory.dmp

        memory/3312-0-0x0000000074E00000-0x00000000755B0000-memory.dmp

        memory/3312-8-0x00000000051C0000-0x00000000051CA000-memory.dmp

        memory/3312-41-0x0000000074E00000-0x00000000755B0000-memory.dmp

        memory/3312-5-0x0000000004FD0000-0x0000000004FDA000-memory.dmp

        memory/3312-7-0x0000000005180000-0x0000000005194000-memory.dmp

        memory/3312-4-0x00000000052C0000-0x00000000052D0000-memory.dmp

        memory/3312-3-0x0000000004FE0000-0x0000000005072000-memory.dmp

        memory/3312-6-0x0000000005220000-0x00000000052BC000-memory.dmp

        memory/3312-15-0x00000000052C0000-0x00000000052D0000-memory.dmp

        memory/3312-2-0x00000000056F0000-0x0000000005C94000-memory.dmp

        memory/3312-11-0x0000000074E00000-0x00000000755B0000-memory.dmp

        memory/3312-1-0x00000000004F0000-0x00000000005BA000-memory.dmp

        memory/3312-10-0x00000000076E0000-0x0000000007764000-memory.dmp

        memory/3312-9-0x00000000051D0000-0x00000000051DE000-memory.dmp