Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/06/2024, 01:12

General

  • Target
    7bf2b1990bf1816d1f2bf233df037f4c2cb1a9d4ba038a4f9e562d4a71ff2321.exe
  • Size 889KB
  • Sample240615-bk12esteld
  • SHA256 7bf2b1990bf1816d1f2bf233df037f4c2cb1a9d4ba038a4f9e562d4a71ff2321
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

C2
  • https://api.telegram.org/bot7288742529:AAFy9pkJ9MIinEpcZLEIXwuRG8vtWc1PK-8/

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.

  • Looks up external IP address via web service 1 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 9 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\7bf2b1990bf1816d1f2bf233df037f4c2cb1a9d4ba038a4f9e562d4a71ff2321.exe
    "C:\Users\Admin\AppData\Local\Temp\7bf2b1990bf1816d1f2bf233df037f4c2cb1a9d4ba038a4f9e562d4a71ff2321.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3736
    • 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\7bf2b1990bf1816d1f2bf233df037f4c2cb1a9d4ba038a4f9e562d4a71ff2321.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3304
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\AocKLSuqGUeWuB.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:332
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\AocKLSuqGUeWuB" /XML "C:\Users\Admin\AppData\Local\Temp\tmp9431.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1868
    • C:\Users\Admin\AppData\Local\Temp\7bf2b1990bf1816d1f2bf233df037f4c2cb1a9d4ba038a4f9e562d4a71ff2321.exe
      "C:\Users\Admin\AppData\Local\Temp\7bf2b1990bf1816d1f2bf233df037f4c2cb1a9d4ba038a4f9e562d4a71ff2321.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:1912

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 7656dbc0e5eacc52b43939ea46eedfe8dfb6b6e14e275f660e0f9d1b8b5a6aa9
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_00gr1dhc.okf.ps1

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

        tmp9431.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp9431.tmp
        • Size 1KB
        • SHA256 d4aa2fabb2f47dc24aed73804f6bea09d4d066e5b0b078f9fd9a49896dd42ff9
        • MD5 SHA1 SHA512

        memory/332-77-0x0000000007B20000-0x0000000007B2E000-memory.dmp

        memory/332-80-0x0000000007C10000-0x0000000007C18000-memory.dmp

        memory/332-79-0x0000000007C30000-0x0000000007C4A000-memory.dmp

        memory/332-78-0x0000000007B30000-0x0000000007B44000-memory.dmp

        memory/332-20-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/332-74-0x0000000007960000-0x000000000796A000-memory.dmp

        memory/332-72-0x0000000007F30000-0x00000000085AA000-memory.dmp

        memory/332-62-0x0000000070DC0000-0x0000000070E0C000-memory.dmp

        memory/332-86-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/332-18-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/1912-34-0x0000000000400000-0x0000000000444000-memory.dmp

        memory/1912-88-0x0000000006E50000-0x0000000006EA0000-memory.dmp

        memory/3304-35-0x0000000005E20000-0x0000000006174000-memory.dmp

        memory/3304-15-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/3304-22-0x0000000005A60000-0x0000000005A82000-memory.dmp

        memory/3304-17-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/3304-16-0x0000000005300000-0x0000000005928000-memory.dmp

        memory/3304-29-0x0000000005C00000-0x0000000005C66000-memory.dmp

        memory/3304-87-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/3304-76-0x0000000007710000-0x0000000007721000-memory.dmp

        memory/3304-28-0x0000000005B20000-0x0000000005B86000-memory.dmp

        memory/3304-47-0x0000000006200000-0x000000000621E000-memory.dmp

        memory/3304-48-0x0000000006320000-0x000000000636C000-memory.dmp

        memory/3304-50-0x0000000070DC0000-0x0000000070E0C000-memory.dmp

        memory/3304-49-0x00000000071A0000-0x00000000071D2000-memory.dmp

        memory/3304-60-0x0000000007180000-0x000000000719E000-memory.dmp

        memory/3304-61-0x00000000073E0000-0x0000000007483000-memory.dmp

        memory/3304-19-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/3304-14-0x0000000004C30000-0x0000000004C66000-memory.dmp

        memory/3304-73-0x0000000007510000-0x000000000752A000-memory.dmp

        memory/3304-75-0x0000000007790000-0x0000000007826000-memory.dmp

        memory/3736-9-0x00000000081B0000-0x0000000008236000-memory.dmp

        memory/3736-46-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/3736-8-0x0000000007E30000-0x0000000007E40000-memory.dmp

        memory/3736-7-0x0000000007E10000-0x0000000007E2A000-memory.dmp

        memory/3736-5-0x0000000005310000-0x00000000053AC000-memory.dmp

        memory/3736-6-0x00000000746F0000-0x0000000074EA0000-memory.dmp

        memory/3736-4-0x0000000005210000-0x000000000521A000-memory.dmp

        memory/3736-3-0x0000000005070000-0x0000000005102000-memory.dmp

        memory/3736-2-0x0000000005620000-0x0000000005BC4000-memory.dmp

        memory/3736-0-0x00000000746FE000-0x00000000746FF000-memory.dmp

        memory/3736-1-0x0000000000590000-0x0000000000674000-memory.dmp