Analysis

  • max time kernel
    140s
  • max time network
    130s
  • 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 01:53

General

  • Target

    2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe

  • Size

    14.7MB

  • MD5

    5dc90b4af645432c2a130c25b4348f4f

  • SHA1

    25e4153df22e92c64d53ac7f1cde48fbf964ac5a

  • SHA256

    c1dd5abe327d73b5152cb7a0d0bca205d6808981e25fc469f9c0118e313e4987

  • SHA512

    f406f0adecb584f783ee8eebe805fc6dfe6190d22e46c483de3b82f65a35af0803a37ab91cd838d965afc01c14a380209fa15fc5b9a99935cb97c7fc8ba3b00c

  • SSDEEP

    24576:cpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttn:4oo

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_5dc90b4af645432c2a130c25b4348f4f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2816
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mwtgphlg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2132
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\svbvkvgm.exe" C:\Windows\SysWOW64\mwtgphlg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mwtgphlg binPath= "C:\Windows\SysWOW64\mwtgphlg\svbvkvgm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mwtgphlg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mwtgphlg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:992
    • 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:3260
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2816 -s 652
      2⤵
      • Program crash
      PID:3908
  • C:\Windows\SysWOW64\mwtgphlg\svbvkvgm.exe
    C:\Windows\SysWOW64\mwtgphlg\svbvkvgm.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_5dc90b4af645432c2a130c25b4348f4f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:644
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1524
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 644 -s 516
      2⤵
      • Program crash
      PID:2432
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2816 -ip 2816
    1⤵
      PID:2732
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 644 -ip 644
      1⤵
        PID:980

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        d1dca4137b545cb6fa5221de89f5b392

        SHA1

        0a31a33baa0f43563ee91a75df82d220750d63fd

        SHA256

        e30dc001c43316682366ba827b5e9b83cf5e316ac06ea82b72607cc8400fd0e8

        SHA512

        b2709c878f0ef1267c3c58b3d469640ae058aca242d2bec773e888074ee606bd585d666da37ef44d5852f4388a3a0b842abe0722859999f735886e01b1856d75

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/1524-14-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/1524-16-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/1524-17-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2816-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/2816-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2816-1-0x0000000000690000-0x0000000000790000-memory.dmp

        Filesize

        1024KB