Analysis

  • max time kernel
    138s
  • max time network
    139s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19/08/2024, 13:50

General

  • Target
    quotation request 19 Aug,2024 pdf.exe
  • Size 697KB
  • Sample240819-q5a33axejf
  • SHA256 7d50338fe1feeb6944bfd552e44f266d764dafc089b853a6ee24f67ef322c124
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

Credentials
  • Protocol

    smtp

  • Host

    us2.smtp.mailhostbox.com

  • Port

    587

  • Password

    cash@com12345

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger payload 1 IoCs
  • 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 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).

  • System Location Discovery: System Language Discovery 1 TTPs 7 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Scheduled Task/Job: Scheduled Task 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 4 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\quotation request 19 Aug,2024 pdf.exe
    "C:\Users\Admin\AppData\Local\Temp\quotation request 19 Aug,2024 pdf.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1664
    • 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\quotation request 19 Aug,2024 pdf.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4244
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\kAgDtzbA.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:748
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\kAgDtzbA" /XML "C:\Users\Admin\AppData\Local\Temp\tmpD1C7.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:3940
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:3452
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C choice /C Y /N /D Y /T 3 & Del "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:4508
        • C:\Windows\SysWOW64\choice.exe
          choice /C Y /N /D Y /T 3
          4⤵
          • System Location Discovery: System Language Discovery
          PID:1016

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

        __PSScriptPolicyTest_hh1hwrx5.frh.ps1

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

        tmpD1C7.tmp

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

        memory/748-78-0x0000000007DB0000-0x0000000007E46000-memory.dmp

        memory/748-37-0x0000000006200000-0x0000000006554000-memory.dmp

        memory/748-53-0x0000000070EF0000-0x0000000070F3C000-memory.dmp

        memory/748-52-0x0000000007980000-0x00000000079B2000-memory.dmp

        memory/748-75-0x0000000008170000-0x00000000087EA000-memory.dmp

        memory/748-76-0x0000000007B30000-0x0000000007B4A000-memory.dmp

        memory/748-63-0x00000000079E0000-0x00000000079FE000-memory.dmp

        memory/748-32-0x0000000006190000-0x00000000061F6000-memory.dmp

        memory/748-31-0x0000000006120000-0x0000000006186000-memory.dmp

        memory/748-90-0x00000000748D0000-0x0000000075080000-memory.dmp

        memory/748-23-0x00000000748D0000-0x0000000075080000-memory.dmp

        memory/748-22-0x00000000748D0000-0x0000000075080000-memory.dmp

        memory/748-79-0x0000000007D30000-0x0000000007D41000-memory.dmp

        memory/748-21-0x00000000748D0000-0x0000000075080000-memory.dmp

        memory/1664-10-0x0000000005DF0000-0x0000000005E58000-memory.dmp

        memory/1664-7-0x00000000748DE000-0x00000000748DF000-memory.dmp

        memory/1664-2-0x0000000005330000-0x00000000058D4000-memory.dmp

        memory/1664-0-0x00000000748DE000-0x00000000748DF000-memory.dmp

        memory/1664-11-0x00000000060A0000-0x000000000613C000-memory.dmp

        memory/1664-5-0x00000000748D0000-0x0000000075080000-memory.dmp

        memory/1664-6-0x0000000005300000-0x0000000005312000-memory.dmp

        memory/1664-3-0x0000000004B80000-0x0000000004C12000-memory.dmp

        memory/1664-4-0x0000000004D20000-0x0000000004D2A000-memory.dmp

        memory/1664-49-0x00000000748D0000-0x0000000075080000-memory.dmp

        memory/1664-9-0x0000000005320000-0x0000000005330000-memory.dmp

        memory/1664-8-0x00000000748D0000-0x0000000075080000-memory.dmp

        memory/1664-1-0x00000000000E0000-0x0000000000194000-memory.dmp

        memory/3452-38-0x0000000000400000-0x0000000000426000-memory.dmp

        memory/4244-16-0x0000000002C90000-0x0000000002CC6000-memory.dmp

        memory/4244-64-0x0000000070EF0000-0x0000000070F3C000-memory.dmp

        memory/4244-74-0x00000000075C0000-0x0000000007663000-memory.dmp

        memory/4244-51-0x0000000006970000-0x00000000069BC000-memory.dmp

        memory/4244-50-0x00000000065A0000-0x00000000065BE000-memory.dmp

        memory/4244-77-0x0000000007940000-0x000000000794A000-memory.dmp

        memory/4244-30-0x0000000005E30000-0x0000000005E52000-memory.dmp

        memory/4244-20-0x00000000748D0000-0x0000000075080000-memory.dmp

        memory/4244-80-0x0000000007B00000-0x0000000007B0E000-memory.dmp

        memory/4244-81-0x0000000007B10000-0x0000000007B24000-memory.dmp

        memory/4244-82-0x0000000007C10000-0x0000000007C2A000-memory.dmp

        memory/4244-83-0x0000000007BF0000-0x0000000007BF8000-memory.dmp

        memory/4244-19-0x00000000748D0000-0x0000000075080000-memory.dmp

        memory/4244-18-0x00000000056D0000-0x0000000005CF8000-memory.dmp

        memory/4244-17-0x00000000748D0000-0x0000000075080000-memory.dmp

        memory/4244-89-0x00000000748D0000-0x0000000075080000-memory.dmp