Analysis

  • max time kernel
    147s
  • max time network
    146s
  • 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 18:57

General

  • Target

    2025-01-24_6232e72d87c35db87261dca8187d3428_mafia.exe

  • Size

    11.3MB

  • MD5

    6232e72d87c35db87261dca8187d3428

  • SHA1

    2284e0079e5607e9fcfccaaf9d13689ac6a88647

  • SHA256

    e2587b5e9b7e1a5cee8ca6e879c3bdffcc94af309376e20069ed58fb7f73188e

  • SHA512

    9ed0033b8ba19b208682281825137f3c32c8d48dc551bcfee014802df85af9e80447841d9537af73bd66646c42f576791de973101b3c90520163ce620a736afd

  • SSDEEP

    24576:QEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZP:Nfot

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_6232e72d87c35db87261dca8187d3428_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_6232e72d87c35db87261dca8187d3428_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2172
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bxnpqgcy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ojnfvgig.exe" C:\Windows\SysWOW64\bxnpqgcy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bxnpqgcy binPath= "C:\Windows\SysWOW64\bxnpqgcy\ojnfvgig.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_6232e72d87c35db87261dca8187d3428_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3172
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bxnpqgcy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bxnpqgcy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1844
    • 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:436
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2172 -s 1200
      2⤵
      • Program crash
      PID:3204
  • C:\Windows\SysWOW64\bxnpqgcy\ojnfvgig.exe
    C:\Windows\SysWOW64\bxnpqgcy\ojnfvgig.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_6232e72d87c35db87261dca8187d3428_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:180
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3548
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 180 -s 516
      2⤵
      • Program crash
      PID:1516
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2172 -ip 2172
    1⤵
      PID:2728
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 180 -ip 180
      1⤵
        PID:2668

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        f042f43e6fbf7b7fdc1d39b013541d43

        SHA1

        d73b396426e9a66f9a8528eee49462aedb97c8cf

        SHA256

        ddff17d8b9a979139a8fc51673bd6cdf13d41a6212412410a361170525144de3

        SHA512

        19c92a2015b1e63fe90840106453a12219e921a168c3a2d9338a15c9a24bc90eaeaef056c5274427ca788aa2475f837d4dde34f1fada02890e6d19b9b2038561

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB

      • memory/3548-14-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/3548-16-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/3548-17-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB