Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/10/2024, 14:26

General

  • Target
    New Purchase Order_2225678392ON.bat.exe
  • Size 860KB
  • Sample241014-rrt5fstdrm
  • SHA256 94f98b239d0b82e134302c53455418fdcc7ed9ff19b9d8e9b079a7961c03068a
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.zqamcx.com

  • Port

    587

  • Password

    Anambraeast@

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 3 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

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

  • System Location Discovery: System Language Discovery 1 TTPs 5 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 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 SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\New Purchase Order_2225678392ON.bat.exe
    "C:\Users\Admin\AppData\Local\Temp\New Purchase Order_2225678392ON.bat.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1844
    • 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\New Purchase Order_2225678392ON.bat.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4208
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\RGEBfoKEzBVAO.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5008
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\RGEBfoKEzBVAO" /XML "C:\Users\Admin\AppData\Local\Temp\tmp117F.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:3348
    • C:\Users\Admin\AppData\Local\Temp\New Purchase Order_2225678392ON.bat.exe
      "C:\Users\Admin\AppData\Local\Temp\New Purchase Order_2225678392ON.bat.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:2980

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 0f7af736c3a19f18fa1d12cd1b24b18f9c5e0613726ea4e8b28b7482143ecca4
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_rnqjvsni.edw.ps1

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

        tmp117F.tmp

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

        memory/1844-8-0x0000000074D4E000-0x0000000074D4F000-memory.dmp

        memory/1844-2-0x0000000005620000-0x0000000005BC4000-memory.dmp

        memory/1844-6-0x00000000053E0000-0x000000000547C000-memory.dmp

        memory/1844-7-0x0000000005580000-0x0000000005592000-memory.dmp

        memory/1844-4-0x00000000050B0000-0x00000000050BA000-memory.dmp

        memory/1844-9-0x0000000074D40000-0x00000000754F0000-memory.dmp

        memory/1844-10-0x0000000006690000-0x0000000006714000-memory.dmp

        memory/1844-1-0x0000000000600000-0x00000000006DA000-memory.dmp

        memory/1844-0-0x0000000074D4E000-0x0000000074D4F000-memory.dmp

        memory/1844-3-0x0000000005110000-0x00000000051A2000-memory.dmp

        memory/1844-5-0x0000000074D40000-0x00000000754F0000-memory.dmp

        memory/1844-50-0x0000000074D40000-0x00000000754F0000-memory.dmp

        memory/2980-46-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/2980-90-0x00000000066E0000-0x0000000006730000-memory.dmp

        memory/4208-16-0x0000000074D40000-0x00000000754F0000-memory.dmp

        memory/4208-80-0x0000000007D90000-0x0000000007DA4000-memory.dmp

        memory/4208-24-0x0000000006190000-0x00000000061F6000-memory.dmp

        memory/4208-15-0x0000000005250000-0x0000000005286000-memory.dmp

        memory/4208-89-0x0000000074D40000-0x00000000754F0000-memory.dmp

        memory/4208-35-0x0000000006220000-0x0000000006574000-memory.dmp

        memory/4208-22-0x0000000006080000-0x00000000060A2000-memory.dmp

        memory/4208-18-0x00000000058D0000-0x0000000005EF8000-memory.dmp

        memory/4208-17-0x0000000074D40000-0x00000000754F0000-memory.dmp

        memory/4208-82-0x0000000007E70000-0x0000000007E78000-memory.dmp

        memory/4208-19-0x0000000074D40000-0x00000000754F0000-memory.dmp

        memory/4208-81-0x0000000007E90000-0x0000000007EAA000-memory.dmp

        memory/4208-23-0x0000000006120000-0x0000000006186000-memory.dmp

        memory/4208-79-0x0000000007D80000-0x0000000007D8E000-memory.dmp

        memory/4208-77-0x0000000007DD0000-0x0000000007E66000-memory.dmp

        memory/4208-64-0x0000000070350000-0x000000007039C000-memory.dmp

        memory/4208-74-0x0000000008190000-0x000000000880A000-memory.dmp

        memory/5008-52-0x0000000070350000-0x000000007039C000-memory.dmp

        memory/5008-76-0x00000000076E0000-0x00000000076EA000-memory.dmp

        memory/5008-63-0x0000000007330000-0x00000000073D3000-memory.dmp

        memory/5008-78-0x0000000007870000-0x0000000007881000-memory.dmp

        memory/5008-51-0x00000000072F0000-0x0000000007322000-memory.dmp

        memory/5008-62-0x00000000068F0000-0x000000000690E000-memory.dmp

        memory/5008-75-0x0000000007670000-0x000000000768A000-memory.dmp

        memory/5008-48-0x0000000006320000-0x000000000633E000-memory.dmp

        memory/5008-49-0x00000000063C0000-0x000000000640C000-memory.dmp

        memory/5008-20-0x0000000074D40000-0x00000000754F0000-memory.dmp

        memory/5008-36-0x0000000074D40000-0x00000000754F0000-memory.dmp

        memory/5008-88-0x0000000074D40000-0x00000000754F0000-memory.dmp

        memory/5008-30-0x0000000074D40000-0x00000000754F0000-memory.dmp