Analysis

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

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

General

  • Target

    2025-02-02_842adcbd949a60af182d959ae963092f_mafia.exe

  • Size

    12.8MB

  • MD5

    842adcbd949a60af182d959ae963092f

  • SHA1

    629699f75e2bf5107b6cba3fc93a9a2e9862cb66

  • SHA256

    8ef97516f5ec3db0157fd16d7c796da6431f8866b570f1e0772c5fb528b00722

  • SHA512

    be6707d80b2e66670c9653bd8ef0a647d5e89720c3e9411a4ef54b0c9cd4bc5c6f0bb5211d9aaef56f00f4a0dfa429ade95efa600f3d43910e9d11c6df84e83b

  • SSDEEP

    24576:S6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQf:bWdLQk

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-02_842adcbd949a60af182d959ae963092f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_842adcbd949a60af182d959ae963092f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:864
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cxnurdtr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1948
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rqegursk.exe" C:\Windows\SysWOW64\cxnurdtr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cxnurdtr binPath= "C:\Windows\SysWOW64\cxnurdtr\rqegursk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_842adcbd949a60af182d959ae963092f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3216
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cxnurdtr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4100
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cxnurdtr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1696
    • 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:3048
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 864 -s 1220
      2⤵
      • Program crash
      PID:2356
  • C:\Windows\SysWOW64\cxnurdtr\rqegursk.exe
    C:\Windows\SysWOW64\cxnurdtr\rqegursk.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_842adcbd949a60af182d959ae963092f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2132
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2132 -s 512
      2⤵
      • Program crash
      PID:2632
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 864 -ip 864
    1⤵
      PID:2216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 504 -p 2132 -ip 2132
      1⤵
        PID:3708

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        a14b42eedb113a600ad2be6e7a063bb1

        SHA1

        59bd424d389d3559e6077dbb3b5e2762d50349cb

        SHA256

        fa3b4ae19ad727fa568988e5a95847c092ecba7d2682f6ef7ab19147c626bb10

        SHA512

        ae1fe749f729e903eabdf1045c43f10fde956d1592a041aa1e77bbc7339aec6ad1abc1bf8c7565004948a5d5c9bdab99315a13825a6879b85777e77d09213ff9

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

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/864-2-0x0000000000680000-0x0000000000693000-memory.dmp

        Filesize

        76KB

      • memory/864-8-0x0000000000680000-0x0000000000693000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/864-1-0x00000000006A0000-0x00000000007A0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/4136-14-0x00000000007A0000-0x00000000007B5000-memory.dmp

        Filesize

        84KB

      • memory/4136-16-0x00000000007A0000-0x00000000007B5000-memory.dmp

        Filesize

        84KB

      • memory/4136-17-0x00000000007A0000-0x00000000007B5000-memory.dmp

        Filesize

        84KB