Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-03-2023 07:23

General

  • Target

    stage5.bin.exe

  • Size

    979KB

  • MD5

    2acd19884dc08535b643868f682b3c84

  • SHA1

    c3577aea750eae81c5ea828633cd523f28979b26

  • SHA256

    93d4a1c73f73cfabff4180c6b5ce9991b3cb41783440f29dc5745961741eefe7

  • SHA512

    7d0565d00795f9f6f37cf7a3a65f1c3be1ca4ae2249c67617d2bb31c8b820b593b3e1d96ea173aa4ffd8d72a569c3432ae3f9f80c799f53049d966e570dc0dc8

  • SSDEEP

    24576:d4PpyeFskkfO+Ucf/eHAzoAgWdFMkLUvHW7kX3Lu4:ZpHwMegXnzLy27kru

Malware Config

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 2 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 7 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\stage5.bin.exe
    "C:\Users\Admin\AppData\Local\Temp\stage5.bin.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3288
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\WTbArTbDXsm.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3588
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\WTbArTbDXsm" /XML "C:\Users\Admin\AppData\Local\Temp\tmp4E9D.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4580
    • C:\Users\Admin\AppData\Local\Temp\stage5.bin.exe
      "C:\Users\Admin\AppData\Local\Temp\stage5.bin.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • outlook_office_path
      • outlook_win_path
      PID:4000

Network

MITRE ATT&CK Enterprise v6

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_u2x2tobz.qhj.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Local\Temp\tmp4E9D.tmp

    Filesize

    1KB

    MD5

    851412238f18b2a640acfe6bba5da67f

    SHA1

    e1aea52b939ea1d88d1c82776a2bb02396a014f1

    SHA256

    693960c2a9b0773b362126156c696579f034f63a38c7f23cfecc981af597be0d

    SHA512

    abed9ed4d8f389f91ac7aaf38caacc0728f5335045c40948f4d2d70e0546be7221c21738d2363e6ed924a6b5db2a7146a0742edae61f7a16c2be8f37f22aee48

  • memory/3288-134-0x0000000005290000-0x0000000005834000-memory.dmp

    Filesize

    5.6MB

  • memory/3288-135-0x0000000004CE0000-0x0000000004D72000-memory.dmp

    Filesize

    584KB

  • memory/3288-136-0x0000000004CA0000-0x0000000004CB0000-memory.dmp

    Filesize

    64KB

  • memory/3288-137-0x0000000004E80000-0x0000000004E8A000-memory.dmp

    Filesize

    40KB

  • memory/3288-138-0x0000000004CA0000-0x0000000004CB0000-memory.dmp

    Filesize

    64KB

  • memory/3288-139-0x0000000007CE0000-0x0000000007D7C000-memory.dmp

    Filesize

    624KB

  • memory/3288-133-0x0000000000230000-0x000000000032C000-memory.dmp

    Filesize

    1008KB

  • memory/3588-153-0x00000000056F0000-0x0000000005756000-memory.dmp

    Filesize

    408KB

  • memory/3588-177-0x0000000000C10000-0x0000000000C20000-memory.dmp

    Filesize

    64KB

  • memory/3588-148-0x0000000000C10000-0x0000000000C20000-memory.dmp

    Filesize

    64KB

  • memory/3588-149-0x0000000000C10000-0x0000000000C20000-memory.dmp

    Filesize

    64KB

  • memory/3588-187-0x00000000073F0000-0x00000000073F8000-memory.dmp

    Filesize

    32KB

  • memory/3588-152-0x0000000004E00000-0x0000000004E22000-memory.dmp

    Filesize

    136KB

  • memory/3588-146-0x0000000004F10000-0x0000000005538000-memory.dmp

    Filesize

    6.2MB

  • memory/3588-144-0x00000000024A0000-0x00000000024D6000-memory.dmp

    Filesize

    216KB

  • memory/3588-163-0x0000000005DC0000-0x0000000005DDE000-memory.dmp

    Filesize

    120KB

  • memory/3588-186-0x0000000007410000-0x000000000742A000-memory.dmp

    Filesize

    104KB

  • memory/3588-165-0x0000000006D70000-0x0000000006DA2000-memory.dmp

    Filesize

    200KB

  • memory/3588-166-0x0000000070630000-0x000000007067C000-memory.dmp

    Filesize

    304KB

  • memory/3588-176-0x0000000006370000-0x000000000638E000-memory.dmp

    Filesize

    120KB

  • memory/3588-185-0x0000000007300000-0x000000000730E000-memory.dmp

    Filesize

    56KB

  • memory/3588-178-0x000000007F700000-0x000000007F710000-memory.dmp

    Filesize

    64KB

  • memory/3588-179-0x0000000007700000-0x0000000007D7A000-memory.dmp

    Filesize

    6.5MB

  • memory/3588-180-0x00000000070C0000-0x00000000070DA000-memory.dmp

    Filesize

    104KB

  • memory/3588-181-0x0000000007140000-0x000000000714A000-memory.dmp

    Filesize

    40KB

  • memory/3588-182-0x0000000007350000-0x00000000073E6000-memory.dmp

    Filesize

    600KB

  • memory/4000-183-0x0000000007100000-0x0000000007150000-memory.dmp

    Filesize

    320KB

  • memory/4000-184-0x0000000007320000-0x00000000074E2000-memory.dmp

    Filesize

    1.8MB

  • memory/4000-147-0x0000000000400000-0x0000000000430000-memory.dmp

    Filesize

    192KB

  • memory/4000-164-0x0000000005580000-0x0000000005590000-memory.dmp

    Filesize

    64KB

  • memory/4000-151-0x0000000005400000-0x0000000005466000-memory.dmp

    Filesize

    408KB

  • memory/4000-190-0x0000000005580000-0x0000000005590000-memory.dmp

    Filesize

    64KB