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
    31-01-2025 20:13

General

  • Target

    2025-01-31_d12fcd8e42d1bd01e095d49224242a39_mafia.exe

  • Size

    10.7MB

  • MD5

    d12fcd8e42d1bd01e095d49224242a39

  • SHA1

    52f01de9737f30707bd9391941e37bc3d90f146e

  • SHA256

    7faf95342f16f66b3e626bd8e679ada46040ae39a4aab0ea9bda869b4232d4f9

  • SHA512

    6f823ff4a76b080baaa0b5982ca97842eb66ec8f181576b9963da279dc0b7eb31d35550f5d8c1249518a37c82e91db78933cbfce0364614fe4a930cdea33f25e

  • SSDEEP

    3072:ULBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:ROMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-31_d12fcd8e42d1bd01e095d49224242a39_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_d12fcd8e42d1bd01e095d49224242a39_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4784
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ccwthbsb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1856
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lgkcsdfd.exe" C:\Windows\SysWOW64\ccwthbsb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ccwthbsb binPath= "C:\Windows\SysWOW64\ccwthbsb\lgkcsdfd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_d12fcd8e42d1bd01e095d49224242a39_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ccwthbsb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:544
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ccwthbsb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3052
    • 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:2088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4784 -s 1044
      2⤵
      • Program crash
      PID:2416
  • C:\Windows\SysWOW64\ccwthbsb\lgkcsdfd.exe
    C:\Windows\SysWOW64\ccwthbsb\lgkcsdfd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_d12fcd8e42d1bd01e095d49224242a39_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:380
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3004
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 380 -s 512
      2⤵
      • Program crash
      PID:1100
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4784 -ip 4784
    1⤵
      PID:2648
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 380 -ip 380
      1⤵
        PID:2120

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        8ed99c39e970affd68c0d863644518e5

        SHA1

        3da41bddf582651e33dbe8bd57ca23e72daea659

        SHA256

        7cc40b6567ec84ed4bdc9c5d3a9adf82d8405b439aa6447949bf7e1909bca067

        SHA512

        88776a63c4220e8a25b39589375e77ea9af2b7b8fad9e2b9836f458d627696c3e9c3aebdbba40bf7cc45aeab217e78c33450e49ff53cbaf5ba2e68d58dd9aaf7

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3004-14-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

        Filesize

        84KB

      • memory/3004-16-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

        Filesize

        84KB

      • memory/3004-17-0x0000000000EC0000-0x0000000000ED5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        76KB