Analysis

  • max time kernel
    149s
  • 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
    13-01-2025 19:31

General

  • Target

    2025-01-13_a115c374f85cd330e596e28fb19c58d5_mafia.exe

  • Size

    10.8MB

  • MD5

    a115c374f85cd330e596e28fb19c58d5

  • SHA1

    3cf1a9e97085f77e1ef564695c7f05acf6c92444

  • SHA256

    e05b97b6d54a7c0bb15a7eb843a41e50a23330367ec06bc96053389c3c8807b4

  • SHA512

    1b089f00086825fef8076246c9a74aefc9125fa2d6d4102d4005ac1cf93e7a9dedc878db654f3bf93cd8f5d0abd078e47c9852906799b957b1a8daf408a624bd

  • SSDEEP

    6144:RLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ1:yTYe+D2jFu+iZoUFhAz

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-13_a115c374f85cd330e596e28fb19c58d5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_a115c374f85cd330e596e28fb19c58d5_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vtyrmbbr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tkgnedhl.exe" C:\Windows\SysWOW64\vtyrmbbr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vtyrmbbr binPath= "C:\Windows\SysWOW64\vtyrmbbr\tkgnedhl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_a115c374f85cd330e596e28fb19c58d5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vtyrmbbr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2976
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vtyrmbbr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1308
    • 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:448
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4616 -s 1036
      2⤵
      • Program crash
      PID:4940
  • C:\Windows\SysWOW64\vtyrmbbr\tkgnedhl.exe
    C:\Windows\SysWOW64\vtyrmbbr\tkgnedhl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_a115c374f85cd330e596e28fb19c58d5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2552
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3832
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2552 -s 512
      2⤵
      • Program crash
      PID:3560
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4616 -ip 4616
    1⤵
      PID:2600
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2552 -ip 2552
      1⤵
        PID:2332

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        b507d5594cac8da238f40a3ae8d7c6ee

        SHA1

        fdb9be9f6649e7f619c3b0f2db8834f13ecc55a0

        SHA256

        2d0bf8ad5c849cb427ce6bacc9635033e2e7375a807df102bc97f53ec3b70d64

        SHA512

        cee414b0a3f51482a5442c7f10b66d43b4739f7ea5ad76b73606ab381181dd7764c1e16c71ae239b86af2610e473335ac9429bfb6d88d496cec58b945d05efc9

      • memory/2552-14-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2552-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3832-12-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

      • memory/3832-9-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

      • memory/3832-18-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

      • memory/3832-19-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

      • memory/3832-20-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4616-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

        Filesize

        1024KB

      • memory/4616-2-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/4616-16-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/4616-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4616-15-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB