Analysis

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

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

General

  • Target

    2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe

  • Size

    12.0MB

  • MD5

    b88efd6fd62027047f6503b844b1254b

  • SHA1

    4517af79b45370fbebbe0c232c60a492b6522a21

  • SHA256

    9225795b892568f50097ba1ea2c0cf9872aa3f8c65dc1ad1f4c5a709ae11156f

  • SHA512

    3314dbc99d7f90926f2e2b878bdf32986833f888ae6f58de2e6452592b20f44de0a82a2bcf20daf848257a3da2bb764e570ed10f9791dc546af3b628e9ff1ef4

  • SSDEEP

    24576:OEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZd:nfot

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-11_b88efd6fd62027047f6503b844b1254b_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2152
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nsgijfo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\erdatglv.exe" C:\Windows\SysWOW64\nsgijfo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:432
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nsgijfo binPath= "C:\Windows\SysWOW64\nsgijfo\erdatglv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1336
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nsgijfo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nsgijfo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2960
    • 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:3844
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2152 -s 1040
      2⤵
      • Program crash
      PID:2696
  • C:\Windows\SysWOW64\nsgijfo\erdatglv.exe
    C:\Windows\SysWOW64\nsgijfo\erdatglv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_b88efd6fd62027047f6503b844b1254b_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2856
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2856 -s 516
      2⤵
      • Program crash
      PID:2864
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 2152 -ip 2152
    1⤵
      PID:5012
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 2856 -ip 2856
      1⤵
        PID:2472

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        25fa6ead976f01f1aa60f8c580081393

        SHA1

        cdb90f579d08d6c42237069865ca8b49d0c1b547

        SHA256

        959921b5ba2698f5469a2274a2ba0aa629db04c17ec39d9c89e7588a54478550

        SHA512

        9a94fa6ed419fc5a51d8006ade12fc658bb6d6a197ab4cff5182f08229b8b13d22ab3873b82a0ab8dd7d1b2a030994593dfd3ba88f6abf79dd44557384e5454d

      • memory/2152-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2152-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2152-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/2152-1-0x00000000007B0000-0x00000000008B0000-memory.dmp

        Filesize

        1024KB

      • memory/2376-14-0x0000000000FE0000-0x0000000000FF5000-memory.dmp

        Filesize

        84KB

      • memory/2376-16-0x0000000000FE0000-0x0000000000FF5000-memory.dmp

        Filesize

        84KB

      • memory/2376-17-0x0000000000FE0000-0x0000000000FF5000-memory.dmp

        Filesize

        84KB

      • memory/2856-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2856-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2856-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2856-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB