Analysis

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

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

General

  • Target

    2025-01-15_ab9ec8ebe9690afe05cff8a25153d1f8_mafia.exe

  • Size

    11.4MB

  • MD5

    ab9ec8ebe9690afe05cff8a25153d1f8

  • SHA1

    c3dc0621e73afa945a7ef399fa5872342b102629

  • SHA256

    ac175fef445c08ccff4525c5f47c054669484534dd987736c49e8032323b790c

  • SHA512

    9d2bc692eec1313359d66345fd0784d595c86ce6129156016ba847feb6c3dc410924c3f9ce078abfd1571bbc9fd91ed7a40a16d322e66d45e9ea2fdf0cd94d6b

  • SSDEEP

    24576:d6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQg:MWdLQk

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-15_ab9ec8ebe9690afe05cff8a25153d1f8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-15_ab9ec8ebe9690afe05cff8a25153d1f8_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3984
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cxuxynns\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1816
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wvjlzwxp.exe" C:\Windows\SysWOW64\cxuxynns\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cxuxynns binPath= "C:\Windows\SysWOW64\cxuxynns\wvjlzwxp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-15_ab9ec8ebe9690afe05cff8a25153d1f8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cxuxynns "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1348
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cxuxynns
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4804
    • 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:4668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3984 -s 1036
      2⤵
      • Program crash
      PID:3204
  • C:\Windows\SysWOW64\cxuxynns\wvjlzwxp.exe
    C:\Windows\SysWOW64\cxuxynns\wvjlzwxp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-15_ab9ec8ebe9690afe05cff8a25153d1f8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4896
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3388
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4896 -s 520
      2⤵
      • Program crash
      PID:5000
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3984 -ip 3984
    1⤵
      PID:3276
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 520 -p 4896 -ip 4896
      1⤵
        PID:2424

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        9452503fd95cbba36811349804be9a28

        SHA1

        ab42a518531ba3e85d572742c0c959c99426e18d

        SHA256

        573f028eba901ee1017d68428088997744a14f59ca1a6bcf29f11c4b93eb9292

        SHA512

        ad529364a0b1e4fd5a7740aec8ae2ec7192f061e46446e67a120a2d830e38032101f616915b5606bde99b9f88913d70005edd00acbc3ad613b52768e9fbdd6f5

      • memory/3388-14-0x0000000000F40000-0x0000000000F55000-memory.dmp

        Filesize

        84KB

      • memory/3388-17-0x0000000000F40000-0x0000000000F55000-memory.dmp

        Filesize

        84KB

      • memory/3388-16-0x0000000000F40000-0x0000000000F55000-memory.dmp

        Filesize

        84KB

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

        Filesize

        316KB

      • memory/3984-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/3984-1-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3984-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/4896-19-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB