Analysis

  • max time kernel
    116s
  • max time network
    123s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10/06/2024, 09:56

General

  • Target
    rCompanyProfile-pdf.exe
  • Size 712KB
  • Sample240610-lye18agb34
  • SHA256 6152de8be5555ef7d167f4bef1402141bb12219f2d2dc5cda60f5876773222cf
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.groupmt.vn

  • Port

    587

  • Password

    4j37SF2n8e

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

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\rCompanyProfile-pdf.exe
    "C:\Users\Admin\AppData\Local\Temp\rCompanyProfile-pdf.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3264
    • 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\rCompanyProfile-pdf.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1904
    • C:\Users\Admin\AppData\Local\Temp\rCompanyProfile-pdf.exe
      "C:\Users\Admin\AppData\Local\Temp\rCompanyProfile-pdf.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:4508

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        rCompanyProfile-pdf.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\rCompanyProfile-pdf.exe.log
        • Size 1KB
        • SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_ioji1ogb.tja.ps1

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

        memory/1904-48-0x0000000006F60000-0x0000000007003000-memory.dmp

        memory/1904-51-0x0000000007110000-0x000000000711A000-memory.dmp

        memory/1904-61-0x00000000746E0000-0x0000000074E90000-memory.dmp

        memory/1904-58-0x00000000073C0000-0x00000000073C8000-memory.dmp

        memory/1904-57-0x00000000073E0000-0x00000000073FA000-memory.dmp

        memory/1904-56-0x00000000072E0000-0x00000000072F4000-memory.dmp

        memory/1904-55-0x00000000072D0000-0x00000000072DE000-memory.dmp

        memory/1904-53-0x00000000072A0000-0x00000000072B1000-memory.dmp

        memory/1904-52-0x0000000007320000-0x00000000073B6000-memory.dmp

        memory/1904-33-0x0000000005950000-0x0000000005CA4000-memory.dmp

        memory/1904-50-0x00000000070A0000-0x00000000070BA000-memory.dmp

        memory/1904-49-0x00000000076E0000-0x0000000007D5A000-memory.dmp

        memory/1904-47-0x0000000006EE0000-0x0000000006EFE000-memory.dmp

        memory/1904-15-0x0000000002490000-0x00000000024C6000-memory.dmp

        memory/1904-36-0x0000000006F20000-0x0000000006F52000-memory.dmp

        memory/1904-19-0x00000000746E0000-0x0000000074E90000-memory.dmp

        memory/1904-18-0x0000000004E50000-0x0000000005478000-memory.dmp

        memory/1904-20-0x00000000746E0000-0x0000000074E90000-memory.dmp

        memory/1904-21-0x00000000746E0000-0x0000000074E90000-memory.dmp

        memory/1904-37-0x0000000070340000-0x000000007038C000-memory.dmp

        memory/1904-35-0x0000000005E20000-0x0000000005E6C000-memory.dmp

        memory/1904-31-0x0000000005710000-0x0000000005732000-memory.dmp

        memory/1904-32-0x00000000057B0000-0x0000000005816000-memory.dmp

        memory/1904-34-0x0000000005D60000-0x0000000005D7E000-memory.dmp

        memory/3264-9-0x000000000CB60000-0x000000000CBFC000-memory.dmp

        memory/3264-8-0x0000000009A40000-0x0000000009AC2000-memory.dmp

        memory/3264-4-0x0000000005940000-0x000000000594A000-memory.dmp

        memory/3264-5-0x00000000746E0000-0x0000000074E90000-memory.dmp

        memory/3264-0-0x00000000746EE000-0x00000000746EF000-memory.dmp

        memory/3264-6-0x0000000005E10000-0x0000000005E32000-memory.dmp

        memory/3264-13-0x00000000746E0000-0x0000000074E90000-memory.dmp

        memory/3264-3-0x0000000005950000-0x00000000059E2000-memory.dmp

        memory/3264-1-0x0000000000EC0000-0x0000000000F76000-memory.dmp

        memory/3264-7-0x00000000031B0000-0x00000000031C0000-memory.dmp

        memory/3264-2-0x0000000005E60000-0x0000000006404000-memory.dmp

        memory/4508-14-0x00000000746E0000-0x0000000074E90000-memory.dmp

        memory/4508-10-0x0000000000400000-0x0000000000442000-memory.dmp

        memory/4508-54-0x00000000066C0000-0x0000000006710000-memory.dmp

        memory/4508-16-0x00000000746E0000-0x0000000074E90000-memory.dmp

        memory/4508-17-0x0000000005760000-0x00000000057C6000-memory.dmp

        memory/4508-62-0x00000000746E0000-0x0000000074E90000-memory.dmp