Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 19:53

General

  • Target

    2025-01-31_e0de00f01e31c5e73f38e0c3eb046d90_mafia.exe

  • Size

    12.3MB

  • MD5

    e0de00f01e31c5e73f38e0c3eb046d90

  • SHA1

    6a8d03c22aba12d3c9d52cf45daf916f18def6bb

  • SHA256

    2898764fe5c352ebc70cab100fe6c8bcae7b783ebece8a55a34dc008c612bfcc

  • SHA512

    90615cc5d3fc75902edbe2236c1af713501c351d233b2a50237adb6f7aecd26086f87a92e7776f211bfc6016a81659bde7984dde28bfa521d80bd24d306f03fd

  • SSDEEP

    24576:BEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZn:afot

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-31_e0de00f01e31c5e73f38e0c3eb046d90_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_e0de00f01e31c5e73f38e0c3eb046d90_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iaigiqyd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3140
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\okcczonb.exe" C:\Windows\SysWOW64\iaigiqyd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create iaigiqyd binPath= "C:\Windows\SysWOW64\iaigiqyd\okcczonb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_e0de00f01e31c5e73f38e0c3eb046d90_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description iaigiqyd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4136
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start iaigiqyd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4220
    • 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:2564
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3320 -s 572
      2⤵
      • Program crash
      PID:1960
  • C:\Windows\SysWOW64\iaigiqyd\okcczonb.exe
    C:\Windows\SysWOW64\iaigiqyd\okcczonb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_e0de00f01e31c5e73f38e0c3eb046d90_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1580
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2940
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1580 -s 512
      2⤵
      • Program crash
      PID:1032
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3320 -ip 3320
    1⤵
      PID:2888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1580 -ip 1580
      1⤵
        PID:1664

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        66e9c466bb4e9ffb0d09a2db74f04e4d

        SHA1

        0071911c6d4d4e5706c645a2ed06b3bbd8e26b34

        SHA256

        44f869d82766b0fc19fd901357bb17bd6f02550ec9afb3c38c3aa4d5785092d3

        SHA512

        086eaf2252aa9330d5d54a17a835ff3c9c48566ce65229108bb6e9ca206268f2c2dc327bd36657588d1cc78b23d93da62da9932af44a9cdace1427f9b1c48119

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

        Filesize

        312KB

      • memory/1580-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/2940-14-0x0000000000460000-0x0000000000475000-memory.dmp

        Filesize

        84KB

      • memory/2940-16-0x0000000000460000-0x0000000000475000-memory.dmp

        Filesize

        84KB

      • memory/2940-17-0x0000000000460000-0x0000000000475000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3320-1-0x0000000000460000-0x0000000000560000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        76KB