Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 20:15

General

  • Target

    2025-02-01_65c56bece39702f014e60ebf56482249_mafia.exe

  • Size

    13.1MB

  • MD5

    65c56bece39702f014e60ebf56482249

  • SHA1

    9c6f1fb2fca71dda4c5098938f6b3ffd8f45043b

  • SHA256

    88be634eddd475cf7babc400629f1121806f35bb868bc57f847e981fe200eb2e

  • SHA512

    87416cd19dbff197d10aee82f8d35b64366ddd8512248f05500a834604d64c39537a311291a561c9ffeaf77e365f21f34e88bd65bffa7a6d8604742c62da0533

  • SSDEEP

    6144:sLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQF:BTYe+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-02-01_65c56bece39702f014e60ebf56482249_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_65c56bece39702f014e60ebf56482249_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3632
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ykvfknlx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4144
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\veydvupl.exe" C:\Windows\SysWOW64\ykvfknlx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5076
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ykvfknlx binPath= "C:\Windows\SysWOW64\ykvfknlx\veydvupl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_65c56bece39702f014e60ebf56482249_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ykvfknlx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ykvfknlx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2280
    • 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:804
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3632 -s 1044
      2⤵
      • Program crash
      PID:4716
  • C:\Windows\SysWOW64\ykvfknlx\veydvupl.exe
    C:\Windows\SysWOW64\ykvfknlx\veydvupl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_65c56bece39702f014e60ebf56482249_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5012
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1240
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5012 -s 520
      2⤵
      • Program crash
      PID:3096
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3632 -ip 3632
    1⤵
      PID:512
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 5012 -ip 5012
      1⤵
        PID:3396

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        954c53ce4a1dc631c1313f0e31164ce3

        SHA1

        f4a9581315b7d2b22592f2786188fdae32c019c4

        SHA256

        23689438b3f8ea7ce154f6169f3941b13121c2887055ef3dbcb73b2cb414c2f4

        SHA512

        6ebf7e56713c776ed13f5b846472e46aaba3d2fb0dc1ac2a5a0afc4165c56cafc4895541d5f7bc30df8b7830abf5d6152acbfc29dd8421384accd3831432af90

      • memory/1240-10-0x0000000000640000-0x0000000000655000-memory.dmp

        Filesize

        84KB

      • memory/1240-22-0x0000000000640000-0x0000000000655000-memory.dmp

        Filesize

        84KB

      • memory/1240-21-0x0000000000640000-0x0000000000655000-memory.dmp

        Filesize

        84KB

      • memory/1240-20-0x0000000000640000-0x0000000000655000-memory.dmp

        Filesize

        84KB

      • memory/1240-14-0x0000000000640000-0x0000000000655000-memory.dmp

        Filesize

        84KB

      • memory/3632-18-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/3632-13-0x00000000005D0000-0x00000000006D0000-memory.dmp

        Filesize

        1024KB

      • memory/3632-19-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3632-17-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3632-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/3632-2-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/5012-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/5012-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        772KB