Analysis

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

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

General

  • Target
    38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe
  • Size 679KB
  • Sample240609-ej5j1aea96
  • SHA256 38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Credentials
  • Protocol

    smtp

  • Host

    mail.cervezabaum.com

  • Port

    587

  • Password

    36781193Baum

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.

  • 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 12 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 26 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe
    "C:\Users\Admin\AppData\Local\Temp\38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4948
    • 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\38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2516
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\sVtGEnvl.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1992
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\sVtGEnvl" /XML "C:\Users\Admin\AppData\Local\Temp\tmp5C0A.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4012
    • C:\Users\Admin\AppData\Local\Temp\38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe
      "C:\Users\Admin\AppData\Local\Temp\38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe"
      2⤵
        PID:1344
      • C:\Users\Admin\AppData\Local\Temp\38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe
        "C:\Users\Admin\AppData\Local\Temp\38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe"
        2⤵
          PID:444
        • C:\Users\Admin\AppData\Local\Temp\38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe
          "C:\Users\Admin\AppData\Local\Temp\38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe"
          2⤵
            PID:2928
          • C:\Users\Admin\AppData\Local\Temp\38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe
            "C:\Users\Admin\AppData\Local\Temp\38a05c98b7bd7131bc6d65dc7c5b2a68c63c63119a32012faf1981aa6f40a9c4.exe"
            2⤵
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:2396

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

              __PSScriptPolicyTest_swrcoweo.2sl.ps1

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

              tmp5C0A.tmp

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

              memory/1992-73-0x00000000079F0000-0x000000000806A000-memory.dmp

              memory/1992-75-0x0000000007420000-0x000000000742A000-memory.dmp

              memory/1992-89-0x00000000746E0000-0x0000000074E90000-memory.dmp

              memory/1992-80-0x00000000076F0000-0x000000000770A000-memory.dmp

              memory/1992-79-0x00000000075F0000-0x0000000007604000-memory.dmp

              memory/1992-78-0x00000000075E0000-0x00000000075EE000-memory.dmp

              memory/1992-77-0x00000000075B0000-0x00000000075C1000-memory.dmp

              memory/1992-74-0x00000000073B0000-0x00000000073CA000-memory.dmp

              memory/1992-62-0x0000000007290000-0x0000000007333000-memory.dmp

              memory/1992-61-0x0000000006600000-0x000000000661E000-memory.dmp

              memory/1992-18-0x00000000746E0000-0x0000000074E90000-memory.dmp

              memory/1992-51-0x0000000074F50000-0x0000000074F9C000-memory.dmp

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

              memory/1992-50-0x0000000006680000-0x00000000066B2000-memory.dmp

              memory/1992-49-0x0000000006620000-0x000000000666C000-memory.dmp

              memory/1992-36-0x00000000746E0000-0x0000000074E90000-memory.dmp

              memory/1992-48-0x0000000006080000-0x000000000609E000-memory.dmp

              memory/2396-82-0x00000000064C0000-0x0000000006510000-memory.dmp

              memory/2396-45-0x0000000000400000-0x0000000000440000-memory.dmp

              memory/2516-24-0x00000000746E0000-0x0000000074E90000-memory.dmp

              memory/2516-81-0x0000000007AA0000-0x0000000007AA8000-memory.dmp

              memory/2516-88-0x00000000746E0000-0x0000000074E90000-memory.dmp

              memory/2516-35-0x0000000005E70000-0x00000000061C4000-memory.dmp

              memory/2516-76-0x0000000007A00000-0x0000000007A96000-memory.dmp

              memory/2516-23-0x0000000005E00000-0x0000000005E66000-memory.dmp

              memory/2516-14-0x0000000004EA0000-0x0000000004ED6000-memory.dmp

              memory/2516-17-0x00000000746E0000-0x0000000074E90000-memory.dmp

              memory/2516-15-0x0000000005630000-0x0000000005C58000-memory.dmp

              memory/2516-21-0x0000000005590000-0x00000000055B2000-memory.dmp

              memory/2516-63-0x0000000074F50000-0x0000000074F9C000-memory.dmp

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

              memory/2516-22-0x0000000005D90000-0x0000000005DF6000-memory.dmp

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

              memory/4948-4-0x0000000004F70000-0x0000000004F7A000-memory.dmp

              memory/4948-9-0x00000000078E0000-0x0000000007962000-memory.dmp

              memory/4948-8-0x00000000051F0000-0x0000000005200000-memory.dmp

              memory/4948-7-0x0000000007840000-0x0000000007858000-memory.dmp

              memory/4948-6-0x0000000005030000-0x00000000050CC000-memory.dmp

              memory/4948-47-0x00000000746E0000-0x0000000074E90000-memory.dmp

              memory/4948-3-0x0000000004DB0000-0x0000000004E42000-memory.dmp

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

              memory/4948-2-0x0000000005410000-0x00000000059B4000-memory.dmp

              memory/4948-1-0x0000000000330000-0x00000000003E0000-memory.dmp