Analysis

  • max time kernel
    146s
  • 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
    01-02-2025 20:39

General

  • Target

    2025-02-01_d2a6285281b9251fad852e6674d627d5_mafia.exe

  • Size

    13.6MB

  • MD5

    d2a6285281b9251fad852e6674d627d5

  • SHA1

    00bae2fe3cf6f832252f453b8b3f1373b563b13c

  • SHA256

    ac07bd844dd88ff07f954b2a9fdf3a21fe90b78bb2866862ee5ff00e5604b8ee

  • SHA512

    1ede58994358725fa808b164cafc53e6f0ec383e747575b912cd0fa983bd584aef0c254da32c4cbeedfc1cdc67139b2d9d7ae450ca396cf9a194aeaa4b57ff0f

  • SSDEEP

    49152:2qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:2qtYc3

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_d2a6285281b9251fad852e6674d627d5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_d2a6285281b9251fad852e6674d627d5_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gjlajgiv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4300
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gjpjyjua.exe" C:\Windows\SysWOW64\gjlajgiv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gjlajgiv binPath= "C:\Windows\SysWOW64\gjlajgiv\gjpjyjua.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_d2a6285281b9251fad852e6674d627d5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4140
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gjlajgiv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3248
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gjlajgiv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2084
    • 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:4304
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3008 -s 1028
      2⤵
      • Program crash
      PID:4024
  • C:\Windows\SysWOW64\gjlajgiv\gjpjyjua.exe
    C:\Windows\SysWOW64\gjlajgiv\gjpjyjua.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_d2a6285281b9251fad852e6674d627d5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1540
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4736
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1540 -s 532
      2⤵
      • Program crash
      PID:4992
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 3008 -ip 3008
    1⤵
      PID:3508
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 1540 -ip 1540
      1⤵
        PID:5080

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.4MB

        MD5

        caa671f9a22c3f754001ba72a6d1819b

        SHA1

        b177e93d030d7d926b1e9e1b9b668827851c275b

        SHA256

        01d702797d385dc6f219a4ee6e06d5bc1277287b1143df83bcc4509fab7953ab

        SHA512

        a185dfcfa7ab516aea719a3c4c28ba5fce788cf27a01f4796789c6e2534dcfc1609169b71df4dd28707512f4c099b1201d01c309226d9ab12a9df1882370bc6d

      • memory/1540-8-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/3008-1-0x00007FFF0A570000-0x00007FFF0A765000-memory.dmp

        Filesize

        2.0MB

      • memory/3008-10-0x00007FFF0A570000-0x00007FFF0A765000-memory.dmp

        Filesize

        2.0MB

      • memory/3008-9-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/4736-6-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

      • memory/4736-11-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

      • memory/4736-12-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB