Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-01-2025 19:17

General

  • Target

    2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe

  • Size

    13.6MB

  • MD5

    fe68e1702fa55d9c6125bbeb3026a5b8

  • SHA1

    3a1cac180b422f57c7a1576baa3f16f09f6c7b7e

  • SHA256

    cc9bf7bab2fa10c5b0cdf790586f29f15e3112bd6aa289a2175a1e5aca190993

  • SHA512

    03dd144e41475bc9c51122571aa9c78304ea8d4b11c1b28d2028813c45392862d8608ac6aa2c21ecd17e4350730f462fc3fb25a4cb2516744e3a166ebf0e33a4

  • SSDEEP

    24576:REfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZb:qfot

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-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1356
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\njmarctl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:444
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dcqsgdew.exe" C:\Windows\SysWOW64\njmarctl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1080
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create njmarctl binPath= "C:\Windows\SysWOW64\njmarctl\dcqsgdew.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4248
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description njmarctl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3788
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start njmarctl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4632
    • 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:992
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1356 -s 1248
      2⤵
      • Program crash
      PID:3784
  • C:\Windows\SysWOW64\njmarctl\dcqsgdew.exe
    C:\Windows\SysWOW64\njmarctl\dcqsgdew.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2596
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2596 -s 508
      2⤵
      • Program crash
      PID:4768
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1356 -ip 1356
    1⤵
      PID:4072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 2596 -ip 2596
      1⤵
        PID:2456

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        7e112d921036212b3eb6fefd24fdb1b4

        SHA1

        0ff086464b06c543125600d1ee84d10c0de75bef

        SHA256

        60c47296a75f56eff2ef7169528bd3b7556c2c6fdf4fa2547096a3eaf950dbdf

        SHA512

        ea6ebebb42d6451304ad7f6e71afb61b2bbeb65d19f008576ea2c4cabaa1ec42579767d4dc0d6e40cc72887467f3b3f7fc9e10067464c018e238c771079f49e2

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1356-1-0x0000000000590000-0x0000000000690000-memory.dmp

        Filesize

        1024KB

      • memory/1356-8-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/1356-2-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

      • memory/2452-14-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/2452-16-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/2452-17-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB