Analysis

  • max time kernel
    145s
  • max time network
    130s
  • 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:25

General

  • Target

    2025-02-01_911cc5e56fb7367da1798a04b9c370fb_mafia.exe

  • Size

    12.9MB

  • MD5

    911cc5e56fb7367da1798a04b9c370fb

  • SHA1

    995550c02c0e2f934005d26ab82fde7da37fad1a

  • SHA256

    afd0a3a9ccf343cb2715dee65320a086f810802051a81f39bca3838280cc96fa

  • SHA512

    8e165e186b8520569c36c653c196e1526b8eaf27b9e5995611fff386d42a85ac33cc970efe87e48cb7e307f139d787ff5faab24337342fe6a51b0045e251d144

  • SSDEEP

    6144:oLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQl:9TYe+D2jFu+iZoUFhAz

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_911cc5e56fb7367da1798a04b9c370fb_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_911cc5e56fb7367da1798a04b9c370fb_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rwsjwlin\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2528
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\toskalnl.exe" C:\Windows\SysWOW64\rwsjwlin\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rwsjwlin binPath= "C:\Windows\SysWOW64\rwsjwlin\toskalnl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_911cc5e56fb7367da1798a04b9c370fb_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rwsjwlin "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1068
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rwsjwlin
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:808
    • 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:1136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1980 -s 1036
      2⤵
      • Program crash
      PID:4624
  • C:\Windows\SysWOW64\rwsjwlin\toskalnl.exe
    C:\Windows\SysWOW64\rwsjwlin\toskalnl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_911cc5e56fb7367da1798a04b9c370fb_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4784
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3788
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4784 -s 536
      2⤵
      • Program crash
      PID:1404
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1980 -ip 1980
    1⤵
      PID:2492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4784 -ip 4784
      1⤵
        PID:4168

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        1097414e018b5f198c1408684a1de9d6

        SHA1

        9a79995f2ac12d3a2c6dcfacede41318cfb8e23c

        SHA256

        5599b58065dbd45319481aa9c414088abce9820bac93f9c33421f7648f2cf71b

        SHA512

        36dc1e6fd57f1b1ad89b94efdaa9d41a29992d7b562c4e92943159d5539dfbe41ab5ff2a05bbd23b841e5802a9ab2cd5daea7d4ac5777c43f5df9988793b79e3

      • memory/1980-15-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/1980-2-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/1980-16-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/1980-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1980-1-0x00000000006C0000-0x00000000007C0000-memory.dmp

        Filesize

        1024KB

      • memory/3788-14-0x0000000000410000-0x0000000000425000-memory.dmp

        Filesize

        84KB

      • memory/3788-10-0x0000000000410000-0x0000000000425000-memory.dmp

        Filesize

        84KB

      • memory/3788-19-0x0000000000410000-0x0000000000425000-memory.dmp

        Filesize

        84KB

      • memory/3788-20-0x0000000000410000-0x0000000000425000-memory.dmp

        Filesize

        84KB

      • memory/3788-21-0x0000000000410000-0x0000000000425000-memory.dmp

        Filesize

        84KB

      • memory/4784-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4784-11-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        772KB