Analysis

  • max time kernel
    148s
  • max time network
    149s
  • 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 16:27

General

  • Target

    2025-01-31_691538f9228fb8bdff33d93f22b3d9ad_mafia.exe

  • Size

    11.0MB

  • MD5

    691538f9228fb8bdff33d93f22b3d9ad

  • SHA1

    9567d6d79cfea0b287f7081c0676f82ddb7971d9

  • SHA256

    994e81fb5f54eb9e52df8df253dcdccc72d1392cedf8df90326ab0779df19524

  • SHA512

    6cecc83c562a06af8b77aa838f1a913c462737bcf4601e4def3c7e3bf1e8dacd5b46a89e3ee9ede7f49fd273b9fadebb8da248360426bd6cbbff555e85571084

  • SSDEEP

    24576:86WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQv:RWdLQkt

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_691538f9228fb8bdff33d93f22b3d9ad_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_691538f9228fb8bdff33d93f22b3d9ad_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2012
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\znzujmju\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jddufofh.exe" C:\Windows\SysWOW64\znzujmju\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3340
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create znzujmju binPath= "C:\Windows\SysWOW64\znzujmju\jddufofh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_691538f9228fb8bdff33d93f22b3d9ad_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description znzujmju "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start znzujmju
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4092
    • 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:456
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2012 -s 1044
      2⤵
      • Program crash
      PID:3972
  • C:\Windows\SysWOW64\znzujmju\jddufofh.exe
    C:\Windows\SysWOW64\znzujmju\jddufofh.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_691538f9228fb8bdff33d93f22b3d9ad_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2320
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4956
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2320 -s 512
      2⤵
      • Program crash
      PID:1200
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 2012 -ip 2012
    1⤵
      PID:4680
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2320 -ip 2320
      1⤵
        PID:1672

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        fc90d59af46490f05344727a010ad1cf

        SHA1

        963773f28a2aa5499cca6fd6abf32ff32e4bd85f

        SHA256

        a2190a96bb946f43da046c0f91e53058267b2af3a4e547eaa24831475347b842

        SHA512

        9e3013e5aa1aab3415f6fd54ecdad6b1d323e451fd92ab1d293343c07b04dece878ce3b0b1306cd652928ad3422895618ce077a2038b1207fedb352e8a0c8cda

      • memory/2012-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/2012-2-0x00000000008B0000-0x00000000008C3000-memory.dmp

        Filesize

        76KB

      • memory/2012-8-0x00000000008B0000-0x00000000008C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2012-1-0x0000000000460000-0x0000000000560000-memory.dmp

        Filesize

        1024KB

      • memory/2320-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/2320-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/2320-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/2320-18-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4956-14-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB

      • memory/4956-16-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB

      • memory/4956-17-0x0000000000BE0000-0x0000000000BF5000-memory.dmp

        Filesize

        84KB