Analysis

  • max time kernel
    118s
  • max time network
    137s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-11-2024 14:52

General

  • Target

    zam.exe

  • Size

    711KB

  • MD5

    6ccd423abcf6bb68539f4c70419d6fc3

  • SHA1

    450d3110f5eca86f20823b61a4ef43fe5f35edd4

  • SHA256

    4bec8930b1157e64e7d785c62f4fcc4d5d144daeb954144ee3f3a5648820a9a2

  • SHA512

    7fc9ac53ab49470c812155ab184bb2e260de2b618492a8cfc507a7520a331327bdd553a639201da085324d8f2bbe8c9e9b20b4528f3b2e5f9aece323ad47d196

  • SSDEEP

    12288:eEEH0GapWzLehoBHUsu4xifZ6R6auv2VLEN714g2OkvqHbFweV:XEH4pBhtHhm61uLEN7urSbFwe

Malware Config

Extracted

Credentials

  • Protocol:
    ftp
  • Host:
    50.31.176.103
  • Port:
    21
  • Username:
    [email protected]
  • Password:
    HW=f09RQ-BL1

Extracted

Family

snakekeylogger

Credentials

  • Protocol:
    ftp
  • Host:
    ftp://50.31.176.103/
  • Port:
    21
  • Username:
    [email protected]
  • Password:
    HW=f09RQ-BL1

Signatures

  • Snake Keylogger

    Keylogger and Infostealer first seen in November 2020.

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

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

  • System Location Discovery: System Language Discovery 1 TTPs 5 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 10 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\zam.exe
    "C:\Users\Admin\AppData\Local\Temp\zam.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:3960
    • 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\zam.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1136
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\HaNkyQWPIIzrnC.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2780
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\HaNkyQWPIIzrnC" /XML "C:\Users\Admin\AppData\Local\Temp\tmpB3B0.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:2356
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
      2⤵
        PID:4428
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
        2⤵
        • Accesses Microsoft Outlook profiles
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • outlook_office_path
        • outlook_win_path
        PID:4620

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log

      Filesize

      2KB

      MD5

      3d086a433708053f9bf9523e1d87a4e8

      SHA1

      b3ab5d4f282a4c8fe8c3005b8a557ed5a0e37f28

      SHA256

      6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69

      SHA512

      931ae42b4c68a4507ff2342332b08eb407050d47cf4176137ea022d0f6e513c689e998445a04c6d18d4877391705c586bfce0234632b898d41aaed0957996dfd

    • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

      Filesize

      18KB

      MD5

      a3f421bd07c1f461154b5774b331a2ed

      SHA1

      79f097da2904a3b9b8c0206444307a4b05439466

      SHA256

      d4a2921859a914e9a1764f6c30c6cfb4273cd8ce99d91a89dd7e39c7fde62b52

      SHA512

      2dda427577fe42d4c977b378b9db3390cb76a806af4551bb179b16d23f7ee84ff44bf073088f83161b80140a2c1565a6ef7bd0d00745e85017cb4f0f6b1f166f

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_aartcskb.n53.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\Users\Admin\AppData\Local\Temp\tmpB3B0.tmp

      Filesize

      1KB

      MD5

      4c549c0c6b1a757a03ded44729ae5239

      SHA1

      1c161ab4c360f3e9cc96abe7f4ae485ac356b960

      SHA256

      a992b8e469585facad58f7968c5b4c1982571a719ae2c2bed73b599039a2650e

      SHA512

      c5cec5a8dd153e25ad8cbe7dac22a1a2155e576ce2cabad856cf90266f4f00d3334a6bfe92d2c538c386bf14482ded924b1950d2d73c2fcbb66cc6e30d7b313e

    • memory/1136-25-0x00000000062E0000-0x0000000006346000-memory.dmp

      Filesize

      408KB

    • memory/1136-45-0x0000000006350000-0x00000000066A4000-memory.dmp

      Filesize

      3.3MB

    • memory/1136-89-0x0000000074680000-0x0000000074E30000-memory.dmp

      Filesize

      7.7MB

    • memory/1136-77-0x0000000007CF0000-0x0000000007CFA000-memory.dmp

      Filesize

      40KB

    • memory/1136-75-0x00000000082C0000-0x000000000893A000-memory.dmp

      Filesize

      6.5MB

    • memory/1136-76-0x0000000007C80000-0x0000000007C9A000-memory.dmp

      Filesize

      104KB

    • memory/1136-74-0x0000000007940000-0x00000000079E3000-memory.dmp

      Filesize

      652KB

    • memory/1136-73-0x00000000078E0000-0x00000000078FE000-memory.dmp

      Filesize

      120KB

    • memory/1136-17-0x0000000074680000-0x0000000074E30000-memory.dmp

      Filesize

      7.7MB

    • memory/1136-18-0x0000000005B70000-0x0000000006198000-memory.dmp

      Filesize

      6.2MB

    • memory/1136-16-0x0000000005390000-0x00000000053C6000-memory.dmp

      Filesize

      216KB

    • memory/1136-19-0x0000000074680000-0x0000000074E30000-memory.dmp

      Filesize

      7.7MB

    • memory/1136-20-0x0000000074680000-0x0000000074E30000-memory.dmp

      Filesize

      7.7MB

    • memory/1136-52-0x0000000007900000-0x0000000007932000-memory.dmp

      Filesize

      200KB

    • memory/1136-53-0x0000000070D40000-0x0000000070D8C000-memory.dmp

      Filesize

      304KB

    • memory/1136-50-0x0000000006930000-0x000000000694E000-memory.dmp

      Filesize

      120KB

    • memory/1136-24-0x0000000006270000-0x00000000062D6000-memory.dmp

      Filesize

      408KB

    • memory/1136-23-0x00000000061D0000-0x00000000061F2000-memory.dmp

      Filesize

      136KB

    • memory/1136-51-0x0000000006970000-0x00000000069BC000-memory.dmp

      Filesize

      304KB

    • memory/2780-78-0x0000000007E50000-0x0000000007EE6000-memory.dmp

      Filesize

      600KB

    • memory/2780-63-0x0000000070D40000-0x0000000070D8C000-memory.dmp

      Filesize

      304KB

    • memory/2780-90-0x0000000074680000-0x0000000074E30000-memory.dmp

      Filesize

      7.7MB

    • memory/2780-46-0x0000000074680000-0x0000000074E30000-memory.dmp

      Filesize

      7.7MB

    • memory/2780-83-0x0000000007EF0000-0x0000000007EF8000-memory.dmp

      Filesize

      32KB

    • memory/2780-31-0x0000000074680000-0x0000000074E30000-memory.dmp

      Filesize

      7.7MB

    • memory/2780-82-0x0000000007F10000-0x0000000007F2A000-memory.dmp

      Filesize

      104KB

    • memory/2780-81-0x0000000007E10000-0x0000000007E24000-memory.dmp

      Filesize

      80KB

    • memory/2780-21-0x0000000074680000-0x0000000074E30000-memory.dmp

      Filesize

      7.7MB

    • memory/2780-80-0x0000000007E00000-0x0000000007E0E000-memory.dmp

      Filesize

      56KB

    • memory/2780-79-0x0000000007DD0000-0x0000000007DE1000-memory.dmp

      Filesize

      68KB

    • memory/3960-4-0x0000000005500000-0x000000000550A000-memory.dmp

      Filesize

      40KB

    • memory/3960-2-0x0000000005A20000-0x0000000005FC4000-memory.dmp

      Filesize

      5.6MB

    • memory/3960-8-0x00000000060D0000-0x00000000060EC000-memory.dmp

      Filesize

      112KB

    • memory/3960-7-0x0000000006EA0000-0x0000000006F50000-memory.dmp

      Filesize

      704KB

    • memory/3960-5-0x0000000005850000-0x00000000058EC000-memory.dmp

      Filesize

      624KB

    • memory/3960-10-0x0000000074680000-0x0000000074E30000-memory.dmp

      Filesize

      7.7MB

    • memory/3960-11-0x0000000004E90000-0x0000000004EF8000-memory.dmp

      Filesize

      416KB

    • memory/3960-49-0x0000000074680000-0x0000000074E30000-memory.dmp

      Filesize

      7.7MB

    • memory/3960-3-0x0000000005510000-0x00000000055A2000-memory.dmp

      Filesize

      584KB

    • memory/3960-6-0x0000000074680000-0x0000000074E30000-memory.dmp

      Filesize

      7.7MB

    • memory/3960-9-0x000000007468E000-0x000000007468F000-memory.dmp

      Filesize

      4KB

    • memory/3960-1-0x0000000000A60000-0x0000000000B18000-memory.dmp

      Filesize

      736KB

    • memory/3960-0-0x000000007468E000-0x000000007468F000-memory.dmp

      Filesize

      4KB

    • memory/4620-91-0x00000000067E0000-0x0000000006830000-memory.dmp

      Filesize

      320KB

    • memory/4620-47-0x0000000000400000-0x0000000000426000-memory.dmp

      Filesize

      152KB

    • memory/4620-92-0x0000000006A00000-0x0000000006BC2000-memory.dmp

      Filesize

      1.8MB