Analysis

  • max time kernel
    146s
  • max time network
    153s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-06-2023 14:10

General

  • Target

    file.exe

  • Size

    390KB

  • MD5

    66244fb1118f70553439a5afc47529ac

  • SHA1

    68250dcc265970b31d6fed79c008fe0972eec12c

  • SHA256

    8973a01c5fb01195763577375cc5e3b223c5ed680cbd646a0924cbcb37150ebb

  • SHA512

    8cd236ee3ab5ce209264cdbb3d00acc4399489474e47ef6e231d76fdd704a07b4060ca20e46f5e2ea618963dd4cb38fe38c4e91b42e79b7c2bdc68756d3719cb

  • SSDEEP

    6144:cTzoeC71TFqddJYDqR2B19LuduY0XoJt6FW9mVou0art+obeVxJAK/ngEdfbL2:KzDqRkGDqMnXhYJt6zSu0kMOWD3/ge/2

Malware Config

Extracted

Family

snakekeylogger

C2

https://api.telegram.org/bot6029559841:AAEqr8_NCfqapJgAzw8PoPbqoCosnsk1VO0/sendMessage?chat_id=6033043077

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

  • Snake Keylogger payload 1 IoCs
  • UAC bypass 3 TTPs 1 IoCs
  • Windows security bypass 2 TTPs 2 IoCs
  • Looks for VirtualBox Guest Additions in registry 2 TTPs 2 IoCs
  • Looks for VMWare Tools registry key 2 TTPs 2 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks BIOS information in registry 2 TTPs 4 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Executes dropped EXE 1 IoCs
  • Uses the VBS compiler for execution 1 TTPs
  • Windows security modification 2 TTPs 3 IoCs
  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 2 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.

  • Maps connected drives based on registry 3 TTPs 4 IoCs

    Disk information is often read in order to detect sandboxing environments.

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

  • Delays execution with timeout.exe 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 57 IoCs
  • Suspicious behavior: LoadsDriver 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of WriteProcessMemory 54 IoCs
  • System policy modification 1 TTPs 1 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Looks for VirtualBox Guest Additions in registry
    • Looks for VMWare Tools registry key
    • Checks BIOS information in registry
    • Checks computer location settings
    • Adds Run key to start application
    • Maps connected drives based on registry
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3348
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /c schtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"' & exit
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:740
      • C:\Windows\system32\schtasks.exe
        schtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"'
        3⤵
        • Creates scheduled task(s)
        PID:3980
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmp7479.tmp.bat""
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2132
      • C:\Windows\system32\timeout.exe
        timeout 3
        3⤵
        • Delays execution with timeout.exe
        PID:3288
      • C:\Users\Admin\AppData\Roaming\svchost.exe
        "C:\Users\Admin\AppData\Roaming\svchost.exe"
        3⤵
        • UAC bypass
        • Windows security bypass
        • Looks for VirtualBox Guest Additions in registry
        • Looks for VMWare Tools registry key
        • Sets service image path in registry
        • Checks BIOS information in registry
        • Checks computer location settings
        • Executes dropped EXE
        • Windows security modification
        • Checks whether UAC is enabled
        • Maps connected drives based on registry
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious behavior: LoadsDriver
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        • System policy modification
        PID:2504
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\svchost.exe" -Force
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3896
        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ilasm.exe
          "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ilasm.exe"
          4⤵
            PID:4352
          • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\CasPol.exe
            "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\CasPol.exe"
            4⤵
              PID:1088
            • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Workflow.Compiler.exe
              "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Workflow.Compiler.exe"
              4⤵
                PID:3496
              • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ServiceModelReg.exe
                "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ServiceModelReg.exe"
                4⤵
                  PID:4628
                • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WsatConfig.exe
                  "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WsatConfig.exe"
                  4⤵
                    PID:3508
                  • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AppLaunch.exe
                    "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AppLaunch.exe"
                    4⤵
                      PID:4284
                    • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
                      "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe"
                      4⤵
                        PID:4800
                      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
                        "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe"
                        4⤵
                          PID:4864
                        • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AddInUtil.exe
                          "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AddInUtil.exe"
                          4⤵
                            PID:3812
                          • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe
                            "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe"
                            4⤵
                              PID:3756
                            • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AddInProcess32.exe
                              "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\AddInProcess32.exe"
                              4⤵
                                PID:4724
                              • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_state.exe
                                "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_state.exe"
                                4⤵
                                  PID:5112
                                • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regbrowsers.exe
                                  "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regbrowsers.exe"
                                  4⤵
                                    PID:1320
                                  • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_wp.exe
                                    "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_wp.exe"
                                    4⤵
                                      PID:1800
                                    • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe
                                      "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe"
                                      4⤵
                                        PID:3940
                                      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\jsc.exe
                                        "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\jsc.exe"
                                        4⤵
                                        • Accesses Microsoft Outlook profiles
                                        • Suspicious behavior: EnumeratesProcesses
                                        • Suspicious use of AdjustPrivilegeToken
                                        • Suspicious use of WriteProcessMemory
                                        • outlook_office_path
                                        • outlook_win_path
                                        PID:1856
                                        • C:\Windows\SysWOW64\netsh.exe
                                          "netsh" wlan show profile
                                          5⤵
                                            PID:4472

                                  Network

                                  MITRE ATT&CK Matrix ATT&CK v6

                                  Execution

                                  Scripting

                                  1
                                  T1064

                                  Scheduled Task

                                  1
                                  T1053

                                  Persistence

                                  Registry Run Keys / Startup Folder

                                  2
                                  T1060

                                  Scheduled Task

                                  1
                                  T1053

                                  Privilege Escalation

                                  Bypass User Account Control

                                  1
                                  T1088

                                  Scheduled Task

                                  1
                                  T1053

                                  Defense Evasion

                                  Bypass User Account Control

                                  1
                                  T1088

                                  Disabling Security Tools

                                  3
                                  T1089

                                  Modify Registry

                                  6
                                  T1112

                                  Virtualization/Sandbox Evasion

                                  2
                                  T1497

                                  Scripting

                                  1
                                  T1064

                                  Discovery

                                  Query Registry

                                  6
                                  T1012

                                  Virtualization/Sandbox Evasion

                                  2
                                  T1497

                                  System Information Discovery

                                  5
                                  T1082

                                  Peripheral Device Discovery

                                  1
                                  T1120

                                  Collection

                                  Email Collection

                                  1
                                  T1114

                                  Replay Monitor

                                  Loading Replay Monitor...

                                  Downloads

                                  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_qiazkuuo.ew3.ps1
                                    Filesize

                                    60B

                                    MD5

                                    d17fe0a3f47be24a6453e9ef58c94641

                                    SHA1

                                    6ab83620379fc69f80c0242105ddffd7d98d5d9d

                                    SHA256

                                    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

                                    SHA512

                                    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

                                  • C:\Users\Admin\AppData\Local\Temp\tmp7479.tmp.bat
                                    Filesize

                                    151B

                                    MD5

                                    1d3321b0791eef94f3d2fefe4eda4051

                                    SHA1

                                    ee1a0aebe721716848020834e60de6e2c1fcc565

                                    SHA256

                                    614c05cb79bb4428f00c047ca6b163de79183309436ff1027f7dcccbef273f24

                                    SHA512

                                    1cd542e2f174a1df081cda56489e8e004d3338a08072510a696ad790a2c6fa0a650c9e997e36e231b89a67cb7184722390352d81e48df44018506d7ecba021ee

                                  • C:\Users\Admin\AppData\Roaming\svchost.exe
                                    Filesize

                                    390KB

                                    MD5

                                    66244fb1118f70553439a5afc47529ac

                                    SHA1

                                    68250dcc265970b31d6fed79c008fe0972eec12c

                                    SHA256

                                    8973a01c5fb01195763577375cc5e3b223c5ed680cbd646a0924cbcb37150ebb

                                    SHA512

                                    8cd236ee3ab5ce209264cdbb3d00acc4399489474e47ef6e231d76fdd704a07b4060ca20e46f5e2ea618963dd4cb38fe38c4e91b42e79b7c2bdc68756d3719cb

                                  • C:\Users\Admin\AppData\Roaming\svchost.exe
                                    Filesize

                                    390KB

                                    MD5

                                    66244fb1118f70553439a5afc47529ac

                                    SHA1

                                    68250dcc265970b31d6fed79c008fe0972eec12c

                                    SHA256

                                    8973a01c5fb01195763577375cc5e3b223c5ed680cbd646a0924cbcb37150ebb

                                    SHA512

                                    8cd236ee3ab5ce209264cdbb3d00acc4399489474e47ef6e231d76fdd704a07b4060ca20e46f5e2ea618963dd4cb38fe38c4e91b42e79b7c2bdc68756d3719cb

                                  • memory/1856-154-0x0000000000400000-0x0000000000426000-memory.dmp
                                    Filesize

                                    152KB

                                  • memory/1856-158-0x0000000005B30000-0x00000000060D4000-memory.dmp
                                    Filesize

                                    5.6MB

                                  • memory/1856-159-0x00000000054C0000-0x000000000555C000-memory.dmp
                                    Filesize

                                    624KB

                                  • memory/1856-160-0x00000000054B0000-0x00000000054C0000-memory.dmp
                                    Filesize

                                    64KB

                                  • memory/1856-161-0x0000000006930000-0x0000000006AF2000-memory.dmp
                                    Filesize

                                    1.8MB

                                  • memory/1856-162-0x00000000054B0000-0x00000000054C0000-memory.dmp
                                    Filesize

                                    64KB

                                  • memory/1856-163-0x0000000006CA0000-0x0000000006D32000-memory.dmp
                                    Filesize

                                    584KB

                                  • memory/1856-164-0x0000000006920000-0x000000000692A000-memory.dmp
                                    Filesize

                                    40KB

                                  • memory/3348-133-0x0000024883780000-0x00000248837E6000-memory.dmp
                                    Filesize

                                    408KB

                                  • memory/3348-134-0x0000024883B40000-0x0000024883B50000-memory.dmp
                                    Filesize

                                    64KB

                                  • memory/3896-145-0x00000133D9260000-0x00000133D9282000-memory.dmp
                                    Filesize

                                    136KB