Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31/01/2025, 05:28

General

  • Target

    2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe

  • Size

    13.6MB

  • MD5

    a115c76529a4790992d6585ccc323b5d

  • SHA1

    d55d060919f5bde9f5d420f4f9162fd48df1914d

  • SHA256

    843a04f3e1acdd78a036dd537c4840daed7f2b3e8b7f8472c3c20af5a888092b

  • SHA512

    5b006c4ea6b3355561ab5bfd5b2225d39c610f55b2005e816c74f884ba04e896ce091a8a6e1071732fcb4dc41c3d1f8ca1f320897bf2c72135b57f5a468eb275

  • SSDEEP

    24576:XEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZJ:0fotP

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-31_a115c76529a4790992d6585ccc323b5d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3696
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bwtyyrmw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nnozuvtb.exe" C:\Windows\SysWOW64\bwtyyrmw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bwtyyrmw binPath= "C:\Windows\SysWOW64\bwtyyrmw\nnozuvtb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1100
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bwtyyrmw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4224
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bwtyyrmw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4780
    • 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:1104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3696 -s 1044
      2⤵
      • Program crash
      PID:5036
  • C:\Windows\SysWOW64\bwtyyrmw\nnozuvtb.exe
    C:\Windows\SysWOW64\bwtyyrmw\nnozuvtb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_a115c76529a4790992d6585ccc323b5d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2428
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2428 -s 508
      2⤵
      • Program crash
      PID:3176
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3696 -ip 3696
    1⤵
      PID:4028
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2428 -ip 2428
      1⤵
        PID:1652

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        01d00eb326bd61ec0b453d71b3f7cc82

        SHA1

        9027ba91fd643ffef1ee791a9956f5f03d5f777a

        SHA256

        eed5f10e2c78ea23d460bdad5c60838a7c5815999e1f41288c87daaf7373e5da

        SHA512

        e32aeaa8d95378484d38d515416daa4e64c94af5d5f794d2345e13dd88bf61bfb0e3cd91c1cc5a37efdae0a548b914f93d85dac895e8a36c4b0f07fbbc1b4845

      • memory/1068-14-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/1068-17-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/1068-16-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3696-1-0x0000000000780000-0x0000000000880000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB