Analysis

  • max time kernel
    148s
  • max time network
    151s
  • 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 08:24

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 13 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 20 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:4604
    • 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:5072
    • 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:3368
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\VjpHToGqhIA" /XML "C:\Users\Admin\AppData\Local\Temp\tmpAE70.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:1200
    • C:\Users\Admin\AppData\Local\Temp\Trojan.MSIL.Formbook.AMAJ.exe
      "C:\Users\Admin\AppData\Local\Temp\Trojan.MSIL.Formbook.AMAJ.exe"
      2⤵
        PID:1436
      • 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:2348

    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

      85b27af34149c96dad18aaea36d97726

      SHA1

      9590e8693148fd1b3dd2660c9e4a509258af9d05

      SHA256

      1863e6c26acf71e748920c2067129ae6855591cc230814508584f6e0f011e6dc

      SHA512

      b71b17216122f84aeb7eb6a18c0684c952277e63cc252a71c6cba5c64f9023adf671ef297198a01b4b5a91c5ac90cf7c6767ba8296eed5e51dcc748d9b89391f

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_oloqrewh.t3s.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

      Filesize

      1KB

      MD5

      f35a526da80ab32b1a443d1fdf7e182f

      SHA1

      04399cd675d3385cbc2f8c2be007aba10262f8a3

      SHA256

      ef67b3198499f92c4664ec420b3c07a5e69143df294effb04c7444ba2f032205

      SHA512

      5eaa012c2d48c018a3b8fbf968025ab87ff7fc1de6476085f5124acf9c560ebcb519649f005ffddb98e73b6b4119c7684029fc76bef0dc4f775c612d3a858e3b

    • memory/2348-25-0x0000000000400000-0x0000000000444000-memory.dmp

      Filesize

      272KB

    • memory/2348-88-0x0000000006CB0000-0x0000000006D00000-memory.dmp

      Filesize

      320KB

    • memory/3368-75-0x0000000007050000-0x0000000007061000-memory.dmp

      Filesize

      68KB

    • memory/3368-71-0x00000000074A0000-0x0000000007B1A000-memory.dmp

      Filesize

      6.5MB

    • memory/3368-59-0x0000000070CE0000-0x0000000070D2C000-memory.dmp

      Filesize

      304KB

    • memory/3368-47-0x0000000005BC0000-0x0000000005C0C000-memory.dmp

      Filesize

      304KB

    • memory/3368-46-0x0000000005B10000-0x0000000005B2E000-memory.dmp

      Filesize

      120KB

    • memory/3368-72-0x0000000006E50000-0x0000000006E6A000-memory.dmp

      Filesize

      104KB

    • memory/3368-78-0x0000000007190000-0x00000000071AA000-memory.dmp

      Filesize

      104KB

    • memory/3368-86-0x0000000074570000-0x0000000074D20000-memory.dmp

      Filesize

      7.7MB

    • memory/3368-79-0x0000000007170000-0x0000000007178000-memory.dmp

      Filesize

      32KB

    • memory/3368-19-0x0000000074570000-0x0000000074D20000-memory.dmp

      Filesize

      7.7MB

    • memory/4604-8-0x0000000074570000-0x0000000074D20000-memory.dmp

      Filesize

      7.7MB

    • memory/4604-7-0x000000007457E000-0x000000007457F000-memory.dmp

      Filesize

      4KB

    • memory/4604-4-0x0000000074570000-0x0000000074D20000-memory.dmp

      Filesize

      7.7MB

    • memory/4604-6-0x0000000005A30000-0x0000000005A40000-memory.dmp

      Filesize

      64KB

    • memory/4604-5-0x00000000055B0000-0x00000000055BA000-memory.dmp

      Filesize

      40KB

    • memory/4604-0-0x000000007457E000-0x000000007457F000-memory.dmp

      Filesize

      4KB

    • memory/4604-1-0x0000000000990000-0x0000000000A36000-memory.dmp

      Filesize

      664KB

    • memory/4604-45-0x0000000074570000-0x0000000074D20000-memory.dmp

      Filesize

      7.7MB

    • memory/4604-10-0x0000000009450000-0x00000000094EC000-memory.dmp

      Filesize

      624KB

    • memory/4604-9-0x0000000006DE0000-0x0000000006E66000-memory.dmp

      Filesize

      536KB

    • memory/4604-2-0x0000000005A70000-0x0000000006014000-memory.dmp

      Filesize

      5.6MB

    • memory/4604-3-0x0000000005400000-0x0000000005492000-memory.dmp

      Filesize

      584KB

    • memory/5072-15-0x0000000004C90000-0x0000000004CC6000-memory.dmp

      Filesize

      216KB

    • memory/5072-48-0x00000000071A0000-0x00000000071D2000-memory.dmp

      Filesize

      200KB

    • memory/5072-70-0x00000000071E0000-0x0000000007283000-memory.dmp

      Filesize

      652KB

    • memory/5072-65-0x0000000007180000-0x000000000719E000-memory.dmp

      Filesize

      120KB

    • memory/5072-49-0x0000000070CE0000-0x0000000070D2C000-memory.dmp

      Filesize

      304KB

    • memory/5072-73-0x00000000075A0000-0x00000000075AA000-memory.dmp

      Filesize

      40KB

    • memory/5072-74-0x00000000077B0000-0x0000000007846000-memory.dmp

      Filesize

      600KB

    • memory/5072-24-0x0000000005C00000-0x0000000005F54000-memory.dmp

      Filesize

      3.3MB

    • memory/5072-76-0x0000000007760000-0x000000000776E000-memory.dmp

      Filesize

      56KB

    • memory/5072-77-0x0000000007770000-0x0000000007784000-memory.dmp

      Filesize

      80KB

    • memory/5072-21-0x0000000005250000-0x0000000005272000-memory.dmp

      Filesize

      136KB

    • memory/5072-23-0x0000000005A50000-0x0000000005AB6000-memory.dmp

      Filesize

      408KB

    • memory/5072-22-0x00000000052F0000-0x0000000005356000-memory.dmp

      Filesize

      408KB

    • memory/5072-18-0x0000000074570000-0x0000000074D20000-memory.dmp

      Filesize

      7.7MB

    • memory/5072-17-0x0000000074570000-0x0000000074D20000-memory.dmp

      Filesize

      7.7MB

    • memory/5072-85-0x0000000074570000-0x0000000074D20000-memory.dmp

      Filesize

      7.7MB

    • memory/5072-16-0x0000000005420000-0x0000000005A48000-memory.dmp

      Filesize

      6.2MB