Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/01/2025, 19:58

General

  • Target

    2025-01-30_f0bfff82b4873196d13a495b6b655055_mafia.exe

  • Size

    13.1MB

  • MD5

    f0bfff82b4873196d13a495b6b655055

  • SHA1

    e0e570d3002dfcc34c0cbf1adf78ee311bd8b2fe

  • SHA256

    59a4252fc5f03645821316b1d732ff452368561d8c4b2afd22bf2feb7dd98388

  • SHA512

    b8e2c7e5d81710036c95c1820f83e03bf4093345570790509417224d77c935864b5114562740400353f0af9241331f0e00afa9a4dff43b568d51263d6771a691

  • SSDEEP

    49152:XqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPJ:XqtYc3m

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-30_f0bfff82b4873196d13a495b6b655055_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_f0bfff82b4873196d13a495b6b655055_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jtebquaz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1392
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tvqwpcm.exe" C:\Windows\SysWOW64\jtebquaz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jtebquaz binPath= "C:\Windows\SysWOW64\jtebquaz\tvqwpcm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_f0bfff82b4873196d13a495b6b655055_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jtebquaz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jtebquaz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4392
    • 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:3964
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1376 -s 1244
      2⤵
      • Program crash
      PID:5084
  • C:\Windows\SysWOW64\jtebquaz\tvqwpcm.exe
    C:\Windows\SysWOW64\jtebquaz\tvqwpcm.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_f0bfff82b4873196d13a495b6b655055_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2996
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3168
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2996 -s 536
      2⤵
      • Program crash
      PID:4020
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1376 -ip 1376
    1⤵
      PID:1576
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 2996 -ip 2996
      1⤵
        PID:4560

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        ca41860ec1f03bd67b01bc6127b65ef4

        SHA1

        1c5055adc75d7811235cc3ead4dc5cecedd03a0a

        SHA256

        ba5597e8b5f86dd96feb3db8809277b1c86e883988c5bf9d6df4e3c37600c0ee

        SHA512

        0d638a9f118da10deb4eac91f9adcea9269b2198bf020ad2910bd849b59c2caf6797e9ebfe9952d4234000b0fffeebcf82332fdca6d9957de035c13be9c6c957

      • memory/1376-1-0x0000000002E80000-0x0000000002F80000-memory.dmp

        Filesize

        1024KB

      • memory/1376-2-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1376-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1376-12-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

      • memory/1376-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/2996-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/3168-8-0x0000000000EE0000-0x0000000000EF5000-memory.dmp

        Filesize

        84KB

      • memory/3168-14-0x0000000000EE0000-0x0000000000EF5000-memory.dmp

        Filesize

        84KB

      • memory/3168-15-0x0000000000EE0000-0x0000000000EF5000-memory.dmp

        Filesize

        84KB