Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 19:26

General

  • Target

    2025-01-31_0e117629bea7310213e5299e6d8522f7_mafia.exe

  • Size

    14.5MB

  • MD5

    0e117629bea7310213e5299e6d8522f7

  • SHA1

    3d7d2008bd81f8714c1af2954ac7586e0fb87023

  • SHA256

    30ecd6f613c2259348422d6167f34c01a5374d978d512b84f2a64e94d1b10d8e

  • SHA512

    b136cba73db8d878ee01528117519371d55c284e592d025f6b3e05b8589fa2e5ba9568d8711fc28182c4575b23629470eeee4143b9edd385dc77f93a13f53a69

  • SSDEEP

    24576:bpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttf:too

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-31_0e117629bea7310213e5299e6d8522f7_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_0e117629bea7310213e5299e6d8522f7_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2796
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\afgfbjkp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xtllixwk.exe" C:\Windows\SysWOW64\afgfbjkp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create afgfbjkp binPath= "C:\Windows\SysWOW64\afgfbjkp\xtllixwk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_0e117629bea7310213e5299e6d8522f7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4216
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description afgfbjkp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4240
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start afgfbjkp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5004
    • 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:1392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2796 -s 1036
      2⤵
      • Program crash
      PID:3964
  • C:\Windows\SysWOW64\afgfbjkp\xtllixwk.exe
    C:\Windows\SysWOW64\afgfbjkp\xtllixwk.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_0e117629bea7310213e5299e6d8522f7_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1836
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1708
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1836 -s 512
      2⤵
      • Program crash
      PID:1436
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2796 -ip 2796
    1⤵
      PID:3196
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1836 -ip 1836
      1⤵
        PID:2692

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        9586282845bca218d3b48c170b58ce03

        SHA1

        a8c1bc14a6f1b0cefd4bec29f98a2da58277b476

        SHA256

        326c1a578ae0a7f046af18000a257d2d5b540c4bcde0dafd157e7fe12727d37d

        SHA512

        e68ed096765f598362c02457d5daeca90a20e49e85d3cef7579e5eecc394521fb05d831ac8ab2471219e0d5a12dd2f6107d1ee5ee506a881dba954bc5656ac27

      • memory/1708-14-0x0000000000700000-0x0000000000715000-memory.dmp

        Filesize

        84KB

      • memory/1708-17-0x0000000000700000-0x0000000000715000-memory.dmp

        Filesize

        84KB

      • memory/1708-16-0x0000000000700000-0x0000000000715000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2796-8-0x00000000004B0000-0x00000000004C3000-memory.dmp

        Filesize

        76KB

      • memory/2796-1-0x00000000004D0000-0x00000000005D0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2796-2-0x00000000004B0000-0x00000000004C3000-memory.dmp

        Filesize

        76KB