Analysis

  • max time kernel
    149s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-01-2025 18:03

General

  • Target

    2025-01-11_2dfe303a8bce485655bbee496bdda343_mafia.exe

  • Size

    11.2MB

  • MD5

    2dfe303a8bce485655bbee496bdda343

  • SHA1

    879b61d37204ee1b2bb55674e2bc2b187c6f57a9

  • SHA256

    ba2d6e98aa3eecb49c8f607224c64c4d6d0af080244f2320d81fdcc926452d2e

  • SHA512

    3c5c0ab522de386301c2275358ee1dda2a7e285e8b19ad32f249f26eb8c5b91ba65a46d12d1ad1dcc0b56eff4f455b8833795a5829ca85a7f5edef912b95a13f

  • SSDEEP

    24576:GpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttl: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-11_2dfe303a8bce485655bbee496bdda343_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-11_2dfe303a8bce485655bbee496bdda343_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3108
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\isnpucu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2452
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nhhyjsjl.exe" C:\Windows\SysWOW64\isnpucu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create isnpucu binPath= "C:\Windows\SysWOW64\isnpucu\nhhyjsjl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_2dfe303a8bce485655bbee496bdda343_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description isnpucu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4452
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start isnpucu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4104
    • 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:1488
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3108 -s 1036
      2⤵
      • Program crash
      PID:3960
  • C:\Windows\SysWOW64\isnpucu\nhhyjsjl.exe
    C:\Windows\SysWOW64\isnpucu\nhhyjsjl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_2dfe303a8bce485655bbee496bdda343_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3196
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1356
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3196 -s 560
      2⤵
      • Program crash
      PID:2940
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3108 -ip 3108
    1⤵
      PID:2160
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3196 -ip 3196
      1⤵
        PID:4792

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        c3d15efb4dc2958aafbb746dc81d3067

        SHA1

        7b5067ec3764f9f15ba2ff82717cc7a3cb263d4d

        SHA256

        b609fd2d6463064ee57a1ff69de20dcf4c58b1f7a6c55933ca703afc784d30ac

        SHA512

        e54d1edfa8f81b397a77d4aa9d2488f2bfd5fb2d443fda1e6132aaa0555746b78c678003522f3d3023a03bceea24614d394a211d5e09a65eb06c5ddba9067b15

      • memory/1356-16-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/1356-17-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/1356-14-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/3108-8-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3108-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3108-2-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3196-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB