Analysis

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

General

  • Target

    2025-01-13_2913be07cd898b6f938c6c78bc6b17c7_mafia.exe

  • Size

    14.2MB

  • MD5

    2913be07cd898b6f938c6c78bc6b17c7

  • SHA1

    aeef3c0d05dfcca2db6e6488ad90b20950f3fd42

  • SHA256

    1bef5da76b7f21d9c2783f1f6c26d91ef56e48a8e87c074ddcdbdd4eefafc085

  • SHA512

    57328db21f5d2ae41c10e78c3c116a49c943aaae89b3a436e582301bdbd7c8470b62c6a44d1c2a04ef2693a5094b0830ac6a930323c7f9f574d4c27c4dcd810d

  • SSDEEP

    24576:e6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQg:PWdLQk

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_2913be07cd898b6f938c6c78bc6b17c7_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_2913be07cd898b6f938c6c78bc6b17c7_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4852
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xshthiww\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\otdysebd.exe" C:\Windows\SysWOW64\xshthiww\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3492
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xshthiww binPath= "C:\Windows\SysWOW64\xshthiww\otdysebd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_2913be07cd898b6f938c6c78bc6b17c7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xshthiww "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xshthiww
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4988
    • 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:4376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4852 -s 1036
      2⤵
      • Program crash
      PID:1952
  • C:\Windows\SysWOW64\xshthiww\otdysebd.exe
    C:\Windows\SysWOW64\xshthiww\otdysebd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_2913be07cd898b6f938c6c78bc6b17c7_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2256
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1612
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2256 -s 512
      2⤵
      • Program crash
      PID:3564
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4852 -ip 4852
    1⤵
      PID:4880
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 2256 -ip 2256
      1⤵
        PID:2404

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        6187a2697b993261230a1eccf5ff419b

        SHA1

        0e717aa1f4f5da9710f1fbb394ea5a308c511cc0

        SHA256

        f65cb788faa14ea48fb936589930b437c00ec5fe841ef8099bf5f1f04e4ded31

        SHA512

        8c7dec99e0b1a2fa531270adf2b0685ce70ab6449fae27def4b028b0ff0332a02767a7745d2a03e441118361dccabdde2997b3086e9eda2797c827692b6f720b

      • memory/1612-14-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/1612-17-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/1612-16-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/2256-19-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/4852-8-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

      • memory/4852-1-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/4852-2-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB