Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/06/2024, 07:13

General

  • Target
    hesaphareketi-.exe
  • Size 601KB
  • Sample240627-h16eea1bpr
  • SHA256 ce51bc85fa9cf4a581de693c5901e0c03fff712c40f723009e393bad1a18d014
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    ftp

  • Host

    ftp.normagroup.com.tr

  • Port

    21

  • Password

    ab+LNvim5PAo

Extracted

Family
  • agenttesla

Credentials
  • Protocol

    ftp

  • Host

    ftp://ftp.normagroup.com.tr

  • Port

    21

  • Password

    ab+LNvim5PAo

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.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\hesaphareketi-.exe
    "C:\Users\Admin\AppData\Local\Temp\hesaphareketi-.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4712
    • 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\hesaphareketi-.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1548
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\xyodEPhulIrkY.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2000
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\xyodEPhulIrkY" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7203.tmp"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:1288
    • C:\Users\Admin\AppData\Local\Temp\hesaphareketi-.exe
      "C:\Users\Admin\AppData\Local\Temp\hesaphareketi-.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:3012

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 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_tou4alxi.hwt.ps1

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

        tmp7203.tmp

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

        memory/1548-35-0x0000000005FA0000-0x00000000062F4000-memory.dmp

        memory/1548-19-0x0000000075150000-0x0000000075900000-memory.dmp

        memory/1548-90-0x0000000075150000-0x0000000075900000-memory.dmp

        memory/1548-81-0x0000000007C50000-0x0000000007C6A000-memory.dmp

        memory/1548-80-0x0000000007B50000-0x0000000007B64000-memory.dmp

        memory/1548-79-0x0000000007B40000-0x0000000007B4E000-memory.dmp

        memory/1548-78-0x0000000007B10000-0x0000000007B21000-memory.dmp

        memory/1548-77-0x0000000007B90000-0x0000000007C26000-memory.dmp

        memory/1548-16-0x0000000005050000-0x0000000005086000-memory.dmp

        memory/1548-17-0x0000000075150000-0x0000000075900000-memory.dmp

        memory/1548-18-0x0000000005730000-0x0000000005D58000-memory.dmp

        memory/1548-50-0x00000000069D0000-0x0000000006A1C000-memory.dmp

        memory/1548-76-0x0000000007990000-0x000000000799A000-memory.dmp

        memory/1548-74-0x0000000007F60000-0x00000000085DA000-memory.dmp

        memory/1548-23-0x0000000005E00000-0x0000000005E66000-memory.dmp

        memory/1548-75-0x0000000007910000-0x000000000792A000-memory.dmp

        memory/1548-34-0x0000000075150000-0x0000000075900000-memory.dmp

        memory/1548-24-0x0000000005E70000-0x0000000005ED6000-memory.dmp

        memory/1548-22-0x0000000005D60000-0x0000000005D82000-memory.dmp

        memory/1548-63-0x00000000077E0000-0x0000000007883000-memory.dmp

        memory/1548-62-0x0000000006C10000-0x0000000006C2E000-memory.dmp

        memory/1548-51-0x0000000006BD0000-0x0000000006C02000-memory.dmp

        memory/1548-52-0x00000000717C0000-0x000000007180C000-memory.dmp

        memory/1548-49-0x00000000065C0000-0x00000000065DE000-memory.dmp

        memory/2000-64-0x00000000717C0000-0x000000007180C000-memory.dmp

        memory/2000-20-0x0000000075150000-0x0000000075900000-memory.dmp

        memory/2000-89-0x0000000075150000-0x0000000075900000-memory.dmp

        memory/2000-82-0x0000000007570000-0x0000000007578000-memory.dmp

        memory/2000-37-0x0000000075150000-0x0000000075900000-memory.dmp

        memory/3012-83-0x0000000005FB0000-0x0000000006000000-memory.dmp

        memory/3012-36-0x0000000000400000-0x0000000000440000-memory.dmp

        memory/4712-11-0x0000000006040000-0x00000000060C2000-memory.dmp

        memory/4712-0-0x000000007515E000-0x000000007515F000-memory.dmp

        memory/4712-4-0x0000000005230000-0x000000000523A000-memory.dmp

        memory/4712-10-0x0000000005810000-0x000000000581C000-memory.dmp

        memory/4712-9-0x00000000054B0000-0x00000000054C0000-memory.dmp

        memory/4712-8-0x00000000055F0000-0x0000000005686000-memory.dmp

        memory/4712-7-0x00000000054E0000-0x000000000557C000-memory.dmp

        memory/4712-3-0x0000000005290000-0x0000000005322000-memory.dmp

        memory/4712-39-0x0000000075150000-0x0000000075900000-memory.dmp

        memory/4712-2-0x0000000005840000-0x0000000005DE4000-memory.dmp

        memory/4712-5-0x0000000075150000-0x0000000075900000-memory.dmp

        memory/4712-1-0x00000000008C0000-0x000000000095C000-memory.dmp

        memory/4712-6-0x0000000006320000-0x000000000684C000-memory.dmp