Analysis

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

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

General

  • Target
    e28f384946d7a17d59de700e40186725163b534eab150d6be5327187e7f83a28.exe
  • Size 981KB
  • Sample240607-by969afd3s
  • SHA256 e28f384946d7a17d59de700e40186725163b534eab150d6be5327187e7f83a28
  • 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.

  • Looks up external IP address via web service 2 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 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\e28f384946d7a17d59de700e40186725163b534eab150d6be5327187e7f83a28.exe
    "C:\Users\Admin\AppData\Local\Temp\e28f384946d7a17d59de700e40186725163b534eab150d6be5327187e7f83a28.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:8
    • 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\e28f384946d7a17d59de700e40186725163b534eab150d6be5327187e7f83a28.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2512
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\xJsSkaGrYiK.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2652
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\xJsSkaGrYiK" /XML "C:\Users\Admin\AppData\Local\Temp\tmp7484.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2984
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4472

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

        __PSScriptPolicyTest_0lt4c2sf.ipi.ps1

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

        tmp7484.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp7484.tmp
        • Size 1KB
        • SHA256 034f1a06661c1960447ac987d7a19c6c658d06e9ca19efc2c423af5abe15e49d
        • MD5 SHA1 SHA512

        memory/8-8-0x0000000006A70000-0x0000000006A7E000-memory.dmp

        memory/8-5-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/8-6-0x00000000058A0000-0x00000000058AA000-memory.dmp

        memory/8-7-0x0000000005990000-0x00000000059A6000-memory.dmp

        memory/8-4-0x00000000054C0000-0x0000000005814000-memory.dmp

        memory/8-9-0x0000000006A80000-0x0000000006A90000-memory.dmp

        memory/8-10-0x0000000006AE0000-0x0000000006B62000-memory.dmp

        memory/8-11-0x0000000009250000-0x00000000092EC000-memory.dmp

        memory/8-0-0x00000000750EE000-0x00000000750EF000-memory.dmp

        memory/8-48-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/8-3-0x0000000005420000-0x00000000054B2000-memory.dmp

        memory/8-2-0x00000000059D0000-0x0000000005F74000-memory.dmp

        memory/8-1-0x00000000008C0000-0x00000000009B6000-memory.dmp

        memory/2512-16-0x00000000022B0000-0x00000000022E6000-memory.dmp

        memory/2512-20-0x0000000004C90000-0x0000000004CB2000-memory.dmp

        memory/2512-21-0x00000000054E0000-0x0000000005546000-memory.dmp

        memory/2512-32-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/2512-22-0x0000000005550000-0x00000000055B6000-memory.dmp

        memory/2512-19-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/2512-86-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/2512-18-0x0000000004D40000-0x0000000005368000-memory.dmp

        memory/2512-68-0x0000000071450000-0x000000007149C000-memory.dmp

        memory/2512-17-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/2652-67-0x00000000070D0000-0x0000000007166000-memory.dmp

        memory/2652-78-0x0000000007050000-0x0000000007061000-memory.dmp

        memory/2652-51-0x0000000006AC0000-0x0000000006AF2000-memory.dmp

        memory/2652-52-0x0000000071450000-0x000000007149C000-memory.dmp

        memory/2652-62-0x0000000006AA0000-0x0000000006ABE000-memory.dmp

        memory/2652-63-0x0000000006D00000-0x0000000006DA3000-memory.dmp

        memory/2652-65-0x0000000006E50000-0x0000000006E6A000-memory.dmp

        memory/2652-64-0x0000000007490000-0x0000000007B0A000-memory.dmp

        memory/2652-66-0x0000000006EC0000-0x0000000006ECA000-memory.dmp

        memory/2652-49-0x0000000005B20000-0x0000000005B3E000-memory.dmp

        memory/2652-45-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/2652-50-0x0000000005C80000-0x0000000005CCC000-memory.dmp

        memory/2652-79-0x0000000007080000-0x000000000708E000-memory.dmp

        memory/2652-80-0x0000000007090000-0x00000000070A4000-memory.dmp

        memory/2652-81-0x0000000007190000-0x00000000071AA000-memory.dmp

        memory/2652-82-0x0000000007170000-0x0000000007178000-memory.dmp

        memory/2652-34-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/2652-44-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/2652-90-0x00000000750E0000-0x0000000075890000-memory.dmp

        memory/4472-46-0x0000000000400000-0x0000000000440000-memory.dmp

        memory/4472-83-0x0000000006C70000-0x0000000006CC0000-memory.dmp