Analysis

  • max time kernel
    150s
  • max time network
    149s
  • 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:38

General

  • Target

    2025-02-01_d0083f94bfaa41baf0ac7ccc6b53eb52_mafia.exe

  • Size

    13.0MB

  • MD5

    d0083f94bfaa41baf0ac7ccc6b53eb52

  • SHA1

    7e25b3de9bc7b99eb2b895b1251e4d9e99802cf6

  • SHA256

    358a096fa1ecc2848fd30e8523d4fb59bcaef82290c1a2d7b38d2ad3e87a612c

  • SHA512

    6fa0a3855af6cb414d1d8ce571dedf6cb191667e9d80b65fed83ef13f9d7882a911739e6d109e8e3d18510aaf94dec0689a4a446d1d0c359bd8c112766313a37

  • SSDEEP

    24576:WpomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt/:aoo

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_d0083f94bfaa41baf0ac7ccc6b53eb52_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_d0083f94bfaa41baf0ac7ccc6b53eb52_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2380
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ngdbnrch\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4708
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\evryposw.exe" C:\Windows\SysWOW64\ngdbnrch\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3268
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ngdbnrch binPath= "C:\Windows\SysWOW64\ngdbnrch\evryposw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_d0083f94bfaa41baf0ac7ccc6b53eb52_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ngdbnrch "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ngdbnrch
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4480
    • 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:2712
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2380 -s 1248
      2⤵
      • Program crash
      PID:4704
  • C:\Windows\SysWOW64\ngdbnrch\evryposw.exe
    C:\Windows\SysWOW64\ngdbnrch\evryposw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_d0083f94bfaa41baf0ac7ccc6b53eb52_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3088
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4764
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3088 -s 532
      2⤵
      • Program crash
      PID:4728
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2380 -ip 2380
    1⤵
      PID:5100
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 3088 -ip 3088
      1⤵
        PID:1924

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        5902771d2cea8460388d23fbcac64799

        SHA1

        22a47f9a53b3e1cb5670eb06416b4b8523bc50bd

        SHA256

        21357848492562600821029f2e52e3b4670465097d6de080758a323b5014df7a

        SHA512

        78a222f3f26577b74aa012869d9717f14d54ab7575816d7e385eed525091f0f828bc66d01028b79812a95e421f7994ee51feebcb268ff5eb7ba2cb6bca082c4e

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/2380-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB