Analysis

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

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

General

  • Target

    2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe

  • Size

    10.3MB

  • MD5

    5349a8ef8ca967bde36d9261ed712f15

  • SHA1

    cb38207ee1430bc4781a7b2f0d25c3605bea3fa2

  • SHA256

    4788a7c613284b815b02b29660d175a940ed28822171bf0b4f145404b35a8dd2

  • SHA512

    9e558a7835df822e240f690fbfacc7bf94bf94602d43419c3afa6a903d08ec2d0a7985e5537338636bf2950344b5f646cf6fc4c698b2f42b08e5c6ee6d1ec440

  • SSDEEP

    24576:UEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZb:xfot

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-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rrdxujii\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\evryposw.exe" C:\Windows\SysWOW64\rrdxujii\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rrdxujii binPath= "C:\Windows\SysWOW64\rrdxujii\evryposw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rrdxujii "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rrdxujii
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4068
    • 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:4364
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4052 -s 1040
      2⤵
      • Program crash
      PID:5000
  • C:\Windows\SysWOW64\rrdxujii\evryposw.exe
    C:\Windows\SysWOW64\rrdxujii\evryposw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_5349a8ef8ca967bde36d9261ed712f15_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4556
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4556 -s 512
      2⤵
      • Program crash
      PID:544
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 4052 -ip 4052
    1⤵
      PID:4616
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 4556 -ip 4556
      1⤵
        PID:4816

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        75e98b46d89d56c7605eebf3cef4d0f7

        SHA1

        7cc135b2a5719c5382ec67eea85abf64d47bed42

        SHA256

        f67dbdb23ba550142842bbbec002542c4083758af84c888687f9d5effb8987c9

        SHA512

        f8ba6ae5686223286f4c335f781487507b817194f9c9ef67fc7ebd58f51c7f799a9c6fcec6eaa80ddaa4c9a14ed52d36e81b4453fe6e793a0486c5929148743d

      • memory/1984-14-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/1984-16-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

      • memory/1984-17-0x0000000000B90000-0x0000000000BA5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4052-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4052-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/4052-1-0x0000000000800000-0x0000000000900000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB