Analysis

  • max time kernel
    148s
  • max time network
    127s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/01/2025, 18:34

General

  • Target

    2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe

  • Size

    11.4MB

  • MD5

    5c6ae23b64fb57a3ebe7ecda833515a2

  • SHA1

    6256587cfd31f1be773738ad6a4479f5e5a0917b

  • SHA256

    b59aa4374a432455ceb42acd312ca1286148d06249b170cb7b8368d5b972d1a4

  • SHA512

    1a26478d0b08a3b52247b1e24bbdf052ea7bf7e0e4e122f3f42fe93f335501b72942e88ad186901ca3cdc17d832265a6751b509baec0643be8f8fd5fdf345972

  • SSDEEP

    24576:l6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQd:kWdLQkH

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2852
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ypocymb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3604
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wjvslydn.exe" C:\Windows\SysWOW64\ypocymb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:100
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ypocymb binPath= "C:\Windows\SysWOW64\ypocymb\wjvslydn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ypocymb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ypocymb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:832
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2852 -s 1184
      2⤵
      • Program crash
      PID:1796
  • C:\Windows\SysWOW64\ypocymb\wjvslydn.exe
    C:\Windows\SysWOW64\ypocymb\wjvslydn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_5c6ae23b64fb57a3ebe7ecda833515a2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1432
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4372
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1432 -s 520
      2⤵
      • Program crash
      PID:1712
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2852 -ip 2852
    1⤵
      PID:3816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1432 -ip 1432
      1⤵
        PID:4344

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\wjvslydn.exe

        Filesize

        11.0MB

        MD5

        082ee3a00c9207be624cd97b3bd63d95

        SHA1

        baab5060c9d5f8458460c555417d85d2fb020ac8

        SHA256

        8e64e9db16830b59f5b897cadca284602e8cea16d9ed6b4c9bee2d96b5a31099

        SHA512

        f818fc7304559926d63e5cd2b91df2f46c380a207ae195a1d520d17cc70b996f8f64f8e7c8b4e854b22a689ca91fbe03b9a63eb8228b545ebab7c79229edda8b

      • memory/1432-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/1432-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/1432-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/1432-18-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/2852-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2852-2-0x00000000004A0000-0x00000000004B3000-memory.dmp

        Filesize

        76KB

      • memory/2852-8-0x00000000004A0000-0x00000000004B3000-memory.dmp

        Filesize

        76KB

      • memory/2852-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2852-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/2852-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

        Filesize

        1024KB

      • memory/4372-14-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/4372-16-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/4372-17-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB