Analysis

  • max time kernel
    117s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    24-05-2024 01:20

General

  • Target

    ordinul de cotatie.exe

  • Size

    670KB

  • MD5

    ed3815b037a3f57bfc35bc4b6c97c3a4

  • SHA1

    034cded1a5c78337d11a3b4a0f9b62c270b51862

  • SHA256

    bf2117027a187100dc80baf714dac0341c8f18fdd5e562248c43685ac0ceca29

  • SHA512

    35a733c79702faf74ffed972eb2e2aef139713a4306634c4f3adb9ca6f9667442af24113efb23e1289ab66d64f02ce56e2406d3df98a52806a63ae90321b11ca

  • SSDEEP

    12288:e8EMgXHfAhdhdSsLjQ05GzUPCLDMtUNGQeLq06ShFVr1KFABkeXOaId:e8jgvAhXfQ05Gz3LDUmnAqYjfXXOaI

Malware Config

Extracted

Family

agenttesla

C2

https://api.telegram.org/bot6708321519:AAH9WPgZQN8mlLl2zn6ccUEu4DYMqGCeTcQ/

Signatures

  • AgentTesla

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

  • Detect packed .NET executables. Mostly AgentTeslaV4. 5 IoCs
  • Detects binaries (Windows and macOS) referencing many web browsers. Observed in information stealers. 5 IoCs
  • Detects executables referencing Windows vault credential objects. Observed in infostealers 5 IoCs
  • Detects executables referencing many confidential data stores found in browsers, mail clients, cryptocurreny wallets, etc. Observed in information stealers 5 IoCs
  • Detects executables referencing many email and collaboration clients. Observed in information stealers 5 IoCs
  • Detects executables referencing many file transfer clients. Observed in information stealers 5 IoCs
  • 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.

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

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\ordinul de cotatie.exe
    "C:\Users\Admin\AppData\Local\Temp\ordinul de cotatie.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:2724
    • 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\ordinul de cotatie.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3020
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\lVKVSUhnFGi.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2676
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\lVKVSUhnFGi" /XML "C:\Users\Admin\AppData\Local\Temp\tmpB8E3.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2688
    • C:\Users\Admin\AppData\Local\Temp\ordinul de cotatie.exe
      "C:\Users\Admin\AppData\Local\Temp\ordinul de cotatie.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:2408

Network

MITRE ATT&CK Matrix ATT&CK v13

Execution

Command and Scripting Interpreter

1
T1059

PowerShell

1
T1059.001

Scheduled Task/Job

1
T1053

Persistence

Scheduled Task/Job

1
T1053

Privilege Escalation

Scheduled Task/Job

1
T1053

Credential Access

Unsecured Credentials

4
T1552

Credentials In Files

3
T1552.001

Credentials in Registry

1
T1552.002

Discovery

System Information Discovery

1
T1082

Collection

Data from Local System

4
T1005

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\tmpB8E3.tmp
    Filesize

    1KB

    MD5

    d2eed9b6d3f9807075f76d94ffb115bb

    SHA1

    2db0937202c64df4cd795c98bd4bd610c6953913

    SHA256

    d76e563f03bdcb2f6aa9aeda52af4ee4afcf6cb36b90d4814a2b465efeae208e

    SHA512

    e5dbfeeacf85f45964910eb7d2004aee434a1e829f221dc82276a3d56b634001f8ad749f76a774edb0bc029bd2ba20389819bed83953ea94869d2ef75afd0d4e

  • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\MIZK6BXGS7FVUY5XMHLY.temp
    Filesize

    7KB

    MD5

    6b3678c94da4163152535709dd069a3a

    SHA1

    6040e46811c53b8bce6d1c703c307446e426c2b5

    SHA256

    ddce494310bc68b89bed27e3c3bf8cf8507c2bc50a19e60ccf6add769d4329a9

    SHA512

    6eee18c7bb0d060af012d381ea3a3ab8cde3ac4c6914b0f24c4bb451a71168ba25cdad181531e951e80ff96c7ed495b410c87222bbb6f57c1aa855e9dbfe66a6

  • memory/2408-27-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
    Filesize

    4KB

  • memory/2408-20-0x0000000000400000-0x0000000000442000-memory.dmp
    Filesize

    264KB

  • memory/2408-21-0x0000000000400000-0x0000000000442000-memory.dmp
    Filesize

    264KB

  • memory/2408-23-0x0000000000400000-0x0000000000442000-memory.dmp
    Filesize

    264KB

  • memory/2408-29-0x0000000000400000-0x0000000000442000-memory.dmp
    Filesize

    264KB

  • memory/2408-25-0x0000000000400000-0x0000000000442000-memory.dmp
    Filesize

    264KB

  • memory/2408-30-0x0000000000400000-0x0000000000442000-memory.dmp
    Filesize

    264KB

  • memory/2408-28-0x0000000000400000-0x0000000000442000-memory.dmp
    Filesize

    264KB

  • memory/2724-4-0x00000000004A0000-0x00000000004BA000-memory.dmp
    Filesize

    104KB

  • memory/2724-6-0x0000000005320000-0x00000000053A2000-memory.dmp
    Filesize

    520KB

  • memory/2724-31-0x0000000074A30000-0x000000007511E000-memory.dmp
    Filesize

    6.9MB

  • memory/2724-5-0x00000000002A0000-0x00000000002B0000-memory.dmp
    Filesize

    64KB

  • memory/2724-0-0x0000000074A3E000-0x0000000074A3F000-memory.dmp
    Filesize

    4KB

  • memory/2724-3-0x0000000004860000-0x0000000004902000-memory.dmp
    Filesize

    648KB

  • memory/2724-2-0x0000000074A30000-0x000000007511E000-memory.dmp
    Filesize

    6.9MB

  • memory/2724-1-0x0000000000D90000-0x0000000000E3E000-memory.dmp
    Filesize

    696KB