Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16/05/2024, 08:50

General

  • Target
    PO240448.exe
  • Size 782KB
  • Sample240516-krksfsdb96
  • SHA256 e967eb5ff57e890dc8aa2bfc44a97c5016fd2c514590be458e21cfff334df6fb
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

Credentials

Signatures

  • AgentTesla

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

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

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\PO240448.exe
    "C:\Users\Admin\AppData\Local\Temp\PO240448.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4524
    • 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\PO240448.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2040
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\phTNJBlXo.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2516
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\phTNJBlXo" /XML "C:\Users\Admin\AppData\Local\Temp\tmp762A.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:396
    • C:\Users\Admin\AppData\Local\Temp\PO240448.exe
      "C:\Users\Admin\AppData\Local\Temp\PO240448.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:1560

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 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_mbu20oos.kri.ps1

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

        tmp762A.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp762A.tmp
        • Size 1KB
        • SHA256 9a8e4a6329377bf62e92ac5d1d2afe162f556d464d84df634777bd682d5a202d
        • MD5 SHA1 SHA512

        memory/1560-80-0x00000000064C0000-0x0000000006682000-memory.dmp

        memory/1560-78-0x0000000006240000-0x0000000006290000-memory.dmp

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

        memory/2040-76-0x00000000070E0000-0x00000000070EA000-memory.dmp

        memory/2040-24-0x0000000004EA0000-0x0000000004EC2000-memory.dmp

        memory/2040-90-0x0000000074FF0000-0x00000000757A0000-memory.dmp

        memory/2040-84-0x0000000007390000-0x0000000007398000-memory.dmp

        memory/2040-15-0x0000000002440000-0x0000000002476000-memory.dmp

        memory/2040-16-0x0000000074FF0000-0x00000000757A0000-memory.dmp

        memory/2040-17-0x0000000004F50000-0x0000000005578000-memory.dmp

        memory/2040-18-0x0000000074FF0000-0x00000000757A0000-memory.dmp

        memory/2040-83-0x00000000073B0000-0x00000000073CA000-memory.dmp

        memory/2040-79-0x0000000007270000-0x0000000007281000-memory.dmp

        memory/2040-21-0x0000000074FF0000-0x00000000757A0000-memory.dmp

        memory/2040-77-0x00000000072F0000-0x0000000007386000-memory.dmp

        memory/2040-25-0x0000000005580000-0x00000000055E6000-memory.dmp

        memory/2040-64-0x00000000758A0000-0x00000000758EC000-memory.dmp

        memory/2040-31-0x0000000005660000-0x00000000056C6000-memory.dmp

        memory/2516-50-0x0000000006900000-0x000000000694C000-memory.dmp

        memory/2516-75-0x0000000007C20000-0x0000000007C3A000-memory.dmp

        memory/2516-45-0x0000000006400000-0x0000000006754000-memory.dmp

        memory/2516-91-0x0000000074FF0000-0x00000000757A0000-memory.dmp

        memory/2516-19-0x0000000074FF0000-0x00000000757A0000-memory.dmp

        memory/2516-49-0x00000000068D0000-0x00000000068EE000-memory.dmp

        memory/2516-82-0x0000000007E60000-0x0000000007E74000-memory.dmp

        memory/2516-62-0x00000000078C0000-0x00000000078DE000-memory.dmp

        memory/2516-52-0x00000000758A0000-0x00000000758EC000-memory.dmp

        memory/2516-51-0x00000000078E0000-0x0000000007912000-memory.dmp

        memory/2516-63-0x0000000007920000-0x00000000079C3000-memory.dmp

        memory/2516-81-0x0000000007E50000-0x0000000007E5E000-memory.dmp

        memory/2516-74-0x0000000008260000-0x00000000088DA000-memory.dmp

        memory/2516-20-0x0000000074FF0000-0x00000000757A0000-memory.dmp

        memory/2516-22-0x0000000074FF0000-0x00000000757A0000-memory.dmp

        memory/4524-0-0x0000000074FFE000-0x0000000074FFF000-memory.dmp

        memory/4524-4-0x00000000051A0000-0x00000000051AA000-memory.dmp

        memory/4524-6-0x0000000006800000-0x0000000006892000-memory.dmp

        memory/4524-3-0x00000000051B0000-0x0000000005242000-memory.dmp

        memory/4524-7-0x0000000006890000-0x00000000068AE000-memory.dmp

        memory/4524-8-0x0000000006470000-0x0000000006480000-memory.dmp

        memory/4524-48-0x0000000074FF0000-0x00000000757A0000-memory.dmp

        memory/4524-10-0x0000000008E70000-0x0000000008F0C000-memory.dmp

        memory/4524-2-0x00000000056C0000-0x0000000005C64000-memory.dmp

        memory/4524-1-0x00000000006D0000-0x000000000079A000-memory.dmp

        memory/4524-5-0x0000000074FF0000-0x00000000757A0000-memory.dmp

        memory/4524-9-0x0000000006730000-0x00000000067A2000-memory.dmp