Analysis

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

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

General

  • Target

    2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe

  • Size

    13.0MB

  • MD5

    73fac9797acbd907ea90abc6b3daec3e

  • SHA1

    e87ffea509e39d8abf5bf8b6a0a848ae2f71e225

  • SHA256

    deca27efcb76e9f1367b6e1c000637e8bbece45ad54f46eb2cbf92bbaff61653

  • SHA512

    5e6bca82ceaa8d506abf874244e831b623f579ba54e234408904e77e9eabf8b178d44fd149a8d428f9768165e7179ec72d53c526fa04974899f74aef72404322

  • SSDEEP

    24576:FEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ6:Ofotw

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-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ijfyshsg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iewwtihv.exe" C:\Windows\SysWOW64\ijfyshsg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4296
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ijfyshsg binPath= "C:\Windows\SysWOW64\ijfyshsg\iewwtihv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ijfyshsg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ijfyshsg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:464
    • 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:4764
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3808 -s 1044
      2⤵
      • Program crash
      PID:3272
  • C:\Windows\SysWOW64\ijfyshsg\iewwtihv.exe
    C:\Windows\SysWOW64\ijfyshsg\iewwtihv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_73fac9797acbd907ea90abc6b3daec3e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2208
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:936
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2208 -s 528
      2⤵
      • Program crash
      PID:2160
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3808 -ip 3808
    1⤵
      PID:3456
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 2208 -ip 2208
      1⤵
        PID:2292

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        40db7ed79331fda07c83fddc1f5ed39e

        SHA1

        aea0f7660b8b485e534a87094a3b958fedd2f1fd

        SHA256

        f616478e1e53ba130afbe1e930d5239a15e3a40dbac07dd63cef947f6d9950bd

        SHA512

        88c492caf766d15b88e38cae37090146967021226916502ca1eee37fc2582e6f9734aa934e84d4b3c8a778ae0df30dbf0301bfeca8edbf7f3e2624bbf73e29f1

      • memory/936-17-0x00000000004E0000-0x00000000004F5000-memory.dmp

        Filesize

        84KB

      • memory/936-16-0x00000000004E0000-0x00000000004F5000-memory.dmp

        Filesize

        84KB

      • memory/936-14-0x00000000004E0000-0x00000000004F5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3808-1-0x0000000000720000-0x0000000000820000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3808-8-0x0000000000690000-0x00000000006A3000-memory.dmp

        Filesize

        76KB

      • memory/3808-2-0x0000000000690000-0x00000000006A3000-memory.dmp

        Filesize

        76KB