Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-02-2025 20:55

General

  • Target

    2025-02-03_2b3eb8c627dd2a792145fd7b6016a15b_mafia.exe

  • Size

    13.7MB

  • MD5

    2b3eb8c627dd2a792145fd7b6016a15b

  • SHA1

    38a1ba7cb8220d0c52cc0d6fab5b90c1308cf590

  • SHA256

    bbb64a5242eda8d4f5e4a1a4f7242e18f851af80472a63b88d84ff3b0e34f50b

  • SHA512

    e55c4fcd6d2d7f54748489b04abcec77a2483541b6c7643b8b8dd316770e168dc85ed05fa9e101decc8561153edaa657551e82cd7fb04e14360922466b6cf8dc

  • SSDEEP

    3072:4LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:1OMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-03_2b3eb8c627dd2a792145fd7b6016a15b_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_2b3eb8c627dd2a792145fd7b6016a15b_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4560
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ckmrjwyu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\adjdsdou.exe" C:\Windows\SysWOW64\ckmrjwyu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1392
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ckmrjwyu binPath= "C:\Windows\SysWOW64\ckmrjwyu\adjdsdou.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_2b3eb8c627dd2a792145fd7b6016a15b_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ckmrjwyu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ckmrjwyu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4952
    • 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:3208
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4560 -s 1240
      2⤵
      • Program crash
      PID:1508
  • C:\Windows\SysWOW64\ckmrjwyu\adjdsdou.exe
    C:\Windows\SysWOW64\ckmrjwyu\adjdsdou.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_2b3eb8c627dd2a792145fd7b6016a15b_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3240
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1980
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3240 -s 512
      2⤵
      • Program crash
      PID:1940
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4560 -ip 4560
    1⤵
      PID:2472
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 3240 -ip 3240
      1⤵
        PID:2324

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        cfe362a77d9e209fcc14e0ec1d3d41c4

        SHA1

        46ef445a2451b71801e75698aae629a6fd23b71b

        SHA256

        eb1b2feb98b59beb0cd5075eac33337fa02a833b70bccd700c7ed03058064324

        SHA512

        795a15b7fc1075824b37440fa7e03cd475c7a1c48607f713b18ed1eb99c1d54199daaef7ea575eb70f13fa6b761cb45371ae6918feb3521cea0e7d4a99d11653

      • memory/1980-14-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/1980-16-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/1980-17-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4560-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4560-8-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/4560-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

        Filesize

        1024KB