Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-01-2025 19:36

General

  • Target

    2025-01-13_af2bf1938e054d716d7c0c2ec40e7f7b_mafia.exe

  • Size

    14.4MB

  • MD5

    af2bf1938e054d716d7c0c2ec40e7f7b

  • SHA1

    629db22de0467561fcbdc2e15f716e22c9d28eb0

  • SHA256

    1ae6599bd7f5bdc497a81a9bb41a0f6bc42cbc9e8732fcc43ce9673bda24399f

  • SHA512

    0f12812f76a4f44c48cbcd6b75fdf4ae6555cbf043c118011efa63841d0ab5b63a79aa1c53458de16ded28b8c80ededd56f51112069e8fbe1a140225ae3e98f2

  • SSDEEP

    24576:j6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQv:uWdLQk

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-13_af2bf1938e054d716d7c0c2ec40e7f7b_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_af2bf1938e054d716d7c0c2ec40e7f7b_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cdcyouuu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3660
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\smmdoxoq.exe" C:\Windows\SysWOW64\cdcyouuu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1488
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cdcyouuu binPath= "C:\Windows\SysWOW64\cdcyouuu\smmdoxoq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_af2bf1938e054d716d7c0c2ec40e7f7b_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1104
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cdcyouuu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cdcyouuu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3208
    • 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:2096
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2808 -s 580
      2⤵
      • Program crash
      PID:796
  • C:\Windows\SysWOW64\cdcyouuu\smmdoxoq.exe
    C:\Windows\SysWOW64\cdcyouuu\smmdoxoq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_af2bf1938e054d716d7c0c2ec40e7f7b_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4060
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4060 -s 528
      2⤵
      • Program crash
      PID:1968
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2808 -ip 2808
    1⤵
      PID:488
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 4060 -ip 4060
      1⤵
        PID:2692

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        1b241368180942e8f1fdebe72602c250

        SHA1

        98a5f603b10f7b9907a2427ee460f1d2e2bff47b

        SHA256

        92ae8c4e238d22a6bc4ff8ccb513ec864c54c2d05682c7c069310fdcd5c2c849

        SHA512

        859a99136decc0c532e78e5b1c2900bb36ec5b52dac65403ada628f332a9548ba96e95f767a4e7ca8d553a69a162ef590cb77645cf5c5407991e7de222782683

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

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/2808-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/2808-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2808-1-0x0000000000780000-0x0000000000880000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/4816-14-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB

      • memory/4816-16-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB

      • memory/4816-17-0x0000000000590000-0x00000000005A5000-memory.dmp

        Filesize

        84KB