Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-02-2025 10:27

General

  • Target

    2025-02-07_4fdb0e5442821a0a286a00fda90b53a7_mafia.exe

  • Size

    10.5MB

  • MD5

    4fdb0e5442821a0a286a00fda90b53a7

  • SHA1

    ae748a664c3fd546ec1d233b12ebbf134a32cee9

  • SHA256

    ca7f5c52ddcc9e02484ca03eef51b4e5f1b5227e0bf4284c0b013117d1c11fa1

  • SHA512

    36c1d87cba7328a4eea8caebb95a066bfce3865459d3a336bd87323439fd4de56167a683c0dfdcf72f8b7a24a1e483039e632ddf50c0926b433e82d44303b0f1

  • SSDEEP

    6144:GLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQd:XTYe+D2jFu+iZoUFhAz

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-07_4fdb0e5442821a0a286a00fda90b53a7_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_4fdb0e5442821a0a286a00fda90b53a7_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3476
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gwpmwxhv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3248
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ffgrmnlt.exe" C:\Windows\SysWOW64\gwpmwxhv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gwpmwxhv binPath= "C:\Windows\SysWOW64\gwpmwxhv\ffgrmnlt.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_4fdb0e5442821a0a286a00fda90b53a7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5000
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gwpmwxhv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gwpmwxhv
      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:2384
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3476 -s 1040
      2⤵
      • Program crash
      PID:4656
  • C:\Windows\SysWOW64\gwpmwxhv\ffgrmnlt.exe
    C:\Windows\SysWOW64\gwpmwxhv\ffgrmnlt.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_4fdb0e5442821a0a286a00fda90b53a7_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2736
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4996
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2736 -s 512
      2⤵
      • Program crash
      PID:1488
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3476 -ip 3476
    1⤵
      PID:1836
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2736 -ip 2736
      1⤵
        PID:1916

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.2MB

        MD5

        d5659b40430c3b95c7d65419f568f4f7

        SHA1

        e603dc2617ada286f37740ac3b156161f9c62165

        SHA256

        7357ca9065ab012c1546cad1c75cf1f081a36ab6d01c2ed77883cab6fa48c5f9

        SHA512

        df91f83c90cc1b0083bd1cd667ea9a437b7b2f6f81ec17144be5a02a5a439bb1772cd350f6445ba32c1bfd62ce99bb7a9a2e9b2f343212869932db9ef674594b

      • memory/2736-19-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2736-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2736-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2736-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3476-1-0x0000000000820000-0x0000000000920000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/3476-16-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

      • memory/3476-15-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3476-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3476-2-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

      • memory/4996-11-0x0000000000CC0000-0x0000000000CD5000-memory.dmp

        Filesize

        84KB

      • memory/4996-14-0x0000000000CC0000-0x0000000000CD5000-memory.dmp

        Filesize

        84KB

      • memory/4996-20-0x0000000000CC0000-0x0000000000CD5000-memory.dmp

        Filesize

        84KB

      • memory/4996-21-0x0000000000CC0000-0x0000000000CD5000-memory.dmp

        Filesize

        84KB

      • memory/4996-22-0x0000000000CC0000-0x0000000000CD5000-memory.dmp

        Filesize

        84KB