Analysis

  • max time kernel
    93s
  • max time network
    94s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-09-2024 01:02

General

  • Target

    Trojan.MSIL.Formbook.AMAJ.exe

  • Size

    655KB

  • MD5

    13b35d8e78861524e10b29f6f46a3b20

  • SHA1

    457beca2f81d17662524e3a72da416d56df1b86e

  • SHA256

    94fcf4577759c6ba44c9bc4672ca962f27f7f92c5f5ddac01e2abf53767ce2df

  • SHA512

    e04b6560525aa949328e72672bd75eef7aaef3fcea618d517b45b3844901fe46f027b12e708de42ffe04f64837da746595b121e0e25e8ec5fab41cf454b116da

  • SSDEEP

    12288:ncFGdbZ138dNgrF5aMEgAkxzwhR8ZhdDTidYjsYJznwmie0Bd5E8P3N9i72lPkR:KmSniF5zEgAkx8hIBeyI0nw55xVkEK

Malware Config

Extracted

Credentials

  • Protocol:
    smtp
  • Host:
    smtp.strato.de
  • Port:
    587
  • Username:
    [email protected]
  • Password:
    Oy1)8JSu_qPx(rzV_{Xu

Extracted

Family

agenttesla

Credentials

Signatures

  • AgentTesla

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

  • Credentials from Password Stores: Credentials from Web Browsers 1 TTPs

    Malicious Access or copy of Web Browser Credential store.

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

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Looks up external IP address via web service 3 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).

  • System Location Discovery: System Language Discovery 1 TTPs 5 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • 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 11 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\Trojan.MSIL.Formbook.AMAJ.exe
    "C:\Users\Admin\AppData\Local\Temp\Trojan.MSIL.Formbook.AMAJ.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4172
    • 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\Trojan.MSIL.Formbook.AMAJ.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2072
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\VjpHToGqhIA.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1700
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\VjpHToGqhIA" /XML "C:\Users\Admin\AppData\Local\Temp\tmpE109.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:2700
    • C:\Users\Admin\AppData\Local\Temp\Trojan.MSIL.Formbook.AMAJ.exe
      "C:\Users\Admin\AppData\Local\Temp\Trojan.MSIL.Formbook.AMAJ.exe"
      2⤵
      • Adds Run key to start application
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:4768

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log

    Filesize

    2KB

    MD5

    968cb9309758126772781b83adb8a28f

    SHA1

    8da30e71accf186b2ba11da1797cf67f8f78b47c

    SHA256

    92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a

    SHA512

    4bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    18KB

    MD5

    14417535f2a8db9031f87cb03c1a1380

    SHA1

    c6e628c204a836cfe18d80fcc1cbb61cb5cf8b62

    SHA256

    074247b9f8b0933f4cbcf8bdd876cbe6e42b597aa2db7bcdc28282400e6287c9

    SHA512

    779f82c76075c5d2557a5f9e2bbdc2393d1557f18f402711864be38e922514122ff0b2a422610280b7862a4733e48fa59fef8c0e7188126e19c8a570af1a6fa9

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_4jy1livl.bkb.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    1KB

    MD5

    806115721ff15f51745970a5e3f34385

    SHA1

    fd7bba17ffe50ba3908e6a967e5561d7885416cc

    SHA256

    05766c2fd3d9176a5b304e4f308043d9b2df1939841afef42f795f272be4e2a0

    SHA512

    b81ca2bb30937c406ac5646b097339136bfbe56d48853fc1cf03f53ea6bc589aa8bc636fed8b5f70c83e5c7835c6ffea4309af4da9296144f95f9ebd34d43e96

  • memory/1700-72-0x00000000076E0000-0x0000000007783000-memory.dmp

    Filesize

    652KB

  • memory/1700-78-0x0000000007AF0000-0x0000000007AFE000-memory.dmp

    Filesize

    56KB

  • memory/1700-77-0x0000000007AC0000-0x0000000007AD1000-memory.dmp

    Filesize

    68KB

  • memory/1700-74-0x00000000078C0000-0x00000000078DA000-memory.dmp

    Filesize

    104KB

  • memory/1700-79-0x0000000007B00000-0x0000000007B14000-memory.dmp

    Filesize

    80KB

  • memory/1700-62-0x0000000006AC0000-0x0000000006ADE000-memory.dmp

    Filesize

    120KB

  • memory/1700-50-0x0000000007690000-0x00000000076C2000-memory.dmp

    Filesize

    200KB

  • memory/1700-51-0x0000000074D70000-0x0000000074DBC000-memory.dmp

    Filesize

    304KB

  • memory/1700-36-0x00000000744C0000-0x0000000074C70000-memory.dmp

    Filesize

    7.7MB

  • memory/1700-34-0x00000000744C0000-0x0000000074C70000-memory.dmp

    Filesize

    7.7MB

  • memory/1700-28-0x00000000744C0000-0x0000000074C70000-memory.dmp

    Filesize

    7.7MB

  • memory/1700-89-0x00000000744C0000-0x0000000074C70000-memory.dmp

    Filesize

    7.7MB

  • memory/2072-33-0x0000000005B80000-0x0000000005ED4000-memory.dmp

    Filesize

    3.3MB

  • memory/2072-61-0x0000000074D70000-0x0000000074DBC000-memory.dmp

    Filesize

    304KB

  • memory/2072-18-0x00000000744C0000-0x0000000074C70000-memory.dmp

    Filesize

    7.7MB

  • memory/2072-21-0x0000000005A20000-0x0000000005A86000-memory.dmp

    Filesize

    408KB

  • memory/2072-20-0x0000000005220000-0x0000000005242000-memory.dmp

    Filesize

    136KB

  • memory/2072-17-0x00000000744C0000-0x0000000074C70000-memory.dmp

    Filesize

    7.7MB

  • memory/2072-88-0x00000000744C0000-0x0000000074C70000-memory.dmp

    Filesize

    7.7MB

  • memory/2072-81-0x0000000007830000-0x0000000007838000-memory.dmp

    Filesize

    32KB

  • memory/2072-16-0x00000000053F0000-0x0000000005A18000-memory.dmp

    Filesize

    6.2MB

  • memory/2072-80-0x0000000007850000-0x000000000786A000-memory.dmp

    Filesize

    104KB

  • memory/2072-49-0x0000000006290000-0x00000000062DC000-memory.dmp

    Filesize

    304KB

  • memory/2072-48-0x00000000061F0000-0x000000000620E000-memory.dmp

    Filesize

    120KB

  • memory/2072-15-0x0000000004C10000-0x0000000004C46000-memory.dmp

    Filesize

    216KB

  • memory/2072-76-0x0000000007790000-0x0000000007826000-memory.dmp

    Filesize

    600KB

  • memory/2072-75-0x0000000007580000-0x000000000758A000-memory.dmp

    Filesize

    40KB

  • memory/2072-22-0x0000000005A90000-0x0000000005AF6000-memory.dmp

    Filesize

    408KB

  • memory/2072-73-0x0000000007B50000-0x00000000081CA000-memory.dmp

    Filesize

    6.5MB

  • memory/4172-4-0x00000000744C0000-0x0000000074C70000-memory.dmp

    Filesize

    7.7MB

  • memory/4172-8-0x00000000744C0000-0x0000000074C70000-memory.dmp

    Filesize

    7.7MB

  • memory/4172-9-0x0000000007330000-0x00000000073B6000-memory.dmp

    Filesize

    536KB

  • memory/4172-10-0x00000000099A0000-0x0000000009A3C000-memory.dmp

    Filesize

    624KB

  • memory/4172-6-0x0000000005B50000-0x0000000005B60000-memory.dmp

    Filesize

    64KB

  • memory/4172-5-0x0000000005A40000-0x0000000005A4A000-memory.dmp

    Filesize

    40KB

  • memory/4172-7-0x00000000744CE000-0x00000000744CF000-memory.dmp

    Filesize

    4KB

  • memory/4172-47-0x00000000744C0000-0x0000000074C70000-memory.dmp

    Filesize

    7.7MB

  • memory/4172-2-0x0000000006040000-0x00000000065E4000-memory.dmp

    Filesize

    5.6MB

  • memory/4172-3-0x00000000059A0000-0x0000000005A32000-memory.dmp

    Filesize

    584KB

  • memory/4172-1-0x0000000000F10000-0x0000000000FB6000-memory.dmp

    Filesize

    664KB

  • memory/4172-0-0x00000000744CE000-0x00000000744CF000-memory.dmp

    Filesize

    4KB

  • memory/4768-35-0x0000000000400000-0x0000000000444000-memory.dmp

    Filesize

    272KB

  • memory/4768-90-0x0000000006A40000-0x0000000006A90000-memory.dmp

    Filesize

    320KB