Analysis

  • max time kernel
    141s
  • 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
    21-01-2025 22:13

General

  • Target

    2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe

  • Size

    12.9MB

  • MD5

    6a397c7bc04ae63117f5925e9b9fd54f

  • SHA1

    940657256af629fa51b70bc05779ef0976c63637

  • SHA256

    23be3499b2b9a7e01237488f80243a36b9be5d528a0ec85a717cd4b0104ddbe8

  • SHA512

    4dfb4f3e74ed91757bed613051d5cca3ed2b844e0eb72aa074d8540c01711d18e6707c93d5245f0bc685a2f6b5c3f5af1b75b0df38298f79b3e39312260eac83

  • SSDEEP

    24576:WEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZT:Pfot

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-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5040
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\plwvwuwh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2676
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kntncnye.exe" C:\Windows\SysWOW64\plwvwuwh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create plwvwuwh binPath= "C:\Windows\SysWOW64\plwvwuwh\kntncnye.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description plwvwuwh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1648
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start plwvwuwh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4008
    • 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:4800
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5040 -s 1276
      2⤵
      • Program crash
      PID:2544
  • C:\Windows\SysWOW64\plwvwuwh\kntncnye.exe
    C:\Windows\SysWOW64\plwvwuwh\kntncnye.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_6a397c7bc04ae63117f5925e9b9fd54f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1816
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4544
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1816 -s 516
      2⤵
      • Program crash
      PID:3184
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 5040 -ip 5040
    1⤵
      PID:2336
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 1816 -ip 1816
      1⤵
        PID:4496

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        39f565a6b966e3ee5b6f28d309ad1d85

        SHA1

        e80d006b139b235b8795b6b25e5d6f1450419bfc

        SHA256

        ebdf592f2b3533ca1e527110deb0b7243f350d1b41641e53b9c7a40db374ec0f

        SHA512

        539d6db386fc37bba24683df5f8a4d4a26529266924bff275727d8de168135e16a9ae74af90cb15ecec843015a4be72cbe6348a1d0c441ba5c23c73bdcda46d4

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4544-16-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/4544-14-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/4544-17-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/5040-1-0x00000000006A0000-0x00000000007A0000-memory.dmp

        Filesize

        1024KB