Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-01-2025 17:48

General

  • Target

    2025-01-10_a60ac9f9f8401b075313d1ea5ed38a3d_mafia.exe

  • Size

    13.6MB

  • MD5

    a60ac9f9f8401b075313d1ea5ed38a3d

  • SHA1

    a399ae72488052b9a5b629b0bc9d5c47e4b503e3

  • SHA256

    48cd6c50ceff5d85c03b03b9864b6631983bf8b5a0b2a599857b924aad773da0

  • SHA512

    33dbb5926885e65db4ba08ecd4595f945e77062ab3932d4a58a2b53ca07391c2256a3d5a3349deb76d45bedee7800a3e1160f60893b5baa9aa99812167a3871a

  • SSDEEP

    24576:C6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ3:LWdLQk

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-10_a60ac9f9f8401b075313d1ea5ed38a3d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-10_a60ac9f9f8401b075313d1ea5ed38a3d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4252
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\otvziihh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4844
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nwqvnmhd.exe" C:\Windows\SysWOW64\otvziihh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create otvziihh binPath= "C:\Windows\SysWOW64\otvziihh\nwqvnmhd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-10_a60ac9f9f8401b075313d1ea5ed38a3d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description otvziihh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4024
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start otvziihh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3680
    • 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:4144
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4252 -s 1036
      2⤵
      • Program crash
      PID:4004
  • C:\Windows\SysWOW64\otvziihh\nwqvnmhd.exe
    C:\Windows\SysWOW64\otvziihh\nwqvnmhd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-10_a60ac9f9f8401b075313d1ea5ed38a3d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1584
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4792
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1584 -s 532
      2⤵
      • Program crash
      PID:5072
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4252 -ip 4252
    1⤵
      PID:2676
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1584 -ip 1584
      1⤵
        PID:1768

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.2MB

        MD5

        20cc2a40bee06b567ba637756efb04f2

        SHA1

        fca22f75f9eaf41aba1629fe2384a71bf797c55a

        SHA256

        7cd70ac0e43941df9a883049f32da972fe1804d9bb603e3b1a85ce0ecbfed9d5

        SHA512

        16a49cf002ff8582d9535b25c753f8a0e5d66d4b4ae2453c6476761b7df00385293645e10950a74c65318d62efde40917734b2656e97915ec29cab74fa41885d

      • memory/1584-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/1584-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/1584-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/1584-19-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/4252-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4252-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/4252-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4252-1-0x0000000000450000-0x0000000000550000-memory.dmp

        Filesize

        1024KB

      • memory/4792-14-0x00000000005D0000-0x00000000005E5000-memory.dmp

        Filesize

        84KB

      • memory/4792-16-0x00000000005D0000-0x00000000005E5000-memory.dmp

        Filesize

        84KB

      • memory/4792-17-0x00000000005D0000-0x00000000005E5000-memory.dmp

        Filesize

        84KB