Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04/04/2023, 10:59

General

  • Target
    a6ffd66b9b3aa45638bee7e9a43b1110d2ae5b42fd10d0ff316a454ed3ef1d49.exe
  • Size 777KB
  • Sample230404-m3dvdsed59
  • SHA256 a6ffd66b9b3aa45638bee7e9a43b1110d2ae5b42fd10d0ff316a454ed3ef1d49
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.binex.com.my

  • Port

    587

  • Password

    binex#123

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.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 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). Likely ransomware behaviour.

  • 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 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\a6ffd66b9b3aa45638bee7e9a43b1110d2ae5b42fd10d0ff316a454ed3ef1d49.exe
    "C:\Users\Admin\AppData\Local\Temp\a6ffd66b9b3aa45638bee7e9a43b1110d2ae5b42fd10d0ff316a454ed3ef1d49.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2252
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\mySOgyLJvA.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4624
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\mySOgyLJvA" /XML "C:\Users\Admin\AppData\Local\Temp\tmp79A4.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1500
    • C:\Users\Admin\AppData\Local\Temp\a6ffd66b9b3aa45638bee7e9a43b1110d2ae5b42fd10d0ff316a454ed3ef1d49.exe
      "C:\Users\Admin\AppData\Local\Temp\a6ffd66b9b3aa45638bee7e9a43b1110d2ae5b42fd10d0ff316a454ed3ef1d49.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • outlook_office_path
      • outlook_win_path
      PID:1104

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        a6ffd66b9b3aa45638bee7e9a43b1110d2ae5b42fd10d0ff316a454ed3ef1d49.exe.log

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

        __PSScriptPolicyTest_gauash4t.ydq.ps1

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

        tmp79A4.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp79A4.tmp
        • Size 1KB
        • SHA256 25829e003db9a2e19862f0cee31441bfcb6ede9da161f1800f167988b0d11eb1
        • MD5 SHA1 SHA512

        memory/1104-146-0x0000000000400000-0x0000000000430000-memory.dmp

        memory/1104-164-0x0000000005150000-0x0000000005160000-memory.dmp

        memory/1104-188-0x0000000005150000-0x0000000005160000-memory.dmp

        memory/1104-151-0x0000000005010000-0x0000000005076000-memory.dmp

        memory/1104-189-0x0000000006BF0000-0x0000000006C40000-memory.dmp

        memory/1104-190-0x0000000006E10000-0x0000000006FD2000-memory.dmp

        memory/2252-137-0x00000000052B0000-0x00000000052C0000-memory.dmp

        memory/2252-133-0x00000000006D0000-0x0000000000798000-memory.dmp

        memory/2252-139-0x0000000006DE0000-0x0000000006E7C000-memory.dmp

        memory/2252-138-0x00000000052B0000-0x00000000052C0000-memory.dmp

        memory/2252-136-0x0000000005210000-0x000000000521A000-memory.dmp

        memory/2252-135-0x0000000005160000-0x00000000051F2000-memory.dmp

        memory/2252-134-0x0000000005670000-0x0000000005C14000-memory.dmp

        memory/4624-145-0x0000000002A10000-0x0000000002A46000-memory.dmp

        memory/4624-180-0x0000000007610000-0x000000000762A000-memory.dmp

        memory/4624-153-0x0000000005400000-0x0000000005466000-memory.dmp

        memory/4624-165-0x0000000002AE0000-0x0000000002AF0000-memory.dmp

        memory/4624-166-0x000000007FA50000-0x000000007FA60000-memory.dmp

        memory/4624-167-0x00000000072B0000-0x00000000072E2000-memory.dmp

        memory/4624-168-0x0000000070FD0000-0x000000007101C000-memory.dmp

        memory/4624-178-0x0000000007270000-0x000000000728E000-memory.dmp

        memory/4624-179-0x0000000007C60000-0x00000000082DA000-memory.dmp

        memory/4624-163-0x0000000006210000-0x000000000622E000-memory.dmp

        memory/4624-181-0x0000000007680000-0x000000000768A000-memory.dmp

        memory/4624-182-0x0000000007890000-0x0000000007926000-memory.dmp

        memory/4624-183-0x0000000007840000-0x000000000784E000-memory.dmp

        memory/4624-184-0x0000000007950000-0x000000000796A000-memory.dmp

        memory/4624-185-0x0000000007930000-0x0000000007938000-memory.dmp

        memory/4624-152-0x0000000005360000-0x0000000005382000-memory.dmp

        memory/4624-150-0x0000000002AE0000-0x0000000002AF0000-memory.dmp

        memory/4624-149-0x0000000005470000-0x0000000005A98000-memory.dmp