Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 20:16

General

  • Target

    2025-02-01_6df18a8d2707d7eb2d912e8fb6391b11_mafia.exe

  • Size

    13.5MB

  • MD5

    6df18a8d2707d7eb2d912e8fb6391b11

  • SHA1

    82c745888941614f23554b0b36d0d4e9054188b5

  • SHA256

    0bc64c4228a8a04bc7e86cbe66739cd23a4125fc9b732fcf4c9d71c645343006

  • SHA512

    91a61750cf0c279c02963f22bf637738c3d6d0113a0d73b14f346e059315edc16c046ee28f1eb016d88aca8da3a73c64413f30cb3fd472dd3f12976a99e1b560

  • SSDEEP

    24576:mEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ9:ffot

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-02-01_6df18a8d2707d7eb2d912e8fb6391b11_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_6df18a8d2707d7eb2d912e8fb6391b11_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\glceyfat\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tcwbtsnj.exe" C:\Windows\SysWOW64\glceyfat\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create glceyfat binPath= "C:\Windows\SysWOW64\glceyfat\tcwbtsnj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_6df18a8d2707d7eb2d912e8fb6391b11_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description glceyfat "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4276
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start glceyfat
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2276
    • 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:208
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3564 -s 1176
      2⤵
      • Program crash
      PID:4912
  • C:\Windows\SysWOW64\glceyfat\tcwbtsnj.exe
    C:\Windows\SysWOW64\glceyfat\tcwbtsnj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_6df18a8d2707d7eb2d912e8fb6391b11_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1148
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1148 -s 508
      2⤵
      • Program crash
      PID:2544
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3564 -ip 3564
    1⤵
      PID:5020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 1148 -ip 1148
      1⤵
        PID:740

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        828a0fea1b5b8a9f7096a2b9053ba896

        SHA1

        0240decc309ee30815e25c180e78bb32a1ff8f71

        SHA256

        727232148ca38f03e2045a3df64cafcd66284cc785d82c31ffeb0db988b892f9

        SHA512

        8db129610bc6348b571fd37bda98763dfd7e0ae7021e3272a774e24d6ee2a65395a588423efabc6c7b4056891ce3d8c6723296127b85bcdf302f86b94c3160be

      • memory/1148-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1148-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1148-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1148-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1656-14-0x0000000000C40000-0x0000000000C55000-memory.dmp

        Filesize

        84KB

      • memory/1656-16-0x0000000000C40000-0x0000000000C55000-memory.dmp

        Filesize

        84KB

      • memory/1656-17-0x0000000000C40000-0x0000000000C55000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3564-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3564-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3564-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/3564-1-0x0000000000460000-0x0000000000560000-memory.dmp

        Filesize

        1024KB