Analysis

  • max time kernel
    90s
  • max time network
    129s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    23/05/2022, 13:20

General

  • Target
    Avviso di pagamento.exe
  • Size 508KB
  • Sample220523-qk3ycadfa2
  • SHA256 1de694a30e2faf51fcbd5a7e7054022b883bc644bc0f1df7e9723b2c879b587c
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • snakekeylogger

C2
  • https://api.telegram.org/bot5254575276:AAFWaXU-iUq7XUY5iCKZ19_bcweDLz5oZhE/sendMessage?chat_id=1285569317

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger Payload 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

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

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • 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). Likely ransomware behaviour.

  • 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 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Avviso di pagamento.exe
    "C:\Users\Admin\AppData\Local\Temp\Avviso di pagamento.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2484
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\cHvPkVmsHC.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1200
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\cHvPkVmsHC" /XML "C:\Users\Admin\AppData\Local\Temp\tmp5573.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1124
    • C:\Users\Admin\AppData\Local\Temp\Avviso di pagamento.exe
      "C:\Users\Admin\AppData\Local\Temp\Avviso di pagamento.exe"
      2⤵
        PID:1924
      • C:\Users\Admin\AppData\Local\Temp\Avviso di pagamento.exe
        "C:\Users\Admin\AppData\Local\Temp\Avviso di pagamento.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • outlook_office_path
        • outlook_win_path
        PID:2972

    Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          Avviso di pagamento.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\Avviso di pagamento.exe.log
          • Size 1KB
          • SHA256 bd9d5e9f7fe6fcff17d873555d4077d15f7d6cdda1183e7f7d278b735ffe1fd7
          • MD5 SHA1 SHA512

          tmp5573.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp5573.tmp
          • Size 1KB
          • SHA256 19c68155fbc454c4bf5cece557e0df396159313af004ccdac6e96b5c699e9379
          • MD5 SHA1 SHA512

          memory/1200-149-0x0000000006840000-0x0000000006872000-memory.dmp

          memory/1200-155-0x00000000077E0000-0x0000000007876000-memory.dmp

          memory/1200-158-0x0000000007880000-0x0000000007888000-memory.dmp

          memory/1200-157-0x00000000078A0000-0x00000000078BA000-memory.dmp

          memory/1200-138-0x0000000002920000-0x0000000002956000-memory.dmp

          memory/1200-145-0x00000000052A0000-0x00000000052C2000-memory.dmp

          memory/1200-140-0x00000000055F0000-0x0000000005C18000-memory.dmp

          memory/1200-154-0x00000000075D0000-0x00000000075DA000-memory.dmp

          memory/1200-152-0x0000000007BA0000-0x000000000821A000-memory.dmp

          memory/1200-146-0x0000000005540000-0x00000000055A6000-memory.dmp

          memory/1200-153-0x0000000007560000-0x000000000757A000-memory.dmp

          memory/1200-147-0x0000000006260000-0x000000000627E000-memory.dmp

          memory/1200-156-0x0000000007790000-0x000000000779E000-memory.dmp

          memory/1200-151-0x0000000006800000-0x000000000681E000-memory.dmp

          memory/1200-150-0x0000000070B40000-0x0000000070B8C000-memory.dmp

          memory/2484-131-0x0000000005D00000-0x00000000062A4000-memory.dmp

          memory/2484-134-0x0000000008E30000-0x0000000008ECC000-memory.dmp

          memory/2484-133-0x0000000005800000-0x000000000580A000-memory.dmp

          memory/2484-132-0x0000000005750000-0x00000000057E2000-memory.dmp

          memory/2484-130-0x0000000000C30000-0x0000000000CB6000-memory.dmp

          memory/2484-135-0x00000000094B0000-0x0000000009516000-memory.dmp

          memory/2972-148-0x0000000006AA0000-0x0000000006C62000-memory.dmp

          memory/2972-143-0x0000000000400000-0x0000000000426000-memory.dmp