Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-01-2025 19:15

General

  • Target

    2025-01-13_55b741de0468d7b41242082d699a722f_mafia.exe

  • Size

    11.8MB

  • MD5

    55b741de0468d7b41242082d699a722f

  • SHA1

    e724edb7ff73d1d8989df2baac16a337f02c7668

  • SHA256

    50702048e2c24d40bc9237f84935d639c77c456714d01f01b510dc541a61207e

  • SHA512

    fca53d3688ef8b8c0600ee09814141329aa57acbe1640cb3c049b0ba9e9867f4cb38bcfb0209817027237b781c64d6662abfc9d0337d282c3c5336ead96141a0

  • SSDEEP

    24576:NEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZz:2fot

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-13_55b741de0468d7b41242082d699a722f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_55b741de0468d7b41242082d699a722f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pktrsnjk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3864
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fbttqfes.exe" C:\Windows\SysWOW64\pktrsnjk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pktrsnjk binPath= "C:\Windows\SysWOW64\pktrsnjk\fbttqfes.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_55b741de0468d7b41242082d699a722f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1272
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pktrsnjk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2292
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pktrsnjk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1248
    • 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:4804
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2968 -s 1040
      2⤵
      • Program crash
      PID:2976
  • C:\Windows\SysWOW64\pktrsnjk\fbttqfes.exe
    C:\Windows\SysWOW64\pktrsnjk\fbttqfes.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_55b741de0468d7b41242082d699a722f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2436
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2436 -s 508
      2⤵
      • Program crash
      PID:5004
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 2968 -ip 2968
    1⤵
      PID:4236
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2436 -ip 2436
      1⤵
        PID:2080

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        0a1bbd1eb08cb259277887125e03ab39

        SHA1

        a10f9901770bd580847946886263d6400288683d

        SHA256

        99facd736790d9ca469dac02cd0a09d34f987adc1629cb136cc324cd84380f9a

        SHA512

        24b05705848ae2f3b236e1bfcb71282cc70865fe0324d7d8497ebfb0093cc4b987a46ec82829aaeb3865199046c149c2fb404cc8da871e881777be50d8b08397

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/2640-14-0x0000000000E90000-0x0000000000EA5000-memory.dmp

        Filesize

        84KB

      • memory/2640-16-0x0000000000E90000-0x0000000000EA5000-memory.dmp

        Filesize

        84KB

      • memory/2640-17-0x0000000000E90000-0x0000000000EA5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2968-2-0x0000000000670000-0x0000000000683000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2968-8-0x0000000000670000-0x0000000000683000-memory.dmp

        Filesize

        76KB

      • memory/2968-1-0x0000000000700000-0x0000000000800000-memory.dmp

        Filesize

        1024KB