Analysis

  • max time kernel
    150s
  • max time network
    128s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 11:33

General

  • Target

    2025-02-01_c08ee0f72d36662052d851b668fd2a14_mafia.exe

  • Size

    12.3MB

  • MD5

    c08ee0f72d36662052d851b668fd2a14

  • SHA1

    77f6c9794926b8cad6b2347007094a22faedc9b1

  • SHA256

    7c40fac3721a2914f2a4530d1f1a1502b1a938ab4460b81114a4ffae24a2bc6b

  • SHA512

    a5e1193bda4216e99639b847a3cf19712f839e819f0f79e92c918a841f24db1a2b6903f9bdd466f296f28359f18f8caf30e71f3f9d70f7d2d30fadb731185c3c

  • SSDEEP

    24576:R6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ1:4WdLQkf

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-02-01_c08ee0f72d36662052d851b668fd2a14_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_c08ee0f72d36662052d851b668fd2a14_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\trumxekn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:208
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\faewmxzx.exe" C:\Windows\SysWOW64\trumxekn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create trumxekn binPath= "C:\Windows\SysWOW64\trumxekn\faewmxzx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_c08ee0f72d36662052d851b668fd2a14_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description trumxekn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3616
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start trumxekn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3932
    • 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:2324
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4960 -s 1176
      2⤵
      • Program crash
      PID:2720
  • C:\Windows\SysWOW64\trumxekn\faewmxzx.exe
    C:\Windows\SysWOW64\trumxekn\faewmxzx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_c08ee0f72d36662052d851b668fd2a14_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1060
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1060 -s 512
      2⤵
      • Program crash
      PID:5040
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4960 -ip 4960
    1⤵
      PID:3628
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 1060 -ip 1060
      1⤵
        PID:4628

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.0MB

        MD5

        b657a5cbf8feaa5e79a3b07028de0871

        SHA1

        1e1decd5cd2b55e5572ea549fe92ea71fd04233b

        SHA256

        6eacf08ddab1bd555269af1aa6c443236c35d43cc11d2b335b4334324b6f8482

        SHA512

        2e5068319992e81c64e0a46bed22354623ad7ca5a2894e63ec009c52f55441dab16aefe6994582ab4d95429b7fc44768d1abfc271096cb0209252b9851a686a7

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/4408-14-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

      • memory/4408-16-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

      • memory/4408-17-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4960-1-0x0000000000480000-0x0000000000580000-memory.dmp

        Filesize

        1024KB