Analysis

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

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

General

  • Target

    2025-01-10_9e52058daec83a315865f8c90795d4c8_mafia.exe

  • Size

    13.7MB

  • MD5

    9e52058daec83a315865f8c90795d4c8

  • SHA1

    a8cdaaeac7c10726f06d7ea25eb60964203cc39d

  • SHA256

    cdf608f60357488ef40b0977e2f39dba1f9180bc7a6f338b4500c7935faab9b3

  • SHA512

    1372a2124528d8dade2c23ffb21443d20c84a42b142b42c3262607aff8cd20ebc68410665b294c5db3c685914bfd6733fb9e1a32a39c7efd4f4573c3c95c11db

  • SSDEEP

    24576:66WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQo:zWdLQk

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-10_9e52058daec83a315865f8c90795d4c8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-10_9e52058daec83a315865f8c90795d4c8_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:852
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uxanmato\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3556
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\obnkdqvf.exe" C:\Windows\SysWOW64\uxanmato\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uxanmato binPath= "C:\Windows\SysWOW64\uxanmato\obnkdqvf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-10_9e52058daec83a315865f8c90795d4c8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uxanmato "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1100
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uxanmato
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3928
    • 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:1484
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 852 -s 664
      2⤵
      • Program crash
      PID:5044
  • C:\Windows\SysWOW64\uxanmato\obnkdqvf.exe
    C:\Windows\SysWOW64\uxanmato\obnkdqvf.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-10_9e52058daec83a315865f8c90795d4c8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3704
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3704 -s 532
      2⤵
      • Program crash
      PID:3252
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 852 -ip 852
    1⤵
      PID:1976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3704 -ip 3704
      1⤵
        PID:2588

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        3dc60577ad60785dd79acc72d972f72a

        SHA1

        324048de68449743a504b88ce874db534ce47a25

        SHA256

        b94cecf3a0eb4085f6b62a6136ee6e0c444753e6ee0b0080bcec725eb6f7f7b2

        SHA512

        cd5c6809d007ccb184bde2d7b4afa58c2b948623cf64048310670000890c127e3d11e35bab9a116e80f7e33f262315159f0ed0434dd1a93e5d013049c61d135a

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/852-2-0x0000000000780000-0x0000000000793000-memory.dmp

        Filesize

        76KB

      • memory/852-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/852-8-0x0000000000780000-0x0000000000793000-memory.dmp

        Filesize

        76KB

      • memory/852-1-0x00000000007E0000-0x00000000008E0000-memory.dmp

        Filesize

        1024KB

      • memory/1640-14-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/1640-16-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/1640-17-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/3704-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3704-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3704-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3704-18-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB