Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/11/2024, 14:29

General

  • Target
    2024-11-14_fa4846c0444989818272902a0e5d2044_formbook_hiddentear.exe
  • Size 680KB
  • Sample241114-rt2bjs1apb
  • SHA256 0cdd69862bf252d0ddbcbdf11612604b8cc055c7b09d5b948d84589569c492eb
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

Credentials
  • Protocol

    ftp

  • Host

    ftp://ftp.kesoremrayon.com

  • Port

    21

  • Password

    hHjRIMC^uNWw

Signatures

  • AgentTesla

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

  • Agenttesla family
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 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 3 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

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

  • 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 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-11-14_fa4846c0444989818272902a0e5d2044_formbook_hiddentear.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-14_fa4846c0444989818272902a0e5d2044_formbook_hiddentear.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:3932
    • 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\2024-11-14_fa4846c0444989818272902a0e5d2044_formbook_hiddentear.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4712
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\UqZUROQpIxP.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:540
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\UqZUROQpIxP" /XML "C:\Users\Admin\AppData\Local\Temp\tmpF992.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:1608
    • C:\Users\Admin\AppData\Local\Temp\2024-11-14_fa4846c0444989818272902a0e5d2044_formbook_hiddentear.exe
      "C:\Users\Admin\AppData\Local\Temp\2024-11-14_fa4846c0444989818272902a0e5d2044_formbook_hiddentear.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • outlook_office_path
      • outlook_win_path
      PID:1636

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
        • Size 2KB
        • SHA256 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 18KB
        • SHA256 4c0f54d20f340178f8481d86810d1dddb310761e4f918a54992cc626985173b3
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_5ozysbok.p2q.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_5ozysbok.p2q.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        tmpF992.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpF992.tmp
        • Size 1KB
        • SHA256 638ac8a0e28569c55e67586d389a8eec49711d87fec4abb5e1786b0f78117f17
        • MD5 SHA1 SHA512

        memory/540-82-0x0000000007930000-0x0000000007938000-memory.dmp

        memory/540-80-0x0000000007850000-0x0000000007864000-memory.dmp

        memory/540-81-0x0000000007950000-0x000000000796A000-memory.dmp

        memory/540-73-0x00000000072E0000-0x0000000007383000-memory.dmp

        memory/540-78-0x0000000007810000-0x0000000007821000-memory.dmp

        memory/540-77-0x0000000007890000-0x0000000007926000-memory.dmp

        memory/540-32-0x0000000074740000-0x0000000074EF0000-memory.dmp

        memory/540-90-0x0000000074740000-0x0000000074EF0000-memory.dmp

        memory/540-24-0x0000000074740000-0x0000000074EF0000-memory.dmp

        memory/540-17-0x0000000005430000-0x0000000005A58000-memory.dmp

        memory/540-22-0x0000000074740000-0x0000000074EF0000-memory.dmp

        memory/540-58-0x0000000074FF0000-0x000000007503C000-memory.dmp

        memory/540-75-0x0000000007610000-0x000000000762A000-memory.dmp

        memory/1636-46-0x0000000000400000-0x0000000000430000-memory.dmp

        memory/1636-91-0x0000000005F60000-0x0000000006122000-memory.dmp

        memory/1636-86-0x0000000005D40000-0x0000000005D90000-memory.dmp

        memory/3932-0-0x000000007474E000-0x000000007474F000-memory.dmp

        memory/3932-10-0x000000000AA90000-0x000000000AB2C000-memory.dmp

        memory/3932-9-0x0000000006E50000-0x0000000006EC4000-memory.dmp

        memory/3932-8-0x0000000074740000-0x0000000074EF0000-memory.dmp

        memory/3932-7-0x000000007474E000-0x000000007474F000-memory.dmp

        memory/3932-6-0x0000000005DA0000-0x0000000005DB2000-memory.dmp

        memory/3932-48-0x0000000074740000-0x0000000074EF0000-memory.dmp

        memory/3932-5-0x0000000074740000-0x0000000074EF0000-memory.dmp

        memory/3932-4-0x0000000005A10000-0x0000000005A1A000-memory.dmp

        memory/3932-3-0x0000000005940000-0x00000000059D2000-memory.dmp

        memory/3932-2-0x0000000005E40000-0x00000000063E4000-memory.dmp

        memory/3932-1-0x0000000000EF0000-0x0000000000FA0000-memory.dmp

        memory/4712-16-0x0000000074740000-0x0000000074EF0000-memory.dmp

        memory/4712-52-0x0000000074FF0000-0x000000007503C000-memory.dmp

        memory/4712-74-0x00000000079F0000-0x000000000806A000-memory.dmp

        memory/4712-68-0x0000000006640000-0x000000000665E000-memory.dmp

        memory/4712-76-0x0000000007420000-0x000000000742A000-memory.dmp

        memory/4712-51-0x0000000006680000-0x00000000066B2000-memory.dmp

        memory/4712-50-0x00000000065E0000-0x000000000662C000-memory.dmp

        memory/4712-79-0x00000000075D0000-0x00000000075DE000-memory.dmp

        memory/4712-49-0x0000000005F70000-0x0000000005F8E000-memory.dmp

        memory/4712-25-0x0000000005970000-0x0000000005CC4000-memory.dmp

        memory/4712-26-0x0000000074740000-0x0000000074EF0000-memory.dmp

        memory/4712-85-0x0000000074740000-0x0000000074EF0000-memory.dmp

        memory/4712-19-0x0000000004FC0000-0x0000000004FE2000-memory.dmp

        memory/4712-20-0x0000000005060000-0x00000000050C6000-memory.dmp

        memory/4712-21-0x00000000050D0000-0x0000000005136000-memory.dmp

        memory/4712-18-0x0000000074740000-0x0000000074EF0000-memory.dmp

        memory/4712-15-0x0000000002780000-0x00000000027B6000-memory.dmp