Analysis

  • max time kernel
    146s
  • max time network
    102s
  • 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, 01:06

General

  • Target
    5186efdfdceb4fa893f40ac77d48ea439cf222d52637b6e8387053906234d536.exe
  • Size 553KB
  • Sample240610-bf4xhsae43
  • SHA256 5186efdfdceb4fa893f40ac77d48ea439cf222d52637b6e8387053906234d536
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • agenttesla

Credentials
  • Protocol

    smtp

  • Host

    smtp.sunlacn.com

  • Port

    587

  • Password

    #_57J#lnfgQs

Signatures

  • AgentTesla

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

  • AgentTesla payload 1 IoCs
  • CustAttr .NET packer 1 IoCs

    Detects CustAttr .NET packer in memory.

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

  • Adds Run key to start application 2 TTPs 1 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 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\5186efdfdceb4fa893f40ac77d48ea439cf222d52637b6e8387053906234d536.exe
    "C:\Users\Admin\AppData\Local\Temp\5186efdfdceb4fa893f40ac77d48ea439cf222d52637b6e8387053906234d536.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2880
    • 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\5186efdfdceb4fa893f40ac77d48ea439cf222d52637b6e8387053906234d536.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4536
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\OCFgeyqT.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3268
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\OCFgeyqT" /XML "C:\Users\Admin\AppData\Local\Temp\tmpC06D.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:880
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\OCFgeyqT.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4312
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
      • Adds Run key to start application
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4628

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 82764e8b67669a72bd52be3435f1f108e145cc5216ce0f9cf75adbe2d6628fc4
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_fo1fuvne.kgh.ps1

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

        tmpC06D.tmp

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

        memory/2880-8-0x00000000055F0000-0x00000000055FC000-memory.dmp

        memory/2880-11-0x0000000000DA0000-0x0000000000E22000-memory.dmp

        memory/2880-6-0x0000000005190000-0x00000000051E6000-memory.dmp

        memory/2880-5-0x0000000005080000-0x000000000508A000-memory.dmp

        memory/2880-4-0x00000000050F0000-0x0000000005182000-memory.dmp

        memory/2880-9-0x00000000752BE000-0x00000000752BF000-memory.dmp

        memory/2880-10-0x00000000752B0000-0x0000000075A60000-memory.dmp

        memory/2880-7-0x00000000752B0000-0x0000000075A60000-memory.dmp

        memory/2880-12-0x0000000000E60000-0x0000000000EA4000-memory.dmp

        memory/2880-3-0x0000000005600000-0x0000000005BA4000-memory.dmp

        memory/2880-2-0x0000000004FB0000-0x000000000504C000-memory.dmp

        memory/2880-49-0x00000000752B0000-0x0000000075A60000-memory.dmp

        memory/2880-1-0x0000000000550000-0x00000000005E0000-memory.dmp

        memory/2880-0-0x00000000752BE000-0x00000000752BF000-memory.dmp

        memory/3268-24-0x0000000004970000-0x0000000004992000-memory.dmp

        memory/3268-99-0x0000000006F90000-0x0000000006F9E000-memory.dmp

        memory/3268-27-0x00000000752B0000-0x0000000075A60000-memory.dmp

        memory/3268-26-0x0000000004C30000-0x0000000004C96000-memory.dmp

        memory/3268-25-0x0000000004B10000-0x0000000004B76000-memory.dmp

        memory/3268-111-0x00000000752B0000-0x0000000075A60000-memory.dmp

        memory/3268-101-0x00000000070A0000-0x00000000070BA000-memory.dmp

        memory/3268-100-0x0000000006FA0000-0x0000000006FB4000-memory.dmp

        memory/3268-22-0x00000000752B0000-0x0000000075A60000-memory.dmp

        memory/3268-73-0x0000000006A70000-0x0000000006B13000-memory.dmp

        memory/3268-59-0x0000000005A20000-0x0000000005A3E000-memory.dmp

        memory/3268-97-0x0000000006FE0000-0x0000000007076000-memory.dmp

        memory/3268-62-0x0000000075B60000-0x0000000075BAC000-memory.dmp

        memory/3268-61-0x0000000006A30000-0x0000000006A62000-memory.dmp

        memory/3268-72-0x0000000006000000-0x000000000601E000-memory.dmp

        memory/4312-84-0x0000000075B60000-0x0000000075BAC000-memory.dmp

        memory/4312-94-0x0000000007ED0000-0x000000000854A000-memory.dmp

        memory/4536-28-0x0000000006360000-0x00000000066B4000-memory.dmp

        memory/4536-18-0x00000000752B0000-0x0000000075A60000-memory.dmp

        memory/4536-74-0x0000000075B60000-0x0000000075BAC000-memory.dmp

        memory/4536-96-0x0000000007CC0000-0x0000000007CCA000-memory.dmp

        memory/4536-60-0x0000000006EE0000-0x0000000006F2C000-memory.dmp

        memory/4536-98-0x0000000007E50000-0x0000000007E61000-memory.dmp

        memory/4536-20-0x00000000752B0000-0x0000000075A60000-memory.dmp

        memory/4536-21-0x00000000752B0000-0x0000000075A60000-memory.dmp

        memory/4536-19-0x0000000005A90000-0x00000000060B8000-memory.dmp

        memory/4536-102-0x0000000007F70000-0x0000000007F78000-memory.dmp

        memory/4536-95-0x0000000007C50000-0x0000000007C6A000-memory.dmp

        memory/4536-17-0x0000000005370000-0x00000000053A6000-memory.dmp

        memory/4536-110-0x00000000752B0000-0x0000000075A60000-memory.dmp

        memory/4628-47-0x0000000000400000-0x000000000043C000-memory.dmp

        memory/4628-112-0x0000000005360000-0x0000000005378000-memory.dmp