Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-01-2025 19:36

General

  • Target

    2025-01-22_7633c8ebac801ccf8b5f5c6255fb0290_mafia.exe

  • Size

    14.7MB

  • MD5

    7633c8ebac801ccf8b5f5c6255fb0290

  • SHA1

    01b1b6c617411eaca7b3e453bc0a5411003449f1

  • SHA256

    3b31745de060c31dcb4975f5fbc89419a637e03b80f312984bb145491179e32f

  • SHA512

    40c073563927ebc5ea93d3010823bac125589068940b2eed387b4d3cf87c4089e18299909b893e6eca58c7e05467072d0b8ea11b18aa23739a456f2e5ed45171

  • SSDEEP

    24576:C6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQY:LWdLQk

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-22_7633c8ebac801ccf8b5f5c6255fb0290_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_7633c8ebac801ccf8b5f5c6255fb0290_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4476
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xhxxbedp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tbquhfoo.exe" C:\Windows\SysWOW64\xhxxbedp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:628
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xhxxbedp binPath= "C:\Windows\SysWOW64\xhxxbedp\tbquhfoo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_7633c8ebac801ccf8b5f5c6255fb0290_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xhxxbedp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xhxxbedp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4688
    • 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:1588
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4476 -s 1240
      2⤵
      • Program crash
      PID:836
  • C:\Windows\SysWOW64\xhxxbedp\tbquhfoo.exe
    C:\Windows\SysWOW64\xhxxbedp\tbquhfoo.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_7633c8ebac801ccf8b5f5c6255fb0290_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1280
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4236
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1280 -s 532
      2⤵
      • Program crash
      PID:688
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4476 -ip 4476
    1⤵
      PID:920
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 1280 -ip 1280
      1⤵
        PID:3944

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.6MB

        MD5

        7b93dc52a92fa88d8f0bd9603513ff5b

        SHA1

        52a84565614b2c67467f317ab85e634d2dadc853

        SHA256

        683154dc6366c1164230537790833c81920fed1423b063fac7c043c9532857dd

        SHA512

        04b52863abddffbdc2f6480b6acc8db0e081ba0c389cc759fffc14380f4e85b2bb796b2fdd8041a9e52cf9ab1f7346b18303bfeae9706da3b4ca2726ab563eca

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/4236-14-0x0000000000580000-0x0000000000595000-memory.dmp

        Filesize

        84KB

      • memory/4236-16-0x0000000000580000-0x0000000000595000-memory.dmp

        Filesize

        84KB

      • memory/4236-17-0x0000000000580000-0x0000000000595000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        316KB

      • memory/4476-1-0x0000000000660000-0x0000000000760000-memory.dmp

        Filesize

        1024KB