Analysis

  • max time kernel
    133s
  • max time network
    130s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230221-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230221-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-03-2023 10:23

General

  • Target

    tmp.exe

  • Size

    952KB

  • MD5

    9dd97b3380058856a357c1f1185459e5

  • SHA1

    03265ace06f8556bc9778f6ec9a7d41f25aa1544

  • SHA256

    ffd22ff93a2dcc371fd090f4855494e14ebdd61fbd1c4995a31b3dfb74bade9b

  • SHA512

    cef0de270220546566cb4097ae370402209ad4955959356a9c271dcda751d7ae183e82a155de4d6ea1530be765709b27607adce615581c9d0b444c494c02697e

  • SSDEEP

    24576:vq2JThA+pEWsz5VrPH4BpvpiFDqlWUu5rVwHz:v/FSaRsDzYBvuWsU

Malware Config

Extracted

Family

agenttesla

Credentials

  • Protocol:
    smtp
  • Host:
    smtp.huiijingco.com
  • Port:
    587
  • Username:
    [email protected]
  • Password:
    lNLUrZT2

Signatures

  • AgentTesla

    Agent Tesla is a remote access tool (RAT) written in visual basic.

  • AgentTesla payload 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • 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 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\tmp.exe
    "C:\Users\Admin\AppData\Local\Temp\tmp.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1256
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\dnQFLCEmWnEf.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1124
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\dnQFLCEmWnEf" /XML "C:\Users\Admin\AppData\Local\Temp\tmp11E2.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:228
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:1304

Network

MITRE ATT&CK Enterprise v6

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_e5kifgpj.m4l.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    1KB

    MD5

    61c7c359a1ddc9ba7f72e4881289dd64

    SHA1

    4ad26e95d04b4fa89b63abc5dea790da210dc25a

    SHA256

    36f7c59976965e17205185b08b45ef0eb1c45ff1165b38aadc86747a6a1a3629

    SHA512

    4f9265fa82b5c2221faf6c3b1be29d455ea4037e8dcbbba2a609a8207297b334c15635068e3f5fd90568b2aa82a30c34d396078474d318ffa8ffe85c75d00598

  • memory/1124-162-0x0000000005550000-0x0000000005560000-memory.dmp

    Filesize

    64KB

  • memory/1124-149-0x0000000005870000-0x0000000005892000-memory.dmp

    Filesize

    136KB

  • memory/1124-163-0x0000000006940000-0x000000000695E000-memory.dmp

    Filesize

    120KB

  • memory/1124-184-0x0000000007F60000-0x0000000007F68000-memory.dmp

    Filesize

    32KB

  • memory/1124-183-0x0000000007F80000-0x0000000007F9A000-memory.dmp

    Filesize

    104KB

  • memory/1124-144-0x0000000003010000-0x0000000003046000-memory.dmp

    Filesize

    216KB

  • memory/1124-182-0x0000000007E70000-0x0000000007E7E000-memory.dmp

    Filesize

    56KB

  • memory/1124-146-0x0000000005B90000-0x00000000061B8000-memory.dmp

    Filesize

    6.2MB

  • memory/1124-181-0x0000000007EC0000-0x0000000007F56000-memory.dmp

    Filesize

    600KB

  • memory/1124-176-0x0000000006F00000-0x0000000006F1E000-memory.dmp

    Filesize

    120KB

  • memory/1124-150-0x0000000005A10000-0x0000000005A76000-memory.dmp

    Filesize

    408KB

  • memory/1124-151-0x00000000062F0000-0x0000000006356000-memory.dmp

    Filesize

    408KB

  • memory/1124-180-0x0000000007CB0000-0x0000000007CBA000-memory.dmp

    Filesize

    40KB

  • memory/1124-179-0x000000007F670000-0x000000007F680000-memory.dmp

    Filesize

    64KB

  • memory/1124-178-0x0000000007C40000-0x0000000007C5A000-memory.dmp

    Filesize

    104KB

  • memory/1124-177-0x0000000008280000-0x00000000088FA000-memory.dmp

    Filesize

    6.5MB

  • memory/1124-164-0x0000000005550000-0x0000000005560000-memory.dmp

    Filesize

    64KB

  • memory/1124-165-0x00000000078F0000-0x0000000007922000-memory.dmp

    Filesize

    200KB

  • memory/1124-166-0x0000000071000000-0x000000007104C000-memory.dmp

    Filesize

    304KB

  • memory/1256-137-0x00000000052C0000-0x00000000052D0000-memory.dmp

    Filesize

    64KB

  • memory/1256-136-0x00000000050D0000-0x00000000050DA000-memory.dmp

    Filesize

    40KB

  • memory/1256-134-0x00000000056B0000-0x0000000005C54000-memory.dmp

    Filesize

    5.6MB

  • memory/1256-135-0x0000000005100000-0x0000000005192000-memory.dmp

    Filesize

    584KB

  • memory/1256-139-0x0000000006C10000-0x0000000006CAC000-memory.dmp

    Filesize

    624KB

  • memory/1256-138-0x00000000052C0000-0x00000000052D0000-memory.dmp

    Filesize

    64KB

  • memory/1256-133-0x0000000000760000-0x0000000000854000-memory.dmp

    Filesize

    976KB

  • memory/1304-188-0x0000000006390000-0x00000000063E0000-memory.dmp

    Filesize

    320KB

  • memory/1304-161-0x0000000005260000-0x0000000005270000-memory.dmp

    Filesize

    64KB

  • memory/1304-147-0x0000000000400000-0x000000000043C000-memory.dmp

    Filesize

    240KB

  • memory/1304-187-0x0000000005260000-0x0000000005270000-memory.dmp

    Filesize

    64KB