Analysis

  • max time kernel
    84s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230621-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230621-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/06/2023, 08:20

General

  • Target
    fTNo8xm1Pj9nr0B.exe
  • Size 617KB
  • Sample230626-j8er4aha85
  • SHA256 ade8f786a08406ad3d3bfe39b0807cbdb1182cfc60d205af6709b532d5f0574d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • snakekeylogger

C2
  • https://api.telegram.org/bot5604026443:AAGvrHypAo66IzhqZoZmCUuAxemGPV9TmF8/sendMessage?chat_id=5114872101

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\fTNo8xm1Pj9nr0B.exe
    "C:\Users\Admin\AppData\Local\Temp\fTNo8xm1Pj9nr0B.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4968
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\wKacYzPcTV.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2908
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\wKacYzPcTV" /XML "C:\Users\Admin\AppData\Local\Temp\tmp2887.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4044
    • C:\Users\Admin\AppData\Local\Temp\fTNo8xm1Pj9nr0B.exe
      "C:\Users\Admin\AppData\Local\Temp\fTNo8xm1Pj9nr0B.exe"
      2⤵
      • Accesses Microsoft Outlook profiles
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • outlook_office_path
      • outlook_win_path
      PID:2640

Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        fTNo8xm1Pj9nr0B.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\fTNo8xm1Pj9nr0B.exe.log
        • Size 1KB
        • SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_f21zp2np.h40.ps1

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

        tmp2887.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp2887.tmp
        • Size 1KB
        • SHA256 74e9e581eb073147c7252481d01e0778375ca8e14011ff41b9e6383ee69f5b36
        • MD5 SHA1 SHA512

        memory/2640-162-0x0000000005140000-0x0000000005150000-memory.dmp

        memory/2640-146-0x0000000000400000-0x0000000000426000-memory.dmp

        memory/2640-190-0x0000000005140000-0x0000000005150000-memory.dmp

        memory/2640-187-0x0000000006280000-0x0000000006442000-memory.dmp

        memory/2908-180-0x0000000007680000-0x0000000007CFA000-memory.dmp

        memory/2908-166-0x00000000062F0000-0x0000000006322000-memory.dmp

        memory/2908-144-0x0000000002410000-0x0000000002446000-memory.dmp

        memory/2908-147-0x00000000050C0000-0x00000000056E8000-memory.dmp

        memory/2908-186-0x0000000007360000-0x0000000007368000-memory.dmp

        memory/2908-150-0x0000000004F70000-0x0000000004F92000-memory.dmp

        memory/2908-185-0x0000000007380000-0x000000000739A000-memory.dmp

        memory/2908-156-0x0000000005020000-0x0000000005086000-memory.dmp

        memory/2908-158-0x0000000005760000-0x00000000057C6000-memory.dmp

        memory/2908-184-0x0000000007270000-0x000000000727E000-memory.dmp

        memory/2908-183-0x00000000072C0000-0x0000000007356000-memory.dmp

        memory/2908-165-0x0000000005D30000-0x0000000005D4E000-memory.dmp

        memory/2908-167-0x0000000070190000-0x00000000701DC000-memory.dmp

        memory/2908-182-0x00000000070B0000-0x00000000070BA000-memory.dmp

        memory/2908-164-0x0000000002480000-0x0000000002490000-memory.dmp

        memory/2908-177-0x00000000062D0000-0x00000000062EE000-memory.dmp

        memory/2908-178-0x0000000002480000-0x0000000002490000-memory.dmp

        memory/2908-179-0x000000007F400000-0x000000007F410000-memory.dmp

        memory/2908-163-0x0000000002480000-0x0000000002490000-memory.dmp

        memory/2908-181-0x0000000007040000-0x000000000705A000-memory.dmp

        memory/4968-136-0x0000000005000000-0x000000000500A000-memory.dmp

        memory/4968-137-0x0000000005260000-0x0000000005270000-memory.dmp

        memory/4968-133-0x00000000005B0000-0x0000000000650000-memory.dmp

        memory/4968-134-0x00000000055F0000-0x0000000005B94000-memory.dmp

        memory/4968-135-0x0000000005040000-0x00000000050D2000-memory.dmp

        memory/4968-139-0x000000000ACB0000-0x000000000AD4C000-memory.dmp

        memory/4968-138-0x0000000005260000-0x0000000005270000-memory.dmp