Analysis

  • max time kernel
    149s
  • 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
    26-01-2025 18:47

General

  • Target

    2025-01-26_15690cfc6f103df9ee6ec8ce20fdebc3_mafia.exe

  • Size

    10.4MB

  • MD5

    15690cfc6f103df9ee6ec8ce20fdebc3

  • SHA1

    6e665418d284d8b938d051bafa7e21b3ba86c80f

  • SHA256

    705eafbde7f8167554b1d394de00d91d5510106c42dfb00c9cc39685c002a3cf

  • SHA512

    20b5effaeddf8efdf41e3b0e7d9ccbbb166bb71757e66b2b9f7b99c6d6d0e3e72f2166fd191a9ed20e2dbc6b8bfd744fe2c727c42210ebd9bd0b773a9b81aec7

  • SSDEEP

    24576:IEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZd:Ffot

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-26_15690cfc6f103df9ee6ec8ce20fdebc3_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-26_15690cfc6f103df9ee6ec8ce20fdebc3_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oeykgrvf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yplsjimq.exe" C:\Windows\SysWOW64\oeykgrvf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create oeykgrvf binPath= "C:\Windows\SysWOW64\oeykgrvf\yplsjimq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_15690cfc6f103df9ee6ec8ce20fdebc3_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description oeykgrvf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1488
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start oeykgrvf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3772
    • 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:4748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3960 -s 1248
      2⤵
      • Program crash
      PID:1624
  • C:\Windows\SysWOW64\oeykgrvf\yplsjimq.exe
    C:\Windows\SysWOW64\oeykgrvf\yplsjimq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_15690cfc6f103df9ee6ec8ce20fdebc3_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:8
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 8 -s 560
      2⤵
      • Program crash
      PID:2372
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3960 -ip 3960
    1⤵
      PID:1568
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 8 -ip 8
      1⤵
        PID:1536

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        b8cbe229db5f5116bb60fa4475e58ea8

        SHA1

        3fcce4344791f791ba62199ad71297387936f038

        SHA256

        2923852431766d3da326baf4bffac6a92a0092e87be7f0f451e4633cb755626b

        SHA512

        6fc0df22623afd501ca73b07790a2bb8f92e700294ba9a9aa6e119a9597596d2a7d10dc28fe650eedc718f118810fd15c349068fe78d95847dfa014b1120ec82

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3960-2-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3960-8-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3960-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

        Filesize

        1024KB

      • memory/5068-14-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB

      • memory/5068-16-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB

      • memory/5068-17-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB