Analysis

  • max time kernel
    150s
  • 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 19:55

General

  • Target

    2025-01-31_4b0e330b5c6583fedcc935a0186d4f5f_mafia.exe

  • Size

    13.7MB

  • MD5

    4b0e330b5c6583fedcc935a0186d4f5f

  • SHA1

    62d45c7e61a636c6ceee3a3538179ca19d519400

  • SHA256

    af7459c0ee91c6b97f86e2157c3161d114fee74be37e562f4ecdacd1a53cb275

  • SHA512

    8520a316fad2d39b720c4e274900d688e694e4c4d506747c5cc32bf2666464fb68bc5663d7c7dcbc538145163bdb78600884e327ed2d7b54d8b0d68d80c90ce3

  • SSDEEP

    24576:IpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttP:koo

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_4b0e330b5c6583fedcc935a0186d4f5f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_4b0e330b5c6583fedcc935a0186d4f5f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kknsmnad\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:64
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rielcbfj.exe" C:\Windows\SysWOW64\kknsmnad\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kknsmnad binPath= "C:\Windows\SysWOW64\kknsmnad\rielcbfj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_4b0e330b5c6583fedcc935a0186d4f5f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4612
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kknsmnad "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kknsmnad
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2924
    • 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:1404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3980 -s 1036
      2⤵
      • Program crash
      PID:2976
  • C:\Windows\SysWOW64\kknsmnad\rielcbfj.exe
    C:\Windows\SysWOW64\kknsmnad\rielcbfj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_4b0e330b5c6583fedcc935a0186d4f5f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5044
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5044 -s 512
      2⤵
      • Program crash
      PID:548
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 3980 -ip 3980
    1⤵
      PID:1636
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 5044 -ip 5044
      1⤵
        PID:3420

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.2MB

        MD5

        c680028d3b99fca077ab33825b991241

        SHA1

        3466e7aaec3f9efe86308a159218535e57ccdbfa

        SHA256

        bcd0335c74c9827304d77ddc45ea9bfa172a0d31c8bbdac28fef860f6ed618f3

        SHA512

        3742e72e8c7227da4adc4ccb6e97af9fc46a8870435c72bd918f4195897a1189a9bd2b1c3327a14cf83796341e39dd043ef592409bd138c9362253045c9f4bca

      • memory/116-14-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

        Filesize

        84KB

      • memory/116-17-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

        Filesize

        84KB

      • memory/116-16-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3980-1-0x0000000000450000-0x0000000000550000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB