Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-02-2025 14:43

General

  • Target

    2025-02-04_6cec5d52b5c1462a842c7c73a284c356_mafia.exe

  • Size

    11.1MB

  • MD5

    6cec5d52b5c1462a842c7c73a284c356

  • SHA1

    9b97d04106a0c24d465476a63284f9daa9f9c951

  • SHA256

    544694842f7da84bdad251caa2dce8bbcd38aa6c51a6c37ac873ac28c0d6a9eb

  • SHA512

    a6370a38036959248dc983cf57c5bb9d924383719b05fdf15e1bca3fa697c7358b3e947d05ab9e65cc246a26ad087f4ce11b7d119b0c28e0620afd642e6d2f08

  • SSDEEP

    24576:UEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZM:xfoty

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-04_6cec5d52b5c1462a842c7c73a284c356_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-04_6cec5d52b5c1462a842c7c73a284c356_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4608
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gdrlvthv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5068
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hygeojqe.exe" C:\Windows\SysWOW64\gdrlvthv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2196
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gdrlvthv binPath= "C:\Windows\SysWOW64\gdrlvthv\hygeojqe.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-04_6cec5d52b5c1462a842c7c73a284c356_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gdrlvthv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gdrlvthv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4308
    • 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:1228
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4608 -s 1036
      2⤵
      • Program crash
      PID:1436
  • C:\Windows\SysWOW64\gdrlvthv\hygeojqe.exe
    C:\Windows\SysWOW64\gdrlvthv\hygeojqe.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-04_6cec5d52b5c1462a842c7c73a284c356_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4664
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4664 -s 508
      2⤵
      • Program crash
      PID:3628
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 4608 -ip 4608
    1⤵
      PID:4556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 4664 -ip 4664
      1⤵
        PID:1644

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        b88204b566b28005c6ed693c2d9f6913

        SHA1

        f865a0fcf521337d613f655b2606db11a623017c

        SHA256

        9863f2b5840accd6d692c9c435faaea859fd3c8ea7d88e27426ddf2c7a876750

        SHA512

        14aeecd190391e3ed8a01734014da2f39f96bfe802f5318c140b63fbebab2f08483ff20f2a29052086a5a302d9eda8ed7e55e85de7d3c6d6c85db03aeb4cd5fe

      • memory/1632-14-0x0000000000620000-0x0000000000635000-memory.dmp

        Filesize

        84KB

      • memory/1632-17-0x0000000000620000-0x0000000000635000-memory.dmp

        Filesize

        84KB

      • memory/1632-16-0x0000000000620000-0x0000000000635000-memory.dmp

        Filesize

        84KB

      • memory/4608-8-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4608-1-0x0000000000730000-0x0000000000830000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4608-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4664-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB