Analysis

  • max time kernel
    149s
  • max time network
    150s
  • 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 05:25

General

  • Target

    2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe

  • Size

    13.6MB

  • MD5

    a115c76529a4790992d6585ccc323b5d

  • SHA1

    d55d060919f5bde9f5d420f4f9162fd48df1914d

  • SHA256

    843a04f3e1acdd78a036dd537c4840daed7f2b3e8b7f8472c3c20af5a888092b

  • SHA512

    5b006c4ea6b3355561ab5bfd5b2225d39c610f55b2005e816c74f884ba04e896ce091a8a6e1071732fcb4dc41c3d1f8ca1f320897bf2c72135b57f5a468eb275

  • SSDEEP

    24576:XEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZJ:0fotP

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_a115c76529a4790992d6585ccc323b5d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nrwrmskb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sstezayg.exe" C:\Windows\SysWOW64\nrwrmskb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nrwrmskb binPath= "C:\Windows\SysWOW64\nrwrmskb\sstezayg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nrwrmskb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3616
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nrwrmskb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4684
    • 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:2640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2104 -s 1216
      2⤵
      • Program crash
      PID:4100
  • C:\Windows\SysWOW64\nrwrmskb\sstezayg.exe
    C:\Windows\SysWOW64\nrwrmskb\sstezayg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5028
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2900
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5028 -s 512
      2⤵
      • Program crash
      PID:4260
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2104 -ip 2104
    1⤵
      PID:4900
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 5028 -ip 5028
      1⤵
        PID:3564

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        50f9990dd5e0bbd1febaec58409034d7

        SHA1

        3ebc9c3b9e178221a996b513da0f350a6c97c53b

        SHA256

        5b452eccd49c581cb340265255ab4e1fbdd6f3d4d448c3019abd1fdd52a18359

        SHA512

        8ec04cf325c1eb6a8cc8e3af5152a8c01a7f46f2e39ba4d8e61085037c26d3af4c31191b4ccdbbb338710e2d134fd7c68d8197916328481e4f946546de3cc509

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2104-2-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2104-8-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/2104-1-0x0000000000730000-0x0000000000830000-memory.dmp

        Filesize

        1024KB

      • memory/2900-14-0x0000000000E50000-0x0000000000E65000-memory.dmp

        Filesize

        84KB

      • memory/2900-16-0x0000000000E50000-0x0000000000E65000-memory.dmp

        Filesize

        84KB

      • memory/2900-17-0x0000000000E50000-0x0000000000E65000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB